Sum of Four Squares

Algebra Level 4

Find the number of solutions for a a , b b , c c , and d d that satisfy the equations:

a 2 + b 2 + c 2 + d 2 = 2 b 2 + c 2 2 c d = b 2 + 2 c 2 2 a b a^2 + b^2 + c^2 + d^2 = 2b^2 + c^2 - 2cd = b^2 + 2c^2 - 2ab

where all four variables are positive integers and the gcd ( a , b , c , d ) = 1 \gcd(a, b, c, d) = 1 .

zero solutions infinitely many solutions finitely many (but more than zero) solutions

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

David Vreken
Nov 19, 2020

a 2 + b 2 + c 2 + d 2 = 2 b 2 + c 2 2 c d a^2 + b^2 + c^2 + d^2 = 2b^2 + c^2 - 2cd can be rearranged to:

a 2 + ( c + d ) 2 = b 2 + c 2 a^2 + (c + d)^2 = b^2 + c^2

and a 2 + b 2 + c 2 + d 2 = b 2 + 2 c 2 2 a b a^2 + b^2 + c^2 + d^2 = b^2 + 2c^2 - 2ab can be rearranged to:

( a + b ) 2 + d 2 = b 2 + c 2 (a + b)^2 + d^2 = b^2 + c^2

Now consider the following diagram of a rectangle with sides a + b a + b and c + d c + d :

According to the equations above, by Pythagorean's Theorem each of the three right triangles' hypotenuses are equal to each other, so the center triangle must be an equilateral triangle. Let the side of that equilateral triangle be s s .

By Pythagorean's Theorem b 2 + c 2 = s 2 b^2 + c^2 = s^2 , so if a a , b b , c c , and d d are positive integers, then s 2 s^2 must be an integer, too, and by the area of an equilateral triangle A = 3 4 s 2 A = \frac{\sqrt{3}}{4}s^2 the area A A must be irrational.

However, the area of the equilateral triangle is the area of the rectangle minus the sum of the three right triangles, or A = ( a + b ) ( c + d ) ( 1 2 ( a + b ) d + 1 2 b c + 1 2 a ( c + d ) ) = 1 2 ( a c + b c + b d ) A = (a + b)(c + d) - (\frac{1}{2}(a + b)d + \frac{1}{2}bc + \frac{1}{2}a(c + d)) = \frac{1}{2}(ac + bc + bd) , and if a a , b b , c c , and d d are positive integers, then the area A A must be rational.

The area can't be rational and irrational at the same time, so it can't be that a a , b b , c c , and d d are all positive integers.

Therefore, there are zero solutions to the given equations with the given conditions.

will it also not work if a b c d were not positive integers

Nakshatra Arora - 6 months, 2 weeks ago

Log in to reply

I believe there would still be zero solutions, but my solution would break down since my geometrical representation relies on a, b, c, and d to be positive.

David Vreken - 6 months, 2 weeks ago
Mark Hennings
Nov 19, 2020

The equations can be rewritten as a 2 + ( c + d ) 2 = b 2 + c 2 = ( a + b ) 2 + d 2 a^2 + (c+d)^2 \; = \; b^2 + c^2 \; =\; (a+b)^2 + d^2 If we suppose that the HCF of b b and c c is u u , so that b = u B b = uB , c = u C c = uC for coprime positive integers B , C B,C , then u C ( c + 2 d ) = ( c + d ) 2 d 2 = ( a + b ) 2 a 2 = ( 2 a + b ) u B uC(c+2d) \; = \; (c+d)^2 - d^2 \; =\; (a+b)^2 - a^2 \; = \; (2a+b)uB so that c + 2 d = v B c + 2d = vB , 2 a + b = v C 2a+b = vC for some positive integer v v . But then v 2 ( B 2 + C 2 ) = b 2 + c 2 = a 2 + ( c + d ) 2 = ( 1 2 ( v C u B ) ) 2 + ( 1 2 ( v B + u C ) ) 2 = 1 4 ( u 2 + v 2 ) ( B 2 + C 2 ) v^2(B^2+C^2) \; = \; b^2 + c^2 \; = \; a^2 + (c+d)^2 \; =\; \left(\tfrac12(vC - uB)\right)^2 + \left(\tfrac12(vB + uC)\right)^2 \; = \; \tfrac14(u^2+v^2)(B^2+C^2) and hence v 2 = 1 4 ( u 2 + v 2 ) v^2 = \tfrac14(u^2+v^2) , and hence u 2 = 3 v 2 u^2 = 3v^2 . Thus, if there were any positive integer solutions of this equation, then 3 \sqrt{3} would be rational.

