mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern 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.
Algebraic identity
For any pair of quadruples from a
commutative ring
In mathematics, a commutative ring is a ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring properties that are not sp ...
, the following expressions are equal:
Euler
Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
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 verified with elementary algebra.
The identity was used by
Lagrange
Joseph-Louis Lagrange (born Giuseppe Luigi Lagrangiafour square theorem. More specifically, it implies that it is sufficient to prove the theorem for
prime numbers
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
, 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 to , and/or any to .
If the and are real numbers, the identity expresses the fact that the absolute value of the product of two
quaternion
In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. Hamilton defined a quatern ...
Comment: The proof of Euler's four-square identity is by simple algebraic evaluation. Quaternions derive from the four-square identity, which can be written as the product of two inner products of 4-dimensional vectors, yielding again an inner product of 4-dimensional vectors: . This defines the quaternion multiplication rule , which simply reflects Euler's identity, and some mathematics of quaternions. Quaternions are, so to say, the "square root" of the four-square identity. But let the proof go on:
Let and be a pair of quaternions. Their quaternion conjugates are and . Then
and
The product of these two is , where is a real number, so it can commute with the quaternion , yielding
No parentheses are necessary above, because quaternions associate. The conjugate of a product is equal to the commuted product of the conjugates of the product's factors, so
where is the
Hamilton product
In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. Hamilton defined a quater ...
of and :
Then
If where is the scalar part and is the vector part, then so
So,
Pfister's identity
Pfister found another square identity for any even power:Keith Conra Pfister's Theorem on Sums of Squares from University of Connecticut
If the are just rational functions of one set of variables, so that each has a denominator, then it is possible for all .
Thus, another four-square identity is as follows:
where and are given by
Incidentally, the following identity is also true:
Degen's eight-square identity In mathematics, Degen's eight-square identity establishes that the product of two numbers, each of which is a sum of eight squares, is itself the sum of eight squares.
Namely:
\begin
& \left(a_1^2+a_2^2+a_3^2+a_4^2+a_5^2+a_6^2+a_7^2+a_8^2\right)\lef ...
*
Pfister's sixteen-square identity In algebra, Pfister's sixteen-square identity is a non- bilinear identity of form
\left(x_1^2+x_2^2+x_3^2+\cdots+x_^2\right)\left(y_1^2+y_2^2+y_3^2+\cdots+y_^2\right) = z_1^2+z_2^2+z_3^2+\cdots+z_^2
It was first proven to exist by H. Zassenhaus a ...