Euler's four-square identity

From Number
(Redirected from Four square identity)

Statement

As an identity

In any commutative unital ring, if a1,a2,a3,a4,b1,b2,b3,b4 are elements, then:

(a12+a22+a32+a42)(b12+b22+b32+b42)=
(a1b1a2b2a3b3a4b4)2+
(a1b2+a2b1+a3b4a4b3)2+
(a1b3a2b4+a3b1+a4b2)2+
(a1b4+a2b3a3b2+a4b1)2.

In terms of products two at a time

In any commutative unital ring, if x and y are both elements that can be expressed as a sum of four squares, then xy can also be expressed as a sum of four squares.

In terms of products of arbitrary length

In any commutative unital ring, if x1,x2,,xn are all elements that can be expressed as a sum of four squares, then x1x2xn can also be expressed as a sum of four squares.

Related facts

Similar facts

Applications