Bilinear forms
The dot product is the simplest way to combine two vectors into a single number, and it is linear in each vector separately. A bilinear form is the general version of that idea: any rule built from two vectors that stays linear in each argument on its own. Every such rule, no matter how it is first written, collapses into one matrix sandwich . Set the two vectors equal and becomes a quadratic form — the matrix language behind expressions like , and the tool that tells you, without plotting anything, whether such an expression is always positive, always negative, or switches sign. That single question — sign definiteness — is what makes bilinear forms worth learning: it decides whether a critical point is a minimum, a maximum, or a saddle, and it is the algebraic seed of everything eigenvalues will later explain.
A bilinear form reduces, when , to a quadratic form whose sign for every nonzero is decided by a symmetric matrix , tested compactly through leading principal minors.
The core idea
From two vectors to one matrix. A bilinear form on is a function that is linear in each slot separately:
where: are vectors in and are scalars; the same linearity holds when the second argument is split instead of the first. This one property forces every bilinear form into a fixed shape,
where: is the unique matrix with entries , obtained by feeding in standard basis vectors. A bilinear form's matrix need not be symmetric — only once the two arguments are forced equal does symmetry become the natural convention.
Quadratic forms and the symmetry convention. Setting gives the quadratic form . Because for any square (a scalar equals its own transpose), replacing by never changes , so by convention the matrix of a quadratic form is always taken symmetric, with cross-term coefficients split evenly between the two off-diagonal positions.
Sign definiteness. A quadratic form is classified by the sign takes for : positive definite if always; negative definite if always; positive/negative semidefinite if (resp. ) with equality somewhere nonzero; indefinite if takes both signs. For a symmetric this sign pattern matches the sign pattern of 's eigenvalues — all positive gives positive definite, all negative gives negative definite, mixed signs give indefinite — though the full eigenvalue argument belongs to the diagonalization topic that follows this one.
Leading principal minors. Eigenvalues are expensive to compute by hand, so a faster / check uses the determinants of the top-left blocks of , called leading principal minors . For , is positive definite iff and ; negative definite iff and ; indefinite iff . The general rule (Sylvester's criterion) extends this to : positive definite iff every ; negative definite iff the signs alternate starting negative ().
The goal is to derive, from the algebraic expression alone and nothing beyond completing the square, exactly why positive definiteness requires both and , so that the leading-principal-minors shortcut used throughout this topic is not just memorized but seen to follow from the definition of sign definiteness itself.
Step 1. Write the general quadratic form with symmetric matrix , so . Assume first , which is needed to complete the square in .
Step 2. Factor out of the -terms and complete the square: . Combine the remaining terms over the common denominator : .
Step 3. Read off the sign directly. is now a sum of two pieces: times a perfect square, plus times , where is exactly . For whenever , both coefficients must be positive — if the first term cannot always be positive, and if the second term can go negative or vanish for suitable . So positive definiteness forces and , matching .
Step 4. Check the converse and the other cases. If and , both terms are nonnegative and the perfect square vanishes only when ; substituting that back leaves unless too, so for every nonzero — positive definite confirmed. Flipping with makes both terms nonpositive by the same argument, giving negative definite; and makes the two terms fight for opposite signs as and vary, giving indefinite regardless of the sign of . This reproduces every case of Sylvester's criterion from first principles.
Worked example
Problem. Classify using leading principal minors, then confirm the classification by exhibiting vectors where takes both signs (if indefinite) or by writing as a sum of squares (if definite).
Step 1. Build the symmetric matrix. The coefficient of gives , the coefficient of gives , and the cross term splits evenly into :
Step 2. Compute the leading principal minors. . .
Step 3. Apply the criterion. Since , neither the positive-definite pattern () nor the negative-definite pattern () holds, so is indefinite.
Step 4. Confirm directly with test vectors. At : . At : . takes both a positive value (, at ) and a negative value (, at ), confirming is indefinite, exactly as the negative determinant predicted.
Competitive stretch
Using the derivation above, complete the square directly: . The two coefficients and have opposite signs, which is exactly the indefinite signature — and their product, up to the squared denominator, reproduces , tying the sum-of-squares picture directly back to the minor test.
Common traps
- Splitting a cross-term coefficient unevenly (writing for instead of ) before applying the minor test — the symmetrization must happen first.
- Applying leading-principal-minors to a non-symmetric matrix; Sylvester's criterion as used here assumes , and a general bilinear form's matrix need not be symmetric at all.
- Reading a zero minor as "indefinite" rather than the borderline semidefinite case, which needs specific test vectors rather than a clean sign pattern.
- Confusing , a function of two independent vectors, with , a function of one vector used twice — a quadratic form is a special case, not another name for a bilinear form.
Ask the tutor: want to practice converting a messier three-variable quadratic expression into matrix form and classifying it with the minor test, or work through the eigenvalue connection with a concrete symmetric matrix?
Why must the matrix of a quadratic form be symmetric, when a general bilinear form's matrix need not be?
A quadratic form only ever sees , and for any square matrix that scalar equals too, since a matrix equals its own transpose. That means the symmetric part produces exactly the same as does, while the antisymmetric part contributes nothing at all. So there is no information lost by always choosing the symmetric representative, and doing so is what makes the leading-principal-minors test and the eigenvalue connection work cleanly. A general bilinear form has two independent arguments, so this collapsing trick does not apply and its matrix can be anything.
What happens when a leading principal minor is exactly zero instead of positive or negative?
A zero minor signals a borderline, semidefinite case rather than a clean definite or indefinite classification, and the sign-pattern shortcut does not resolve it by itself. For example has with and ; always but is zero along the whole -axis, so it is positive semidefinite, not positive definite. When you hit a zero minor, fall back to testing specific vectors or writing as an explicit sum of squares to see whether it ever changes sign or merely touches zero.
How does sign definiteness here connect to what comes next with eigenvalues?
For a symmetric matrix, the sign pattern of matches the sign pattern of 's eigenvalues exactly: all eigenvalues positive gives positive definite, all negative gives negative definite, and mixed signs give indefinite. Leading principal minors are the fast hand-calculation route to that same answer without first finding eigenvalues, which typically need the characteristic polynomial. Once diagonalization of symmetric matrices is covered, the same can be written in a rotated coordinate system where becomes a plain sum , making the eigenvalue-sign connection visible directly rather than through minors.