Linear-Algebra-Done-Right · Unit 13 · Video 6 · Interactive Practice

Commuting Operators Over C: One Upper-Triangular Basis

IKey Formulas

FormulaNameWhat it says
ST=TS⇒Sv=λvST = TS \Rightarrow Sv = \lambda v and Tv=μvTv = \mu v for some v≠0v \neq 0Common eigenvectorFor V≠{0}V \neq \{0\} finite-dimensional complex: TT maps E(λ,S)E(\lambda, S) into itself, and T∣E(λ,S)T|_{E(\lambda, S)} has an eigenvector
ST=TS⇒M(S)ST = TS \Rightarrow \mathcal{M}(S) and M(T)\mathcal{M}(T) upper triangular for one basisCommon upper-triangular basisInduction on dim⁡V\dim V: v1v_1 a common eigenvector, V=span⁡(v1)⊕WV = \operatorname{span}(v_1) \oplus W, P(av1+w)=wP(av_1 + w) = w, then S^w=P(Sw)\hat{S}w = P(Sw) and T^w=P(Tw)\hat{T}w = P(Tw) commute on WW
M(S+T)k,k=M(S)k,k+M(T)k,k\mathcal{M}(S + T)_{k,k} = \mathcal{M}(S)_{k,k} + \mathcal{M}(T)_{k,k},  M(ST)k,k=M(S)k,k M(T)k,k\ \mathcal{M}(ST)_{k,k} = \mathcal{M}(S)_{k,k}\,\mathcal{M}(T)_{k,k}Eigenvalues of S+TS + T and STSTIn the common basis every eigenvalue of S+TS + T is λ+μ\lambda + \mu, and every eigenvalue of STST is λμ\lambda\mu, with λ\lambda, μ\mu in the same diagonal position kk

Key Insight: The pairing is by diagonal position. With M(S)=diag⁡(1,2)\mathcal{M}(S) = \operatorname{diag}(1, 2) and M(T)=diag⁡(10,20)\mathcal{M}(T) = \operatorname{diag}(10, 20), the eigenvalues of S+TS + T are 1111 and 2222, while 1+20=211 + 20 = 21 is not one.

IIWithout ST=TSST = TS There Is No Rule

SS and TT each have only the eigenvalue 00, yet S+TS + T and STST can have nonzero eigenvalues unless they commute.

IIIBuilding the Common Upper-Triangular Basis on C3\mathbf{C}^3

For a commuting pair on C3\mathbf{C}^3, the proof's steps produce one basis making both matrices upper triangular.

Step 1 — An eigenspace of SS. The pair on C3\mathbf{C}^3:

S=(−133−353−335),T=(012−122−223),ST=TS=(−91113−111313−131315).S = \begin{pmatrix} -1 & 3 & 3 \\ -3 & 5 & 3 \\ -3 & 3 & 5 \end{pmatrix}, \quad T = \begin{pmatrix} 0 & 1 & 2 \\ -1 & 2 & 2 \\ -2 & 2 & 3 \end{pmatrix}, \quad ST = TS = \begin{pmatrix} -9 & 11 & 13 \\ -11 & 13 & 13 \\ -13 & 13 & 15 \end{pmatrix}.

Every row of S−2IS - 2I is (−3,3,3)(-3, 3, 3), so E(2,S)={x:x1=x2+x3}=span⁡(a,b)E(2, S) = \{x : x_1 = x_2 + x_3\} = \operatorname{span}(a, b) with a=(1,1,0)a = (1, 1, 0) and b=(1,0,1)b = (1, 0, 1).

💡 SS is diagonalizable but TT is not: (T−I)x=0(T - I)x = 0 only for x∈span⁡(1,1,0)x \in \operatorname{span}(1, 1, 0) and (T−3I)x=0(T - 3I)x = 0 only for x∈span⁡(1,1,1)x \in \operatorname{span}(1, 1, 1), so no diagonalizing basis serves both.

IVWhich Sums Are Eigenvalues?

Is every λ+μ\lambda + \mu an eigenvalue of S+TS + T, or only the pairs sharing a diagonal position?

VQuiz Questions

Problem 1 · A Common Eigenvector on C2\mathbf{C}^2

Given: S,T∈L(C2)S, T \in \mathcal{L}(\mathbf{C}^2) with S=(31−11)S = \begin{pmatrix} 3 & 1 \\ -1 & 1 \end{pmatrix} and T=(2−114)T = \begin{pmatrix} 2 & -1 \\ 1 & 4 \end{pmatrix}, which satisfy ST=TS=(71−15)ST = TS = \begin{pmatrix} 7 & 1 \\ -1 & 5 \end{pmatrix} — find a common eigenvector, then the eigenvalues of STST.

