Maths WorkshopMaths problems with full solutions
Exercise 266Linear algebra › Quadratic formsHigh schoolAdded 3 Nov 2026

Definition and matrix of a quadratic form

#quadratic form#symmetric matrix#definition

Statement

Write the quadratic form
Q(x,y)=x2+4xy+3y2Q(x,y) = x^2 + 4xy + 3y^2
in the form Q(X)=XTAXQ(X) = X^T A X, where AA is a symmetric matrix.

Hint

The coefficient of xixjx_ix_j for i≠ji\neq j is 2aij2a_{ij} in XTAXX^TAX.

Show solutionHide solution

Solution

Identification.
Q(x,y)=a11x2+2a12xy+a22y2.Q(x,y) = a_{11}x^2 + 2a_{12}xy + a_{22}y^2.
So a11=1a_{11}=1, 2a12=4⇒a12=22a_{12}=4\Rightarrow a_{12}=2, a22=3a_{22}=3.

Matrix.
A=(1223).A = \begin{pmatrix} 1 & 2 \\ 2 & 3 \end{pmatrix}.

Verification. XTAX=(x,y)(1223)(xy)=x2+2xy+2xy+3y2=x2+4xy+3y2X^TAX = (x,y)\begin{pmatrix}1&2\\2&3\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix} = x^2+2xy+2xy+3y^2 = x^2+4xy+3y^2.

Conclusion. Q(x,y)=XTAXQ(x,y)=X^TAX with A=(1223)A=\begin{pmatrix}1&2\\2&3\end{pmatrix}.