UNIHIVE

Study Hub UNIPORT MTH 210

MTH 210 · Linear Algebra

Bilinear and quadratic forms

Bilinear forms and their matrices, symmetric forms, quadratic forms, reducing to a sum of squares, and positive definiteness.

Our notes

2 min read

Bilinear forms

A bilinear form on ℝⁿ is a map B(u, v) to ℝ that is linear in u (v fixed) and linear in v (u fixed). Every one can be written
B(u, v) = uᵀAv for an n × n matrix A, with Aᵢⱼ = B(eᵢ, eⱼ).
Worked example. B(u, v) = u₁v₁ + 3u₁v₂ − u₂v₂ has matrix A = [1 3; 0 −1].

  • B is symmetric (B(u, v) = B(v, u)) exactly when A is symmetric.
  • The dot product u·v is the symmetric bilinear form with matrix I.
  • Under a change of basis x = Py, the matrix becomes PᵀAP (congruence, not similarity).

Quadratic forms

A quadratic form is q(x) = xᵀAx with A symmetric, a homogeneous polynomial of degree 2.
To find A: put the coefficients of x₁², x₂², ... on the diagonal and half the coefficient of each cross term xᵢxⱼ in positions (i, j) and (j, i).
Worked example. q = 2x² + 6xy + 5y²: A = [2 3; 3 5].
Worked example. q = x² + 2y² − z² + 4xy − 2yz: A = [1 2 0; 2 2 −1; 0 −1 −1].

Reducing to a sum of squares

By completing the square (Lagrange's method).
q = 2x² + 6xy + 5y² = 2(x² + 3xy) + 5y² = 2(x + 1.5y)² − 4.5y² + 5y² = 2(x + 1.5y)² + 0.5y².
Put X = x + 1.5y, Y = y: q = 2X² + 0.5Y².
By eigenvalues (principal axes). Since A is symmetric, A = QDQᵀ with Q orthogonal; with x = Qy, q = λ₁y₁² + ... + λₙyₙ².
For A = [2 3; 3 5]: λ² − 7λ + 1 = 0, λ = (7 ± √45)/2 ≈ 6.854 and 0.146, both positive.
The numbers of positive, negative and zero coefficients do not depend on the method (Sylvester's law of inertia); the signature is (number positive) − (number negative).

Definiteness

q ismeanstest by eigenvalues
positive definiteq(x) > 0 for all x ≠ 0all λ > 0
positive semi-definiteq(x) ≥ 0all λ ≥ 0
negative definiteq(x) < 0 for x ≠ 0all λ < 0
indefinitetakes both signssome λ > 0, some λ < 0

Leading minors test (positive definite): all leading principal minors positive. For [2 3; 3 5]: 2 > 0 and det = 10 − 9 = 1 > 0. Positive definite.
Worked example. q = x² + 4xy + y²: A = [1 2; 2 1], det = 1 − 4 = −3 < 0, so eigenvalues have opposite signs: indefinite (q(1, −1) = 1 − 4 + 1 = −2, q(1, 0) = 1).

Uses

  • Conic sections: 2x² + 6xy + 5y² = 1 is an ellipse (both eigenvalues positive), x² + 4xy + y² = 1 a hyperbola; rotating to principal axes removes the xy term.
  • The second-derivative test for maxima and minima in several variables (the Hessian is a quadratic form).
  • Energy in mechanics, variance in statistics, least squares.

Exams usually ask: write the matrix of a bilinear or quadratic form; reduce a quadratic form to a sum of squares; find its rank and signature; decide definiteness; identify a conic.

Common mistake: putting the whole cross-term coefficient in one off-diagonal place. For 6xy, put 3 in both the (1, 2) and (2, 1) positions so A is symmetric.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 210 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.