Show that the following statement is true

“The integer n is even if and only if n2 is even”

Let the statements,


p: Integer n is even


q: If n2 is even


Let p be true.


Then


Let n = 2k


Squaring both the sides, we get,


n2 = 4k2


n2 = 2.2k2


Therefore, n2 is an even number.


So, q is true when p is true.


Hence, the statement is true.


5