Which vector is an eigenvector of both S and T?

What are the eigenvalues of ST?

✅ Correct! S(1,−1)=2(1,−1)S(1, -1) = 2(1, -1) and T(1,−1)=3(1,−1)T(1, -1) = 3(1, -1), and ST=6I+NST = 6I + N with N2=0N^2 = 0 has only the eigenvalue 2⋅3=62 \cdot 3 = 6.
❌ Check SS first. S(1,1)=(4,0)S(1, 1) = (4, 0), which is not a multiple of (1,1)(1, 1).
❌ Check SS first. S(1,0)=(3,−1)S(1, 0) = (3, -1), which is not a multiple of (1,0)(1, 0).
❌ Diagonalizability is not needed. ST=TSST = TS on a complex space already guarantees a common eigenvector; neither operator has to be diagonalizable.
❌ Not quite. Look inside the eigenspace of SS.
❌ That is S+TS + T. Here S+T=5IS + T = 5I; the question asks for STST, whose eigenvalues are products λμ\lambda\mu.
❌ Those are the eigenvalues of SS and of TT separately. The eigenvalue of STST is the product of the diagonal entries in one position of the common upper-triangular basis.
❌ The diagonal only counts in an upper-triangular matrix. In the standard basis ST=(71−15)ST = \begin{pmatrix} 7 & 1 \\ -1 & 5 \end{pmatrix} is not upper triangular, and ST−7I=(01−1−2)ST - 7I = \begin{pmatrix} 0 & 1 \\ -1 & -2 \end{pmatrix} is invertible.
❌ Not quite. Write SS and TT in terms of N=S−2IN = S - 2I.
Show solution

Let N=S−2I=(11−1−1)N = S - 2I = \begin{pmatrix} 1 & 1 \\ -1 & -1 \end{pmatrix}. Then N2=0N^2 = 0, S=2I+NS = 2I + N and T=3I−NT = 3I - N.

Eigenvalues of SS and TT. If Sv=λvSv = \lambda v with v≠0v \neq 0, then Nv=(λ−2)vNv = (\lambda - 2)v, so 0=N2v=(λ−2)2v0 = N^2 v = (\lambda - 2)^2 v and λ=2\lambda = 2. Likewise TT has only the eigenvalue 33.

Common eigenvector. E(2,S)=null⁡N=span⁡((1,−1))E(2, S) = \operatorname{null} N = \operatorname{span}\big((1, -1)\big), and

S(1,−1)=(2,−2)=2(1,−1),T(1,−1)=(3,−3)=3(1,−1).S(1, -1) = (2, -2) = 2(1, -1), \qquad T(1, -1) = (3, -3) = 3(1, -1).

Neither operator is diagonalizable (each eigenspace is one-dimensional), yet (1,−1)(1, -1) is a common eigenvector.

Eigenvalues of STST. ST=(2I+N)(3I−N)=6I+N−N2=6I+NST = (2I + N)(3I - N) = 6I + N - N^2 = 6I + N. If STv=λvSTv = \lambda v with v≠0v \neq 0, then Nv=(λ−6)vNv = (\lambda - 6)v and (λ−6)2v=0(\lambda - 6)^2 v = 0, so λ=6=2⋅3\lambda = 6 = 2 \cdot 3. In the basis (1,−1),(1,0)(1, -1), (1, 0) both matrices are upper triangular, with diagonals 2,22, 2 and 3,33, 3, and the diagonal of M(ST)\mathcal{M}(ST) is 6,66, 6.

Problem 2 · A Pair That Does Not Commute

Given: S=(1101)S = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} and T=(1011)T = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix} on C2\mathbf{C}^2; each has 11 as its only eigenvalue — find the eigenvalues of S+TS + T.

✅ Correct! (S+T)(1,1)=3(1,1)(S + T)(1, 1) = 3(1, 1) and (S+T)(1,−1)=(1,−1)(S + T)(1, -1) = (1, -1); neither 33 nor 11 equals 1+11 + 1, which is allowed because ST≠TSST \neq TS.
❌ The theorem needs ST=TSST = TS. Here ST=(2111)ST = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix} and TS=(1112)TS = \begin{pmatrix} 1 & 1 \\ 1 & 2 \end{pmatrix} differ, so nothing ties the eigenvalues of S+TS + T to 1+11 + 1.
❌ Those belong to STST. ST=(2111)ST = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix} is the product; the question asks for the sum S+T=(2112)S + T = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}.
❌ Test them. S+T−2I=(0110)S + T - 2I = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} and S+TS + T are both invertible, so neither 22 nor 00 is an eigenvalue.
Show solution

