Linear-Algebra-Done-Right ยท Unit 12 ยท Video 1 ยท Interactive Practice
Upper-Triangular Matrices and Invariant Spans
IKey Formulas
Formula
Name
Hypotheses
Tvkโ=A1,kโv1โ+โฏ+An,kโvnโ
Column k of M(T) holds the coordinates of Tvkโ
V finite-dimensional, TโL(V), v1โ,โฆ,vnโ a basis of V
Aj,kโ=0 whenever j>k
Upper triangular: at least 2n(nโ1)โ of the n2 entries are 0
M(T) is n-by-n
M(T) upper triangular โบspan(v1โ,โฆ,vkโ) invariant under T for each kโบTvkโโspan(v1โ,โฆ,vkโ) for each k
Conditions for an upper-triangular matrix
TโL(V), v1โ,โฆ,vnโ a basis of V, k=1,โฆ,n
Tv=ฮปv, basis v,v2โ,โฆ,vnโโ column 1 is (ฮป,0,โฆ,0)
An eigenvector first clears column 1 below the diagonal
V finite-dimensional, v๎ =0; such v exists when F=C and V๎ ={0}
Key Insight: Being upper triangular is a property of T together with an ordered basis. The theorem turns it into n vector checks: Tvkโ may use only v1โ,โฆ,vkโ.
IIAn Eigenvector First Clears Column 1
On R2, M(T,(v1โ,v2โ)) is upper triangular exactly when Tv1โโspan(v1โ), that is, when v1โ is an eigenvector.
๐ก Challenge: find the two lines through the origin on which v1โ makes A2,1โ=0 for T(x,y)=(x+y,2y). For the rotation there is none: over R it has no eigenvalue.
IIIHow Many Entries Must Be Zero
Row j of an n-by-n upper-triangular matrix has jโ1 forced zeros, so 2n(nโ1)โ in all.
IVSame Vectors, Different Order
For T(x,y,z)=(2x+y,ย 5y+3z,ย 8z), only one of the six orders of e1โ,e2โ,e3โ gives an upper-triangular matrix.
VQuiz Questions
Problem 1 ยท Differentiation, Basis Reversed
Given:DโL(P2โ(R)) defined by Dp=pโฒ, and the basis x2,x,1 of P2โ(R) โ findM(D,(x2,x,1)) and decide whether it is upper triangular.
What is the matrix?
Is it upper triangular?
โ Correct! Reversing the basis turns the upper-triangular M(D,(1,x,x2)) into a matrix with 2 and 1 below the diagonal: the check Dv1โโspan(v1โ) already fails.
โ That is the matrix for the basis 1,x,x2. With v1โ=x2, column 1 holds the coordinates of Dx2=2x in the list x2,x,1, namely (0,2,0).
โ The coordinates went into rows. The coordinates of Dvkโ fill columnk: column 1 is (0,2,0) because Dx2=2x.
โ Check the coefficients.Dx2=2x gives a 2 in the x-slot of column 1, and Dx=1 gives a 1 in the 1-slot of column 2.
โ Not quite. Write Dx2, Dx, D1 in terms of x2,x,1 and stand the coordinate lists side by side as columns.
โ The zeros must be below the diagonal. Upper triangular means Aj,kโ=0 for j>k; here A2,1โ=2 and A3,2โ=1.
โ The basis order matters. Upper triangularity belongs to D together with an ordered basis; in the order x2,x,1 the first check Dx2โspan(x2) fails.
โ The diagonal may be anything. Diagonal entries, including 0, are unrestricted; the matrix fails because A2,1โ=2๎ =0.
โ Not quite. Apply condition (3) at k=1: is Dx2 a multiple of x2?
Show solution
Write each image in the basis v1โ=x2, v2โ=x, v3โ=1:
The entries A2,1โ=2 and A3,2โ=1 lie below the diagonal, so the matrix is not upper triangular. Condition (3) fails at k=1: Dx2=2xโ/span(x2), so span(x2) is not invariant.
In the order 1,x,x2 every check passes (D1=0, Dx=1, Dx2=2x), and the invariant spans are span(1), span(1,x), P2โ(R): differentiation never raises degree.
Problem 2 ยท Choosing the Order
Given:TโL(F3), T(x,y,z)=(3x,ย x+2y,ย y+z) โ find the order of e1โ,e2โ,e3โ in which M(T) is upper triangular.
โ Correct!Te3โ=e3โ, Te2โ=2e2โ+e3โ, Te1โ=3e1โ+e2โ: each image uses only the current and earlier basis vectors.
โ The standard order fails at k=1.Te1โ=(3,1,0)=3e1โ+e2โโ/span(e1โ); the standard matrix has the entries 1 and 1 below its diagonal.
โ This fails at k=1.Te2โ=(0,2,1)=2e2โ+e3โโ/span(e2โ).
โ This passes k=1 but fails at k=2.Te1โ=3e1โ+e2โโ/span(e3โ,e1โ).
โ Not quite. Check Tvkโโspan(v1โ,โฆ,vkโ) for k=1,2,3.
By condition (3), Te1โ uses e2โ, so e2โ must come before e1โ; Te2โ uses e3โ, so e3โ must come before e2โ. The only order satisfying both is e3โ,e2โ,e1โ, and then
The invariant spans are span(e3โ) (the z-axis) and span(e3โ,e2โ) (the y-z plane).
Problem 3 ยท A Basis Off the Axes
Given:TโL(R3), T(x,y,z)=(y,ย x,ย x+y+2z), and the basis v1โ=(1,1,0), v2โ=(1,โ1,0), v3โ=(0,0,1) โ findM(T,(v1โ,v2โ,v3โ)) and which spans are invariant.
What is the matrix?
Which statement is true?
โ Correct!Tv1โ=v1โ+2v3โ leaves the plane span(v1โ,v2โ), so neither span is invariant, even though Tv2โโspan(v1โ,v2โ).
โ The coordinates went into rows.Tv1โ=v1โ+2v3โ fills column1 with (1,0,2); this transposed matrix only looks upper triangular.
โ That is the matrix in the standard basis. In the basis v1โ,v2โ,v3โ, column k holds the coordinates of Tvkโ in terms of v1โ,v2โ,v3โ.
โ Check Tv2โ.T(1,โ1,0)=(โ1,1,0)=โv2โ, so A2,2โ=โ1.
โ Not quite. Compute Tv1โ, Tv2โ, Tv3โ and write each as a combination of v1โ,v2โ,v3โ.
โ Check k=1.Tv1โ=(1,1,2) is not a multiple of v1โ=(1,1,0).
โ Invariance needs every vector of the span.Tv2โโspan(v1โ,v2โ) is not enough: v1โ is in the span too, and Tv1โ=(1,1,2) has third coordinate 2, so it is not.
โ Check k=1.Tv1โ=(1,1,2)=v1โ+2v3โ is not in span(v1โ).
โ Not quite. A span is invariant only if T maps every vector in it, in particular each vjโ with jโคk, back into it.
Show solution
Images of the basis vectors, written in the basis:
The entry A3,1โ=2 lies below the diagonal, so the matrix is not upper triangular.
span(v1โ): Tv1โโ/span(v1โ), so it is not invariant. span(v1โ,v2โ) is the plane z=0, and v1โ lies in it while Tv1โ=(1,1,2) does not, so it is not invariant either. Condition (3) holds at k=2 (since Tv2โ=โv2โ), yet condition (2) fails at k=2: the two conditions agree as statements about allk at once, not k by k.
Problem 4 ยท Reorder to Repair
Given: the operator T(x,y,z)=(y,ย x,ย x+y+2z) of Problem 3 and the same three vectors (1,1,0), (1,โ1,0), (0,0,1) โ find an order of them that makes M(T) upper triangular.
โ Correct!(1,โ1,0) and (0,0,1) are each sent to multiples of themselves, and T(1,1,0)=(1,1,0)+2(0,0,1) uses only itself and an earlier vector.
โ This fails at k=1.T(1,1,0)=(1,1,2) is not a multiple of (1,1,0).
โ This passes k=1 but fails at k=2.T(1,1,0)=(1,1,0)+2(0,0,1) needs (0,0,1), which comes later: an eigenvector first is not enough by itself.
โ The order is a free choice. Problem 3's order fails, but upper triangularity depends on the order: place (0,0,1) before (1,1,0).
โ Not quite. Check Tvkโโspan(v1โ,โฆ,vkโ) for each k.
Show solution
Write a=(1,1,0), b=(1,โ1,0), c=(0,0,1). From Problem 3:
Ta=a+2c,Tb=โb,Tc=2c.
Condition (3) holds automatically for b and c wherever they sit, since each image is a multiple of the vector itself. For a, the image uses c, so c must come before a. The order b,c,a does this:
M(T,(b,c,a))=โโ100โ020โ021โโ.
The orders c,a,b and c,b,a work as well; a,b,c and a,c,b fail at k=1, and b,a,c fails at k=2.