If $2xy$ is a perfect square, then $x^2+y^2$ cannot be
I was trying to prove this way -
Let assume $2xy = n^2$ and $x^2+y^2 = m^2$ exists. Now -
$x^2+y^2 - 2xy = (m+n)(m-n)\\ (x-y)^2 = (m+n)(m-n)$
How do I continue to prove that such $m$ or such $x,y$ doesn't exists?
Asked
Active
Viewed 136 times
1
Rezwan Arefin
- 3,216
-
$(x-y,n,m)$ would be a Pythagorean triple. – Jonas Meyer Feb 02 '17 at 02:42
-
Where did you see this question? – N.S.JOHN Feb 02 '17 at 14:08
-
@N.S.JOHN Yesterday :| – Rezwan Arefin Feb 02 '17 at 14:22
-
Okay. I asked where. – N.S.JOHN Feb 02 '17 at 14:23
-
1@N.S.JOHN I was just browsing MSE .. and then find it :) – Rezwan Arefin Feb 02 '17 at 14:30
1 Answers
1
If both $2xy$ and $x^2+y^2$ are squares, then since $(x^2-y^2)^2+(2xy)^2=(x^2+y^2)^2,$ there would be two fourth powers whose difference is a square, known impossible except for trivial cases. [Technically $x=y=0$ works, but I'm assuming you want solutions in nonzero integers.]
Note: that impossibility proof isn't easy...
coffeemath
- 30,190
- 2
- 34
- 53