Rahul Sharma (Editor)

Euler's four square identity

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In mathematics, Euler's four-square identity says that the product of two numbers, each of which is a sum of four squares, is itself a sum of four squares.

Contents

Algebraic identity

For any pair of quadruples from a commutative ring, the following expressions are equal:

Euler wrote about this identity in a letter dated May 4, 1748 to Goldbach (but he used a different sign convention from the above). It can be proven with elementary algebra.

The identity was used by Lagrange to prove his four square theorem. More specifically, it implies that it is sufficient to prove the theorem for prime numbers, after which the more general theorem follows. The sign convention used above corresponds to the signs obtained by multiplying two quaternions. Other sign conventions can be obtained by changing any a k to a k , and/or any b k to b k .

If the a k and b k are real numbers, the identity expresses the fact that the absolute value of the product of two quaternions is equal to the product of their absolute values, in the same way that the Brahmagupta–Fibonacci two-square identity does for complex numbers. This property is the definitive feature of composition algebras.

Hurwitz's theorem states that an identity of form,

( a 1 2 + a 2 2 + a 3 2 + . . . + a n 2 ) ( b 1 2 + b 2 2 + b 3 2 + . . . + b n 2 ) = c 1 2 + c 2 2 + c 3 2 + . . . + c n 2

where the c i are bilinear functions of the a i and b i is possible only for n = 1, 2, 4, or 8.

Pfister's identity

Pfister found another square identity for any even power:

If the c i are just rational functions of one set of variables, hence has a denominator, then it is possible for all n = 2 m .

Thus, a different kind of four-square identity can be given as,

( a 1 2 + a 2 2 + a 3 2 + a 4 2 ) ( b 1 2 + b 2 2 + b 3 2 + b 4 2 ) =

where,

u 1 = b 1 2 b 4 2 b 1 b 2 b 3 b 2 2 b 4 u 2 = b 1 2 b 3 + 2 b 1 b 2 b 4 b 2 2 b 3

Note also the incidental fact that,

u 1 2 + u 2 2 = ( b 1 2 + b 2 2 ) 2 ( b 3 2 + b 4 2 )

References

Euler's four-square identity Wikipedia