Discrete QB Unit 1 With Sol
Discrete QB Unit 1 With Sol
Give
verbal sentence describing each of the following statements.
(i) ¬p (ii) p ∨ ¬q (iii) ¬p ∨ q (iv) p → ¬q (v) p ↔ q
2. Write each of the following sentences in symbolic form using statement variables p and q .
(i) 19 is not a prime number and all the angles of a triangle are equal.
(ii) 19 is a prime number or all the angles of a triangle are not equal
(iii) 19 is a prime number and all the angles of a triangle are equal
(iv) 11 is a prime number and all the sides of a rectangle are equal
(i) 4 + 7 = 12 (ii) What are you doing? (iii) 3n ≤ 81, n ∈ ℕ (iv) Peacock is our national bird
(v) How tall this mountain is!
5. Write the converse, inverse, and contrapositive of each of the following implication.
(ii) ( ( p ∨ q) ¬p ) → q
(iii) ( p → q ) ↔ (¬ p → q)
(iv) ( ( p → q ) ∧ (q → r))→ ( p → r)
8. Show that (i) ¬( p ∧ q) ≡ ¬p ∨¬q (ii) ¬( p → q) ≡ p ∧¬q .
9. Prove that q → p ≡¬ p →¬q
10. Show that p → q and q → p are not equivalent
13. Using truth table check whether the statements¬( p ∨ q ) ∨ (¬p ∧ q) and ¬p are logically
equivalent
14. Prove p → ( q → r) ≡ ( p ∧ q) → r without using truth table.
17. Let p and q be two propositions. Consider the following two formulae in
propositional logic.
S1 : (¬p ∧ (p ∨ q)) → q
S2 : q → (¬p ∧ (p ∨ q))
Ans D
(i)A↔(A∨A)
(ii)(A∨B)→B