Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.3.11 (Solutions of $x^2 + y^2 = 2 z^2$)
Exercise 5.3.11 (Solutions of $x^2 + y^2 = 2 z^2$)
Using Theorem 5.5, determine all solutions of the equation .
Hint. Write the equation in the form .
Answers
We use Theorem 5.5 in the form
Proof. The equation is equivalent to
Using Theorem 5.5, if and only if there exist integers such that
that is
where and .
Then (3) becomes
where .
If and have not same parity, then is odd. Then implies that is even, so for some integer .
If and have same parity, then and are odd (because ), and are even.
In conclusion, if and only if there are integers such that
where and . □
For instance, the solution is given by
and the solution by