SS and TT. (S−I)2=0(S - I)^2 = 0, so Sv=λvSv = \lambda v with v≠0v \neq 0 gives (λ−1)2v=0(\lambda - 1)^2 v = 0 and λ=1\lambda = 1; the same holds for TT.

The sum. S+T=(2112)S + T = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}, and

(S+T)(1,1)=(3,3)=3(1,1),(S+T)(1,−1)=(1,−1).(S + T)(1, 1) = (3, 3) = 3(1, 1), \qquad (S + T)(1, -1) = (1, -1).

With respect to the basis (1,1),(1,−1)(1, 1), (1, -1) the matrix of S+TS + T is diag⁡(3,1)\operatorname{diag}(3, 1), so its eigenvalues are exactly 33 and 11.

Why no contradiction. ST=(2111)≠(1112)=TSST = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix} \neq \begin{pmatrix} 1 & 1 \\ 1 & 2 \end{pmatrix} = TS. The rule "every eigenvalue of S+TS + T is λ+μ\lambda + \mu" is proved only for commuting operators, and this pair shows it can fail without that hypothesis.

Problem 3 · One Basis for Both, Then STST

Given: commuting operators S,T∈L(C3)S, T \in \mathcal{L}(\mathbf{C}^3) — find a basis giving both upper-triangular matrices, then the eigenvalues of STST.

S=(200120013),T=(−4000−4011−3)S = \begin{pmatrix} 2 & 0 & 0 \\ 1 & 2 & 0 \\ 0 & 1 & 3 \end{pmatrix}, \qquad T = \begin{pmatrix} -4 & 0 & 0 \\ 0 & -4 & 0 \\ 1 & 1 & -3 \end{pmatrix}

Which basis makes both matrices upper triangular?

What are the eigenvalues of ST?

✅ Correct! Reversing the basis turns both lower-triangular matrices upper triangular, with diagonals 3,2,23, 2, 2 and −3,−4,−4-3, -4, -4, so STST has eigenvalues −9-9 and −8-8.
❌ Those matrices are lower triangular. Se1=2e1+e2Se_1 = 2e_1 + e_2 has a component along e2e_2, so Se1∉span⁡(e1)Se_1 \notin \operatorname{span}(e_1).
❌ Check the second vector. Se1=2e1+e2Se_1 = 2e_1 + e_2, and e2e_2 is not in span⁡(e3,e1)\operatorname{span}(e_3, e_1).
❌ Check the first vector. Se2=2e2+e3Se_2 = 2e_2 + e_3 is not a multiple of e2e_2, so e2e_2 cannot come first.
❌ Not quite. The first basis vector must be a common eigenvector.
❌ Not every product counts. Only λμ\lambda\mu with λ\lambda and μ\mu in the same diagonal position: −6=2⋅(−3)-6 = 2 \cdot (-3) and −12=3⋅(−4)-12 = 3 \cdot (-4) pair different positions.
❌ Those are the eigenvalues of S+TS + T. The diagonal of M(S+T)\mathcal{M}(S + T) is 0,−2,−20, -2, -2; for STST multiply the diagonal entries instead.
❌ Those pair the wrong positions. 2⋅(−3)2 \cdot (-3) and 3⋅(−4)3 \cdot (-4) mix positions; the diagonal pairs are (3,−3)(3, -3) and (2,−4)(2, -4).
❌ Not quite. Multiply the diagonals position by position.
Show solution

Commuting. T=S2−4ST = S^2 - 4S, so ST=TS=(−800−4−803−1−9)ST = TS = \begin{pmatrix} -8 & 0 & 0 \\ -4 & -8 & 0 \\ 3 & -1 & -9 \end{pmatrix}. SS is not diagonalizable: (S−2I)x=0(S - 2I)x = 0 forces x1=0x_1 = 0 and x2=−x3x_2 = -x_3, a one-dimensional space.

The basis. Use the span condition with v1,v2,v3=e3,e2,e1v_1, v_2, v_3 = e_3, e_2, e_1:

  • Se3=3e3Se_3 = 3e_3 and Te3=−3e3Te_3 = -3e_3: both in span⁡(e3)\operatorname{span}(e_3).
  • Se2=2e2+e3Se_2 = 2e_2 + e_3 and Te2=−4e2+e3Te_2 = -4e_2 + e_3: both in span⁡(e3,e2)\operatorname{span}(e_3, e_2).
  • Se1Se_1 and Te1Te_1 lie in span⁡(e3,e2,e1)=C3\operatorname{span}(e_3, e_2, e_1) = \mathbf{C}^3.
