Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional Logic
Propositional Logic is concerned with statements to which the truth values, “true” and
“false”, can be assigned. The purpose is to analyze these statements either individually or
in a composite manner.
"A is less than 2". It is because unless we give a specific value of A, we cannot say
whether the statement is true or false.
Connectives
In propositional logic generally we use five connectives which are −
OR ( )
AND ( )
Negation/ NOT ( )
Implication / if-then ( )
If and only if ( ).
Page 2 of 7
A B A∨ B
A B A∧ B
A ¬A
True False
False True
A B A→B
Page 3 of 7
A B A⇔ B
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
Tautologies
A Tautology is a formula which is always true for every value of its propositional variables.
A B A→B (A → B) ∧ A [( A → B ) ∧ A] → B
Contradictions
Page 4 of 7
A Contradiction is a formula which is always false for every value of its propositional
variables.
A B A∨ B ¬A ¬B (¬ A) ∧ ( ¬ B) (A ∨ B) ∧ [( ¬ A) ∧ (¬ B)]
Contingency
A Contingency is a formula which has both some true and some false values for every
value of its propositional variables.
A B A∨ B ¬A (A ∨ B) ∧ (¬ A)
Propositional Equivalences
Two statements X and Y are logically equivalent if any of the following two conditions hold
−
The truth tables of each statement have the same truth values.
Page 5 of 7
A B A∨ B ¬ (A ∨ B) ¬A ¬B [(¬ A) ∧ (¬ B)]
Here, we can see the truth values of are same, hence the
statements are equivalent.
Hypothesis, p
Conclusion, q
Example of Conditional Statement − “If you do your homework, you will not be
punished.” Here, "you do your homework" is the hypothesis, p, and "you will not be
Page 6 of 7
Inverse − An inverse of the conditional statement is the negation of both the hypothesis
and the conclusion. If the statement is “If p, then q”, the inverse will be “If not p, then not
q”. Thus the inverse of is .
Example − The inverse of “If you do your homework, you will not be punished” is “If you
do not do your homework, you will be punished.”
Example − The converse of "If you do your homework, you will not be punished" is "If
you will not be punished, you do your homework”.
Example − The Contra-positive of " If you do your homework, you will not be punished” is
"If you are punished, you did not do your homework”.
Duality Principle
Duality principle states that for any true statement, the dual statement obtained by
interchanging unions into intersections (and vice versa) and interchanging Universal set
into Null set (and vice versa) is also true. If dual of any statement is the statement itself,
it is said self-dual statement.
Normal Forms
We can convert any proposition in two normal forms −
Examples
Examples