McGraw Hill Integrated II, 2012
MH
McGraw Hill Integrated II, 2012 View details
4. Indirect Proof
Continue to next subchapter

Exercise 24 Page 441

In n even or odd?

See solution.

Practice makes perfect

Let's highlight the statement we are asked to prove and the information that we are given to use. Given:& nis an integer andn^2is even Prove:& n^2is divisible by4

Step 1

We can start the indirect proof by assuming that the statement is not true. Assumption: n^2 is not divisible by4.

Step 2

In the next step of an indirect proof we investigate any consequences of our assumption until we find something that contradicts the given information that n^2 is even. Since n is an integer it is either even or odd. Let's consider these cases separately.

Case 1: n is Even

If n is even, then it is of the form n=2k for some integer k. Let's calculate the square. n^2=(2k)^2=2^2k^2=4k^2 This cannot happen, since according to our assumption n^2 is not divisible by 4. If our assumption is correct, then n is not even.

Case 2: n is Odd

If n is odd, then it is of the form n=2k+1 for some integer k. Let's calculate the square.

n^2=(2k+1)^2
â–¼
Simplify right-hand side
n^2=4k^2+4k+1
n^2=2(2k^2+2k)+1

Since k is an integer, this means that n^2 is one more than an integer multiple of 2. This contradicts the information that n^2 is even, since even numbers are not one more than integer multiples of 2.

Step 3

Since our assumption that n is an integer but n^2 is not divisible by 4, contradicts the information that n^2 is even. Our assumption must be false. This proves that if n is an integer and n^2 is even, then n^2 is divisible by 4.

Extra

Is the statement really true?
If we carefully read the statement in the book and the statement we just proved, we can see that they are not the same. Here is the claim of the book. Given:& n^2 is even. Prove:& n^2is divisible by4. This claim is not true. We can use n=sqrt(2) as a counterexample.

  • (sqrt(2))^2=2 is even.
  • (sqrt(2))^2=2 is not divisible by 4.

The difference between the claim we proved and this claim is that, in our claim, the assumption that n is an integer is part of the given information. In the claim of the book, it is not.