M(S)=(310021002),M(T)=(−3110−4000−4).\mathcal{M}(S) = \begin{pmatrix} 3 & 1 & 0 \\ 0 & 2 & 1 \\ 0 & 0 & 2 \end{pmatrix}, \qquad \mathcal{M}(T) = \begin{pmatrix} -3 & 1 & 1 \\ 0 & -4 & 0 \\ 0 & 0 & -4 \end{pmatrix}.

The order e1,e2,e3e_1, e_2, e_3 fails because Se1=2e1+e2Se_1 = 2e_1 + e_2; the orders e3,e1,e2e_3, e_1, e_2 and e2,e1,e3e_2, e_1, e_3 fail at Se1Se_1 and Se2Se_2 respectively.

Eigenvalues of STST. M(ST)=M(S)M(T)\mathcal{M}(ST) = \mathcal{M}(S)\mathcal{M}(T) is upper triangular with diagonal

3⋅(−3)=−9,2⋅(−4)=−8,2⋅(−4)=−8,3 \cdot (-3) = -9, \qquad 2 \cdot (-4) = -8, \qquad 2 \cdot (-4) = -8,

so the eigenvalues of STST are −9-9 and −8-8.

Problem 4 · Differentiation and a Shift on P2(C)\mathcal{P}_2(\mathbf{C})

Given: on P2(C)\mathcal{P}_2(\mathbf{C}), Dp=p′Dp = p' and (Tp)(x)=p(x+1)(Tp)(x) = p(x + 1). Both are linear and DT=TDDT = TD, since ddx p(x+1)=p′(x+1)\frac{d}{dx}\,p(x + 1) = p'(x + 1) — find the common eigenvectors, then the eigenvalues of D+TD + T.

Which polynomials are common eigenvectors of D and T?

What are the eigenvalues of D + T?

✅ Correct! In the basis 1,x,x21, x, x^2 both matrices are upper triangular with diagonals 0,0,00, 0, 0 and 1,1,11, 1, 1, so D+TD + T has only the eigenvalue 0+1=10 + 1 = 1.
❌ xx is an eigenvector of neither. Dx=1∉span⁡(x)Dx = 1 \notin \operatorname{span}(x) and Tx=x+1∉span⁡(x)Tx = x + 1 \notin \operatorname{span}(x).
❌ Check TT. T(1+x)=2+xT(1 + x) = 2 + x, which is not a multiple of 1+x1 + x.
❌ Check DD. Dx2=2xDx^2 = 2x, which is not a multiple of x2x^2.
❌ Not quite. Find the eigenvectors of DD first.
❌ That is the eigenvalue of DD alone. TT contributes its eigenvalue 11 in every diagonal position.
❌ That lists the eigenvalues of DD and TT. The eigenvalues of D+TD + T are diagonal sums 0+10 + 1; 00 itself is not one, since (D+T)p=0(D + T)p = 0 forces p=0p = 0.
❌ Over C\mathbf{C} every operator has an eigenvalue. P2(C)\mathcal{P}_2(\mathbf{C}) is finite-dimensional and nonzero, so D+TD + T has one.
❌ Not quite. Add the diagonals in the basis 1,x,x21, x, x^2.
Show solution

Matrices. With respect to 1,x,x21, x, x^2: D1=0D1 = 0, Dx=1Dx = 1, Dx2=2xDx^2 = 2x, and T1=1T1 = 1, Tx=1+xTx = 1 + x, Tx2=1+2x+x2Tx^2 = 1 + 2x + x^2, so

M(D)=(010002000),M(T)=(111012001).\mathcal{M}(D) = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{pmatrix}, \qquad \mathcal{M}(T) = \begin{pmatrix} 1 & 1 & 1 \\ 0 & 1 & 2 \\ 0 & 0 & 1 \end{pmatrix}.

Common eigenvectors. D3=0D^3 = 0, so Dp=λpDp = \lambda p with p≠0p \neq 0 gives λ3p=0\lambda^3 p = 0 and λ=0\lambda = 0; then p′=0p' = 0 and pp is a nonzero constant. Every nonzero constant cc satisfies Dc=0Dc = 0 and Tc=cTc = c, so the common eigenvectors are exactly the nonzero constants. Neither operator is diagonalizable.

Eigenvalues of D+TD + T. Both matrices are upper triangular in the same basis, so M(D+T)\mathcal{M}(D + T) is upper triangular with diagonal 0+1,0+1,0+10 + 1, 0 + 1, 0 + 1. Its diagonal entries are its eigenvalues, so 11 is the only eigenvalue of D+TD + T.

Solved: 0 / 4