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

Reducing a quadratic form by completing the square

#reduction#completing square#quadratic form

Statement

Reduce the quadratic form
Q(x,y)=x2+4xy+5y2Q(x,y) = x^2 + 4xy + 5y^2
by completing the square.

Hint

Write QQ as (x+2y)2+…(x+2y)^2 + \ldots.

Show solutionHide solution

Solution

Completing the square.
Q(x,y)=x2+4xy+5y2=(x+2y)2+y2.Q(x,y) = x^2 + 4xy + 5y^2 = (x+2y)^2 + y^2.

Verification. (x+2y)2+y2=x2+4xy+4y2+y2=x2+4xy+5y2(x+2y)^2+y^2 = x^2+4xy+4y^2+y^2=x^2+4xy+5y^2. Correct.

New variables. Let u=x+2yu=x+2y, v=yv=y. Then Q=u2+v2Q=u^2+v^2.

Conclusion. QQ is positive definite (sum of two squares). Its signature is (2,0,0)(2,0,0).