MTH 210 · Linear Algebra
Our notes
2 min readBilinear 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 is | means | test by eigenvalues |
|---|---|---|
| positive definite | q(x) > 0 for all x ≠ 0 | all λ > 0 |
| positive semi-definite | q(x) ≥ 0 | all λ ≥ 0 |
| negative definite | q(x) < 0 for x ≠ 0 | all λ < 0 |
| indefinite | takes both signs | some λ > 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
-
Quadratic form
(opens en.wikipedia.org in a new tab)
Wikipedia, Quadratic form, CC BY-SA 4.0 · licence
-
Bilinear form
(opens en.wikipedia.org in a new tab)
Wikipedia, Bilinear form, CC BY-SA 4.0 · licence
-
Definite matrix
(opens en.wikipedia.org in a new tab)
Wikipedia, Definite matrix, CC BY-SA 4.0 · licence
Watch
-
Best pick Quadratic Forms in Matrix Notation | Linear Algebra
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Expressing a quadratic form with a matrix
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Symmetric Matrices and their Properties | Linear Algebra
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Positive Definite Matrices and Minima | MIT 18.06SC Linear Algebra, Fall 2011
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Symmetric Matrices and Positive Definiteness | MIT 18.06SC Linear Algebra, Fall 2011
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
25. Symmetric Matrices and Positive Definiteness
44 min · ≈ 198 MB · about ₦111
(opens youtube.com in a new tab)
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.