Show that $x^2 + y^2$ and $x^2 - y^2$ cannot both be perfect squares at the same time where $x, y \in \mathbb{Z}^+$.

2k Views Asked by At

Show that $x^2 + y^2$ and $x^2 - y^2$ cannot both be perfect squares at the same time where $x, y \in \mathbb{Z}^+$.

I think that $x^2 + 2xy + y^2$ and $x^2 + y^2$ are not consecutive squares since the difference is even. I think it has some relation with other squares like $(x+y)^2$ and $(x-y)^2$.

How should I proceed? I would love some hints.

2

There are 2 best solutions below

3
On BEST ANSWER

Suppose $x^2+y^2=a^2$ and $x^2-y^2=b^2$, then by multiplying them you get $x^4-y^4=(ab)^2$. This last equation has no non-trivial solution; see e.g. Solving $x^4-y^4=z^2$.

3
On

Hint:

If $ x^2+y^2=c^2$ is a Pythagorean triple then there are two integers $m,n$ such that $$ x=m^2-n^2 \qquad y=2mn \qquad c=m^2+n^2 $$

so $$ x^2-y^2=(m^2-n^2)^2-4m^2n^2=m^4+n^4-6 m^2n^2 $$