Thus there are no solutions.

Razzi Masroor
Feb 9, 2021

Take twice the first equation and subtract out the second and third from it. This gives 2 a 2 + 2 b 2 + 2 c 2 + 2 d 2 ( 2 b 2 + c 2 2 c d ) ( b 2 + 2 c 2 2 a b ) = 0 2a^2+2b^2+2c^2+2d^2-(2b^2+c^2-2cd)-(b^2+2c^2-2ab)=0 2 a 2 + 2 d 2 b 2 c 2 + 2 a b + 2 c d = 0 2a^2+2d^2-b^2-c^2+2ab+2cd=0 2 a 2 + 2 d 2 = b 2 + c 2 2 a b 2 c d 2a^2+2d^2=b^2+c^2-2ab-2cd 3 a 2 + 3 d 2 = a 2 + b 2 + c 2 + d 2 2 a b 2 c d = ( a b ) 2 + ( c d ) 2 3a^2+3d^2=a^2+b^2+c^2+d^2-2ab-2cd=(a-b)^2+(c-d)^2 Now squares are only 0 or 1 mod 3 and since the LHS is divisible by 3, a b 0 ( m o d 3 ) c d 0 ( m o d 3 ) a-b\equiv 0 \pmod{3}\quad c-d\equiv 0 \pmod{3} However due to the nature of squares having even prime exponents, this would actually make each of the squares on the RHS be divisible by 9! This would force a 2 0 ( m o d 3 ) d 2 0 ( m o d 3 ) a^2\equiv 0 \pmod{3} \quad d^2\equiv 0 \pmod{3} a 0 ( m o d 3 ) d 0 ( m o d 3 ) a\equiv 0 \pmod{3} \quad d\equiv 0 \pmod{3} b a 0 ( m o d 3 ) c d 0 ( m o d 3 ) b\equiv a\equiv 0\pmod{3} \quad c\equiv d\equiv 0 \pmod{3} so all of the variables are divisible by 3, violating the gcd restriction. Thus there are no solutions

Very nice!

David Vreken - 4 months ago
Kushal Dey
Dec 2, 2020

a²+b²+c²+d²=2b²+c²-2cd => b²-a²=2cd+d²...(i) Comparing 1st and 3rd part of given eqn, we get, b²+2ab=d²-c²...(ii) By (i)-(ii) we get, -a²-2ab=c²+2cd, which is impossible if a,b,c,d are positive integers

When I compare the 1st and 3rd part of the given equation, the b 2 b^2 crosses out...

David Vreken - 6 months, 1 week ago

O yes, looks like I made a mistake, it will be a²+2ab=c²+2cd, looks like my solution is wrong :(

Kushal Dey - 6 months, 1 week ago
Bijoy Banerjee
Nov 19, 2020
  1. b2 > 2cd as a2+d2 > 0
  2. c2 > 2ab as a2+d2 > 0 So b2 - c2 = 2(cd-ab) can't be true

The facts that A > B A > B and C > D C > D does not make it impossible for A C A-C to equal B D B-D . For example, consider 7 > 5 7 > 5 and 5 > 3 5 > 3 , but 7 5 = 5 3 7-5 = 5-3 .

Mark Hennings - 6 months, 3 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...