Problem Set 10: complex matrices, similar matrices and the SVD
Seven problems of our own on Lectures 26, 28 and 29: lengths and inner products of complex vectors, the eigenvalues of a Hermitian matrix, the four-point Fourier matrix and its inverse, the counting behind the fast Fourier transform, similar matrices, Jordan blocks and how fragile they are, and the singular value decomposition of a square and of a rectangular matrix.
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.
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.25, not 1/4. Every number box accepts any value within 0.01 of the exact one, so give at least two decimal places when the answer is not a whole number. A complex number cannot be typed: its real part and its imaginary part have a box each (for 3−5i the real part is 3 and the imaginary part is −5). A matrix cannot be typed either: a box asks for one of its entries, its eigenvalues or its singular values, or you choose the matrix from a list. Entries are numbered by row, then column, starting from 1 (so b12 is in the first row, second column), except in the Fourier matrix, whose rows and columns count from 0 as in the lecture.
A formula box takes plain typing, for example (a + 1)/sqrt(2*a), and accepts every correct way of writing the answer. Type ε as eps, and sqrt( ) for a square root.
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.
Complex vectors and matrices (Lecture 26). For complex vectors, transposing always goes with conjugating; the superscript H does both. The length squared and the inner product are
Length and inner product in Cⁿ
∥z∥2=zHz=∣z1∣2+⋯+∣zn∣2,yHx=yˉ1x1+⋯+yˉnxn
In words
the norm of z squared equals z^ capital H z equals the absolute value of z sub 1 squared plus and so on plus the absolute value of z sub n squared, y^ capital H x equals y one bar x one plus and so on plus y sub n bar x sub n
( F sub n ) sub j k equals W to the power j k, W equals e to the power 2 pi i over n, end of power, F four equals 1 1 1 1; 1 i minus 1 minus i; 1 minus 1 1 minus 1; 1 minus i minus 1 i
The fast Fourier transform builds F2m from two copies of Fm, with the diagonalD=diag(1,W,…,Wm−1) of W=W2m and the permutationP that puts the even-numbered components before the odd ones (shown in the lecture for 2m=64):
One step of the FFT
F2m=(IID−D)(Fm00Fm)P,W2m2=Wm
In words
F sub 2 m equals capital I capital D; capital I minus capital D F sub m 0; 0 F sub m capital P, W sub 2 m squared equals W sub m
capital B equals capital M to the power minus 1 capital A capital M, capital A x equals lambda x which gives capital B ( capital M to the power minus 1 x) equals lambda ( capital M to the power minus 1 x)
capital A equals capital U capital sigma capital V ^ capital T, capital A ^ capital T capital A equals capital V capital sigma ^ capital T capital sigma capital V ^ capital T, capital A v sub i equals sigma sub i u sub i
y^ capital H z equals (-i) the quantity 1 plus 2 i, all plus (1) the quantity 2 minus i, equals the quantity minus i plus 2, all plus the quantity 2 minus i, equals 4 minus 2 i
Without the conjugate, yTz=i(1+2i)+(2−i)=(i−2)+(2−i)=0: the old rule would wrongly call y and z perpendicular, just as it gave (1,i) the length zero in the lecture. In the other order, zHy is the conjugate 4+2i, so the order matters for the imaginary part.
(b)6 points
Check that A is Hermitian for every real a (this check has no box). Find its larger eigenvalue as a formula in a, and its smaller eigenvalue for a=3. For which values of a is Apositive definite?
Hint
For a 2×2 matrix the eigenvalues solve λ2−(trace)λ+det=0. In the determinant, multiply the two off-diagonal entries with each other carefully.
Hint
A Hermitian matrix is positive definite when both its eigenvalues are positive: their sum is the trace and their product the determinant.
Solution
The idea. Hermitian means AH=A. The eigenvalues come from the trace and the determinant, and the determinant needs the product of two conjugates.
Hermitian
The diagonal entries a and 2 are real, and 1−i and 1+i are conjugates of each other. So transposing and conjugating gives A back: AH=A (p. 5 of the Lecture 26 transcript).
The eigenvalues
The trace is a+2 and the determinant is 2a−(1−i)(1+i)=2a−2. So
lambda squared minus the quantity a plus 2, lambda plus the quantity 2 a minus 2, equals 0, lambda equals the quantity a plus 2 plus or minus the square root of the quantity a plus 2, all squared minus 4 the quantity 2 a minus 2, end of root, all over 2 equals the quantity a plus 2 plus or minus the square root of the quantity a minus 2, all squared plus 8, end of root, all over 2
The term under the root is at least 8, so both eigenvalues are real for every a, as they must be for a Hermitian matrix. For a=3: (5±1+8)/2=(5±3)/2, so the eigenvalues are 4 and 1.
Positive definite
Both eigenvalues are positive when their product 2a−2 and their sum a+2 are positive. The first needs a>1, and then the second holds too. So A is positive definite exactly for a>1. At a=1 the determinant is zero and one eigenvalue is 0.
Check
For a=3: 4+1=5 is the trace and 4⋅1=4=2⋅3−2 is the determinant. And A−4I=(−11+i1−i−2) has determinant 2−2=0, as it should.
The top is real by the first step, and the bottom is ∥x∥2, real and positive. So λ is real. This is the fact the lecture states for Hermitian matrices (Lecture 26 transcript, p. 6).
Check
Part (b) agrees: the eigenvalues of A came out real for every a. A matrix that is not Hermitian can fail: (0−110) has eigenvalues ±i, and its xHAx for x=(1,i) is 2i, not real.
y equals F four x equals 1 plus 2 plus 0 minus 1; 1 plus 2 i plus 0 minus (-i); 1 minus 2 plus 0 minus (-1); 1 minus 2 i plus 0 minus i equals 2; 1 plus 3 i; 0; 1 minus 3 i
In row 1, the last term is (−i)(−1)=+i; in row 3 it is i⋅(−1)=−i.
Check
y0 is the plain sum of the components, 1+2+0−1=2. And because x is real, y3 is the conjugate of y1: row 3 of F4 is the conjugate of row 1. Part (b) checks the lengths.
(b)4 points
Find ∥y∥2 for the y of part (a), and compare it with ∥x∥2 (this check has no box).
Hint
Use the complex length: add ∣yj∣2 for the four components.
Solution
The idea. Each ∣yj∣2 is a real part squared plus an imaginary part squared.
The length
Length squared of y
∥y∥2=22+∣1+3i∣2+02+∣1−3i∣2=4+10+0+10=24
In words
the norm of y squared equals 2 squared plus the absolute value of 1 plus 3 i squared plus 0 squared plus the absolute value of 1 minus 3 i squared equals 4 plus 10 plus 0 plus 10 equals 24
Do not solve four equations: use the inverse F4−1=41F4H. Since F4 is symmetric, F4H is simply F4 with every entry conjugated.
Solution
The idea. The inverse of F4 is its conjugate transpose divided by 4.
Apply the inverse
Only components 1 and 3 of the right-hand side are nonzero, so x is 42 times the sum of columns 1 and 3 of Fˉ4, which are (1,−i,−1,i) and (1,i,−1,−i):
x equals one quarter F four ^ capital H 0; 2; 0; 2 equals two quarters the quantity 1; minus i; minus 1; i plus 1; i; minus 1; minus i, equals 1; 0; minus 1; 0
Forward again: F4(1,0,−1,0) is column 0 minus column 2 of F4, (1,1,1,1)−(1,−1,1,−1)=(0,2,0,2). Lengths agree with part (b): ∥(0,2,0,2)∥2=8=4⋅2. The vector (0.5,0,−0.5,0) would give half the right-hand side.
(d)3 points
Show that the columns of Fn are orthogonal for every n: for two different columns k and l (both between 0 and n−1), the inner product of column k with column l is zero. Show also that every column has length squared n.
This part has no answer box. Write your argument, then open the solution and mark yourself.
Hint
W lies on the unit circle, so its conjugate is 1/W. Write the inner product as one sum of powers of a single number.
Hint
That sum is a geometric series. What is Wn?
Solution
The idea. With conjugates, the inner product of two columns is a geometric series of a root of unity, and such a series adds up to zero.
One sum
Column k has entries Wjk for j=0,…,n−1. Since ∣W∣=1, Wˉ=W−1, and the inner product of column k with column l is
Inner product of two columns
j=0∑n−1WjkWjl=j=0∑n−1(Wl−k)j
In words
the sum over j equals 0 of to the power n minus 1, end of power, W to the power j k bar W to the power j l equals the sum over j equals 0 of to the power n minus 1, end of power, (W to the power l minus k, end of power, ) to the power j
Put q=Wl−k. For k=l the exponent l−k lies between −(n−1) and n−1 and is not zero, so q=1 (W goes once round the circle in n steps). And qn=(Wn)l−k=1. So
The series adds to zero
j=0∑n−1qj=q−1qn−1=q−11−1=0
In words
the sum over j equals 0 of to the power n minus 1, end of power, q to the power j equals the quantity q to the power n minus 1, all over the quantity q minus 1, equals the quantity 1 minus 1, all over the quantity q minus 1, equals 0
For k=l every term is qj=1, and the sum is n: every column has length squared n.
Check
For n=4, columns 1 and 3 give q=i2=−1 and the sum 1−1+1−1=0, as the lecture found for those two columns (Lecture 26 transcript, pp. 13–14). Together the two results say FnHFn=nI, so Fn−1=FnH/n.
For n=8, the root is W8=e2πi/8. Which number is W82? And what is the real part of W83, the last entry of the diagonalD that builds F8 from two copies of F4?
Hint
Squaring a number on the unit circle doubles its angle. W8 is at the angle 2π/8.
Solution
The idea. Powers of W8 walk round the unit circle in steps of 45°.
The square
W82=e4πi/8=eiπ/2=i, which is W4: the rule W2m2=Wm with m=4 (Lecture 26 transcript, p. 15).
The cube
The third power of W8
W83=e6πi/8=cos135°+isin135°=−22+i22
In words
W eight cubed equals e to the power 6 pi i over 8, end of power, equals cos 135° plus i sine 135° equals minus the square root of 2 over 2 plus i the square root of 2 over 2
The real part is −2/2≈−0.7071. The diagonal is D=diag(1,W8,W82,W83).
Check
W88=e2πi=1, and W84=eiπ=−1: the second half of the circle repeats the first with a minus sign, which is why the FFT step needs D and −D only.
(b)4 points
Do one step of the fast Fourier transformby hand for F4 and the vectorx=(1,2,0,−1) of Problem 2. Here D=diag(1,i) and F2=(111−1). First split x into its even part (x0,x2) and its odd part (x1,x3), and apply F2 to each. Give the second entry of F2(x1,x3). Then show that the factorisation gives the same y as Problem 2(a) (this last step has no box).
Hint
F2 adds and subtracts: F2(p,q)=(p+q,p−q).
Hint
Call the two results g=F2(x0,x2) and h=F2(x1,x3). The fix-up gives the top half as g+Dh and the bottom half as g−Dh.
Solution
The idea. The permutation sorts the components, two half-size transforms do most of the work, and the diagonal D glues them.
The two half transforms
The even part is (1,0) and the odd part (2,−1):
Two half transforms
g=F2(10)=(11),h=F2(2−1)=(13)
In words
g equals F two 1; 0 equals 1; 1, h equals F two 2; minus 1 equals 1; 3
The count: the two F2's take 2⋅22=8 multiplications if done as full matrices, and D takes 2, so 8+2=10 in all, against 42=16 for F4 directly. (Multiplying by 1 or by i is free in practice; the count is the one of the lecture.)
(c)4 points
Let n=2k. With the FFT, multiplying by Fn costs 21nlog2n multiplications. Write this count as a formula in k. Then find how many times fewer multiplications the FFT needs than the plain n2 for n=216.
Hint
log22k=k. There are k levels of splitting, and each level costs the multiplications by its diagonals.
Solution
The idea. Put n=2k into the lecture's count and divide.
The count in k
FFT count for n=2k
21nlog2n=21⋅2k⋅k=k2k−1
In words
one half n log sub 2 n equals one half times 2 to the power k times k equals k 2 to the power k minus 1, end of power
n squared over the quantity one half n log sub 2 n, equals 2 n over the quantity log sub 2 n, equals 2 to the power 17 over 16 equals 2 to the power 13 equals 8192
B is triangular, so its eigenvalues are its diagonal entries 4 and 1. A has trace 5 and determinant 6−2=4, so λ2−5λ+4=0 and its eigenvalues are also 4 and 1: similar matrices share their eigenvalues.
First find the eigenvalue from Ax. Then start from Ax=λx, put MM−1 between A and x, and multiply on the left by M−1.
Solution
The idea. The eigenvalue stays and the eigenvector moves to M−1x.
Move the eigenvector
The moved eigenvector
B(M−1x)=λ(M−1x),M−1x=(1−101)(11)=(10)
In words
capital B ( capital M to the power minus 1 x) equals lambda ( capital M to the power minus 1 x), capital M to the power minus 1 x equals 1 0; minus 1 1 1; 1 equals 1; 0
Compare eigenvalues through the trace and the determinant. When the two eigenvalues are different, both matrices are similar to the same diagonal matrix.
Solution
The idea. With distinct eigenvalues the family of A is every matrix with those eigenvalues; a different eigenvalue rules a matrix out.
Trace and determinant
C1: trace 5, determinant 0+4=4, eigenvalues 4 and 1. C2: trace 5 but determinant 4−1=3, so its eigenvalues (5±13)/2 differ from those of A. C3 is triangular with diagonal 1,4.
The family
A, C1 and C3 have the distinct eigenvalues 4 and 1, so each has two independent eigenvectors and is similar to Λ=diag(4,1): S1−1C1S1=Λ=S−1AS gives C1=(SS1−1)−1A(SS1−1). The same holds for C3. So C1 and C3 are similar to A, and C2 is not, because similar matrices have the same eigenvalues (Lecture 28 transcript, pp. 7–10).
Check
The lecture's own example is the same: every matrix with eigenvalues 3 and 1 is in the family of (2112) (Lecture 28 transcript, p. 10).
This part has no answer box. Write your argument, then open the solution and mark yourself.
Hint
The determinant of a product is the product of the determinants, and detM−1=1/detM. Write B−λI as M−1(something)M.
Solution
The idea.λI commutes with M, so B−λI is similar to A−λI by the same M.
The determinant
detB=detM−1detAdetM=detA, since detM−1detM=detI=1.
The characteristic polynomial
Since M−1(λI)M=λI,
Same characteristic polynomial
det(B−λI)=det(M−1(A−λI)M)=det(A−λI)
In words
the determinant of the quantity capital B minus lambda capital I, equals the determinant of ( capital M to the power minus 1 the quantity capital A minus lambda capital I, capital M ) equals the determinant of the quantity capital A minus lambda capital I
One block for one eigenvector, as in Jordan's theorem. The matrix (−301−3) has the right determinant but the wrong trace, and (2014) the right trace but determinant 8.
(b)4 points
Jordan's theorem promises an invertibleM with AM=MJ. Its first column is an eigenvectorx1 of A: take the one whose first entry is 1. Its second column x2 must satisfyAx2=λx2+x1, that is (A−λI)x2=x1, with λ the eigenvalue of part (a). Find the solution of the form x2=(p,0): give p.
Hint
Find x1 from the nullspace of A−λI. Then write out the first row of (A−λI)x2=x1 with x2=(p,0), and check the second row.
Solution
The idea. With λ=3 and x1=(1,−1) from part (a), the columns of AM=MJ say Ax1=3x1 and Ax2=x1+3x2: the one above the diagonal of J links the second column to the first.
Solve
The second column
(A−3I)(p0)=(−11−11)(p0)=(−pp)=(1−1)
In words
the quantity capital A minus 3 capital I, p; 0 equals minus 1 minus 1; 1 1 p; 0 equals minus p; p equals 1; minus 1
With M=(1−1−10) (determinant −1, so invertible): AM=(2+11−4−2+0−1+0)=(3−3−2−1) and MJ=(3−31−3−1+0)=(3−3−2−1) too. So M−1AM=J. Computing J is not part of the lecture (Lecture 28 transcript, p. 20); here it takes one small system.
How many independent eigenvectors do K1 and K3 have? Which of the three are similar to each other?
Hint
The eigenvectors fill the nullspace of K−7I. Its dimension is 3 minus the rank.
Hint
Similar matrices have the same number of independent eigenvectors. Two matrices made of the same Jordan blocks, in another order, are similar: a permutation matrix M reorders the blocks.
Solution
The idea. Count blocks: each Jordan block brings one eigenvector.
Ranks
K1−7I and K2−7I each have a single one, so rank 1 and a nullspace of dimension 3−1=2: two eigenvectors each. K3−7I has two ones in different rows and columns, rank 2, and a nullspace of dimension 1: one eigenvector, (1,0,0).
Blocks
K1 is a 2×2 block followed by a 1×1 block; K2 is a 1×1 block followed by a 2×2 block; K3 is one 3×3 block. Reordering the basis vectors as (e2,e3,e1), with the permutation matrix M whose columns are e2, e3, e1, turns K2 into K1: M−1K2M=K1. K3 has a different number of eigenvectors from both, so it is similar to neither.
Check
This is the lecture's warning on a smaller scale: eigenvalues alone do not decide similarity. For the 4×4 matrices of the lecture even the number of eigenvectors was not enough, and the block sizes (3+1 against 2+2) decided (Lecture 28 transcript, pp. 17–20). Here the block sizes 2+1 and 1+2 are the same, and 3 is different.
(d)3 points
Now change one entry of a Jordan block by a small amount ε>0:
Find its larger eigenvalue as a formula in ε, and decide whether Aε is diagonalisable for ε=10−6.
Hint
Write out det(Aε−λI)=0 and solve for λ−5.
Solution
The idea. A small change in one entry splits the repeated eigenvalue, and two different eigenvalues mean two eigenvectors.
The eigenvalues
Eigenvalues of the nearby matrix
det(Aε−λI)=(5−λ)2−ε=0,λ=5±ε
In words
the determinant of the quantity capital A epsilon minus lambda capital I, equals the quantity 5 minus lambda, all squared minus epsilon equals 0, lambda equals 5 plus or minus the square root of epsilon
For ε=10−6 the eigenvalues are 5.001 and 4.999. They are different, so Aε has two independent eigenvectors and its Jordan form is the diagonal diag(5.001,4.999), not a Jordan block. A change of one part in a million in one entry changed J completely: this is why Strang calls the Jordan form numerically not a good thing (Lecture 28 transcript, p. 15).
Check
At ε=0 the formula gives 5 twice, the Jordan block back. The eigenvalues still add to the trace 10, and their product 25−ε is the determinant.
The trace is 125 and the determinant 3400−900=2500, so λ2−125λ+2500=0 and λ=(125±75)/2=100 or 25. The singular values are σ1=100=10 and σ2=25=5.
Check
100+25=125 and 100⋅25=2500. Part (d) gives one more check through detA.
(b)5 points
Find the unit eigenvectorv1 of ATA for σ12 (take its second entry positive), and then u1.
Hint
v1 is in the nullspace of ATA−σ12I.
Hint
The sign of an eigenvector of AAT is not fixed by that matrix. Get u1 from v1 instead, so that the two signs fit together.
Solution
The idea. The v's are eigenvectors of ATA, and Av1=σ1u1 gives u1 with the right sign.
v₁ and v₂
ATA−100I=(−15−30−30−60): its rows say v1 is a multiple of (2,−1); with its second entry positive, v1=(−2,1)/5. The other eigenvector is perpendicular: v2=(1,2)/5, and indeed ATA(1,2)=(85−60,−30+80)=(25,50)=25(1,2).
u one equals capital A v one over sigma one equals 1 over the quantity 10 the square root of 5, minus 12 plus 2; 14 plus 6 equals 1 over the square root of 5 minus 1; 2, u two equals capital A v two over sigma two equals 1 over the quantity 5 the square root of 5, 10; 5 equals 1 over the square root of 5 2; 1
u1 and u2 are perpendicular unit vectors, and they are eigenvectors of AAT (part (c)). But (1,−2)/5, the opposite of u1, is an eigenvector of AAT just as well: taking it with this v1 would give the wrong sign in UΣVT, Strang's puzzle in the lecture (Lecture 29 transcript, pp. 12–13). Finally UΣVT=10u1v1T+5u2v2T=2(2−4−12)+(2142)=(6−726)=A.
capital A capital A ^ capital T equals 36 plus 4 minus 42 plus 12; minus 42 plus 12 49 plus 36 equals 40 minus 30; minus 30 85 equals capital U capital sigma capital sigma ^ capital T capital U ^ capital T
Its trace is 125 and its determinant 3400−900=2500, the same as for ATA, so its eigenvalues are again 100 and 25. The larger is σ12=100.
Check
AATu1=51(−40−60,30+170)=51(−100,200)=100u1.
(d)3 points
Show that for every 2×2matrix, σ1σ2=∣detA∣, and check it for this A.
This part has no answer box. Write your argument, then open the solution and mark yourself.
Hint
Take determinants of both sides of A=UΣVT. What can the determinant of an orthogonal matrix be?
Solution
The idea. Orthogonal factors have determinant ±1, so only Σ changes the size of the determinant.
The determinants
From QTQ=I, (detQ)2=1 for any orthogonal Q, so detU=±1 and detVT=±1. Then
Determinant from the SVD
∣detA∣=∣detU∣∣detΣ∣∣detVT∣=σ1σ2
In words
the absolute value of the determinant of capital A equals the absolute value of the determinant of capital U the absolute value of the determinant of capital sigma the absolute value of the determinant of capital V ^ capital T equals sigma one sigma two
capital A v one equals the quantity 1 plus 4 plus 4, all over 3 1; c equals 3 1; c equals 3 the square root of 1 plus c squared, end of root, u one, u one equals (1, c) over the square root of 1 plus c squared, end of root
A is 2×3 with rank r=1. The SVD gives n−r vectors v for one nullspace and m−r vectors u for the other.
Solution
The idea. The four subspaces have dimensions r, r, n−r and m−r, and the SVD gives an orthonormal basis of each.
Count
Here m=2, n=3 and r=1. The nullspace (in R3) has dimension 3−1=2, filled by v2 and v3; the left nullspace (in R2) has dimension 2−1=1, filled by u2 (Lecture 29 transcript, pp. 17–18).
Check
u2 must be perpendicular to u1=(1,2)/5, so u2=(2,−1)/5, and indeed ATu2=51(2−2,4−4,4−4)=0. The two dimensions in each space add up: 1+2=3 and 1+1=2.
(c)3 points
Which pair of vectors could be v2 and v3 in the SVD of A for c=2?
Hint
v2 and v3 must each be perpendicular to the row space, and also perpendicular to each other, with length one.
Solution
The idea. Test each pair: both vectors perpendicular to (1,2,2), perpendicular to each other, and of length one.
(1, 2, 2) times (2, minus 1, 0) equals 0, (1, 2, 2) times (2, 4, minus 5) equals 2 plus 8 minus 10 equals 0, (2, minus 1, 0) times (2, 4, minus 5) equals 4 minus 4 equals 0
The lengths are 5 and 4+16+25=45, so the scaled vectors are unit vectors. In the other pairs: (−2,−2,3) is in the nullspace but has inner product −4+2=−2 with (2,−1,0); (1,2,2)/3 is v1 itself, in the row space; and (0,1,−1) is in the nullspace but has inner product −1 with (2,−1,0).
Check
The third vector of an orthonormal basis of R3 is the cross product of the other two: (1,2,2)×(2,−1,0)=(0+2,4−0,−1−4)=(2,4,−5).
Positive definite needs xTATAx=∥Ax∥2>0 for every nonzero x. Use part (b): is that so here?
Solution
The idea.ATA is positive definite exactly when the columns of A are independent (rank n).
The test
The rank is 1<3=n, so the columns of A are dependent. For x=(2,−1,0), Ax=0 and xTATAx=∥Ax∥2=0 with x=0. So ATA is only positive semidefinite (Lecture 28 transcript, pp. 4–5).
Check
The eigenvalues of ATA are σ12=45, 0 and 0: two zeros. A symmetric matrix with positive diagonal entries need not be positive definite.
A vector: in yᴴx, any complex vector; in Ax = λx, an eigenvector; in Problems 2 and 3, the vector (1, 2, 0, −1) to be transformed (or the vector with F₄x = (0, 2, 0, 2)); in Problem 1(c), any complex vector; in Problem 7, a vector in the nullspace. Say it: “x”.
The matrix of each problem, given in its statement; in 1(c), any Hermitian matrix; in 4(d), 6(d) and “What you need”, any matrix of the kind named there. Say it: “capital A”.
In Problem 2(d), the ratio W^(l−k) of the geometric series; in hints, the imaginary part of p + qi (Problem 1) or the second entry in F₂(p, q) (Problem 3). Say it: “q”.
In hints, the real part of p + qi (Problem 1) or the first entry in F₂(p, q) (Problem 3); in Problem 5(b), the first entry of x₂ = (p, 0). Say it: “p”.
An invertible matrix: in B = M⁻¹AM (Problem 4, rows (1, 0) and (1, 1)), and in A = MJM⁻¹ (Problem 5, with columns x₁ and x₂; in 5(c), the matrix of the solution). Say it: “capital M”.
The component of x numbered 1 (in “What you need”, the first component); in Problem 5, the eigenvector of A that is the first column of M. Say it: “x one”.
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.
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.
The simplest matrix similar to a given one: Jordan blocks along the diagonal, one block for each independent eigenvector. Explained in Similar matrices and the Jordan form.
Writing any matrix as A = UΣVᵀ: a rotation (perhaps with a reflection), a stretching along perpendicular axes, and another rotation. Explained in Singular value decomposition.
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.
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.
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.
Of a square matrix or operator: having an inverse that undoes it; for a matrix this happens exactly when its determinant is not zero. Explained in The geometry of linear equations.
A square matrix with one eigenvalue repeated down its diagonal, ones just above the diagonal and zeros elsewhere; it has only one eigenvector. Explained in Similar matrices and the Jordan form.
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.
At right angles; more generally, of two vectors or functions, having a dot product, or an integral of their product, of zero. Explained in Introduction to Fourier series.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
A square matrix with only zeros below its diagonal (upper triangular) or only zeros above it (lower triangular). Explained in Elimination with matrices.
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.
A matrix made by reordering the rows of the identity matrix; multiplying by it reorders the rows of another matrix the same way. Explained in Elimination with matrices.
A set of independent vectors from which every vector in a space can be built, in exactly one way, as a combination. Explained in Independence, basis and dimension.
To rewrite a matrix in a basis of its eigenvectors, where it becomes diagonal, with its eigenvalues down the diagonal. Explained in Diagonalisation and powers of A.
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.
A set of vectors inside a larger space that is a space itself: sums and multiples of its vectors stay inside it. Explained in Transposes, permutations and vector spaces.
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.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
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).