Show that the following statement is true by the method of contrapositive. p: If x is an integer and x2 is even, then x is also even.
p: if x is an integer and x2 is even, then x is also even.
Let p: if x is an integer and x2 is even
q: x is even
The given statement is if p then q
Method of Contrapositive
By assuming q is not true & prove that p must be true
i.e. ~q ⇒ ~p
Let q is not true & prove p is also not true.
⇒ q is not true
i.e. x is not even
i.e. x is odd
i.e. x = 2n + 1
Squaring both side
(x)2 = (2n + 1)2
⇒ x2 = 4n2 + 4n + 1
⇒ x2 = 4(n2 + n) + 1
⇒ x2 is odd
⇒ p is also not true
Hence the given statement is true.