How do you classify the quadratic form as positive definite, semidefinite or indefinite, and how do you write it in diagonal form via an orthogonal change of variables ?
Linear algebra and optimisation, Quadratic forms
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can extract the symmetric matrix of a quadratic form, find its eigenvalues, and perform orthogonal diagonalisation.
Key idea
Every quadratic form equals for a unique symmetric matrix (splitting cross terms equally between and ); an orthonormal eigenbasis transforms into , whose eigenvalue signs immediately classify the form.
Steps
- Write with symmetric matrix , placing half of each cross coefficient () in and .
- Notice , where . The rank-1 matrix has eigenvalue along and eigenvalue (multiplicity ) perpendicular to .
- Read off the eigenvalues of : and . Since has both positive () and negative () eigenvalues, is indefinite.
- Build an orthonormal eigenbasis : for , and two orthonormal vectors orthogonal to for , such as and .
- Substitute (so ) to get the diagonal form .
Common mistakes
- Forgetting to divide the cross-term coefficients by when building the symmetric matrix .
- Using non-orthogonal or unnormalised eigenvectors in ; only an orthogonal change of variables preserves lengths and gives (where is the diagonal matrix of eigenvalues) rather than .
How long your answer should be
Half a page; 4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: For which values of is the symmetric matrix positive definite by Sylvester's criterion, and what is its Cholesky factorisation when ?
Next in Linear algebra and optimisation: When is a square matrix diagonalisable, why can repeated eigenvalues break diagonalisability, and how do you tell whether and are diagonalisable?