All natural number solutions to the equation $a^2+b^2=c^2+d^2=2x^2$

250 Views Asked by At

Yesterday, I posted this question, and got that if $a$, $b$ and $c$ are in the form $$a=k(m^2-n^2+2mn)$$ $$b=k(n^2-m^2+2mn)$$ $$c=k(m^2+n^2)$$ where $m$ and $n$ are natural numbers, $a$, $b$ and $c$ will satisfy the equation $$a^2+b^2=2c^2$$ Also every $a$, $b$ and $c$ satisfying this equation could be written in terms of $m$ and $n$ as in the three equations mentioned above.

Now, is it possible to write $a$, $b$, $c$, $d$ and $x$ of the equation $$a^2+b^2=c^2+d^2=2x^2$$ to be written in terms of some other variable as for the $a^2+b^2=2c^2$ equation?

So, I need a set of equations for which I can plug in any natural numbers and generate $a$, $b$, $c$, $d$ and $x$ which satisfies my equation. And every natural numbers $a$, $b$, $c$, $d$ and $x$ satisfying my equation should satisfy the set of equations.

When I tried, I didn't see any clear way to do it as there is two equal symbols.

I would like to get the proof with the answer. (Otherwise I won't know if every pairs of number satisfying the equation will satisfy the set of equations in the answer.)

If you don't get the answer, any comment that helps to give an insight to solving the problem is also really appreciated.

4

There are 4 best solutions below

10
On BEST ANSWER

Here is an approach to generate solutions where all the terms in each individual sum of square are relatively prime. It's not a direct formula, but an algorithm that uses Pythagorean triples as inputs. We can, of course, generate the Pythagorean triples from the well-known formula.

Begin with two primitive Pythagorean triples. Here I will use

$3^2+4^2=5^2$

$5^2+12^2=13^2$

We multiply these together, using the Brahmagupta-Fibonacci identity on the left side:

$(3×5+4×12)^2+(3×12-4×5)%2=5^2×13^2$

$63^2+16^2=65^2$

Now we get a second solution by going back to our original triples and rewriting obe of them in reverse order:

$3^2+4^2=5^2$

$\color{blue}{12^2+5^2=13^2}$

Now with the Brahmagupta-Fibonacci identity our product relation is

$(3×12+4×5)^2+(3×5-4×12)^2=5^2×13^2$

$56^2+33^2=65^2$

Putting these results together we now have

$63^2+16^2=56^2+33^2=65^2.$

To get twice a square we then replace $a^2+b^2$ with its doubled value $(a+b)^2+(a-b)^2$, and so with the $3-4-5$ and $5-12-13$ triples as inputs we end with

$\color{blue}{79^2+47^2=89^2+23^2=2×65^2}.$

$6241+2209=7921+529=8450☆$

These are the relatively prime combinations with $x=65$, but there are more solutions where the component squares have a common factor. Go back to our Pythagorean triples and replace one with its $c^2+0^2=c^2$ form, keeping its hypotenuse the same as in the original triple. If, in the pair we are considering, we replace $3^2+4^2$ with $5^2+0^2$, we get:

$\color{blue}{5^2+0^2=5^2}$

$5^2+12^2=13^2$

Hence

$(5×5)^2+(5×12)^2=5^2×13^2$

$25^2+60^2=65^2$

$\color{blue}{85^2+35^2=2×65^2}$

Similarly, keeping $3^2+4^2$ but replacing $5^2+12^2$ with $13^2+0^2$ will yield

$\color{blue}{91^2+13^2=2×65^2}$

Thus ultimately, we get all the following for $x=65$:

$\color{blue}{79^2+47^2=85^2+35^2=89^2+23^2=91^2+13^2=2×65^2}.$

The reader can verify that all members if this equation equal $8450$.

It might be noted that while this approach is attractive for giving solutions, it does not mean such solutions can be readily pieced together into a $3×3$ magic square of squares. The numbers generated in the above solution are much smaller than those that are now known to be required if such a square were to exist.

3
On

So, let me answer this question, in a more general version,
Suppose $\gcd(a,b,c)=1$ and we want to find the solution of $ax^2+by^2=cz^2$ such that the primitive solution i.e. $\gcd(x,y,z)=1$ exist. Here is the technique.

Observation 1:$$(ax^2+by^2)^{2n+1}=af^2+be^2$$ where $f, e$ are functions on $x,y, a,b$

$\textbf{Claim}$: Suppose the equation $ax^2+by^2=cz^2$() has at least one triple of solution with $\gcd(x, y, z)=1$ whenever, $\gcd(a, b, c)=1$ where, $a,b, c$ are constant. Then the equation () has infinitely many integer solutions.

$\textbf{Proof}$: By Observation 1 and the Observation that $(cz^2)^{2n+1}= c.(c^{n}.z^{2n+1})^2$ we are done.

Now you know what to do with your problem, I am lazy to type.

$\textbf{Remark:}$ Try More general question $ax^2+by^2=cz^{2k}$ where $a,b,c$ are constants and for every natural number $k$ with $\gcd(a, b, c)=1$. Try to check the Primitive solution with a first existing triple.

Actually in Observation 1: When either of $a,b$ is $1$ you can lift by $n$

Motivation: Basically, I had a paper on it, looking over Lemmas in the main idea part. Here: https://www.linkedin.com/posts/safal-das-biswas-0a1b03255_enjoy-activity-7016113290393137152-ChXf?utm_source=share&utm_medium=member_android

Note that in the paper I had taken $c=1$,

For your question, you can lift by $n$ taking $a=b=1$ $c=2$ taking primitive solution $1+1=2$ or other primitive solutions and apply, $$(a^2+b^2)(c^2+d^2)=(ac+bd)^2+(ad-bc)^2=(ad+bc)^2+(ac-bd)^2$$(Note that it follows).

But you should be aware of applying $(a^2+b^2)$ an odd number of times unless you get a square in RHS

Remark: $(a, b, c)$ can also be perfect square.

0
On

Noting that $a^2+b^2=2c^2 \Rightarrow a $ and $b$ are of same parity. Hence there exists natural numbers $u$ and $v$ such that $$a+b=2u \textrm{ and } a-b=2v$$ Then $$a=u+v \textrm{ and }b=u-v$$ $$ \begin{gathered} (u+v)^2+(u-v)^2=2 c^2 \Rightarrow u^2+v^2=c^2 \end{gathered} $$ There exists Pythagorean triple such that $$ \begin{aligned} & \left\{\begin{array}{l} u=2k m n \\ v=k(m^2-n^2) \\ c=k(m^2+n^2) \end{array}\right. \Rightarrow \left\{\begin{array}{l} a=k(2 m n+m^2-n^2 )\\ b=k(2 m n-m^2+n^2) \\ c=k(m^2+n^2) \end{array}\right. ,\\ & \end{aligned} $$ where $k,m,n \in N$. enter image description here

By the above diagram, we have $$(ac+bd)^2+(ad-bc)^2=(a^2+b^2)(c^2+d^2)= (ac-bd)^2+(ad+bc)^2$$

Combining them give the solution of $a^2+b^2=c^2+d^2=2x^2$.

0
On

$a^2+b^2=c^2+d^2=2x^2\tag1

Above has parameteric solution shown below:

$a=(mu+nv)$

$b=(mv-nu)$

$c=(mu-nv)$

$d=(mv+nu)$

$x=(p^2+q^2)(r^2+s^2)$

where:

$m=2pq+p^2-q^2$

$n=2pq-p^2+q^2$

$u=2rs$

$v=r^2-s^2$

Condition is:

$(p^2+q^2)=(r^2-s^2)$ ---(2)

eqn (2) is satisfied at:

$(p,q,r,s)=(8,1,9,4)$

& we get:

$2633^2+8519^2=8743^2+1751^2=2(6305)^2$