BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Problem Set 9: symmetric and positive definite matrices

Seven problems of our own on Lectures 25 and 27: the spectral theorem and a sum of projections, why the eigenvalues of a symmetric matrix are real and its eigenvectors perpendicular, counting eigenvalues by the signs of pivots, the tests for positive definiteness on a matrix with a parameter, completing the square, the ellipse of a quadratic form, and the second-derivative test for a minimum.

You need this first

Full reading path (25 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
  5. Equations of planes and square systems (18.02)
  6. The geometry of linear equations (18.06)
  7. Elimination with matrices (18.06)
  8. Matrix multiplication and inverse matrices (18.06)
  9. Factorization into A = LU (18.06)
  10. Transposes, permutations and vector spaces (18.06)
  11. Properties of determinants (18.06)
  12. Determinant formulas and cofactors (18.06)
  13. Cramer's rule, the inverse matrix and volume (18.06)
  14. Column space and nullspace (18.06)
  15. Eigenvalues and eigenvectors (18.06)
  16. Diagonalisation and powers of A (18.06)
  17. Solving Ax = 0: pivot variables and special solutions (18.06)
  18. Solving Ax = b: the complete solution (18.06)
  19. Independence, basis and dimension (18.06)
  20. The four fundamental subspaces (18.06)
  21. Orthogonal vectors and subspaces (18.06)
  22. Projections onto subspaces (18.06)
  23. Projection matrices and least squares (18.06)
  24. Symmetric matrices and positive definiteness (18.06)
  25. Positive definite matrices and minima (18.06)
On this page · 9 sections
  1. How to answer
  2. What you need from the lessons
  3. Problem 1
  4. Problem 2
  5. Problem 3
  6. Problem 4
  7. Problem 5
  8. Problem 6
  9. Problem 7

This set practises two lessons: symmetric matrices and positive definiteness (Lecture 25) and positive definite matrices and minima (Lecture 27). Lecture 26, on complex matrices and the fast Fourier transform, belongs to Problem Set 10.

MIT's 18.06 problem sets assign exercises from a textbook that is not openly licensed, so this set is made of our own problems on the same lectures, in MIT's lecture order. No MIT or textbook problem is used: every matrix and every number below is ours, and so are the hints and the solutions. The formulas come from the lessons and from the lecture transcripts they cite.

How to answer#

Work each problem on paper first. Then type or choose your result in the answer box and press Check.

Give a number answer to 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. Where a box needs more digits, its label says so.

A number box wants a decimal number, not a fraction or a root: write 0.250.25, not 1/41/4. Every number box accepts any value within 0.010.01 of the exact one, so give at least two decimal places when the answer is not a whole number. A matrix cannot be typed: a box asks for one of its entries, an eigenvalue, a pivot, a determinant or a count, or you choose from a list. Entries are numbered by row, then column, starting from 1 (so p12p_{12} is in the first row, second column).

A formula box takes plain typing, for example (a + 1)/sqrt(2*a), and accepts every correct way of writing the answer. Type sqrt( ) for a square root and ^ for a power.

Some parts ask you to show something. They have no answer box: write your argument, then open the solution and mark yourself. MIT gives no points for these problems: the points here (100 in all) and their split between the parts are ours. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.

What you need from the lessons#

Symmetric matrices (Lecture 25). A real symmetric matrix, A=ATA = A^T, has real eigenvalues, and its eigenvectors can be chosen orthonormal. Put them in the columns of QQ; then Q−1=QTQ^{-1} = Q^T and

Spectral theorem
A=QΛQ−1=QΛQTA = Q\Lambda Q^{-1} = Q\Lambda Q^T
In words

capital A equals capital Q capital lambda capital Q to the power minus 1 equals capital Q capital lambda capital Q ^ capital T

Multiplied out as columns times rows, this writes AA as a combination of projection matrices qiqiTq_iq_i^T onto perpendicular lines:

Spectral sum
A=λ1q1q1T+λ2q2q2T+⋯+λnqnqnTA = \lambda_1q_1q_1^T + \lambda_2q_2q_2^T + \cdots + \lambda_nq_nq_n^T
In words

capital A equals lambda one q one q one ^ capital T plus lambda two q two q two ^ capital T plus and so on plus lambda n q n q n ^ capital T

For a symmetric matrix the pivots and the eigenvalues have the same signs; shifting to A−sIA - sI moves every eigenvalue down by ss, so the pivots of A−sIA - sI count the eigenvalues above ss:

Pivots and eigenvalues
number of positive pivots=number of positive eigenvalues(A=AT)\text{number of positive pivots} = \text{number of positive eigenvalues} \qquad (A = A^T)
In words

number of positive pivots equals number of positive eigenvalues ( capital A equals capital A ^ capital T )

The product of the pivots (without row exchanges) and the product of the eigenvalues are both det⁡A\det A (p. 14).

Positive definite matrices (Lectures 25 and 27). A symmetric matrix is positive definite when all its eigenvalues are positive, equivalently all its pivots, equivalently all its upper-left determinants (Lecture 25 transcript, pp. 15–18). For a 2×22 \times 2 matrix the four tests read

Tests for positive definiteness
(1) λ1>0, λ2>0(2) a>0, ac−b2>0(3) pivots a>0, ac−b2a>0(4) xTAx>0 for all x≠0\text{(1) } \lambda_1 > 0,\ \lambda_2 > 0 \qquad \text{(2) } a > 0,\ ac - b^2 > 0 \qquad \text{(3) pivots } a > 0,\ \frac{ac - b^2}{a} > 0 \qquad \text{(4) } x^TAx > 0 \text{ for all } x \neq 0
In words

(1) lambda one greater than 0, lambda two greater than 0 (2) a greater than 0, a c minus b squared greater than 0 (3) pivots a greater than 0, the quantity a c minus b squared, all over a greater than 0 (4) x^ capital T capital A x greater than 0 for all x is not equal to 0

for A=(abbc)A = \begin{pmatrix} a & b \\ b & c \end{pmatrix}, whose quadratic form is xTAx=ax2+2bxy+cy2x^TAx = ax^2 + 2bxy + cy^2 (p. 4 of the Lecture 27 transcript). Completing the square is elimination: the pivots stand outside the squares and the multipliers inside (pp. 11–14). Lecture 27's example:

Completing the square
2x2+12xy+20y2=2(x+3y)2+2y22x^2 + 12xy + 20y^2 = 2(x + 3y)^2 + 2y^2
In words

2 x squared plus 12 x y plus 20 y squared equals 2 the quantity x plus 3 y, all squared plus 2 y squared

Cutting the graph of a positive definite form at height 1 gives an ellipse; cutting a saddle gives a hyperbola (p. 12). In nn dimensions xTAx=1x^TAx = 1 is an ellipsoid whose axes point along the eigenvectors, their lengths set by the eigenvalues (p. 19). (Putting x=tqx = tq with a unit eigenvector qq gives λt2=1\lambda t^2 = 1, so the half-length along qq is 1/λ1/\sqrt{\lambda}. Strang says in Lecture 27, transcript p. 19, that the lengths are one over the eigenvalues; for xTAx=1x^TAx = 1 they are one over their square roots.)

Minima (Lecture 27). At a point where the first derivatives of f(x,y)f(x, y) are zero, ff has a minimum when the symmetric matrix of second derivatives is positive definite:

Matrix of second derivatives
(fxxfxyfyxfyy),fxy=fyx\begin{pmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{pmatrix}, \qquad f_{xy} = f_{yx}
In words

f sub x x f sub x y; f sub y x f sub y y, f sub x y equals f sub y x

Problem 1#

Problem

A spectral factorisation

14 points

Take the symmetric matrix

The matrix of Problem 1
A=(544−1)A = \begin{pmatrix} 5 & 4 \\ 4 & -1 \end{pmatrix}
In words

capital A equals 5 4; 4 minus 1

(a)4 points

Find the two eigenvalues of AA.

Hint

The eigenvalues solve λ2−(trace)λ+det⁡A=0\lambda^2 - (\text{trace})\lambda + \det A = 0.

Hint

Here the determinant is negative, so one root is positive and one is negative.

Solution

The idea. For a 2×22 \times 2 matrix, the trace and the determinant give the characteristic equation.

The characteristic equation

The trace is 5+(−1)=45 + (-1) = 4 and the determinant is −5−16=−21-5 - 16 = -21:

Eigenvalues of A
λ2−4λ−21=(λ−7)(λ+3)=0\lambda^2 - 4\lambda - 21 = (\lambda - 7)(\lambda + 3) = 0
In words

lambda squared minus 4 lambda minus 21 equals the quantity lambda minus 7, the quantity lambda plus 3, equals 0

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 1(a) (our own solution)

So the eigenvalues are 77 and −3-3, real, as they must be for a symmetric matrix.

Check

7+(−3)=47 + (-3) = 4 is the trace and 7⋅(−3)=−217 \cdot (-3) = -21 is the determinant.

(b)4 points

Let q1q_1 be the unit eigenvector for the larger eigenvalue, with positive components, and P1=q1q1TP_1 = q_1q_1^T. Give the entry p12p_{12} of P1P_1. Then show that A=λ1P1+λ2P2A = \lambda_1P_1 + \lambda_2P_2, with P2=q2q2TP_2 = q_2q_2^T for a unit eigenvector q2q_2 of the other eigenvalue, and that P1+P2=IP_1 + P_2 = I (these two steps have no box).

Hint

Solve (A−λI)x=0(A - \lambda I)x = 0 for each eigenvalue: one row of A−λIA - \lambda I is enough for a 2×22 \times 2 matrix. Then divide by the length.

Hint

Each entry of q1q1Tq_1q_1^T is a product of two components of q1q_1: the entry in row 1, column 2 is the first component times the second. The two unit eigenvectors are perpendicular, so they are the columns of an orthogonal matrix QQ, and QQT=IQQ^T = I.

Solution

The idea. Unit eigenvectors give the projections; the spectral sum puts them back together.

The eigenvectors

For λ1=7\lambda_1 = 7: A−7I=(−244−8)A - 7I = \begin{pmatrix} -2 & 4 \\ 4 & -8 \end{pmatrix}, whose first row gives x1=2x2x_1 = 2x_2, so the eigenvector is along (2,1)(2, 1). For λ2=−3\lambda_2 = -3: A+3I=(8442)A + 3I = \begin{pmatrix} 8 & 4 \\ 4 & 2 \end{pmatrix} gives (1,−2)(1, -2). They are perpendicular, 2−2=02 - 2 = 0. Both have length 5\sqrt5, so q1=(2,1)/5q_1 = (2, 1)/\sqrt5 and q2=(1,−2)/5q_2 = (1, -2)/\sqrt5.

The projections

The two projection matrices
P1=q1q1T=15(4221),P2=q2q2T=15(1−2−24)P_1 = q_1q_1^T = \frac15\begin{pmatrix} 4 & 2 \\ 2 & 1 \end{pmatrix}, \qquad P_2 = q_2q_2^T = \frac15\begin{pmatrix} 1 & -2 \\ -2 & 4 \end{pmatrix}
In words

capital P one equals q one q one ^ capital T equals one fifth 4 2; 2 1, capital P two equals q two q two ^ capital T equals one fifth 1 minus 2; minus 2 4

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 1(b) (our own solution)

So p12=2/5=0.4p_{12} = 2/5 = 0.4. Their sum is 15(5005)=I\frac15\begin{pmatrix} 5 & 0 \\ 0 & 5 \end{pmatrix} = I.

The spectral sum

A as a sum of projections
7P1−3P2=15(28−314+614+67−12)=(544−1)=A7P_1 - 3P_2 = \frac15\begin{pmatrix} 28 - 3 & 14 + 6 \\ 14 + 6 & 7 - 12 \end{pmatrix} = \begin{pmatrix} 5 & 4 \\ 4 & -1 \end{pmatrix} = A
In words

7 capital P one minus 3 capital P two equals one fifth 28 minus 3 14 plus 6; 14 plus 6 7 minus 12 equals 5 4; 4 minus 1 equals capital A

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 1(b) (our own solution)

This is the spectral sum of the lesson with n=2n = 2 (Lecture 25 transcript, pp. 11–12).

Check

P12=P1P_1^2 = P_1: the (1,2)(1, 2) entry of P12P_1^2 is 125(4⋅2+2⋅1)=1025=25\frac{1}{25}(4 \cdot 2 + 2 \cdot 1) = \frac{10}{25} = \frac25, as it should be for a projection.

(c)3 points

Use the spectral sum to find the entry in the first row, second column of A3A^3.

Hint

P1P2=0P_1P_2 = 0 and Pi2=PiP_i^2 = P_i. What does that make (λ1P1+λ2P2)3(\lambda_1P_1 + \lambda_2P_2)^3?

Solution

The idea. Powers of AA only raise the eigenvalues to that power: A3=QΛ3QT=λ13P1+λ23P2A^3 = Q\Lambda^3Q^T = \lambda_1^3P_1 + \lambda_2^3P_2.

The power

The cross products vanish because q1Tq2=0q_1^Tq_2 = 0, and Pi2=PiP_i^2 = P_i. So

The cube of A
A3=73P1+(−3)3P2,(A3)12=343⋅25+(−27)⋅(−25)=137.2+10.8=148A^3 = 7^3P_1 + (-3)^3P_2, \qquad (A^3)_{12} = 343 \cdot \tfrac25 + (-27)\cdot\left(-\tfrac25\right) = 137.2 + 10.8 = 148
In words

capital A cubed equals 7 cubed capital P one plus (-3) cubed capital P two, ( capital A cubed ) sub 12 equals 343 times two fifths plus (-27) times (- two fifths ) equals 137.2 plus 10.8 equals 148

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 1(c) (our own solution)

Check

Directly: A2=(41161617)A^2 = \begin{pmatrix} 41 & 16 \\ 16 & 17 \end{pmatrix}, and the first row of A2A^2 times the second column of AA is 41⋅4+16⋅(−1)=14841 \cdot 4 + 16 \cdot (-1) = 148.

(d)3 points

Find the second pivot of AA (no row exchanges), and say what kind of matrix AA is.

Hint

The product of the pivots is the determinant.

Solution

The idea. Elimination gives the pivots; their signs are the signs of the eigenvalues.

Elimination

Subtract 4/54/5 of row 1 from row 2: the second pivot is −1−45⋅4=−1−165=−215=−4.2-1 - \frac45 \cdot 4 = -1 - \frac{16}{5} = -\frac{21}{5} = -4.2.

The kind of matrix

One pivot is positive and one negative, like the eigenvalues 77 and −3-3: xTAxx^TAx takes both signs, so AA is indefinite. Along q1q_1 the form is 77 times a square, along q2q_2 it is −3-3 times a square: a saddle.

Check

5⋅(−4.2)=−21=det⁡A=7⋅(−3)5 \cdot (-4.2) = -21 = \det A = 7 \cdot (-3). At x=(0,1)x = (0, 1), xTAx=−1<0x^TAx = -1 < 0, and at x=(1,0)x = (1, 0) it is 5>05 > 0.

Problem 2#

Problem

Real eigenvalues and perpendicular eigenvectors

12 points

Lecture 25 proves that the eigenvalues of a real symmetric matrix are real and leaves the perpendicular eigenvectors to the book. Here both are done by hand for 2×22 \times 2 matrices, and then for any size.

(a)3 points

For the symmetric matrix (abbc)\begin{pmatrix} a & b \\ b & c \end{pmatrix}, the eigenvalues are λ=12(a+c±Δ)\lambda = \tfrac12\left(a + c \pm \sqrt{\Delta}\right) with Δ=(trace)2−4det⁡\Delta = (\text{trace})^2 - 4\det. Write Δ\Delta as a formula in aa, bb and cc.

Hint

The trace is a+ca + c and the determinant ac−b2ac - b^2. Multiply out and collect.

Solution

The idea. The trace and the determinant give Δ\Delta; then the cross term 2ac2ac combines with −4ac-4ac.

Multiplying out

The discriminant
Δ=(a+c)2−4(ac−b2)=a2+2ac+c2−4ac+4b2=(a−c)2+4b2\Delta = (a + c)^2 - 4(ac - b^2) = a^2 + 2ac + c^2 - 4ac + 4b^2 = (a - c)^2 + 4b^2
In words

capital delta equals the quantity a plus c, all squared minus 4 the quantity a c minus b squared, equals a squared plus 2 a c plus c squared minus 4 a c plus 4 b squared equals the quantity a minus c, all squared plus 4 b squared

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 2(a) (our own solution)

Check

For a=ca = c and b=0b = 0 (a multiple of II) it gives 00: one repeated eigenvalue, as it should.

(b)3 points

Use part (a) to show that the eigenvalues of a real symmetric 2×22 \times 2 matrix are always real, and that they are equal only when the matrix is a multiple of the identity.

This part has no answer box. Write your argument, then open the solution and mark yourself.

Hint

A sum of squares of real numbers is never negative. When is it zero?

Solution

The idea. The number under the root is a sum of squares.

Real roots

(a−c)2≥0(a - c)^2 \geq 0 and 4b2≥04b^2 \geq 0, so Δ≥0\Delta \geq 0 and Δ\sqrt{\Delta} is real: both eigenvalues are real.

Equal roots

The eigenvalues are equal exactly when Δ=0\Delta = 0, which needs both squares to vanish: a=ca = c and b=0b = 0. Then the matrix is aIaI.

Check

A matrix that is not symmetric can fail: for (01−10)\begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} the trace is 00 and the determinant 11, so Δ=−4<0\Delta = -4 < 0, and the eigenvalues are not real.

(c)3 points

Let AA be a real symmetric n×nn \times n matrix with Ax=λ1xAx = \lambda_1x and Ay=λ2yAy = \lambda_2y, where λ1≠λ2\lambda_1 \neq \lambda_2. Show that yTx=0y^Tx = 0.

This part has no answer box. Write your argument, then open the solution and mark yourself.

Hint

Compute the number yTAxy^TAx in two ways: once using Ax=λ1xAx = \lambda_1x, once by moving AA onto yy.

Solution

The idea. In yTAxy^TAx the matrix can act on either vector, because AT=AA^T = A.

Two ways

On one side yTAx=yT(λ1x)=λ1yTxy^TAx = y^T(\lambda_1x) = \lambda_1y^Tx. On the other, yTA=yTAT=(Ay)T=λ2yTy^TA = y^TA^T = (Ay)^T = \lambda_2y^T, so yTAx=λ2yTxy^TAx = \lambda_2y^Tx:

Comparing the two
λ1 yTx=λ2 yTx⇒(λ1−λ2) yTx=0\lambda_1\,y^Tx = \lambda_2\,y^Tx \quad\Rightarrow\quad (\lambda_1 - \lambda_2)\,y^Tx = 0
In words

lambda one y^ capital T x equals lambda two y^ capital T x which gives the quantity lambda one minus lambda two, y^ capital T x equals 0

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 2(c) (our own solution)

Since λ1≠λ2\lambda_1 \neq \lambda_2, yTx=0y^Tx = 0. This is the same device as Lecture 25's proof that the eigenvalues are real, which compares xˉTAx\bar x^TAx computed two ways (transcript, pp. 6–7).

Check

In Problem 1 the eigenvectors (2,1)(2, 1) and (1,−2)(1, -2) for 77 and −3-3 have dot product 2−2=02 - 2 = 0.

(d)3 points

The matrix B=(1411)B = \begin{pmatrix} 1 & 4 \\ 1 & 1 \end{pmatrix} is not symmetric. Its eigenvalues are real (check it). Find an eigenvector for each, and give the absolute value of the cosine of the angle between them.

Hint

cos⁡θ=uTv∥u∥ ∥v∥\cos\theta = \dfrac{u^Tv}{\|u\|\,\|v\|}. The sign depends on which way each eigenvector points, so the box asks for the absolute value.

Solution

The idea. Without symmetry the argument of part (c) breaks down, and the eigenvectors need not be perpendicular.

Eigenvalues and eigenvectors

The trace is 22 and the determinant 1−4=−31 - 4 = -3: λ2−2λ−3=(λ−3)(λ+1)\lambda^2 - 2\lambda - 3 = (\lambda - 3)(\lambda + 1), real eigenvalues 33 and −1-1. B−3I=(−241−2)B - 3I = \begin{pmatrix} -2 & 4 \\ 1 & -2 \end{pmatrix} gives u=(2,1)u = (2, 1); B+I=(2412)B + I = \begin{pmatrix} 2 & 4 \\ 1 & 2 \end{pmatrix} gives v=(2,−1)v = (2, -1).

The angle

Angle between the eigenvectors
cos⁡θ=uTv∥u∥ ∥v∥=4−15 5=35=0.6\cos\theta = \frac{u^Tv}{\|u\|\,\|v\|} = \frac{4 - 1}{\sqrt5\,\sqrt5} = \frac35 = 0.6
In words

cos theta equals u^ capital T v over the quantity the norm of u the norm of v, equals the quantity 4 minus 1, all over the quantity the square root of 5 the square root of 5, equals three fifths equals 0.6

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 2(d) (our own solution)

The angle is about 53°53°, not 90°90°.

Check

Bu=(1+4,2+1)=(6,3)=3uBu = (1 + 4, 2 + 1) = (6, 3) = 3u and Bv=(2−4,2−1)=(−2,1)=−vBv = (2 - 4, 2 - 1) = (-2, 1) = -v. Where the proof of (c) fails: yTB≠(By)Ty^TB \neq (By)^T when BT≠BB^T \neq B.

Problem 3#

Problem

Counting eigenvalues by pivots

16 points

Take the symmetric matrix

The matrix of Problem 3
S=(24−2451−213)S = \begin{pmatrix} 2 & 4 & -2 \\ 4 & 5 & 1 \\ -2 & 1 & 3 \end{pmatrix}
In words

capital S equals 2 4 minus 2; 4 5 1; minus 2 1 3

Do not compute its eigenvalues until the last part: the point is to learn about them from pivots alone.

(a)4 points

Find the pivots of SS by elimination without row exchanges.

Hint

The first pivot is 22. Clear the first column with multipliers 22 and −1-1, then clear the second column of what is left.

Solution

The idea. Plain elimination, one column at a time.

First column

Row 2 minus 2×2 \times row 1 gives (0,−3,5)(0, -3, 5); row 3 plus row 1 gives (0,5,1)(0, 5, 1).

Second column

The second pivot is −3-3. Row 3 minus (−53)×\left(-\frac53\right) \times row 2 leaves the third pivot

The third pivot
1+53⋅5=1+253=283≈9.331 + \tfrac53 \cdot 5 = 1 + \tfrac{25}{3} = \tfrac{28}{3} \approx 9.33
In words

1 plus five thirds times 5 equals 1 plus 25 over 3 equals 28 over 3 is approximately 9.33

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 3(a) (our own solution)

So the pivots are 22, −3-3 and 28/328/3.

(b)4 points

How many eigenvalues of SS are positive? What is the product of all three eigenvalues?

Hint

SS is symmetric: the signs of its pivots are the signs of its eigenvalues.

Solution

The idea. For a symmetric matrix the count of positive pivots is the count of positive eigenvalues, and both products equal the determinant.

The count

Two pivots (22 and 28/328/3) are positive and one (−3-3) is negative, so two eigenvalues are positive and one is negative (Lecture 25 transcript, p. 14).

The product

The product of the eigenvalues is det⁡S\det S, which is the product of the pivots:

Determinant of S
det⁡S=2⋅(−3)⋅283=−56\det S = 2 \cdot (-3) \cdot \tfrac{28}{3} = -56
In words

the determinant of capital S equals 2 times (-3) times 28 over 3 equals minus 56

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 3(b) (our own solution)

Check

By cofactors along the first row: 2(15−1)−4(12+2)+(−2)(4+10)=28−56−28=−562(15 - 1) - 4(12 + 2) + (-2)(4 + 10) = 28 - 56 - 28 = -56. A negative determinant fits an odd number of negative eigenvalues.

(c)4 points

How many eigenvalues of SS are greater than 33? Answer with the pivots of S−3IS - 3I.

Hint

The eigenvalues of S−3IS - 3I are those of SS minus 33. So positive eigenvalues of S−3IS - 3I are eigenvalues of SS above 33.

Solution

The idea. Shift, then count positive pivots, as Lecture 25 suggests with A−7IA - 7I (transcript, p. 14).

Elimination on S − 3I

S−3I=(−14−2421−210)S - 3I = \begin{pmatrix} -1 & 4 & -2 \\ 4 & 2 & 1 \\ -2 & 1 & 0 \end{pmatrix}. The first pivot is −1-1. Row 2 plus 4×4 \times row 1 gives (0,18,−7)(0, 18, -7); row 3 minus 2×2 \times row 1 gives (0,−7,4)(0, -7, 4). The second pivot is 1818, and the third is 4−4918=23184 - \frac{49}{18} = \frac{23}{18}.

The count

Pivots −1-1, 1818, 2318\frac{23}{18}: two positive. So S−3IS - 3I has two positive eigenvalues, and SS has two eigenvalues greater than 33.

Check

The product of the pivots, −1⋅18⋅2318=−23-1 \cdot 18 \cdot \frac{23}{18} = -23, must be det⁡(S−3I)\det(S - 3I). Cofactors along the first row: −1(0−1)−4(0+2)+(−2)(4+4)=1−8−16=−23-1(0 - 1) - 4(0 + 2) + (-2)(4 + 4) = 1 - 8 - 16 = -23.

(d)4 points

Elimination on S+2IS + 2I gives the pivots 44, 33 and 11. What does this say about S+2IS + 2I? Then compute the eigenvalues of SS to check parts (b) to (d) (this check has no box).

Hint

All pivots of a symmetric matrix positive: which test is that?

Hint

For the check, use the characteristic polynomial λ3−(trace⁡S)λ2+Eλ−det⁡S\lambda^3 - (\operatorname{trace} S)\lambda^2 + E\lambda - \det S, where EE is the sum of the three 2×22 \times 2 determinants on the diagonal of SS. One of its roots is a whole number.

Solution

The idea. Positive pivots of a symmetric matrix mean positive definite; for S+2IS + 2I it says every eigenvalue of SS is above −2-2.

The test

S+2IS + 2I is symmetric with all three pivots positive, so it is positive definite (Lecture 25 transcript, pp. 15–16). Its eigenvalues, those of SS plus 22, are all positive: every eigenvalue of SS is greater than −2-2.

The eigenvalues of S

The trace is 1010, the three 2×22 \times 2 determinants on the diagonal add to E=(10−16)+(6−4)+(15−1)=10E = (10 - 16) + (6 - 4) + (15 - 1) = 10, and det⁡S=−56\det S = -56:

Characteristic polynomial of S
λ3−10λ2+10λ+56=(λ−4)(λ2−6λ−14)=0,λ=4, 3±23\lambda^3 - 10\lambda^2 + 10\lambda + 56 = (\lambda - 4)(\lambda^2 - 6\lambda - 14) = 0, \qquad \lambda = 4,\ 3 \pm \sqrt{23}
In words

lambda cubed minus 10 lambda squared plus 10 lambda plus 56 equals the quantity lambda minus 4, the quantity lambda squared minus 6 lambda minus 14, equals 0, lambda equals 4, 3 plus or minus the square root of 23

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 3(d) (our own solution)

Numerically λ≈−1.80\lambda \approx -1.80, 44 and 7.807.80. The root 44 has the eigenvector (−1,1,3)(-1, 1, 3): S(−1,1,3)=(−4,4,12)S(-1, 1, 3) = (-4, 4, 12).

Check

Two eigenvalues are positive (part b); their product is 4⋅(9−23)=−564 \cdot (9 - 23) = -56 (part b); two of them, 44 and 7.807.80, are above 33 (part c); all three are above −2-2 (part d).

Problem 4#

Problem

Positive definite, up to a point

16 points

For a number b>0b > 0 take the symmetric matrix

The matrix of Problem 4
T=(3b0b3b0b3)T = \begin{pmatrix} 3 & b & 0 \\ b & 3 & b \\ 0 & b & 3 \end{pmatrix}
In words

capital T equals 3 b 0; b 3 b; 0 b 3

(a)4 points

Find the three upper-left determinants of TT. Give the third one, det⁡T\det T, as a formula in bb.

Hint

The first two are 33 and a 2×22 \times 2 determinant. For the third, expand along the first row: the zero saves one term.

Solution

The idea. Upper-left determinants, from the 1×11 \times 1 corner to the whole matrix.

The three determinants

The first is 33, the second 9−b29 - b^2. Along the first row:

Determinant of T
det⁡T=3(9−b2)−b(3b−0)+0=27−6b2\det T = 3(9 - b^2) - b(3b - 0) + 0 = 27 - 6b^2
In words

the determinant of capital T equals 3 the quantity 9 minus b squared, all minus b the quantity 3 b minus 0, all plus 0 equals 27 minus 6 b squared

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 4(a) (our own solution)

Check

At b=0b = 0, T=3IT = 3I and det⁡T=27\det T = 27.

(b)4 points

For which b>0b > 0 is TT positive definite? Give the largest such bb (the borderline value).

Hint

All three upper-left determinants must be positive. Which of the conditions is the strongest?

Solution

The idea. The determinant test of Lecture 25 (transcript, pp. 17–18): every upper-left determinant positive.

The conditions

3>03 > 0 always. 9−b2>09 - b^2 > 0 needs b<3b < 3. 27−6b2>027 - 6b^2 > 0 needs b2<92b^2 < \frac92:

The borderline
b<92=32≈2.12b < \sqrt{\tfrac92} = \frac{3}{\sqrt2} \approx 2.12
In words

b less than the square root of nine halves equals 3 over the square root of 2 is approximately 2.12

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 4(b) (our own solution)

This is stronger than b<3b < 3, so TT is positive definite exactly for 0<b<3/20 < b < 3/\sqrt2. At b=3/2b = 3/\sqrt2, det⁡T=0\det T = 0: TT is positive semidefinite and singular.

Check

At b=1b = 1: the determinants are 33, 88 and 27−6=2127 - 6 = 21, all positive. At b=2.5b = 2.5: det⁡T=27−37.5=−10.5<0\det T = 27 - 37.5 = -10.5 < 0.

(c)5 points

The number 33 is always an eigenvalue of TT. Find the smallest eigenvalue of TT as a formula in bb.

Hint

For λ=3\lambda = 3, look at T−3IT - 3I: which vector with a zero in the middle does it send to zero?

Hint

The other eigenvectors are symmetric too: try x=(1,s,1)x = (1, s, 1) and make the first two rows of Tx=λxTx = \lambda x agree.

Solution

The idea. Guess eigenvectors from the symmetry of TT (it looks the same read backwards), then let two rows of Tx=λxTx = \lambda x fix the numbers.

The eigenvalue 3

T−3IT - 3I has rows (0,b,0)(0, b, 0), (b,0,b)(b, 0, b) and (0,b,0)(0, b, 0), and sends (1,0,−1)(1, 0, -1) to (0,b−b,0)=0(0, b - b, 0) = 0. So 33 is an eigenvalue with eigenvector (1,0,−1)(1, 0, -1).

The other two

For x=(1,s,1)x = (1, s, 1), the first row of Tx=λxTx = \lambda x gives 3+bs=λ3 + bs = \lambda and the second gives b+3s+b=λsb + 3s + b = \lambda s, that is 2b=s(λ−3)=bs22b = s(\lambda - 3) = bs^2. So s2=2s^2 = 2, s=±2s = \pm\sqrt2:

Eigenvalues of T
λ=3+2 b,λ=3,λ=3−2 b\lambda = 3 + \sqrt2\,b, \qquad \lambda = 3, \qquad \lambda = 3 - \sqrt2\,b
In words

lambda equals 3 plus the square root of 2 b, lambda equals 3, lambda equals 3 minus the square root of 2 b

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 4(c) (our own solution)

The smallest, for b>0b > 0, is 3−2 b3 - \sqrt2\,b, with eigenvector (1,−2,1)(1, -\sqrt2, 1).

Check

The sum is 99, the trace. The product is 3(9−2b2)=27−6b23(9 - 2b^2) = 27 - 6b^2, the determinant of part (a). And 3−2 b>03 - \sqrt2\,b > 0 exactly when b<3/2b < 3/\sqrt2: the eigenvalue test agrees with part (b).

(d)3 points

For b=2b = 2, find the third pivot of TT.

Hint

Each pivot is the ratio of two neighbouring upper-left determinants.

Solution

The idea. The product of the first pivots is the upper-left determinant of the same size, so each pivot after the first is an upper-left determinant divided by the one before it.

The pivots

For b=2b = 2 the determinants are 33, 55 and 33, so the pivots are 33, 53\frac53 and 35=0.6\frac35 = 0.6. All positive, as part (b) requires for b=2<2.12b = 2 < 2.12.

Check

Elimination: row 2 minus 23\frac23 row 1 leaves (0,3−43,2)=(0,53,2)(0, 3 - \frac43, 2) = (0, \frac53, 2); row 3 minus 65\frac65 of that leaves 3−65⋅2=353 - \frac65 \cdot 2 = \frac35.

Problem 5#

Problem

Completing the square

14 points

Take the quadratic form

The form of Problem 5
f(x,y)=4x2+12xy+cy2f(x, y) = 4x^2 + 12xy + cy^2
In words

f(x, y) equals 4 x squared plus 12 x y plus c y squared

where cc is a real number.

(a)3 points

Write ff as xTAxx^TAx with a symmetric AA. For which cc is AA positive definite? Give the borderline value of cc.

Hint

The coefficient of xyxy is 2b2b, shared between the two off-diagonal entries.

Solution

The idea. Read aa, bb, cc off the form and use test (2).

The matrix

xTAx=ax2+2bxy+cy2x^TAx = ax^2 + 2bxy + cy^2 (Lecture 27 transcript, p. 4), so a=4a = 4 and 2b=122b = 12, b=6b = 6:

The matrix of f
A=(466c),a=4>0,ac−b2=4c−36>0  ⇔  c>9A = \begin{pmatrix} 4 & 6 \\ 6 & c \end{pmatrix}, \qquad a = 4 > 0, \qquad ac - b^2 = 4c - 36 > 0 \;\Leftrightarrow\; c > 9
In words

capital A equals 4 6; 6 c, a equals 4 greater than 0, a c minus b squared equals 4 c minus 36 greater than 0 is equivalent to c greater than 9

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 5(a) (our own solution)

Check

At c=10c = 10 the determinant is 44, positive; at c=8c = 8 it is −4-4.

(b)4 points

For c=13c = 13 write f=4(x+my)2+py2f = 4(x + my)^2 + py^2. Find mm and pp, and say how they are related to elimination on AA.

Hint

Expand 4(x+my)24(x + my)^2 and match the xyxy term first.

Solution

The idea. Completing the square is elimination: the multiplier goes inside, the pivots outside (Lecture 27 transcript, pp. 13–14).

Matching terms

4(x+my)2=4x2+8mxy+4m2y24(x + my)^2 = 4x^2 + 8mxy + 4m^2y^2. The xyxy term needs 8m=128m = 12, so m=32=1.5m = \frac32 = 1.5. That uses 4m2=94m^2 = 9 of the 13y213y^2, leaving p=13−9=4p = 13 - 9 = 4:

The square completed
4x2+12xy+13y2=4(x+32y)2+4y24x^2 + 12xy + 13y^2 = 4\left(x + \tfrac32y\right)^2 + 4y^2
In words

4 x squared plus 12 x y plus 13 y squared equals 4 the quantity x plus three halves y, all squared plus 4 y squared

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 5(b) (our own solution)

Elimination

On A=(46613)A = \begin{pmatrix} 4 & 6 \\ 6 & 13 \end{pmatrix} the multiplier is 6/4=32=m6/4 = \frac32 = m, and the second pivot is 13−32⋅6=4=p13 - \frac32 \cdot 6 = 4 = p. The first pivot, 44, is the number outside the first square.

Check

At (x,y)=(1,1)(x, y) = (1, 1): 4+12+13=294 + 12 + 13 = 29 and 4⋅254+4=294 \cdot \frac{25}{4} + 4 = 29.

(c)4 points

For c=5c = 5, compute f(3,−2)f(3, -2), and say what curve f(x,y)=1f(x, y) = 1 is.

Hint

For the curve: is AA positive definite for c=5c = 5? What does that make the graph of ff?

Solution

The idea. Below the borderline the form takes both signs: its graph is a saddle.

The value

A negative value
f(3,−2)=4⋅9+12⋅3⋅(−2)+5⋅4=36−72+20=−16f(3, -2) = 4 \cdot 9 + 12 \cdot 3 \cdot (-2) + 5 \cdot 4 = 36 - 72 + 20 = -16
In words

f(3, minus 2) equals 4 times 9 plus 12 times 3 times (-2) plus 5 times 4 equals 36 minus 72 plus 20 equals minus 16

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 5(c) (our own solution)

The curve

The determinant 4⋅5−36=−164 \cdot 5 - 36 = -16 is negative, so one eigenvalue is positive and one negative: ff is a saddle, and the cut at height 1 is a hyperbola (Lecture 27 transcript, p. 12). Completing the square gives 4(x+32y)2−4y2=14\left(x + \frac32y\right)^2 - 4y^2 = 1, a difference of squares.

Check

f(1,0)=4>0f(1, 0) = 4 > 0 and f(3,−2)<0f(3, -2) < 0: both signs occur.

(d)3 points

For the borderline value of cc from part (a), where is f(x,y)=0f(x, y) = 0?

Hint

Complete the square again with this cc: what is left over after 4(x+my)24(x + my)^2?

Solution

The idea. At the borderline the matrix is singular: positive semidefinite, with a whole line where the form is zero.

The square

With c=9c = 9 nothing is left over: 4x2+12xy+9y2=4(x+32y)2=(2x+3y)24x^2 + 12xy + 9y^2 = 4\left(x + \frac32y\right)^2 = (2x + 3y)^2. It is zero exactly on the line 2x+3y=02x + 3y = 0.

Check

(3,−2)(3, -2) is on that line, and f(3,−2)=36−72+36=0f(3, -2) = 36 - 72 + 36 = 0. The vector (3,−2)(3, -2) is in the nullspace of (4669)\begin{pmatrix} 4 & 6 \\ 6 & 9 \end{pmatrix}: 12−12=012 - 12 = 0 and 18−18=018 - 18 = 0, so its eigenvalue is 00.

Problem 6#

Problem

The ellipse of a quadratic form

14 points

Take the curve

The ellipse of Problem 6
10x2+12xy+10y2=1610x^2 + 12xy + 10y^2 = 16
In words

10 x squared plus 12 x y plus 10 y squared equals 16

(a)4 points

Write the left side as xTAxx^TAx with a symmetric AA and find the eigenvalues of AA.

Hint

Here 2b=122b = 12. Then use the trace and the determinant.

Solution

The idea. Read off the matrix, then the characteristic equation.

The matrix and its eigenvalues

The matrix of the ellipse
A=(106610),λ2−20λ+64=(λ−16)(λ−4)=0A = \begin{pmatrix} 10 & 6 \\ 6 & 10 \end{pmatrix}, \qquad \lambda^2 - 20\lambda + 64 = (\lambda - 16)(\lambda - 4) = 0
In words

capital A equals 10 6; 6 10, lambda squared minus 20 lambda plus 64 equals the quantity lambda minus 16, the quantity lambda minus 4, equals 0

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 6(a) (our own solution)

Both are positive, so AA is positive definite and the curve is an ellipse.

Check

16+4=2016 + 4 = 20 is the trace and 16⋅4=64=100−3616 \cdot 4 = 64 = 100 - 36 the determinant.

(b)4 points

Find the half-lengths of the two axes of the ellipse.

Hint

Along a unit eigenvector qq, put x=tqx = tq: then xTAx=λt2x^TAx = \lambda t^2.

Solution

The idea. The axes point along the eigenvectors (Lecture 27 transcript, p. 19), and on each one the form is just λt2\lambda t^2.

The half-lengths

λt2=16\lambda t^2 = 16 gives t=4/λt = 4/\sqrt{\lambda}:

Half-lengths
t=44=2,t=416=1t = \frac{4}{\sqrt4} = 2, \qquad t = \frac{4}{\sqrt{16}} = 1
In words

t equals 4 over the square root of 4 equals 2, t equals 4 over the square root of 16 equals 1

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 6(b) (our own solution)

The smaller eigenvalue gives the longer axis.

Check

In the eigenvector coordinates the ellipse is 4X2+16Y2=164X^2 + 16Y^2 = 16, or X24+Y2=1\frac{X^2}{4} + Y^2 = 1: half-lengths 22 and 11.

(c)3 points

In which direction does the longer axis point?

Hint

Find the eigenvector of the eigenvalue that belongs to the longer axis.

Solution

The idea. The longer axis belongs to the smaller eigenvalue, 44.

The eigenvector

A−4I=(6666)A - 4I = \begin{pmatrix} 6 & 6 \\ 6 & 6 \end{pmatrix} sends (1,−1)(1, -1) to (6−6,6−6)=0(6 - 6, 6 - 6) = 0. So the longer axis lies along (1,−1)(1, -1), and the shorter along the perpendicular direction (1,1)(1, 1), the eigenvector for 1616.

Check

The point 2(1,−1)/2=(2,−2)2(1, -1)/\sqrt2 = (\sqrt2, -\sqrt2) should lie on the curve. With x2=2x^2 = 2, xy=−2xy = -2 and y2=2y^2 = 2: 10⋅2+12⋅(−2)+10⋅2=20−24+20=1610 \cdot 2 + 12 \cdot (-2) + 10 \cdot 2 = 20 - 24 + 20 = 16.

(d)3 points

The area of an ellipse is π\pi times the product of its two half-lengths. Find the area enclosed by the curve.

Hint

The half-lengths come from part (b).

Solution

The idea. Multiply the two half-lengths and π\pi.

The area

π⋅2⋅1=2π≈6.28\pi \cdot 2 \cdot 1 = 2\pi \approx 6.28.

Check

In general the half-lengths are 4/λ14/\sqrt{\lambda_1} and 4/λ24/\sqrt{\lambda_2}, so the area is 16π/λ1λ2=16π/det⁡A=16π/8=2π16\pi/\sqrt{\lambda_1\lambda_2} = 16\pi/\sqrt{\det A} = 16\pi/8 = 2\pi.

Problem 7#

Problem

A minimum and a saddle

14 points

Take the function

The function of Problem 7
f(x,y)=x3−6xy+3y2f(x, y) = x^3 - 6xy + 3y^2
In words

f(x, y) equals x cubed minus 6 x y plus 3 y squared

(a)4 points

Find the points where both first derivatives of ff are zero. One of them is the origin: give the xx coordinate of the other.

Hint

fy=0f_y = 0 gives a simple relation between yy and xx. Put it into fx=0f_x = 0.

Solution

The idea. Set both first derivatives to zero and solve.

The equations

First derivatives
fx=3x2−6y=0,fy=−6x+6y=0f_x = 3x^2 - 6y = 0, \qquad f_y = -6x + 6y = 0
In words

f sub x equals 3 x squared minus 6 y equals 0, f sub y equals minus 6 x plus 6 y equals 0

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 7(a) (our own solution)

The second gives y=xy = x; then 3x2−6x=3x(x−2)=03x^2 - 6x = 3x(x - 2) = 0, so x=0x = 0 or x=2x = 2. The points are (0,0)(0, 0) and (2,2)(2, 2).

Check

At (2,2)(2, 2): fx=12−12=0f_x = 12 - 12 = 0 and fy=−12+12=0f_y = -12 + 12 = 0.

(b)6 points

At the point found in (a), with x>0x > 0, find the matrix of second derivatives. Give fxxf_{xx} and the determinant of that matrix, say what kind of point it is, and give the value of ff there.

Hint

fxx=6xf_{xx} = 6x; the other two second derivatives are constants.

Hint

Use the 2×22 \times 2 test: first entry and determinant.

Solution

The idea. Zero first derivatives plus a positive definite matrix of second derivatives give a minimum (Lecture 27 transcript, pp. 14–15).

The second derivatives

fxx=6xf_{xx} = 6x, fxy=fyx=−6f_{xy} = f_{yx} = -6 and fyy=6f_{yy} = 6. At (2,2)(2, 2):

The matrix at (2, 2)
(12−6−66),12>0,12⋅6−36=36>0\begin{pmatrix} 12 & -6 \\ -6 & 6 \end{pmatrix}, \qquad 12 > 0, \qquad 12 \cdot 6 - 36 = 36 > 0
In words

12 minus 6; minus 6 6, 12 greater than 0, 12 times 6 minus 36 equals 36 greater than 0

Source: MIT 18.06 Lecture 27: Positive definite matrices and minima, Problem 7(b) (our own solution)

The matrix is positive definite, so (2,2)(2, 2) is a local minimum. It is not the lowest point overall: x3x^3 goes to −∞-\infty as x→−∞x \to -\infty.

The value

f(2,2)=8−24+12=−4f(2, 2) = 8 - 24 + 12 = -4.

Check

Nearby, f(2.1,2)=9.261−25.2+12=−3.939f(2.1, 2) = 9.261 - 25.2 + 12 = -3.939 and f(2,2.1)=8−25.2+13.23=−3.97f(2, 2.1) = 8 - 25.2 + 13.23 = -3.97, both above −4-4.

(c)4 points

What kind of point is the origin?

Hint

Here fxx=0f_{xx} = 0, so look at the determinant of the matrix of second derivatives.

Solution

The idea. A negative determinant means one positive and one negative eigenvalue: the matrix is indefinite.

The test

At (0,0)(0, 0) the matrix is (0−6−66)\begin{pmatrix} 0 & -6 \\ -6 & 6 \end{pmatrix} with determinant 0−36=−36<00 - 36 = -36 < 0. Its eigenvalues have product −36-36, so they have opposite signs: the origin is a saddle point.

Check

Along the line y=xy = x near the origin, f(t,t)=t3−3t2<0f(t, t) = t^3 - 3t^2 < 0 for small t≠0t \neq 0; along the yy axis, f(0,t)=3t2>0f(0, t) = 3t^2 > 0. So ff goes down in one direction and up in another.

Symbols on this page

Show the 60 symbols used here
Δ\Delta capital delta.
The discriminant (trace)² − 4 det of a 2 × 2 matrix, under the square root of the eigenvalue formula (Problem 2). Say it: “capital delta”.
θ\theta theta.
The angle between the two eigenvectors of B (Problem 2(d)). Say it: “theta” (sounds like “thay-ta or thee-ta”).
λ\lambda lambda.
An eigenvalue. Say it: “lambda”.
Λ\Lambda capital lambda.
The diagonal matrix of the eigenvalues of A. Say it: “capital lambda”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
⟺\Longleftrightarrow if and only if.
If and only if: each statement implies the other. Say it: “is equivalent to”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
det⁡\det determinant.
Determinant of a matrix. Say it: “the determinant of”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
aa a.
The top-left entry of a symmetric 2 × 2 matrix (a b; b c). Say it: “a”.
cc c.
The bottom-right entry of a symmetric 2 × 2 matrix (a b; b c); in Problem 5 the coefficient of y². Say it: “c”.
TT T.
The symmetric 3 × 3 matrix of Problem 4, with 3 on the diagonal and b beside it; as a superscript, the transpose. Say it: “capital T”.
xx x.
A vector, as in Ax = λx and xᵀAx; in Problems 5, 6 and 7 also the first coordinate of a point (x, y). Say it: “x”.
yy y.
A second eigenvector in Problem 2(c); elsewhere the second coordinate of a point (x, y). Say it: “y”.
tt t.
A number measuring distance along a unit eigenvector, x = tq; in the check of Problem 7(c), a small number giving points (t, t) and (0, t) near the origin. Say it: “t”.
nn n.
The size of a square matrix (n × n). Say it: “n”.
mm m.
The number inside the completed square, f = 4(x + my)² + py² (Problem 5(b)). Say it: “m”.
ff f.
A function of x and y: in the reminders a general one, in Problem 5 the quadratic form 4x² + 12xy + cy², in Problem 7 the function x³ − 6xy + 3y². Say it: “f”.
vv v.
An eigenvector of B for the other eigenvalue (Problem 2(d)). Say it: “v”.
QQ Q.
The orthogonal matrix whose columns are orthonormal eigenvectors of A. Say it: “capital Q”.
AA A.
A real symmetric matrix: the matrix of Problems 1, 5 and 6, and a general symmetric matrix in the reminders and Problem 2(c). Say it: “capital A”.
BB B.
The matrix (1 4; 1 1) of Problem 2(d), which is not symmetric. Say it: “capital B”.
bb b.
The off-diagonal entry of a symmetric matrix: of (a b; b c) in the reminders and Problems 2 and 5, and of T in Problem 4. Say it: “b”.
qq q.
A unit eigenvector of a symmetric matrix. Say it: “q”.
ss s.
A shift of the eigenvalues, as in A − sI; in Problem 4 the middle component of the eigenvector (1, s, 1). Say it: “s”.
pp p.
The number in front of y² after completing the square, f = 4(x + my)² + py² (Problem 5(b)). Say it: “p”.
SS S.
The symmetric 3 × 3 matrix of Problem 3. Say it: “capital S”.
uu u.
An eigenvector of B for one eigenvalue (Problem 2(d)). Say it: “u”.
EE E.
The sum of the three 2 × 2 determinants on the diagonal of S (Problem 3(d)). Say it: “E”.
x1x_{1} x 1.
The first component of an eigenvector (Problem 1(b)). Say it: “x one”.
x2x_{2} x 2.
The second component of an eigenvector (Problem 1(b)). Say it: “x two”.
XX X.
The coordinate along the unit eigenvector for the smaller eigenvalue of the matrix of Problem 6. Say it: “capital X”.
YY Y.
The coordinate along the unit eigenvector for the larger eigenvalue of the matrix of Problem 6. Say it: “capital Y”.
II I.
The identity matrix. Say it: “capital I”.
P1P_{1} P 1.
The projection matrix q₁q₁ᵀ onto the line of the first eigenvector (Problem 1). Say it: “capital P one”.
P2P_{2} P 2.
The projection matrix q₂q₂ᵀ onto the line of the second eigenvector (Problem 1). Say it: “capital P two”.
fxf_{x} f sub x.
The first partial derivative ∂f/∂x. Say it: “f sub x”.
fyf_{y} f sub y.
The first partial derivative ∂f/∂y. Say it: “f sub y”.
fxxf_{\text{xx}} f sub x x.
The second partial derivative ∂²f/∂x². Say it: “f sub x x”.
fxyf_{\text{xy}} f sub x y.
The mixed second partial derivative ∂²f/∂x∂y. Say it: “f sub x y”.
fyxf_{\text{yx}} f sub y x.
The mixed second partial derivative taken in the other order, equal to f_xy. Say it: “f sub y x”.
fyyf_{\text{yy}} f sub y y.
The second partial derivative ∂²f/∂y². Say it: “f sub y y”.
q1q_{1} q one.
The unit eigenvector for the first eigenvalue λ₁. Say it: “q one”.
q2q_{2} q two.
The unit eigenvector for the second eigenvalue λ₂. Say it: “q two”.
qiq_{i} q sub i.
The unit eigenvector for the eigenvalue λᵢ. Say it: “q sub i”.
λ1\lambda_{1} lambda one.
The first eigenvalue of a symmetric matrix (the larger one in Problem 1). Say it: “lambda one”.
λ2\lambda_{2} lambda two.
The second eigenvalue of a symmetric matrix (the smaller one in Problem 1). Say it: “lambda two”.
qnq_{n} q n.
The unit eigenvector for the last eigenvalue λₙ. Say it: “q n”.
λn\lambda_{n} lambda n.
The last of the n eigenvalues of a symmetric n × n matrix. Say it: “lambda n”.
PiP_{i} P i.
The projection matrix qᵢqᵢᵀ onto the line of an eigenvector (Problem 1). Say it: “capital P sub i”.
p12p_{12} p one two.
The entry in row 1, column 2 of the projection matrix P₁ (Problem 1(b)). Say it: “p one two”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 51 words used here

Also used

symmetric.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
matrix.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
positive definite.
Of a symmetric matrix or quadratic form: always giving a positive value for any nonzero input; equivalently, all its eigenvalues are positive. Explained in Symmetric matrices and positive definiteness.
fast Fourier transform.
A fast method for multiplying by the Fourier matrix, splitting the work in halves again and again, so n log n steps replace n². Explained in Complex matrices and the fast Fourier transform.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
eigenvalue.
A number λ for which a matrix turns some non-zero vector into λ times that vector, only stretching or shrinking it. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
pivot.
In elimination, the first nonzero number in a row, used to clear out the entries below it. Explained in Positive definite matrices and minima.
determinant.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
eigenvector.
A non-zero vector that a matrix only stretches or shrinks without turning: multiplying it by the matrix gives a number times the same vector. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
orthonormal.
Of a set of vectors: each has length one and each is at right angles to all the others. Explained in Projection matrices and least squares.
projection matrix.
A matrix that sends every vector to its projection onto a fixed line, plane or subspace. Explained in Projection matrices and least squares.
perpendicular.
At right angles to a line, a surface or another direction. Explained in Inclined planes.
row exchange.
Swapping two rows of a matrix, needed in elimination when a zero sits where a pivot should be.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
quadratic form.
An expression in which every term has degree two, such as ax² + 2bxy + cy², written xᵀAx with a symmetric matrix A. Explained in Positive definite matrices and minima.
completing the square.
Rewriting x² + bx + c as (x + b/2)² plus a number, which turns any quadratic into a shifted square. Explained in Inverse substitution and completing the square.
elimination.
Solving equations by subtracting multiples of one from another until each unknown can be found in turn. Explained in The geometry of linear equations.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
ellipse.
An oval curve: the set of points whose distances from two fixed points, the foci, add up to the same total. Explained in Kepler's laws and orbits.
saddle point.
A point where a surface rises in some directions and falls in others, like the middle of a horse's saddle or a mountain pass. Explained in Functions of two variables and partial derivatives.
hyperbola.
An open curve with two separate branches: the set of points whose distances from two fixed points differ by the same amount. Explained in Quadratics and power laws.
dimension.
The number of vectors in any basis of a vector space or subspace. Explained in Independence, basis and dimension.
ellipsoid.
A closed surface like a ball stretched or squashed along three perpendicular directions; every flat slice through it is an ellipse. Explained in Positive definite matrices and minima.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
second derivative.
The derivative of a derivative: how fast a rate of change itself is changing. Explained in Acceleration in one dimension.
characteristic equation.
An algebraic equation whose roots give the basic solutions: the rates r in e^(rt) for a constant-coefficient equation, or a matrix's eigenvalues.
orthogonal matrix.
A square matrix whose columns are perpendicular unit vectors; it rotates or reflects without changing lengths, and its inverse is its transpose. Explained in Orthogonal matrices and Gram–Schmidt.
projection.
The shadow of a vector on a line or plane: the nearest point to it there, found by dropping a perpendicular. Explained in Projections onto subspaces.
cross product.
A way of multiplying two vectors that gives a third vector, at right angles to both, as long as the area of their parallelogram. Explained in Torque and the cross product.
vector.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
dot product.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
symmetry.
A change, such as a reflection, a rotation or a shift, that leaves something looking exactly the same. Explained in The derivative: slope of the tangent line and rate of change.
cofactor.
A minor of a matrix with a plus or minus sign attached, following a checkerboard of signs that starts with plus in the top-left corner. Explained in Planes through three points, and matrices.
characteristic polynomial.
The polynomial whose roots are the eigenvalues of a matrix, found as the determinant of the matrix minus λ times the identity. Explained in Diagonalisation and powers of A.
diagonal.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
positive semidefinite.
Of a symmetric matrix: xᵀAx is never negative; all its eigenvalues are positive or zero. Explained in Positive definite matrices and minima.
singular.
Of a square matrix: having no inverse, because its determinant is zero and some nonzero vector is sent to zero. Explained in The geometry of linear equations.
nullspace.
All the vectors x that a matrix sends to zero, that is, all solutions of Ax = 0. Explained in Column space and nullspace.
local minimum.
A point where a function is smaller than at every nearby point, though it may be larger than somewhere farther away. Explained in Tangent planes, critical points and least squares.

Academic

problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.
citation.
A note saying exactly where a statement, number or formula comes from, so readers can check it.
on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
significant.
Large enough to matter or to be noticed; in statistics, too large to put down to chance.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
vanish.
To become zero; sometimes, of a fixed point or solution, to stop existing.
by hand.
Worked out with pen and paper, without a computer; or put in deliberately rather than following from the theory.
numerically.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
borderline.
On the boundary between two kinds of behaviour, belonging clearly to neither.
read off.
To take a value directly from a graph, table or formula, without further calculation.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).