How two sentence are connected.
Logical connectives words
Symbol
Uses
And/conjunction/join
∧
p ∧ q
or/disjunction/meet
∨
p ∨ q
Negation
- or ~
~p
Equivalent
↔
p ↔ q
Conditional "if ... then .... "
⇒
p ⇒ q
Biconditional "if and only if"(iff)
⇔
p ⇔ q
1. Conjunction: Any two proposition can be combined by the word "And" to form a compound proposition said to be the conjunction.
Truth table
p
q
p ∧ q
T
T
T
T
F
F
F
T
F
F
F
F
A short trick would be treat 'T' as 1 and 'F' as 0 and answer will be multiplication of both. T ∧ F = F as 1 * 0 = 0
2. Disjunction: Any two proposition can be combined by the word "or" to form a compound proposition said to be the disjunction.
Truth table
p
q
p ∨ q
T
T
T
T
F
T
F
T
T
F
F
F
3. Negation : The negatiion proposition of any given proposition p is the proposition whose truth value is opposite to p.
Truth table
p
~p
T
F
F
T
A proposition is said to be an tautologies if it contain only 'T' in last column of truth table and if it contain only 'F' in last column of truth table then it is called contradiction.
A preposition what is neither tautolgy nor contradiction.
1. Show that the following proposition is tautologies {(P ∨ ~Q) ∧ (~P ∨ ~Q)} ∨ Q
Solution :
P
Q
~P
~Q
E = P ∨ ~Q
G = ~P ∨ ~Q
E ∧ G
(E ∧ G) ∨ Q
T
T
F
F
T
F
F
T
T
F
F
T
T
T
T
T
F
T
T
F
F
T
F
T
F
F
T
T
T
T
T
T
Its tautologies as answer column is all 'T'.
2. Prove that the proposition p ∨ ~ (q ∨ r) and (p ∨ ~q) ∨ ~r are equivalent.
Hint : As this have 3 variables so the possible combination would be 23 = 8
3. Determine whether the following proposition is contradiction or a tautolgy.
(p ∨ q)∧(p ∨ ~q)∧(~p ∨ q)∧(~p ∨ ~q)
4. Determine whether the following is tautology or contradiction.
Q ∨ (P ∧ ~Q) ∨ (~P ∨ ~Q)
p
q
p → q
T
T
T
F
F
T
T
F
F
F
T
T
Hint : where ever p is F then p→q will be T, and where p is T and q is also T then only p→q will be T.
p
q
p ⟷ q
T
T
T
F
F
T
T
F
F
F
T
F
Hint : only in T T and F F case the output is T.
1. Show that (p ∧ q) → (p ∨ q) is a tautolgy.
2. Is the formula tautolgy p → (p ∧ (q → p))
3. Prove that following is tautology or not (p ∨ q ∨ r) ↔ [(((p → q)→ q)→ r)→ r]
4. show that p ⇒ (q⇒r) ≡ (p ∧ q) ⇒ r
1. Disconjunction Normal Form : A statement form which consists of disjunction(or)
between conjunction(and) is called DBF.
Example : (1) (p ∧ q) ∨ r
(2) (p ∧ ~q) ∨ (~p ∧ r) ∨ (r ∧ ~q)
2. Conjunction Normal Form : A statement form which consists of conjunction between
disjunction is called CNF.
Example : (i) p ∧ q (ii) (~p ∨ q) ∧ (~p ∨ r)
Questions