Lagrange’s identity


Let R be a commutative ring, and let x1,…,xn,y1,…,yn be arbitrary elements in R. Then

(∑k=1nxk⁢yk)2=(∑k=1nxk2)⁢(∑k=1nyk2)-∑1≤k<i≤n(xk⁢yi-xi⁢yk)2⁢.
Proof.

Since R is commutativePlanetmathPlanetmathPlanetmath, we can apply the binomial formula.We start out with

(∑i=1nxi⁢yi)2=∑i=1n(xi2⁢yi2)+∑1≤i<j≤n2⁢xi⁢yj⁢xj⁢yi (1)

Using the binomial formula, we see that

(xi⁢yj-xj⁢yi)2=xi2⁢yj2-2⁢xi⁢xj⁢yi⁢yj+xj2⁢yi2.

So we get

(∑i=1nxi⁢yi)2+∑1≤i<j≤nn(xi⁢yj-xj⁢yi)2 = ∑i=1n(xi2⁢yi2)+∑1≤i<j≤nn(xi2⁢yj2+xj2⁢yi2) (2)
= (∑i=1nxi2)⁢(∑i=1nyi2) (3)

Note that changing the roles of i and j in xi⁢yj-xj⁢yi, we get

xj⁢yi-xi⁢yj=-(xi⁢yj-xj⁢yi),

but the negative sign will disappear when we square. So we can rewrite the last equation to

(∑i=1nxi⁢yi)2+∑1≤i<j≤n(xi⁢yj-xj⁢yi)2=(∑i=1nxi2)⁢(∑i=1nyi2). (4)

This is equivalentMathworldPlanetmathPlanetmathPlanetmathPlanetmath to the stated identityPlanetmathPlanetmathPlanetmathPlanetmath. ∎

Title Lagrange’s identity
Canonical name LagrangesIdentity
Date of creation 2013-03-22 13:18:01
Last modified on 2013-03-22 13:18:01
Owner mathcam (2727)
Last modified by mathcam (2727)
Numerical id 21
Author mathcam (2727)
Entry type Theorem
Classification msc 13A99