The Shape of Curvature
A quadratic form in variables is a function , where is a symmetric matrix. In two variables:
Definiteness classifies the shape:
- Positive definite ( for all ): a bowl curving upward in every direction. Local minimum.
- Negative definite ( for all ): a dome curving downward. Local maximum.
- Indefinite ( takes both signs): a saddle. Neither max nor min.
- Semidefinite ( or , touching zero): boundary case — flat in some direction.
Principal-minor test (Sylvester's criterion) — check the leading principal minors of :
For a 2x2 matrix:
- Positive definite: and .
- Negative definite: and (alternating signs).
- If neither pattern holds: indefinite or semidefinite.
Connection to optimisation: the Hessian matrix at a critical point is exactly the matrix of a quadratic form (the second-order Taylor approximation). The definiteness of determines the nature of the critical point:
This is a more general version of the Hessian test from Lesson 3, extended to any number of variables.
Definiteness at a glance
| Type | behaves as | Shape | Optimum |
|---|---|---|---|
| Positive definite | always | Bowl | Minimum |
| Negative definite | always | Dome | Maximum |
| Indefinite | Both signs | Saddle | Neither |
| Semidefinite | Touches zero | Flat direction | Boundary case |
Tip: Sylvester's criterion in two variables is quick: and . Both positive → positive definite; signs alternating (, ) → negative definite. Anything else, check further.