CalcPath
ProgressProblem setsFeedback
← Question sheet

Linear Algebra · Solutions

Eigenvalues and Eigenvectors

12 questions · about 108 minutes

Work this sheet on paper and show every step: the route is what is being tested, and the solutions are written so you can compare your method, not just your final numbers. Name every theorem you use (“by the Diagonalization Theorem”, “geometric multiplicity is at most algebraic”, “by Cayley–Hamilton”) and check its hypotheses, and use the trace and determinant to check every eigenvalue list you write down. No calculator is needed anywhere — every answer has an exact closed form. Full worked solutions are on a separate page; each question also has its own reveal, so you can check one answer without seeing the rest.

  1. 1.Computation

    Let A=(12​43​). No characteristic polynomial is needed anywhere in this question.

    1. (a)Decide, by multiplying and comparing, which of u=(2−1​), v=(12​) and w=(33​) are eigenvectors of A. For each one that is, state its eigenvalue.
    2. (b)Explain why the eigenvalues found in (a) are all the eigenvalues of A, and why each eigenspace is a line. Check your list against trA and detA.
    3. (c)Without any further row reduction, write down an eigenpair of A−1, an eigenpair of A−2I, and explain why A2+A is singular.

    Solution

    (a) Multiply and compare.

    Au=(2−44−3​)=(−21​)=−1⋅(2−1​),

    so u is an eigenvector with eigenvalue −1.

    Av=(1+82+6​)=(98​).

    A multiple of (1,2) with first entry 9 would be (9,18), not (9,8); so v is not an eigenvector.

    Aw=(3+126+9​)=(1515​)=5⋅(33​),

    so w is an eigenvector with eigenvalue 5.

    (b) Count. Eigenvectors belonging to distinct eigenvalues are linearly independent, and R2 contains at most 2 independent vectors, so a 2×2 matrix has at most 2 distinct eigenvalues. We have found two, 5 and −1, so there are no others.

    The same count settles the eigenspaces. A basis of E5​ together with a basis of E−1​ is an independent set (again by the independence theorem, applied eigenvalue by eigenvalue), so dimE5​+dimE−1​≤2. Each dimension is at least 1, so each is exactly 1: E5​=span{(1,1)} and E−1​=span{(2,−1)}.

    Checks: trA=1+3=4=5+(−1) ✓ and detA=3−8=−5=5⋅(−1) ✓.

    (c) Transport the eigenpairs. If Ax=λx then A−1x=λ1​x (legitimate because 0 is not an eigenvalue, so A is invertible) and (A−2I)x=(λ−2)x. Hence (51​,w) and (−1,u) are eigenpairs of A−1, and (3,w) and (−3,u) are eigenpairs of A−2I.

    For A2+A use the polynomial rule with p(t)=t2+t: p(A)u=p(−1)u=(1−1)u=0 with u=0. So A2+A has a nontrivial null space and is singular. Equivalently, det(A2+A)=p(5)p(−1)=30⋅0=0.

    Sanity check by direct computation: A2=(98​1617​), so A2+A=(1010​2020​), whose rows are equal ✓.

  2. 2.Computation

    Let

    A=​512​−13−2​116​​.

    1. (a)Show that 4 is an eigenvalue of A and find a basis for the eigenspace E4​. State its geometric multiplicity, and verify each basis vector by multiplying it by A.
    2. (b)Show that ​112​​ is an eigenvector of A and find its eigenvalue.
    3. (c)Using only the trace of A and the fact that a geometric multiplicity never exceeds the algebraic one, write down the complete list of eigenvalues of A with multiplicity, and hence detA. Is A invertible?

    Solution

    (a) Row reduce A−4I.

    A−4I=​112​−1−1−2​112​​⟶​100​−100​100​​,

    subtracting row 1 from row 2 and twice row 1 from row 3. The system collapses to the single equation x1​−x2​+x3​=0, i.e. x1​=x2​−x3​ with x2​,x3​ free:

    x=x2​​110​​+x3​​−101​​.

    There are nonzero solutions, so 4 is an eigenvalue; E4​=Null(A−4I) has basis {(1,1,0),(−1,0,1)} and geometric multiplicity 2 — the eigenspace is a plane.

    Checks: A(1,1,0)=(5−1,1+3,2−2)=(4,4,0)=4(1,1,0) ✓ and A(−1,0,1)=(−5+1,−1+1,−2+6)=(−4,0,4)=4(−1,0,1) ✓.

    (b) Multiply.

    A​112​​=​5−1+21+3+22−2+12​​=​6612​​=6​112​​,

    so (1,1,2) is an eigenvector with eigenvalue 6.

    (c) Count with the trace. A 3×3 matrix has exactly three eigenvalues counted with algebraic multiplicity. The algebraic multiplicity of 4 is at least its geometric multiplicity 2, and 6 is a further eigenvalue, so the three slots are already full: the list is 4,4,6.

    Check: trA=5+3+6=14=4+4+6 ✓. (Had the algebraic multiplicity of 4 been 3, the trace would have been 12, so the trace alone rules that out.)

    The determinant is the product of the eigenvalues, detA=4⋅4⋅6=96. Since 0 is not an eigenvalue, A is invertible.

    Sanity check by cofactors along the first row: detA=5(18+2)−(−1)(6−2)+1(−2−6)=100+4−8=96 ✓.

  3. 3.Computation

    Let

    A=​201​030​102​​.

    1. (a)Compute the characteristic polynomial pA​(λ) by expanding along the row or column with the most zeros, factor it, and list the eigenvalues with their algebraic multiplicities. Check the list against trA and detA.
    2. (b)Find a basis for each eigenspace and state each geometric multiplicity.
    3. (c)Expand pA​ into the form −λ3+c2​λ2+c1​λ+c0​, say which two coefficients you could have predicted without expanding, and use the Cayley–Hamilton theorem to write A−1 as a polynomial in A. Evaluate A−1 explicitly and check one row of AA−1=I.

    Solution

    (a) Expand along the second row, which has two zeros:

    pA​(λ)=det​2−λ01​03−λ0​102−λ​​=(3−λ)det(2−λ1​12−λ​)=(3−λ)[(2−λ)2−1].

    Since (2−λ)2−1=(2−λ−1)(2−λ+1)=(1−λ)(3−λ),

    pA​(λ)=(1−λ)(3−λ)2.

    Eigenvalues: 1 with algebraic multiplicity 1, and 3 with algebraic multiplicity 2.

    Checks: trA=2+3+2=7=1+3+3 ✓. By cofactors along the first row, detA=2(6−0)−0+1(0−3)=12−3=9=1⋅3⋅3 ✓.

    (b) Row reduce each A−λI. For λ=3:

    A−3I=​−101​000​10−1​​⟶​−100​000​100​​,

    so x1​=x3​ with x2​ and x3​ free. A basis of E3​ is {(1,0,1),(0,1,0)}; geometric multiplicity 2.

    For λ=1:

    A−I=​101​020​101​​⟶​100​020​100​​,

    so x2​=0 and x1​=−x3​. A basis of E1​ is {(1,0,−1)}; geometric multiplicity 1.

    Checks: A(1,0,1)=(3,0,3) ✓, A(0,1,0)=(0,3,0) ✓, A(1,0,−1)=(2−1,0,1−2)=(1,0,−1) ✓. Both geometric multiplicities equal the algebraic ones, as they must for a symmetric matrix.

    (c) Expand and apply Cayley–Hamilton.

    pA​(λ)=(1−λ)(λ2−6λ+9)=−λ3+7λ2−15λ+9.

    The λ2 coefficient is (−1)n−1trA=+7 and the constant term is detA=9; both were predictable from the outer-coefficient formula, and both agree with (a) ✓.

    Cayley–Hamilton says pA​(A)=0:

    −A3+7A2−15A+9I=0⟹9I=A3−7A2+15A=A(A2−7A+15I).

    Hence A−1=91​(A2−7A+15I). Now

    A2=​504​090​405​​,A2−7A+15I=​5−14+1504−7​09−21+150​4−705−14+15​​=​60−3​030​−306​​,

    so

    A−1=91​​60−3​030​−306​​=​32​0−31​​031​0​−31​032​​​.

    Check the first row of AA−1: (2,0,1) against the columns gives 34​−31​=1, 0, and −32​+32​=0, i.e. (1,0,0) ✓. Note also that A−1 has eigenvalues 1,31​,31​, whose sum 35​ equals trA−1=32​+31​+32​ ✓.

  4. 4.Proof

    Throughout, A is a real square matrix. Quote the characteristic-equation theorem by name where you use it.

    1. (a)Prove that A is singular if and only if 0 is an eigenvalue of A, by evaluating the characteristic polynomial at a single point.
    2. (b)Let A=(ac​bd​). Prove that both eigenvalues of A are real if and only if (trA)2≥4detA, and that they are equal if and only if equality holds.
    3. (c)Deduce that if detA<0 then A has two distinct real eigenvalues of opposite sign and is diagonalizable. Give one 2×2 example and its eigenvalues.

    Solution

    (a) Evaluate pA​ at 0. By definition pA​(λ)=det(A−λI), so pA​(0)=det(A−0⋅I)=detA.

    By the characteristic-equation theorem, 0 is an eigenvalue of A if and only if pA​(0)=0, that is, if and only if detA=0. And detA=0 is exactly the statement that A is singular. ■

    (Directly from the definition: 0 is an eigenvalue iff Av=0 for some v=0, iff NullA={0}, iff A is singular. Either route is a proof.)

    (b) Write out the 2×2 characteristic polynomial.

    pA​(λ)=det(a−λc​bd−λ​)=(a−λ)(d−λ)−bc=λ2−(a+d)λ+(ad−bc)=λ2−(trA)λ+detA.

    By the characteristic-equation theorem the eigenvalues are precisely the roots of this quadratic, which the quadratic formula gives as

    λ=2trA±(trA)2−4detA​​.

    The coefficients are real, so the roots are real if and only if the discriminant Δ=(trA)2−4detA is non-negative, and they coincide if and only if Δ=0 (the ± then contributes nothing). Both roots are real exactly when Δ≥0, and equal exactly when Δ=0. ■

    (c) Apply (b). If detA<0 then −4detA>0, so Δ=(trA)2−4detA>0 regardless of the trace. By (b) the eigenvalues λ1​,λ2​ are real and distinct. Their product is the constant term, λ1​λ2​=detA<0, and a product of two real numbers is negative only when they have opposite signs.

    Two distinct eigenvalues on a 2×2 matrix means n distinct eigenvalues for n=2, so A is diagonalizable by the corollary that distinct eigenvalues suffice. ■

    Example: A=(12​43​) has detA=−5<0, and indeed pA​(λ)=λ2−4λ−5=(λ−5)(λ+1): eigenvalues 5 and −1, one of each sign. (Any reflection (01​10​), eigenvalues ±1, is another.)

  5. 5.Computation

    Let

    A=​310​−110​111​​,B=​1−1−1​−11−1​113​​.

    1. (a)Show that A and B have the same characteristic polynomial, and factor it.
    2. (b)For each matrix find a basis of every eigenspace, compare geometric with algebraic multiplicities, and decide whether the matrix is diagonalizable. Name the criterion you are applying.
    3. (c)For the matrix that is diagonalizable, write down P and D with P−1(⋅)P=D and verify the factorisation column by column without inverting P.
    4. (d)Explain why A and B are not similar, even though they share a characteristic polynomial.

    Solution

    (a) Two characteristic polynomials. For A, expand along the third row, which has two zeros:

    pA​(λ)=(1−λ)det(3−λ1​−11−λ​)=(1−λ)[(3−λ)(1−λ)+1]=(1−λ)(λ2−4λ+4)=(1−λ)(2−λ)2.

    For B, expand along the first row:

    pB​(λ)=(1−λ)[(1−λ)(3−λ)+1]−(−1)[−(3−λ)+1]+1[1+(1−λ)].

    The last two brackets are (λ−2) and (2−λ), which cancel, leaving pB​(λ)=(1−λ)(λ2−4λ+4)=(1−λ)(2−λ)2, the same polynomial.

    Checks: both traces are 5=1+2+2 ✓; detA=1⋅(3+1)=4 and detB=1(3+1)+1(−3+1)+1(1+1)=4−2+2=4, both equal to 1⋅2⋅2 ✓. Each matrix has eigenvalue 1 with algebraic multiplicity 1 and eigenvalue 2 with algebraic multiplicity 2.

    (b) Eigenspaces. Matrix A, λ=2:

    A−2I=​110​−1−10​11−1​​⟶​100​−100​010​​,

    so x3​=0 and x1​=x2​: E2​=span{(1,1,0)}, geometric multiplicity 1<2. Matrix A, λ=1: A−I=​210​−100​110​​; row 2 gives x1​=−x3​, then row 1 gives x2​=2x1​+x3​=−x3​, so E1​=span{(1,1,−1)}. Check: A(1,1,−1)=(3−1−1,1+1−1,−1)=(1,1,−1) ✓.

    By the diagonalizability criterion — a matrix whose characteristic polynomial factors completely is diagonalizable iff every geometric multiplicity equals the algebraic one — A is defective: it supplies only 1+1=2 independent eigenvectors in R3.

    Matrix B, λ=2:

    B−2I=​−1−1−1​−1−1−1​111​​⟶​−100​−100​100​​,

    so x3​=x1​+x2​ with x1​,x2​ free: E2​=span{(1,0,1),(0,1,1)}, geometric multiplicity 2. Matrix B, λ=1: B−I=​0−1−1​−10−1​112​​; rows 1 and 2 give x2​=x3​ and x1​=x3​, and row 3 is then −x3​−x3​+2x3​=0 automatically ✓. So E1​=span{(1,1,1)}, geometric multiplicity 1.

    Both multiplicities match, so B is diagonalizable.

    (c) Diagonalize B. Columns of P are the eigenvectors, and D carries the matching eigenvalues in the same order:

    P=​101​011​111​​,D=​200​020​001​​.

    P is invertible because its columns are independent (detP=1(1−1)−0+1(0−1)=−1=0). Verify BP=PD one column at a time: B(1,0,1)=(1+1,−1+1,−1+3)=(2,0,2)=2(1,0,1) ✓; B(0,1,1)=(−1+1,1+1,−1+3)=(0,2,2)=2(0,1,1) ✓; B(1,1,1)=(1−1+1,−1+1+1,−1−1+3)=(1,1,1)=1(1,1,1) ✓. Hence P−1BP=D.

    (d) Not similar. Suppose B=Q−1AQ for some invertible Q. Then B−2I=Q−1(A−2I)Q, and the map y↦Qy is a bijection from Null(B−2I) onto Null(A−2I): indeed Q−1(A−2I)Qy=0 iff (A−2I)(Qy)=0. Linear bijections preserve dimension, so the geometric multiplicity of 2 would be the same for both matrices. It is 2 for B and 1 for A, so no such Q exists.

    Equivalently: similarity preserves diagonalizability (if A=QBQ−1 and B=PDP−1 then A=(QP)D(QP)−1), and B is diagonalizable while A is not. The characteristic polynomial is a similarity invariant, but it is not a complete one.

  6. 6.Computation

    Let T(x)=Ax with A=(21​34​). Write [x]B​ for the coordinate vector of x relative to a basis B.

    1. (a)Find the eigenvalues and an eigenvector for each.
    2. (b)Let B consist of the two eigenvectors from (a). Compute [T]B​ directly from the definition (its ith column is [T(bi​)]B​), without inverting any matrix.
    3. (c)Let C={(1,0),(1,1)}. Compute [T]C​ both from the definition and as P−1AP, where P has the vectors of C as columns. Explain why the result is triangular, and check its trace and determinant against those of A.
    4. (d)Let x=(5,3). Find [x]B​, use [T]B​ to obtain [T(x)]B​, convert back to standard coordinates, and confirm against Ax.

    Solution

    (a) Eigenpairs. trA=6 and detA=8−3=5, so pA​(λ)=λ2−6λ+5=(λ−1)(λ−5): eigenvalues 1 and 5 (check: 1+5=6, 1⋅5=5 ✓).

    For λ=1: A−I=(11​33​) gives x1​=−3x2​, so b1​=(3,−1). For λ=5: A−5I=(−31​3−1​) gives x1​=x2​, so b2​=(1,1).

    Checks: A(3,−1)=(6−3,3−4)=(3,−1) ✓ and A(1,1)=(5,5) ✓.

    (b) The eigenbasis. T(b1​)=b1​=1⋅b1​+0⋅b2​, so the first column of [T]B​ is (1,0). T(b2​)=5b2​=0⋅b1​+5⋅b2​, so the second column is (0,5). Hence

    [T]B​=(10​05​)=D.

    No inversion was needed: the image of an eigenvector is a multiple of itself, and its coordinate vector is read off at sight.

    (c) A basis that is only half an eigenbasis. From the definition: T(1,0)=(2,1). Solve (2,1)=α(1,0)+β(1,1): the second entry gives β=1, then α=1, so the first column is (1,1). T(1,1)=(5,5)=0⋅(1,0)+5⋅(1,1), so the second column is (0,5):

    [T]C​=(11​05​).

    As P−1AP: P=(10​11​), P−1=(10​−11​), and

    AP=(21​55​),P−1(AP)=(2−11​5−55​)=(11​05​) ✓.

    It is lower triangular because the second basis vector (1,1) is an eigenvector: T maps span{(1,1)} into itself, so the second column has a zero in the first slot. The first basis vector is not an eigenvector, so its column is full. The diagonal entries 1,5 are the eigenvalues, as they must be for a triangular matrix.

    Invariants: tr[T]C​=1+5=6=trA ✓ and det[T]C​=5=detA ✓, as similar matrices share both.

    (d) Round trip through the eigenbasis. Solve c1​(3,−1)+c2​(1,1)=(5,3): the equations are 3c1​+c2​=5 and −c1​+c2​=3; subtracting, 4c1​=2, so c1​=21​ and c2​=27​. Thus [x]B​=(21​,27​).

    Apply the diagonal matrix: [T(x)]B​=D(21​,27​)=(21​,235​).

    Convert back: T(x)=21​(3,−1)+235​(1,1)=(23+35​,2−1+35​)=(19,17).

    Directly: A(5,3)=(10+9,5+12)=(19,17) ✓.

  7. 7.Computation

    Let A=(34​−2−1​).

    1. (a)Find the eigenvalues of A, check them against the trace and determinant, and give their modulus and argument (the argument as an exact inverse-tangent expression).
    2. (b)Find an eigenvector v for the eigenvalue with negative imaginary part, and confirm that the second row of (A−λI)v=0 is satisfied automatically. Write down the real matrices P and C of the real canonical form A=PCP−1, and verify it by checking AP=PC.
    3. (c)Describe geometrically what one application of A does in the coordinates given by the columns of P. Then determine every real c for which the origin is an attractor for xk+1​=cAxk​, and say what happens at the boundary values of c.

    Solution

    (a) Eigenvalues. trA=3−1=2 and detA=−3+8=5, so

    pA​(λ)=λ2−2λ+5,λ=22±4−20​​=1±2i.

    Checks: (1+2i)+(1−2i)=2 ✓ and (1+2i)(1−2i)=1+4=5 ✓. The modulus is ∣λ∣=1+4​=5​ and the argument of 1+2i, which lies in the first quadrant, is φ=arctan2 (about 63.4°).

    (b) Eigenvector and real canonical form. Take λ=1−2i. Then

    A−λI=(3−(1−2i)4​−2−1−(1−2i)​)=(2+2i4​−2−2+2i​).

    The first row says (2+2i)v1​=2v2​, i.e. v2​=(1+i)v1​. Choosing v1​=1 gives v=(11+i​). Second row: 4⋅1+(−2+2i)(1+i)=4+(−2−2i+2i+2i2)=4−4=0 ✓, as it must be, since A−λI is singular.

    Split into real and imaginary parts: Rev=(1,1) and Imv=(0,1). With λ=a−bi for a=1, b=2,

    P=(11​01​),C=(12​−21​).

    P is invertible (detP=1). Verify AP=PC:

    AP=(3−24−1​−2−1​)=(13​−2−1​),PC=(11+2​−2−2+1​)=(13​−2−1​) ✓.

    Hence A=PCP−1.

    (c) Geometry and stability. In the coordinate system with axes (1,1) and (0,1), the map A acts as C=5​(cosφsinφ​−sinφcosφ​) with cosφ=5​1​, sinφ=5​2​: a counterclockwise rotation by φ=arctan2 followed by a stretch by 5​. Areas are multiplied by detC=5=(5​)2 ✓. Every nonzero trajectory of A itself spirals outward.

    The eigenvalues of cA are c(1±2i), of modulus ∣c∣5​. The origin is an attractor exactly when every eigenvalue has modulus less than 1:

    ∣c∣5​<1⟺−5​1​<c<5​1​.

    At c=±5​1​ the modulus is exactly 1: trajectories neither grow nor decay but travel forever around a closed ellipse (a circle in the P-coordinates), the origin being a centre. For ∣c∣>5​1​, which includes c=1, the origin is a repeller and trajectories spiral outward. Note that the sign of c never matters: a negative c adds a half-turn to each step but leaves the modulus, and hence the classification, unchanged.

  8. 8.Computation

    A sequence is defined by a0​=1, a1​=1 and

    ak+2​=ak+1​+6ak​(k≥0).

    1. (a)Stack two consecutive terms as xk​=(ak+1​ak​​) and write the recurrence as xk+1​=Axk​. Find the eigenvalues and eigenvectors of A, and write A=PDP−1.
    2. (b)Find an explicit formula for Ak, and check it at k=1.
    3. (c)Deduce a closed form for ak​, check it against a2​ and a3​ computed from the recurrence, and determine limk→∞​ak+1​/ak​ together with the rate at which the ratio approaches its limit.

    Solution

    (a) The companion matrix.

    xk+1​=(ak+2​ak+1​​)=(ak+1​+6ak​ak+1​​)=(11​60​)(ak+1​ak​​),A=(11​60​),x0​=(11​).

    trA=1, detA=−6, so pA​(λ)=λ2−λ−6=(λ−3)(λ+2): eigenvalues 3 and −2, distinct, so A is diagonalizable. For either eigenvalue, the second row of (A−λI)v=0 reads v1​−λv2​=0, so v=(λ,1) works: v1​=(3,1) and v2​=(−2,1).

    Checks: A(3,1)=(3+6,3)=3(3,1) ✓ and A(−2,1)=(−2+6,−2)=−2(−2,1) ✓.

    So P=(31​−21​), D=(30​0−2​), and since detP=3+2=5,

    P−1=51​(1−1​23​).

    (b) Powers. Ak=PDkP−1 with Dk=diag(3k,(−2)k):

    Ak=51​(31​−21​)(3k0​0(−2)k​)(1−1​23​)=51​(3k+13k​−2(−2)k(−2)k​)(1−1​23​),

    which multiplies out to

    Ak=51​(3k+1+2(−2)k3k−(−2)k​2⋅3k+1−6(−2)k2⋅3k+3(−2)k​).

    Check at k=1: 51​(9−43+2​18+126−6​)=51​(55​300​)=(11​60​)=A ✓. Check the trace at general k: 51​(3k+1+2⋅3k+2(−2)k+3(−2)k)=3k+(−2)k, the sum of the eigenvalues of Ak ✓.

    (c) Closed form. ak​ is the second entry of xk​=Akx0​, i.e. the second row of Ak applied to (1,1):

    ak​=51​[(3k−(−2)k)+(2⋅3k+3(−2)k)]=53k+1+2(−2)k​.

    (The same formula comes from expanding x0​=53​v1​+52​v2​ and reading off xk​=53​3kv1​+52​(−2)kv2​.)

    Checks: from the recurrence, a2​=a1​+6a0​=7 and a3​=a2​+6a1​=13. From the formula, a2​=527+8​=7 ✓ and a3​=581−16​=13 ✓; also a0​=53+2​=1 and a1​=59−4​=1 ✓.

    Ratio: dividing numerator and denominator by 3k+1,

    ak​ak+1​​=3k+1+2(−2)k3k+2+2(−2)k+1​=3⋅1+32​(−32​)k1−34​(−32​)k​⟶3,

    because ​−32​​<1. The dominant eigenvalue 3 is the limit, and the correction terms are of size (32​)k, so the ratio converges geometrically at the rate ∣λ2​/λ1​∣=32​ per step — the power-method rate. The sign of (−2)k makes the ratio alternate above and below 3: a1​/a0​=1, a2​/a1​=7, a3​/a2​=713​, a4​/a3​=1355​.

  9. 9.Sketch

    Consider the discrete dynamical system xk+1​=Axk​ with

    A=41​(53​35​).

    A sketch without eigenvalues written beside it earns nothing here: every feature you draw must be justified.

    1. (a)Find the eigenvalues and eigenvectors of A and classify the origin.
    2. (b)Expand x0​=(1,0) in the eigenbasis, write xk​ in closed form, and compute x1​, x2​, x3​ exactly. Do the same for x0​=(0,1) as far as x1​.
    3. (c)Show that the quantity x2−y2 is unchanged by one step of the system, and say what this means for the curve a trajectory travels along.
    4. (d)Sketch the phase portrait on −5≤x,y≤5: draw both eigenlines with arrows showing the direction of motion along each, the two trajectories from (b) with their points marked, and at least one trajectory in each of the remaining regions. State which initial states tend to the origin.

    Solution

    (a) Eigenpairs and classification. trA=25​ and detA=1625−9​=1, so pA​(λ)=λ2−25​λ+1, and

    λ=225​±425​−4​​=225​±23​​∈{2,21​}.

    Check: 2+21​=25​ and 2⋅21​=1 ✓. For λ=2, A−2I=41​(−33​3−3​) gives x=y: v1​=(1,1). For λ=21​, A−21​I=41​(33​33​) gives x=−y: v2​=(1,−1). Checks: A(1,1)=41​(8,8)=2(1,1) ✓, A(1,−1)=41​(2,−2)=21​(1,−1) ✓.

    One eigenvalue exceeds 1 in modulus and the other is below 1, so the origin is a saddle point: repelling along the line y=x, attracting along the line y=−x.

    (b) Two trajectories. Solve c1​(1,1)+c2​(1,−1)=(1,0): adding and subtracting the coordinates gives c1​=c2​=21​. By the eigenbasis solution formula,

    xk​=21​2k(11​)+21​(21​)k(1−1​)=(2k−1+2−k−12k−1−2−k−1​).

    So x1​=(1+41​,1−41​)=(45​,43​), x2​=(2+81​,2−81​)=(817​,815​), x3​=(4+161​,4−161​)=(1665​,1663​).

    Check x1​ directly: A(1,0)=41​(5,3)=(45​,43​) ✓; and A(45​,43​)=41​(425+9​,415+15​)=(1634​,1630​)=(817​,815​) ✓.

    For x0​=(0,1): c1​=21​, c2​=−21​, so xk​=(2k−1−2−k−1,2k−1+2−k−1) and x1​=(43​,45​); directly, A(0,1)=41​(3,5) ✓. This trajectory is the mirror image of the first in the line y=x.

    (c) An invariant. Write xk+1​=(x′,y′) with x′=41​(5x+3y) and y′=41​(3x+5y). Then x′+y′=2(x+y) and x′−y′=21​(x−y) — these are just the two eigenvalues acting on the eigen-coordinates x+y and x−y. Multiplying,

    x′2−y′2=(x′+y′)(x′−y′)=2(x+y)⋅21​(x−y)=x2−y2.

    So every trajectory stays on one level curve x2−y2=c. For c=0 these are hyperbolas whose asymptotes are the eigenlines y=±x; for c=0 the level set is the two eigenlines themselves. (The trajectories of (b) lie on x2−y2=1 and on x2−y2=−1: check 1625​−169​=1 ✓.) The invariant is exactly 4c1​c2​, which is preserved because one coefficient is doubled while the other is halved each step.

    (d) The sketch must show the following, each for a stated reason.

    The eigenline y=x, drawn through the origin, with arrows pointing away from the origin in both directions: points on it are multiplied by 2 each step.

    The eigenline y=−x, with arrows pointing toward the origin: points on it are halved each step. These two lines are the asymptotes of every other trajectory.

    The trajectory from (1,0): the marked points (1,0), (45​,43​), (817​,815​), (1665​,1663​), lying on the right branch of the hyperbola x2−y2=1, moving up and to the right and hugging the line y=x ever more closely from below. The gaps between consecutive points roughly double each step. The trajectory from (0,1) is its mirror image on the upper branch of x2−y2=−1, approaching y=x from above.

    One trajectory in each of the other two regions: e.g. from (−1,0) on the left branch of x2−y2=1, escaping along y=x toward the lower left, and from (0,−1) on the lower branch of x2−y2=−1, also escaping toward the lower left. In every region the motion is first inward (the (21​)k term shrinks the (1,−1)-component) and then outward along y=x (the 2k term dominates).

    The only initial states that tend to the origin are those with c1​=0, i.e. the points of the line y=−x. Every other trajectory has a nonzero 2k term and escapes to infinity with slope tending to 1.

  10. 10.Critique

    A student is asked whether A=(41​−12​) is diagonalizable and to compute A10. The submission reads:

    Step 1. trA=6 and detA=9, so pA​(λ)=λ2−6λ+9=(λ−3)2. The eigenvalue 3 is repeated.

    Step 2. A repeated eigenvalue means that A is not diagonalizable.

    Step 3. Both eigenvalues equal 3, so in the eigenbasis A acts as 3 times the identity. But 3I is the same matrix in every basis, so A=3I and therefore A10=310I.

    Step 1 is correct, and the answer to the first question happens to be correct too.

    1. (a)Find every flaw in Steps 2 and 3. For each, say precisely which theorem or definition is being misused, and give a one-line example or observation that exposes it.
    2. (b)Decide correctly whether A is diagonalizable, with a valid reason.
    3. (c)Compute A10 exactly. (The Cayley–Hamilton theorem is the tool; consider N=A−3I.) Check your answer against the trace and determinant of A10.

    Solution

    (a) The flaws.

    Step 2 is a non sequitur. A repeated eigenvalue does not decide anything; the diagonalizability criterion says a matrix is diagonalizable iff each geometric multiplicity equals the algebraic one, so the missing step is to compute dimE3​. The identity matrix I2​ has the repeated eigenvalue 1 and is diagonal already, so "repeated, therefore not diagonalizable" is false as a rule. The student's conclusion is right for this A, but by luck, not by argument.

    Step 3 contradicts Step 2. Speaking of "the eigenbasis" assumes a basis of eigenvectors exists, which is exactly what diagonalizable means and exactly what Step 2 just denied.

    Step 3 misuses similarity. If A were similar to 3I then A=P(3I)P−1=3I, so a matrix similar to 3I is 3I — and A is visibly not 3I. What is true is that A and 3I share the characteristic polynomial (λ−3)2; but a shared characteristic polynomial is a necessary condition for similarity, never a sufficient one. The claim A10=310I is therefore false; already A2=(156​−63​)=9I.

    (b) The correct diagnosis.

    A−3I=(11​−1−1​)

    has rank 1, so E3​=Null(A−3I)=span{(1,1)} has dimension 1, while the algebraic multiplicity of 3 is 2. Geometric multiplicity is strictly less than algebraic, so by the diagonalizability criterion A is defective: there is no basis of R2 consisting of eigenvectors, since every eigenvector lies on the single line y=x.

    (c) Powers of a defective matrix. Let N=A−3I=(11​−1−1​). By Cayley–Hamilton, pA​(A)=(A−3I)2=0, i.e. N2=0; directly, N2=(1−11−1​−1+1−1+1​)=0 ✓.

    Since A=3I+N and the matrices 3I and N commute, the binomial theorem applies, and every term containing N2 or higher vanishes:

    Ak=(3I+N)k=3kI+k3k−1N.

    Check at k=2: 9I+6N=(9+66​−69−6​)=(156​−63​), and directly A2=(16−14+2​−4−2−1+4​)=(156​−63​) ✓.

    At k=10:

    A10=310I+10⋅39N=39(3I+10N)=39(1310​−10−7​).

    Checks: the eigenvalues of A10 are 310,310, so its trace should be 2⋅310; indeed 39(13−7)=6⋅39=2⋅310 ✓. Its determinant should be 320; indeed 318(13⋅(−7)−(−10)(10))=318(−91+100)=9⋅318=320 ✓. The off-diagonal entries ±10⋅39 are exactly what the student's 310I is missing: the nilpotent part grows linearly in k on top of the geometric growth.

  11. 11.Proof

    Let A be an n×n real matrix with A2=A (such a matrix is called a projection). Prove the following, quoting each theorem you use by name.

    1. (a)Every eigenvalue of A is 0 or 1.
    2. (b)E1​=ColA and E0​=NullA, and A is diagonalizable. (Do not assume in advance that both 0 and 1 are eigenvalues.)
    3. (c)rankA=trA. Verify this on A=21​(11​11​) after checking that A2=A.

    Solution

    (a) Eigenvalues. Let Av=λv with v=0. By the rule for polynomials in A (eigenpairs of related matrices), p(A)v=p(λ)v for every polynomial p. Take p(t)=t2−t: then p(A)=A2−A=0, so

    0=(A2−A)v=(λ2−λ)v.

    Since v=0, the scalar must vanish: λ2−λ=λ(λ−1)=0, so λ∈{0,1}. ■

    (b) The two eigenspaces fill the space. By definition E0​=Null(A−0I)=NullA; nothing to prove.

    For E1​, first let x∈E1​, so Ax=x; then x=Ax is in the column space of A. Conversely let y∈ColA, say y=Az; then Ay=A2z=Az=y, so y∈E1​. Hence E1​=ColA. (Here E1​ and E0​ are being used for the null spaces Null(A−I) and NullA whether or not they are nonzero.)

    By the Rank–Nullity Theorem, dimE1​+dimE0​=rankA+nullityA=n.

    Now assemble a basis. Let u1​,…,ur​ be a basis of E1​ (r=rankA, possibly 0) and w1​,…,wn−r​ a basis of E0​. The combined list has n vectors, and it is independent: suppose

    c1​u1​+⋯+cr​ur​+d1​w1​+⋯+dn−r​wn−r​=0.

    Apply A: each Aui​=ui​ and each Awj​=0, so c1​u1​+⋯+cr​ur​=0, forcing every ci​=0 by independence of the u's. The original relation then reads d1​w1​+⋯+dn−r​wn−r​=0, forcing every dj​=0 likewise.

    So A has n linearly independent eigenvectors, and by the Diagonalization Theorem A is diagonalizable: A=PDP−1 with D=diag(1,…,1,0,…,0) containing r ones and n−r zeros. ■

    (This is the direct argument. Alternatively, (a) shows pA​ factors completely as ±λn−m(λ−1)m, and the rank–nullity count shows the geometric multiplicities sum to n, which is the diagonalizability criterion.)

    (c) Rank equals trace. By (b), A is similar to D, and similar matrices have the same trace (the characteristic polynomial, whose λn−1 coefficient carries the trace, is a similarity invariant). Hence

    trA=trD=r1+⋯+1​​+n−r0+⋯+0​​=r=rankA. ■

    Equivalently: the trace is the sum of the eigenvalues with algebraic multiplicity, each eigenvalue is 0 or 1, and the multiplicity of 1 is dimE1​=rankA because A is diagonalizable.

    Example: A=21​(11​11​) has A2=41​(22​22​)=A ✓. Its rank is 1 (the two columns are equal) and its trace is 21​+21​=1 ✓. Geometrically it is the orthogonal projection onto the line y=x: E1​=span{(1,1)} is the line projected onto, and E0​=span{(1,−1)} is the direction that is flattened.

  12. 12.Proof

    Let 0≤a,b≤1 and let

    P=(1−aa​b1−b​),

    so that P is the general 2×2 column-stochastic matrix: each step, a fraction a of state 1 moves to state 2 and a fraction b of state 2 moves to state 1.

    1. (a)Show that the eigenvalues of P are 1 and 1−a−b, with eigenvectors (b,a) and (1,−1) respectively, and check the pair against the trace and determinant. Assuming a+b>0, write down the steady-state vector q.
    2. (b)Prove that for every probability vector x0​,

      xk​=Pkx0​=q+(1−a−b)k(x0​−q),

      and deduce exactly which values of (a,b) make every chain converge to q. Describe what the chain does for each of the excluded cases.
    3. (c)Apply the result to a=103​, b=101​ and x0​=(1,0): give q, the exact formula for xk​, and the smallest k for which the distance from xk​ to q is less than one tenth of the distance from x0​ to q.

    Solution

    (a) Eigenpairs by direct verification. Multiply:

    P(ba​)=((1−a)b+baab+(1−b)a​)=(ba​),P(1−1​)=(1−a−ba−1+b​)=(1−a−b)(1−1​).

    When a+b>0 the vector (b,a) is nonzero, so 1 is an eigenvalue with eigenvector (b,a); and (1,−1)=0 always, so 1−a−b is an eigenvalue with eigenvector (1,−1). (If a=b=0 then P=I and 1−a−b=1; the eigenvalue 1 is repeated with E1​=R2, and the statement still holds.) A 2×2 matrix has exactly two eigenvalues with multiplicity, so this is the complete list.

    Checks: trP=2−a−b=1+(1−a−b) ✓ and detP=(1−a)(1−b)−ab=1−a−b=1⋅(1−a−b) ✓.

    The steady state is the eigenvector for 1 scaled so that its entries sum to 1:

    q=a+b1​(ba​).

    (b) Convergence. Let x0​ be a probability vector. The entries of x0​ sum to 1 and so do those of q, so the entries of x0​−q sum to 0: writing x0​−q=(s,t) with s+t=0 gives x0​−q=s(1,−1), a multiple of the second eigenvector. Therefore, using Pkq=q and Pk(1,−1)=(1−a−b)k(1,−1) (the rule Akv=λkv for an eigenpair),

    xk​=Pkx0​=Pkq+Pk(x0​−q)=q+s(1−a−b)k(1,−1)=q+(1−a−b)k(x0​−q). ■

    The second term tends to 0 for every x0​ if and only if ∣1−a−b∣<1, i.e. −1<1−a−b<1, i.e.

    0<a+b<2.

    (If 1−a−b=±1 the term s(1−a−b)k does not tend to 0 whenever s=0, i.e. whenever x0​=q.) Since 0≤a,b≤1, the excluded cases are exactly a=b=0 and a=b=1:

    a=b=0: P=I, nobody ever moves, every probability vector is a steady state, and xk​=x0​ for all k. The steady state is not unique.

    a=b=1: P=(01​10​) swaps the two states every step; 1−a−b=−1 has modulus 1, and xk​ alternates between x0​ and Px0​ forever. The steady state q=(21​,21​) exists but is approached by nothing except itself. In both cases P is not regular: no power of I or of the swap matrix has all entries positive, which is what the Perron–Frobenius theorem requires.

    Convergence is geometric with ratio ∣1−a−b∣, the modulus of the second eigenvalue — the smaller it is, the faster the chain forgets its starting point.

    (c) A concrete chain. With a=103​, b=101​:

    P=(107​103​​101​109​​),q=104​1​(101​103​​)=(41​43​​),1−a−b=53​.

    Check: Pq=(407​+403​,403​+4027​)=(41​,43​)=q ✓, and all entries of P are positive, so P is regular.

    With x0​=(1,0), x0​−q=(43​,−43​), so

    xk​=(41​+43​(53​)k43​−43​(53​)k​).

    Check at k=1: (41​+209​,43​−209​)=(107​,103​), which is the first column of P, i.e. P(1,0) ✓.

    The distance to q is multiplied by exactly 53​ each step, so we need the smallest k with (53​)k<101​. Now (53​)4=62581​=0.1296>0.1 while (53​)5=3125243​=0.07776<0.1, so k=5. After five steps the chain is within 3125243​ of its initial gap: x5​=(41​+12500729​,43​−12500729​), about (0.308,0.692).

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout