Propositional Logic
Propositional Logic
PROPOSITIONAL LOGIC
b. Compound Proposition:
If two or more simple propositions are joined together with the help of some
connecting words, then the resulting proposition is known as Compound
Proposition.
Ex: a:” Bengaluru is the capital of Karnataka.”
b:” It is Situated in Southern India.”
Here, ‘a’ and ‘b’ are simple propositions which can be joined by using a connecting
word ‘and’, and so a ‘and’ b will become “Bengaluru is the capital of Karnataka and
it is situated in southern India”.
© Copyright Reserved by Debanjan Gupta
CONNECTIVES:
The connecting words/Symbols to join two simple propositions are known as Connectives.
1. Conjunction (. or ^)
It results in True, if all statements are True, otherwise False.
Truth Table:
a b (a^b)
0 0 0
0 1 0
1 0 0
1 1 1
2. Disjunctions (+ or v)
It results in True, if any statement is True, and results in false if all statements are
false.
Truth Table:
a b (avb)
0 0 0
0 1 1
1 0 1
1 1 1
3. Negation ( ‘ or ˜)
Negation does not actually join any simple proposition; it generally turns the True
to False and False to True
a a'
0 1
1 0
Double Negation:
A double Negation of a proposition will always result in the same proposition.
((a)’)’ = a
a a' (a’)’
0 1 0
1 0 1
© Copyright Reserved by Debanjan Gupta
4. Implication/Conditional ( ->)
If one argument is True, then the other argument is also True. It is expressed as:
Ex: a -> b = a’ + b
a b a -> b
(a’+b)
0 0 1
0 1 1
1 0 0
1 1 1
Inverse: The inverse of a given conditional statement is a new conditional statement whose
antecedent and consequent are the negation of the original statement.
Ex: If it rains then the sky is cloudy.
Inverse: If it does not rain then the sky is not cloudy.
SOLVED EXAMPLES:
1. Show that the expression (p ^ ( p v q)) is equal to p
solution:
p q pvq p ^ ( p v q)
0 0 0 0
0 1 1 0
1 0 1 1
1 1 1 1
Thus, (p ^ ( p v q)) = p
© Copyright Reserved by Debanjan Gupta
2. Verify: ( p’ -> q ) ^ p = ( p ^ q’ ) v ( p ^ q )
solution:
p q P’ - > q (p’->q) ^p p^q’ p^q ( p ^ q’ )
v(p^q)
0 0 0 0 0 0 0
0 1 1 0 0 0 0
1 0 1 1 1 0 1
1 1 1 1 1 1 1