Introduction To Logic & Proof
Introduction To Logic & Proof
Propositions
1)Grass is green.
2) 4 + 2 = 6
3) 4 + 2 = 7
4) There are four fingers in a hand
Not Propositions
1) Close the door.
2) x is greater than 2.
3) He is very rich
SYMBOLIC REPRESENTATION:
p q ¬p ¬q p→ q ¬q→¬p
T T F F T T
T F F T F F
F T T F T T
F F T T T T
Example
n= 2x
n2= (2x)2
n2= 4x2
n2= 2( 2x 2)
n2= 2a
Example #2
Prove that “if x,y (Set of integer)” Such that xy is odd then
both x & y are odd:
By method of contra positive:
¬q → ¬p
x and y are even:
xy is even:
x= 2n y= 2m
xy= 2n x 2m
xy= 4nm
xy= 2(2mn)
xy = 2a
xy= 2a is even
Example#3
Thanks