Maths WorkshopMaths problems with full solutions
Exercise 2207Linear algebra › Quadratic formsL1Added 3 Nov 2026

Sylvester's law of inertia

#inertia law#signature#invariance

Statement

State Sylvester's law of inertia and illustrate it on the quadratic form Q(x,y)=x2−y2Q(x,y)=x^2-y^2 reduced by two different changes of variables.

Hint

The signature (number of positive, negative, and zero eigenvalues) is invariant under invertible linear changes of variables.

Show solutionHide solution

Solution

Law of inertia. Two quadratic forms are equivalent under an invertible linear change of variables iff they have the same signature (p,q,r)(p,q,r), where pp is the number of positive squares, qq the number of negative squares, rr the dimension of the kernel (or number of zero squares).

Reduction 1. Q=x2−y2Q=x^2-y^2 is already diagonal: p=1p=1, q=1q=1, r=0r=0.

Reduction 2. Let x=u+vx=u+v, y=u−vy=u-v. Then
Q=(u+v)2−(u−v)2=4uv.Q=(u+v)^2-(u-v)^2=4uv.
This is not diagonal. To diagonalize, use u=(s+t)/2u=(s+t)/2, v=(s−t)/2v=(s-t)/2: 4uv=(s+t)(s−t)=s2−t24uv=(s+t)(s-t)=s^2-t^2. Signature (1,1,0)(1,1,0), same as before.

Conclusion. The signature is invariant: (1,1,0)(1,1,0) in both reductions.