Show that the following statement is true by the method of the contrapositive p: “If x is an integer and x2 is odd, then x is also odd.”
Show that the following statement is true by the method of the contrapositive p: “If x is an integer and x2 is odd, then x is also odd.”

Answer:

Consider,

q: x is an integer and x2 is odd.

r: x is an odd integer.

p: if q, then r.

Let r be false.

x is not an odd integer, then x is an even integer

x = (2n) for some integer n

x2 = 4n2

x2 is an even integer

q is False

r is false and q is false

Thus, p: “ if q, then r” is a true statement.