x² + 4xy + 3y²
matrix (1 2; 2 3), det
−1 (indefinite).
A quadratic form is for a symmetric matrix . In two variables, has matrix with rows and . The signs of the eigenvalues decide whether it is positive definite, negative definite or indefinite.
This page is easier if you are comfortable with:
Expanding gives squared terms from the diagonal and cross terms from the off-diagonal entries, each counted twice. All eigenvalues positive means for every non-zero : positive definite.
By the spectral theorem, rotating to the eigenvector axes removes the cross terms, so . The sign pattern then follows from the eigenvalues.
Quadratic forms describe conic sections, energy in physics, and the second-order behaviour of functions (see the second derivative test). The Rayleigh quotient is the form divided by the squared length.
A quadratic form is a sum of squared and cross terms. Its sign pattern says whether a function has a minimum, a maximum or a saddle at a point.
Positive eigenvalues 1 and 3 give a closed ellipse; an indefinite form would give a hyperbola.
These examples are worked by hand, step by step, so you can compare your own working.
Classify .
Classify .
Evaluate at .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
matrix (1 2; 2 3), det
−1 (indefinite).
Q
8.
matrix (2 1; 1 2), det
3 (positive definite).
Q
2.
Q(x) = xᵀAx for symmetric A; ax² + 2bxy + cy² has matrix (a b; b c). Positive eigenvalues mean positive definite, mixed signs indefinite.
x² + 4xy + 3y²: matrix (1 2; 2 3).
At (1, 1).
(2 1; 1 2): 4 − 1.
At (1, −1).
b ✗
2b ✓
Off-diagonal b appears twice.
alone ✗
also a > 0 ✓
Both needed.
any A ✗
symmetrise first ✓
Use (A + Aᵀ)/2.
nothing ✗
det < 0 ⇒ indefinite (2 × 2) ✓
Mixed eigenvalues.
Try each one on paper, then open the answer. Use the solver above to see the full working.
-8
8
8
19
1
25
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Q(x) = xᵀAx with A symmetric.
(a b; b c).
When all eigenvalues are positive (a > 0 and ac − b² > 0 in 2D).
It is indefinite.
symmetric matrices.
Rayleigh quotient.
More in Vectors and matrices and the formula sheets.