Sign In
In n even or odd?
See solution.
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
We can start the indirect proof by assuming that the statement is not true.
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.
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.
If n is odd, then it is of the form n=2k+1 for some integer k. Let's calculate the square.
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.
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.
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.