LibreTimes

July 24, 2026 · Theory · LibreTimes

Quadratic Forms

Quadratic forms and their matrix, definiteness, Sylvester's criterion, and canonical form.

A quadratic form in variables is a homogeneous polynomial of the second degree — a function containing no first-degree terms and no constant term:

The Matrix of a Quadratic Form

The form is associated with a symmetric matrix , : the diagonal holds the coefficients of the squares, and the coefficient of is split evenly between the symmetric positions and (which is why the form carries a factor of ). Then

For example, the form corresponds to the matrix

(the coefficient of gives ; the coefficient of gives ).

Definiteness

A quadratic form (and its matrix) is called:

  • positive definite if for all ;
  • negative definite if for all ;
  • positive (negative) semidefinite if (respectively ) for all ;
  • indefinite if takes both positive and negative values.

Sylvester's Criterion

Introduce the leading (principal) minors of the matrix :

Theorem (Sylvester's criterion).

  • The form is positive definite all leading minors are positive:
  • The form is negative definite the signs of the leading minors alternate, starting with a minus:

Example (Positive Definite)

Leading minors:

All positive the form is positive definite. (Indeed, , with equality only at zero.)

Example (Indefinite)

Here , but , so the form is neither positive nor negative definite — it is indefinite. This is also clear directly: , while .

Relation to Eigenvalues

Any quadratic form can be reduced, by an orthogonal change of coordinates (in a basis of eigenvectors of the symmetric matrix ), to canonical form with no cross terms:

where are the eigenvalues of the matrix (all real, since is symmetric). This gives a second definiteness criterion:

  • the form is positive definite all ;
  • negative definite all ;
  • indefinite there are eigenvalues of both signs.

Applications

Quadratic forms arise everywhere: examining the sign of the second differential (the Hessian matrix) when finding extrema of functions of several variables; classifying curves and surfaces of the second order; potential energy and the energy of small oscillations in physics; covariance matrices in statistics.

0

No comments yet

Be the first to share your thoughts.