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

Gram matrix of a quadratic form

#Gram matrix#quadratic form#polar form

Statement

Let φ\varphi be the symmetric bilinear form with matrix
A=(2113).A=\begin{pmatrix}2&1\\1&3\end{pmatrix}.
Compute the quadratic form Q(u)=φ(u,u)Q(u)=\varphi(u,u) and check that its matrix is AA.

Hint

Q(u)=uTAuQ(u)=u^TAu.

Show solutionHide solution

Solution

Computation.
Q(x,y)=(x,y)(2113)(xy)=2x2+2xy+3y2.Q(x,y)=(x,y)\begin{pmatrix}2&1\\1&3\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=2x^2+2xy+3y^2.

Matrix. The matrix of QQ in the canonical basis is AA, since the coefficient of x2x^2 is 22, of y2y^2 is 33, and of xyxy is 2⋅1=22\cdot1=2.

Conclusion. Q(x,y)=2x2+2xy+3y2Q(x,y)=2x^2+2xy+3y^2 with Gram matrix AA.