Courses / Business I
Mathematics II

Quadratic Forms

A quadratic form in n variables is a function Q(x) = x^T A x, where A is a symmetric matrix.

Business I 346 words Free to read

The Shape of Curvature

A quadratic form in nn variables is a function Q(x)=xTAxQ(\mathbf{x}) = \mathbf{x}^T A \mathbf{x}, where AA is a symmetric matrix. In two variables:

Q(x1,x2)=a11x12+2a12x1x2+a22x22Q(x_1, x_2) = a_{11}x_1^2 + 2a_{12}x_1 x_2 + a_{22}x_2^2

Definiteness classifies the shape:

Principal-minor test (Sylvester's criterion) — check the leading principal minors Δk\Delta_k of AA:

Δ1=a11,Δ2=a11a12a12a22=a11a22a122\Delta_1 = a_{11}, \qquad \Delta_2 = \begin{vmatrix} a_{11} & a_{12} \\ a_{12} & a_{22} \end{vmatrix} = a_{11}a_{22} - a_{12}^2

For a 2x2 matrix:

Connection to optimisation: the Hessian matrix HH at a critical point is exactly the matrix of a quadratic form (the second-order Taylor approximation). The definiteness of HH determines the nature of the critical point:

H positive definitelocal minimumH \text{ positive definite} \Rightarrow \text{local minimum} H negative definitelocal maximumH \text{ negative definite} \Rightarrow \text{local maximum} H indefinitesaddle pointH \text{ indefinite} \Rightarrow \text{saddle point}

This is a more general version of the Hessian test from Lesson 3, extended to any number of variables.

Definiteness at a glance

TypeQ(x)Q(\mathbf{x}) behaves asShapeOptimum
Positive definite>0> 0 alwaysBowlMinimum
Negative definite<0< 0 alwaysDomeMaximum
IndefiniteBoth signsSaddleNeither
SemidefiniteTouches zeroFlat directionBoundary case
Tip: Sylvester's criterion in two variables is quick: Δ1=a11\Delta_1 = a_{11} and Δ2=detA\Delta_2 = \det A. Both positive → positive definite; signs alternating (Δ1<0\Delta_1 < 0, Δ2>0\Delta_2 > 0) → negative definite. Anything else, check further.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

14practice questions
2interactive scenes
Start Business I free

Mathematics II