Problem 1. Let V = R 3 V = \mathbb{R}^3 V = R 3 and W = { ( x , y , z ) ∈ R 3 : x − y + z = 0 } W = \{(x, y, z) \in \mathbb{R}^3 : x - y + z = 0\} W = {( x , y , z ) ∈ R 3 : x − y + z = 0 } . Show that W W W is a subspace of V V V and find its dimension.
Solution W W W is non-empty since 0 = ( 0 , 0 , 0 ) ∈ W \mathbf{0} = (0, 0, 0) \in W 0 = ( 0 , 0 , 0 ) ∈ W . If ( x 1 , y 1 , z 1 ) , ( x 2 , y 2 , z 2 ) ∈ W (x_1, y_1, z_1), (x_2, y_2, z_2) \in W ( x 1 , y 1 , z 1 ) , ( x 2 , y 2 , z 2 ) ∈ W Then ( x 1 − y 1 + z 1 ) + ( x 2 − y 2 + z 2 ) = 0 + 0 = 0 (x_1 - y_1 + z_1) + (x_2 - y_2 + z_2) = 0 + 0 = 0 ( x 1 − y 1 + z 1 ) + ( x 2 − y 2 + z 2 ) = 0 + 0 = 0 So their sum is in W W W . Similarly, α ( x − y + z ) = 0 \alpha(x - y + z) = 0 α ( x − y + z ) = 0 for any scalar α \alpha α . Hence W W W is a subspace.
W W W is defined by one linear equation, so dim ( W ) = 3 − 1 = 2 \dim(W) = 3 - 1 = 2 dim ( W ) = 3 − 1 = 2 . A basis is { ( 1 , 1 , 0 ) , ( − 1 , 0 , 1 ) } \{(1, 1, 0), (-1, 0, 1)\} {( 1 , 1 , 0 ) , ( − 1 , 0 , 1 )} .
If you get this wrong, revise: Section 1.3 (Subspace Criterion).
Problem 2. Is the set S = { ( x , y ) ∈ R 2 : x y = 0 } S = \{(x, y) \in \mathbb{R}^2 : xy = 0\} S = {( x , y ) ∈ R 2 : x y = 0 } a subspace of R 2 \mathbb{R}^2 R 2 ?
Solution No. ( 1 , 0 ) ∈ S (1, 0) \in S ( 1 , 0 ) ∈ S and ( 0 , 1 ) ∈ S (0, 1) \in S ( 0 , 1 ) ∈ S But ( 1 , 0 ) + ( 0 , 1 ) = ( 1 , 1 ) ∉ S (1, 0) + (0, 1) = (1, 1) \notin S ( 1 , 0 ) + ( 0 , 1 ) = ( 1 , 1 ) ∈ / S since 1 ⋅ 1 ≠ 0 1 \cdot 1 \neq 0 1 ⋅ 1 = 0 . S S S is not closed under addition.
If you get this wrong, revise: Section 1.3 (Subspace Criterion).
Problem 3. Determine whether the set { 1 − x , 1 + x , x 2 } \{1 - x, 1 + x, x^2\} { 1 − x , 1 + x , x 2 } is linearly independent in P 2 ( R ) \mathcal{P}_2(\mathbb{R}) P 2 ( R ) .
Solution Suppose a ( 1 − x ) + b ( 1 + x ) + c x 2 = 0 a(1 - x) + b(1 + x) + cx^2 = 0 a ( 1 − x ) + b ( 1 + x ) + c x 2 = 0 as a polynomial. Then ( a + b ) + ( − a + b ) x + c x 2 = 0 (a + b) + (-a + b)x + cx^2 = 0 ( a + b ) + ( − a + b ) x + c x 2 = 0 So a + b = 0 a + b = 0 a + b = 0 , − a + b = 0 -a + b = 0 − a + b = 0 , c = 0 c = 0 c = 0 . From the first two equations: 2 a = 0 2a = 0 2 a = 0 So a = 0 a = 0 a = 0 Then b = 0 b = 0 b = 0 . Since a = b = c = 0 a = b = c = 0 a = b = c = 0 The set is linearly independent.
If you get this wrong, revise: Section 2.1 (Linear Independence).
Problem 4. Find a basis for the column space of
A = ( 1 2 1 4 2 4 0 6 3 6 1 10 ) A = \begin{pmatrix} 1 & 2 & 1 & 4 \\ 2 & 4 & 0 & 6 \\ 3 & 6 & 1 & 10 \end{pmatrix} A = 1 2 3 2 4 6 1 0 1 4 6 10
Solution Row-reduce A A A :
( 1 2 1 4 2 4 0 6 3 6 1 10 ) → R 2 − 2 R 1 , R 3 − 3 R 1 ( 1 2 1 4 0 0 − 2 − 2 0 0 − 2 − 2 ) → R 3 − R 2 ( 1 2 1 4 0 0 − 2 − 2 0 0 0 0 ) \begin{pmatrix} 1 & 2 & 1 & 4 \\ 2 & 4 & 0 & 6 \\ 3 & 6 & 1 & 10 \end{pmatrix} \xrightarrow{R_2 - 2R_1, R_3 - 3R_1} \begin{pmatrix} 1 & 2 & 1 & 4 \\ 0 & 0 & -2 & -2 \\ 0 & 0 & -2 & -2 \end{pmatrix} \xrightarrow{R_3 - R_2} \begin{pmatrix} 1 & 2 & 1 & 4 \\ 0 & 0 & -2 & -2 \\ 0 & 0 & 0 & 0 \end{pmatrix} 1 2 3 2 4 6 1 0 1 4 6 10 R 2 − 2 R 1 , R 3 − 3 R 1 1 0 0 2 0 0 1 − 2 − 2 4 − 2 − 2 R 3 − R 2 1 0 0 2 0 0 1 − 2 0 4 − 2 0
Pivots are in columns 1 and 3. A basis for c o l ( A ) \mathrm{col}(A) col ( A ) is { ( 1 , 2 , 3 ) , ( 1 , 0 , 1 ) } \{(1, 2, 3), (1, 0, 1)\} {( 1 , 2 , 3 ) , ( 1 , 0 , 1 )} (the pivot columns of the original A A A ). dim ( c o l ( A ) ) = 2 \dim(\mathrm{col}(A)) = 2 dim ( col ( A )) = 2 .
If you get this wrong, revise: Section 2.7 (Worked Examples).
Problem 5. Let U = s p a n { ( 1 , 0 , 1 ) , ( 0 , 1 , 1 ) } U = \mathrm{span}\{(1, 0, 1), (0, 1, 1)\} U = span {( 1 , 0 , 1 ) , ( 0 , 1 , 1 )} and W = s p a n { ( 1 , 1 , 0 ) } W = \mathrm{span}\{(1, 1, 0)\} W = span {( 1 , 1 , 0 )} in R 3 \mathbb{R}^3 R 3 . Verify the dimension formula dim ( U + W ) = dim ( U ) + dim ( W ) − dim ( U ∩ W ) \dim(U + W) = \dim(U) + \dim(W) - \dim(U \cap W) dim ( U + W ) = dim ( U ) + dim ( W ) − dim ( U ∩ W ) .
Solution dim ( U ) = 2 \dim(U) = 2 dim ( U ) = 2 (the two spanning vectors are linearly independent), dim ( W ) = 1 \dim(W) = 1 dim ( W ) = 1 . Since dim ( U ) + dim ( W ) = 3 = dim ( R 3 ) \dim(U) + \dim(W) = 3 = \dim(\mathbb{R}^3) dim ( U ) + dim ( W ) = 3 = dim ( R 3 ) We have U + W = R 3 U + W = \mathbb{R}^3 U + W = R 3 So dim ( U + W ) = 3 \dim(U + W) = 3 dim ( U + W ) = 3 . By the dimension formula: dim ( U ∩ W ) = 2 + 1 − 3 = 0 \dim(U \cap W) = 2 + 1 - 3 = 0 dim ( U ∩ W ) = 2 + 1 − 3 = 0 So U ∩ W = { 0 } U \cap W = \{\mathbf{0}\} U ∩ W = { 0 } .
We can verify directly: if a ( 1 , 0 , 1 ) + b ( 0 , 1 , 1 ) = c ( 1 , 1 , 0 ) a(1,0,1) + b(0,1,1) = c(1,1,0) a ( 1 , 0 , 1 ) + b ( 0 , 1 , 1 ) = c ( 1 , 1 , 0 ) Then a = c a = c a = c , b = c b = c b = c , a + b = 0 a + b = 0 a + b = 0 Giving c = 0 c = 0 c = 0 So only the zero vector is in the intersection.
If you get this wrong, revise: Section 2.5 (Dimension Formula).
Problem 6. Compute det ( A ) \det(A) det ( A ) using cofactor expansion where
A = ( 2 0 1 3 0 1 2 0 1 0 0 2 0 3 0 1 ) A = \begin{pmatrix} 2 & 0 & 1 & 3 \\ 0 & 1 & 2 & 0 \\ 1 & 0 & 0 & 2 \\ 0 & 3 & 0 & 1 \end{pmatrix} A = 2 0 1 0 0 1 0 3 1 2 0 0 3 0 2 1
Solution Expand along the second column (which has the most zeros):
det ( A ) = − 1 ⋅ det ( 2 1 3 1 0 2 0 0 1 ) + ( − 1 ) 4 + 2 ⋅ 3 ⋅ det ( 2 0 1 0 1 2 1 0 0 ) \det(A) = -1 \cdot \det\begin{pmatrix} 2 & 1 & 3 \\ 1 & 0 & 2 \\ 0 & 0 & 1 \end{pmatrix} + (-1)^{4+2} \cdot 3 \cdot \det\begin{pmatrix} 2 & 0 & 1 \\ 0 & 1 & 2 \\ 1 & 0 & 0 \end{pmatrix} det ( A ) = − 1 ⋅ det 2 1 0 1 0 0 3 2 1 + ( − 1 ) 4 + 2 ⋅ 3 ⋅ det 2 0 1 0 1 0 1 2 0
For the first 3 × 3 3 \times 3 3 × 3 : expand along row 3: 1 ⋅ ( 2 ⋅ 0 − 1 ⋅ 1 ) = − 1 1 \cdot (2 \cdot 0 - 1 \cdot 1) = -1 1 ⋅ ( 2 ⋅ 0 − 1 ⋅ 1 ) = − 1 .
For the second 3 × 3 3 \times 3 3 × 3 : expand along row 3: 1 ⋅ ( 0 ⋅ 2 − 1 ⋅ 1 ) = − 1 1 \cdot (0 \cdot 2 - 1 \cdot 1) = -1 1 ⋅ ( 0 ⋅ 2 − 1 ⋅ 1 ) = − 1 .
det ( A ) = − ( − 1 ) + 3 ( − 1 ) = 1 − 3 = − 2 \det(A) = -(-1) + 3(-1) = 1 - 3 = -2 det ( A ) = − ( − 1 ) + 3 ( − 1 ) = 1 − 3 = − 2 .
If you get this wrong, revise: Section 3.4 (Determinants).
Problem 7. Show that if A A A is skew-symmetric (A T = − A A^T = -A A T = − A ) and n n n is odd, then det ( A ) = 0 \det(A) = 0 det ( A ) = 0 .
Solution det ( A ) = det ( A T ) = det ( − A ) = ( − 1 ) n det ( A ) = − det ( A ) \det(A) = \det(A^T) = \det(-A) = (-1)^n \det(A) = -\det(A) det ( A ) = det ( A T ) = det ( − A ) = ( − 1 ) n det ( A ) = − det ( A ) (since n n n is odd). Therefore det ( A ) = − det ( A ) \det(A) = -\det(A) det ( A ) = − det ( A ) So 2 det ( A ) = 0 2\det(A) = 0 2 det ( A ) = 0 Giving det ( A ) = 0 \det(A) = 0 det ( A ) = 0 .
If you get this wrong, revise: Section 3.5 (Properties of Determinants).
Problem 8. Use the adjugate formula to find the inverse of
A = ( 2 0 1 1 1 0 0 1 3 ) A = \begin{pmatrix} 2 & 0 & 1 \\ 1 & 1 & 0 \\ 0 & 1 & 3 \end{pmatrix} A = 2 1 0 0 1 1 1 0 3
Solution det ( A ) = 2 ( 3 − 0 ) − 0 + 1 ( 1 − 0 ) = 6 + 1 = 7 \det(A) = 2(3 - 0) - 0 + 1(1 - 0) = 6 + 1 = 7 det ( A ) = 2 ( 3 − 0 ) − 0 + 1 ( 1 − 0 ) = 6 + 1 = 7 .
Cofactors: C 11 = + 3 C_{11} = +3 C 11 = + 3 , C 12 = − 3 C_{12} = -3 C 12 = − 3 , C 13 = + 1 C_{13} = +1 C 13 = + 1 C 21 = + 1 C_{21} = +1 C 21 = + 1 , C 22 = + 6 C_{22} = +6 C 22 = + 6 , C 23 = − 2 C_{23} = -2 C 23 = − 2 C 31 = − 1 C_{31} = -1 C 31 = − 1 , C 32 = + 1 C_{32} = +1 C 32 = + 1 , C 33 = + 2 C_{33} = +2 C 33 = + 2
a d j ( A ) = ( 3 1 − 1 − 3 6 1 1 − 2 2 ) \mathrm{adj}(A) = \begin{pmatrix} 3 & 1 & -1 \\ -3 & 6 & 1 \\ 1 & -2 & 2 \end{pmatrix} adj ( A ) = 3 − 3 1 1 6 − 2 − 1 1 2
A − 1 = 1 7 ( 3 1 − 1 − 3 6 1 1 − 2 2 ) A^{-1} = \frac{1}{7}\begin{pmatrix} 3 & 1 & -1 \\ -3 & 6 & 1 \\ 1 & -2 & 2 \end{pmatrix} A − 1 = 7 1 3 − 3 1 1 6 − 2 − 1 1 2
If you get this wrong, revise: Section 3.6 (Adjugate and Inverse Formula).
Problem 9. Solve the system by Gaussian elimination:
x + 2 y − z = 3 2 x + 5 y + z = 8 − x + y + 4 z = 2 \begin{aligned} x + 2y - z &= 3 \\ 2x + 5y + z &= 8 \\ -x + y + 4z &= 2 \end{aligned} x + 2 y − z 2 x + 5 y + z − x + y + 4 z = 3 = 8 = 2
Solution ( 1 2 − 1 3 2 5 1 8 − 1 1 4 2 ) → R 2 − 2 R 1 , R 3 + R 1 ( 1 2 − 1 3 0 1 3 2 0 3 3 5 ) \begin{pmatrix} 1 & 2 & -1 & 3 \\ 2 & 5 & 1 & 8 \\ -1 & 1 & 4 & 2 \end{pmatrix} \xrightarrow{R_2 - 2R_1, R_3 + R_1} \begin{pmatrix} 1 & 2 & -1 & 3 \\ 0 & 1 & 3 & 2 \\ 0 & 3 & 3 & 5 \end{pmatrix} 1 2 − 1 2 5 1 − 1 1 4 3 8 2 R 2 − 2 R 1 , R 3 + R 1 1 0 0 2 1 3 − 1 3 3 3 2 5
→ R 3 − 3 R 2 ( 1 2 − 1 3 0 1 3 2 0 0 − 6 − 1 ) \xrightarrow{R_3 - 3R_2} \begin{pmatrix} 1 & 2 & -1 & 3 \\ 0 & 1 & 3 & 2 \\ 0 & 0 & -6 & -1 \end{pmatrix} R 3 − 3 R 2 1 0 0 2 1 0 − 1 3 − 6 3 2 − 1
From row 3: − 6 z = − 1 -6z = -1 − 6 z = − 1 So z = 1 / 6 z = 1/6 z = 1/6 . From row 2: y + 3 ( 1 / 6 ) = 2 y + 3(1/6) = 2 y + 3 ( 1/6 ) = 2 So y = 3 / 2 y = 3/2 y = 3/2 . From row 1: x + 2 ( 3 / 2 ) − 1 / 6 = 3 x + 2(3/2) - 1/6 = 3 x + 2 ( 3/2 ) − 1/6 = 3 So x = 3 − 3 + 1 / 6 = 1 / 6 x = 3 - 3 + 1/6 = 1/6 x = 3 − 3 + 1/6 = 1/6 .
Solution: x = 1 / 6 x = 1/6 x = 1/6 , y = 3 / 2 y = 3/2 y = 3/2 , z = 1 / 6 z = 1/6 z = 1/6 .
If you get this wrong, revise: Section 4.1 (Gaussian Elimination).
Problem 10. Determine whether the following system is consistent using the Rouché—Capelli theorem:
x + y + z = 1 2 x + 2 y + 2 z = 3 x − y + z = 0 \begin{aligned} x + y + z &= 1 \\ 2x + 2y + 2z &= 3 \\ x - y + z &= 0 \end{aligned} x + y + z 2 x + 2 y + 2 z x − y + z = 1 = 3 = 0
Solution [ A ∣ b ] = ( 1 1 1 1 2 2 2 3 1 − 1 1 0 ) → R 2 − 2 R 1 , R 3 − R 1 ( 1 1 1 1 0 0 0 1 0 − 2 0 − 1 ) [A \mid \mathbf{b}] = \begin{pmatrix} 1 & 1 & 1 & 1 \\ 2 & 2 & 2 & 3 \\ 1 & -1 & 1 & 0 \end{pmatrix} \xrightarrow{R_2 - 2R_1, R_3 - R_1} \begin{pmatrix} 1 & 1 & 1 & 1 \\ 0 & 0 & 0 & 1 \\ 0 & -2 & 0 & -1 \end{pmatrix} [ A ∣ b ] = 1 2 1 1 2 − 1 1 2 1 1 3 0 R 2 − 2 R 1 , R 3 − R 1 1 0 0 1 0 − 2 1 0 0 1 1 − 1
r a n k ( A ) = 2 \mathrm{rank}(A) = 2 rank ( A ) = 2 but r a n k ( [ A ∣ b ] ) = 3 \mathrm{rank}([A \mid \mathbf{b}]) = 3 rank ([ A ∣ b ]) = 3 (the row [ 0 0 0 1 ] [0\ 0\ 0\ 1] [ 0 0 0 1 ] is Non-zero). Since r a n k ( A ) ≠ r a n k ( [ A ∣ b ] ) \mathrm{rank}(A) \neq \mathrm{rank}([A \mid \mathbf{b}]) rank ( A ) = rank ([ A ∣ b ]) The system is inconsistent.
If you get this wrong, revise: Section 4.2 (Rouché—Capelli Theorem).
Problem 11. Find the LU decomposition of
A = ( 1 2 − 1 2 5 0 − 1 0 3 ) A = \begin{pmatrix} 1 & 2 & -1 \\ 2 & 5 & 0 \\ -1 & 0 & 3 \end{pmatrix} A = 1 2 − 1 2 5 0 − 1 0 3
Solution m 21 = 2 / 1 = 2 m_{21} = 2/1 = 2 m 21 = 2/1 = 2 , m 31 = − 1 / 1 = − 1 m_{31} = -1/1 = -1 m 31 = − 1/1 = − 1 :
( 1 2 − 1 0 1 2 0 2 2 ) \begin{pmatrix} 1 & 2 & -1 \\ 0 & 1 & 2 \\ 0 & 2 & 2 \end{pmatrix} 1 0 0 2 1 2 − 1 2 2
m 32 = 2 / 1 = 2 m_{32} = 2/1 = 2 m 32 = 2/1 = 2 :
U = ( 1 2 − 1 0 1 2 0 0 − 2 ) , L = ( 1 0 0 2 1 0 − 1 2 1 ) U = \begin{pmatrix} 1 & 2 & -1 \\ 0 & 1 & 2 \\ 0 & 0 & -2 \end{pmatrix}, \quad L = \begin{pmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ -1 & 2 & 1 \end{pmatrix} U = 1 0 0 2 1 0 − 1 2 − 2 , L = 1 2 − 1 0 1 2 0 0 1
Verify: L U = ( 1 0 0 2 1 0 − 1 2 1 ) ( 1 2 − 1 0 1 2 0 0 − 2 ) = ( 1 2 − 1 2 5 0 − 1 0 3 ) = A LU = \begin{pmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ -1 & 2 & 1 \end{pmatrix}\begin{pmatrix} 1 & 2 & -1 \\ 0 & 1 & 2 \\ 0 & 0 & -2 \end{pmatrix} = \begin{pmatrix} 1 & 2 & -1 \\ 2 & 5 & 0 \\ -1 & 0 & 3 \end{pmatrix} = A LU = 1 2 − 1 0 1 2 0 0 1 1 0 0 2 1 0 − 1 2 − 2 = 1 2 − 1 2 5 0 − 1 0 3 = A . ■ \blacksquare ■
If you get this wrong, revise: Section 4.3 (LU Decomposition).
Problem 12. Find the least squares solution to the system A x = b A\mathbf{x} = \mathbf{b} A x = b where
A = ( 1 0 1 1 1 2 ) , b = ( 0 1 1 ) A = \begin{pmatrix} 1 & 0 \\ 1 & 1 \\ 1 & 2 \end{pmatrix}, \quad \mathbf{b} = \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} A = 1 1 1 0 1 2 , b = 0 1 1
Solution A T A = ( 3 3 3 5 ) A^T A = \begin{pmatrix} 3 & 3 \\ 3 & 5 \end{pmatrix} A T A = ( 3 3 3 5 ) , A T b = ( 2 3 ) A^T \mathbf{b} = \begin{pmatrix} 2 \\ 3 \end{pmatrix} A T b = ( 2 3 ) .
det ( A T A ) = 15 − 9 = 6 \det(A^T A) = 15 - 9 = 6 det ( A T A ) = 15 − 9 = 6 , ( A T A ) − 1 = 1 6 ( 5 − 3 − 3 3 ) (A^T A)^{-1} = \frac{1}{6}\begin{pmatrix} 5 & -3 \\ -3 & 3 \end{pmatrix} ( A T A ) − 1 = 6 1 ( 5 − 3 − 3 3 )
x ^ = 1 6 ( 5 − 3 − 3 3 ) ( 2 3 ) = 1 6 ( 10 − 9 − 6 + 9 ) = 1 6 ( 1 3 ) = ( 1 / 6 1 / 2 ) \hat{\mathbf{x}} = \frac{1}{6}\begin{pmatrix} 5 & -3 \\ -3 & 3 \end{pmatrix}\begin{pmatrix} 2 \\ 3 \end{pmatrix} = \frac{1}{6}\begin{pmatrix} 10 - 9 \\ -6 + 9 \end{pmatrix} = \frac{1}{6}\begin{pmatrix} 1 \\ 3 \end{pmatrix} = \begin{pmatrix} 1/6 \\ 1/2 \end{pmatrix} x ^ = 6 1 ( 5 − 3 − 3 3 ) ( 2 3 ) = 6 1 ( 10 − 9 − 6 + 9 ) = 6 1 ( 1 3 ) = ( 1/6 1/2 )
The least squares solution is a = 1 / 6 a = 1/6 a = 1/6 , b = 1 / 2 b = 1/2 b = 1/2 .
If you get this wrong, revise: Section 4.5 (Least Squares Solutions).
Problem 13. Find the eigenvalues and a basis for each eigenspace of
A = ( 2 1 0 0 2 1 0 0 2 ) A = \begin{pmatrix} 2 & 1 & 0 \\ 0 & 2 & 1 \\ 0 & 0 & 2 \end{pmatrix} A = 2 0 0 1 2 0 0 1 2
Is A A A diagonalisable?
Solution det ( A − λ I ) = ( 2 − λ ) 3 \det(A - \lambda I) = (2 - \lambda)^3 det ( A − λ I ) = ( 2 − λ ) 3 So λ = 2 \lambda = 2 λ = 2 with algebraic multiplicity 3.
A − 2 I = ( 0 1 0 0 0 1 0 0 0 ) A - 2I = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} A − 2 I = 0 0 0 1 0 0 0 1 0 Which has rank 2. The null space is spanned by ( 1 , 0 , 0 ) T (1, 0, 0)^T ( 1 , 0 , 0 ) T . So the geometric multiplicity is 1.
Since the geometric multiplicity (1) does not equal the algebraic multiplicity (3), A A A is not Diagonalisable. Its Jordan form is J = A J = A J = A itself (a single 3 × 3 3 \times 3 3 × 3 Jordan block).
If you get this wrong, revise: Section 5.3 (Diagonalisation) and Section 5.5 (Jordan Normal Form).
Problem 14. Diagonalise the matrix
A = ( 2 0 0 0 3 − 1 0 − 1 3 ) A = \begin{pmatrix} 2 & 0 & 0 \\ 0 & 3 & -1 \\ 0 & -1 & 3 \end{pmatrix} A = 2 0 0 0 3 − 1 0 − 1 3
Solution det ( A − λ I ) = ( 2 − λ ) [ ( 3 − λ ) 2 − 1 ] = ( 2 − λ ) ( λ 2 − 6 λ + 8 ) = ( 2 − λ ) ( λ − 2 ) ( λ − 4 ) \det(A - \lambda I) = (2 - \lambda)[(3-\lambda)^2 - 1] = (2-\lambda)(\lambda^2 - 6\lambda + 8) = (2-\lambda)(\lambda-2)(\lambda-4) det ( A − λ I ) = ( 2 − λ ) [( 3 − λ ) 2 − 1 ] = ( 2 − λ ) ( λ 2 − 6 λ + 8 ) = ( 2 − λ ) ( λ − 2 ) ( λ − 4 ) .
Eigenvalues: λ 1 = 2 \lambda_1 = 2 λ 1 = 2 (algebraic multiplicity 2), λ 2 = 4 \lambda_2 = 4 λ 2 = 4 (algebraic multiplicity 1).
For λ 1 = 2 \lambda_1 = 2 λ 1 = 2 : A − 2 I = ( 0 0 0 0 1 − 1 0 − 1 1 ) → ( 0 1 − 1 0 0 0 0 0 0 ) A - 2I = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & -1 \\ 0 & -1 & 1 \end{pmatrix} \to \begin{pmatrix} 0 & 1 & -1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} A − 2 I = 0 0 0 0 1 − 1 0 − 1 1 → 0 0 0 1 0 0 − 1 0 0 . Eigenspace basis: { ( 1 , 0 , 0 ) , ( 0 , 1 , 1 ) } \{(1, 0, 0), (0, 1, 1)\} {( 1 , 0 , 0 ) , ( 0 , 1 , 1 )} . Geometric multiplicity = 2.
For λ 2 = 4 \lambda_2 = 4 λ 2 = 4 : A − 4 I = ( − 2 0 0 0 − 1 − 1 0 − 1 − 1 ) → ( 1 0 0 0 1 1 0 0 0 ) A - 4I = \begin{pmatrix} -2 & 0 & 0 \\ 0 & -1 & -1 \\ 0 & -1 & -1 \end{pmatrix} \to \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{pmatrix} A − 4 I = − 2 0 0 0 − 1 − 1 0 − 1 − 1 → 1 0 0 0 1 0 0 1 0 . Eigenspace basis: { ( 0 , − 1 , 1 ) } \{(0, -1, 1)\} {( 0 , − 1 , 1 )} . Geometric multiplicity = 1.
Since 2 + 1 = 3 = n 2 + 1 = 3 = n 2 + 1 = 3 = n , A A A is diagonalisable:
P = ( 1 0 0 0 1 − 1 0 1 1 ) , D = ( 2 0 0 0 2 0 0 0 4 ) P = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & -1 \\ 0 & 1 & 1 \end{pmatrix}, \quad D = \begin{pmatrix} 2 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 4 \end{pmatrix} P = 1 0 0 0 1 1 0 − 1 1 , D = 2 0 0 0 2 0 0 0 4
If you get this wrong, revise: Section 5.3 (Diagonalisation).
Problem 15. Use the Cayley—Hamilton theorem to express A 3 A^3 A 3 as a linear combination of A 2 A^2 A 2 , A A A And I I I Where A = ( 1 2 − 1 3 ) A = \begin{pmatrix} 1 & 2 \\ -1 & 3 \end{pmatrix} A = ( 1 − 1 2 3 ) .
Solution det ( A − λ I ) = ( 1 − λ ) ( 3 − λ ) + 2 = λ 2 − 4 λ + 5 \det(A - \lambda I) = (1 - \lambda)(3 - \lambda) + 2 = \lambda^2 - 4\lambda + 5 det ( A − λ I ) = ( 1 − λ ) ( 3 − λ ) + 2 = λ 2 − 4 λ + 5 .
By Cayley—Hamilton: A 2 − 4 A + 5 I = 0 A^2 - 4A + 5I = 0 A 2 − 4 A + 5 I = 0 So A 2 = 4 A − 5 I A^2 = 4A - 5I A 2 = 4 A − 5 I .
A 3 = A ⋅ A 2 = A ( 4 A − 5 I ) = 4 A 2 − 5 A = 4 ( 4 A − 5 I ) − 5 A = 16 A − 20 I − 5 A = 11 A − 20 I A^3 = A \cdot A^2 = A(4A - 5I) = 4A^2 - 5A = 4(4A - 5I) - 5A = 16A - 20I - 5A = 11A - 20I A 3 = A ⋅ A 2 = A ( 4 A − 5 I ) = 4 A 2 − 5 A = 4 ( 4 A − 5 I ) − 5 A = 16 A − 20 I − 5 A = 11 A − 20 I .
A 3 = 11 ( 1 2 − 1 3 ) − 20 ( 1 0 0 1 ) = ( − 9 22 − 11 13 ) A^3 = 11\begin{pmatrix} 1 & 2 \\ -1 & 3 \end{pmatrix} - 20\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} -9 & 22 \\ -11 & 13 \end{pmatrix} A 3 = 11 ( 1 − 1 2 3 ) − 20 ( 1 0 0 1 ) = ( − 9 − 11 22 13 ) .
If you get this wrong, revise: Section 5.4 (Cayley—Hamilton Theorem).
Problem 16. Let T : R 3 → R 2 T : \mathbb{R}^3 \to \mathbb{R}^2 T : R 3 → R 2 be defined by T ( x , y , z ) = ( x + y , y + z ) T(x, y, z) = (x + y, y + z) T ( x , y , z ) = ( x + y , y + z ) . Find the matrix of T T T with respect to the standard bases, and verify the rank-nullity theorem.
Solution T ( 1 , 0 , 0 ) = ( 1 , 0 ) T(1, 0, 0) = (1, 0) T ( 1 , 0 , 0 ) = ( 1 , 0 ) , T ( 0 , 1 , 0 ) = ( 1 , 1 ) T(0, 1, 0) = (1, 1) T ( 0 , 1 , 0 ) = ( 1 , 1 ) , T ( 0 , 0 , 1 ) = ( 0 , 1 ) T(0, 0, 1) = (0, 1) T ( 0 , 0 , 1 ) = ( 0 , 1 ) .
[ T ] E = ( 1 1 0 0 1 1 ) [T]_{\mathcal{E}} = \begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \end{pmatrix} [ T ] E = ( 1 0 1 1 0 1 ) .
ker ( T ) = { ( x , y , z ) : x + y = 0 , y + z = 0 } = { ( t , − t , t ) : t ∈ R } \ker(T) = \{(x, y, z) : x + y = 0, y + z = 0\} = \{(t, -t, t) : t \in \mathbb{R}\} ker ( T ) = {( x , y , z ) : x + y = 0 , y + z = 0 } = {( t , − t , t ) : t ∈ R } So dim ( ker ( T ) ) = 1 \dim(\ker(T)) = 1 dim ( ker ( T )) = 1 .
i m ( T ) = s p a n { ( 1 , 0 ) , ( 1 , 1 ) } = R 2 \mathrm{im}(T) = \mathrm{span}\{(1, 0), (1, 1)\} = \mathbb{R}^2 im ( T ) = span {( 1 , 0 ) , ( 1 , 1 )} = R 2 So dim ( i m ( T ) ) = 2 \dim(\mathrm{im}(T)) = 2 dim ( im ( T )) = 2 .
Verify: dim ( ker ( T ) ) + dim ( i m ( T ) ) = 1 + 2 = 3 = dim ( R 3 ) \dim(\ker(T)) + \dim(\mathrm{im}(T)) = 1 + 2 = 3 = \dim(\mathbb{R}^3) dim ( ker ( T )) + dim ( im ( T )) = 1 + 2 = 3 = dim ( R 3 ) . ■ \blacksquare ■
If you get this wrong, revise: Section 6.4 (Rank-Nullity for Linear Maps).
Problem 17. Let V = R 3 V = \mathbb{R}^3 V = R 3 with the standard inner product. Find the orthogonal projection Of v = ( 1 , 2 , 3 ) \mathbf{v} = (1, 2, 3) v = ( 1 , 2 , 3 ) onto the plane W W W defined by x + y + z = 0 x + y + z = 0 x + y + z = 0 .
Solution A basis for W W W : { ( 1 , − 1 , 0 ) , ( 1 , 0 , − 1 ) } \{(1, -1, 0), (1, 0, -1)\} {( 1 , − 1 , 0 ) , ( 1 , 0 , − 1 )} . Apply Gram—Schmidt:
e 1 = 1 2 ( 1 , − 1 , 0 ) e_1 = \frac{1}{\sqrt{2}}(1, -1, 0) e 1 = 2 1 ( 1 , − 1 , 0 ) .
u 2 = ( 1 , 0 , − 1 ) − ⟨ ( 1 , 0 , − 1 ) , e 1 ⟩ e 1 = ( 1 , 0 , − 1 ) − 1 2 ⋅ 1 2 ( 1 , − 1 , 0 ) = ( 1 2 , 1 2 , − 1 ) \mathbf{u}_2 = (1, 0, -1) - \langle (1, 0, -1), e_1 \rangle e_1 = (1, 0, -1) - \frac{1}{\sqrt{2}} \cdot \frac{1}{\sqrt{2}}(1, -1, 0) = (\frac{1}{2}, \frac{1}{2}, -1) u 2 = ( 1 , 0 , − 1 ) − ⟨( 1 , 0 , − 1 ) , e 1 ⟩ e 1 = ( 1 , 0 , − 1 ) − 2 1 ⋅ 2 1 ( 1 , − 1 , 0 ) = ( 2 1 , 2 1 , − 1 ) .
∥ u 2 ∥ = 1 / 4 + 1 / 4 + 1 = 3 / 2 \lVert \mathbf{u}_2 \rVert = \sqrt{1/4 + 1/4 + 1} = \sqrt{3/2} ∥ u 2 ∥ = 1/4 + 1/4 + 1 = 3/2 So e 2 = 1 6 ( 1 , 1 , − 2 ) e_2 = \frac{1}{\sqrt{6}}(1, 1, -2) e 2 = 6 1 ( 1 , 1 , − 2 ) .
p r o j W ( v ) = ⟨ ( 1 , 2 , 3 ) , e 1 ⟩ e 1 + ⟨ ( 1 , 2 , 3 ) , e 2 ⟩ e 2 \mathrm{proj_W}(\mathbf{v}) = \langle (1,2,3), e_1 \rangle e_1 + \langle (1,2,3), e_2 \rangle e_2 pro j W ( v ) = ⟨( 1 , 2 , 3 ) , e 1 ⟩ e 1 + ⟨( 1 , 2 , 3 ) , e 2 ⟩ e 2
⟨ ( 1 , 2 , 3 ) , e 1 ⟩ = 1 2 ( 1 − 2 ) = − 1 2 \langle (1,2,3), e_1 \rangle = \frac{1}{\sqrt{2}}(1 - 2) = \frac{-1}{\sqrt{2}} ⟨( 1 , 2 , 3 ) , e 1 ⟩ = 2 1 ( 1 − 2 ) = 2 − 1
⟨ ( 1 , 2 , 3 ) , e 2 ⟩ = 1 6 ( 1 + 2 − 6 ) = − 3 6 \langle (1,2,3), e_2 \rangle = \frac{1}{\sqrt{6}}(1 + 2 - 6) = \frac{-3}{\sqrt{6}} ⟨( 1 , 2 , 3 ) , e 2 ⟩ = 6 1 ( 1 + 2 − 6 ) = 6 − 3
p r o j W ( v ) = − 1 2 ⋅ 1 2 ( 1 , − 1 , 0 ) + − 3 6 ⋅ 1 6 ( 1 , 1 , − 2 ) \mathrm{proj_W}(\mathbf{v}) = \frac{-1}{\sqrt{2}} \cdot \frac{1}{\sqrt{2}}(1, -1, 0) + \frac{-3}{\sqrt{6}} \cdot \frac{1}{\sqrt{6}}(1, 1, -2) pro j W ( v ) = 2 − 1 ⋅ 2 1 ( 1 , − 1 , 0 ) + 6 − 3 ⋅ 6 1 ( 1 , 1 , − 2 )
= − 1 2 ( 1 , − 1 , 0 ) − 1 2 ( 1 , 1 , − 2 ) = ( − 1 , 0 , 1 ) = -\frac{1}{2}(1, -1, 0) - \frac{1}{2}(1, 1, -2) = (-1, 0, 1) = − 2 1 ( 1 , − 1 , 0 ) − 2 1 ( 1 , 1 , − 2 ) = ( − 1 , 0 , 1 ) .
The orthogonal projection is ( − 1 , 0 , 1 ) (-1, 0, 1) ( − 1 , 0 , 1 ) . ■ \blacksquare ■
If you get this wrong, revise: Section 7.5 (Orthogonal Projection).
Problem 18. Prove the Cauchy—Schwarz inequality for R n \mathbb{R}^n R n directly: for any nonzero x , y ∈ R n \mathbf{x}, \mathbf{y} \in \mathbb{R}^n x , y ∈ R n Show that ∣ x ⋅ y ∣ ≤ ∥ x ∥ ∥ y ∥ \lvert\mathbf{x} \cdot \mathbf{y}\rvert \leq \lVert \mathbf{x} \rVert \lVert \mathbf{y} \rVert ∣ x ⋅ y ∣ ≤ ∥ x ∥ ∥ y ∥ And determine when equality holds.
Solution Consider the function f ( t ) = ∥ x + t y ∥ 2 = ∥ x ∥ 2 + 2 t ( x ⋅ y ) + t 2 ∥ y ∥ 2 f(t) = \lVert \mathbf{x} + t\mathbf{y} \rVert^2 = \lVert \mathbf{x} \rVert^2 + 2t(\mathbf{x} \cdot \mathbf{y}) + t^2 \lVert \mathbf{y} \rVert^2 f ( t ) = ∥ x + t y ∥ 2 = ∥ x ∥ 2 + 2 t ( x ⋅ y ) + t 2 ∥ y ∥ 2 .
Since f ( t ) ≥ 0 f(t) \geq 0 f ( t ) ≥ 0 for all t ∈ R t \in \mathbb{R} t ∈ R This quadratic in t t t has at most one real root, So its discriminant satisfies Δ ≤ 0 \Delta \leq 0 Δ ≤ 0 :
4 ( x ⋅ y ) 2 − 4 ∥ x ∥ 2 ∥ y ∥ 2 ≤ 0 4(\mathbf{x} \cdot \mathbf{y})^2 - 4\lVert \mathbf{x} \rVert^2 \lVert \mathbf{y} \rVert^2 \leq 0 4 ( x ⋅ y ) 2 − 4 ∥ x ∥ 2 ∥ y ∥ 2 ≤ 0
Therefore ( x ⋅ y ) 2 ≤ ∥ x ∥ 2 ∥ y ∥ 2 (\mathbf{x} \cdot \mathbf{y})^2 \leq \lVert \mathbf{x} \rVert^2 \lVert \mathbf{y} \rVert^2 ( x ⋅ y ) 2 ≤ ∥ x ∥ 2 ∥ y ∥ 2 And taking square roots gives the result.
Equality holds iff Δ = 0 \Delta = 0 Δ = 0 Which means f ( t ) f(t) f ( t ) has a double root, i.e., there exists t 0 t_0 t 0 such that x + t 0 y = 0 \mathbf{x} + t_0 \mathbf{y} = \mathbf{0} x + t 0 y = 0 Meaning x \mathbf{x} x and y \mathbf{y} y are linearly dependent.
If you get this wrong, revise: Section 7.2 (Cauchy—Schwarz Inequality).
Problem 19. Let A = ( 1 0 0 0 2 1 0 1 2 ) A = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 2 & 1 \\ 0 & 1 & 2 \end{pmatrix} A = 1 0 0 0 2 1 0 1 2 . Verify the Cayley—Hamilton Theorem by explicitly computing p ( A ) p(A) p ( A ) .
Solution p ( λ ) = det ( A − λ I ) = ( 1 − λ ) [ ( 2 − λ ) 2 − 1 ] = ( 1 − λ ) ( λ 2 − 4 λ + 3 ) = ( 1 − λ ) ( λ − 1 ) ( λ − 3 ) p(\lambda) = \det(A - \lambda I) = (1 - \lambda)[(2-\lambda)^2 - 1] = (1-\lambda)(\lambda^2 - 4\lambda + 3) = (1-\lambda)(\lambda-1)(\lambda-3) p ( λ ) = det ( A − λ I ) = ( 1 − λ ) [( 2 − λ ) 2 − 1 ] = ( 1 − λ ) ( λ 2 − 4 λ + 3 ) = ( 1 − λ ) ( λ − 1 ) ( λ − 3 ) .
So p ( λ ) = − ( λ − 1 ) 2 ( λ − 3 ) = − ( λ 3 − 5 λ 2 + 7 λ − 3 ) p(\lambda) = -(\lambda-1)^2(\lambda-3) = -(\lambda^3 - 5\lambda^2 + 7\lambda - 3) p ( λ ) = − ( λ − 1 ) 2 ( λ − 3 ) = − ( λ 3 − 5 λ 2 + 7 λ − 3 ) .
p ( A ) = − ( A 3 − 5 A 2 + 7 A − 3 I ) p(A) = -(A^3 - 5A^2 + 7A - 3I) p ( A ) = − ( A 3 − 5 A 2 + 7 A − 3 I ) .
A 2 = ( 1 0 0 0 2 1 0 1 2 ) 2 = ( 1 0 0 0 5 4 0 4 5 ) A^2 = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 2 & 1 \\ 0 & 1 & 2 \end{pmatrix}^2 = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 5 & 4 \\ 0 & 4 & 5 \end{pmatrix} A 2 = 1 0 0 0 2 1 0 1 2 2 = 1 0 0 0 5 4 0 4 5
A 3 = A ⋅ A 2 = ( 1 0 0 0 2 1 0 1 2 ) ( 1 0 0 0 5 4 0 4 5 ) = ( 1 0 0 0 14 13 0 13 14 ) A^3 = A \cdot A^2 = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 2 & 1 \\ 0 & 1 & 2 \end{pmatrix}\begin{pmatrix} 1 & 0 & 0 \\ 0 & 5 & 4 \\ 0 & 4 & 5 \end{pmatrix} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 14 & 13 \\ 0 & 13 & 14 \end{pmatrix} A 3 = A ⋅ A 2 = 1 0 0 0 2 1 0 1 2 1 0 0 0 5 4 0 4 5 = 1 0 0 0 14 13 0 13 14
p ( A ) = − ( 1 0 0 0 14 13 0 13 14 ) + 5 ( 1 0 0 0 5 4 0 4 5 ) − 7 ( 1 0 0 0 2 1 0 1 2 ) + 3 ( 1 0 0 0 1 0 0 0 1 ) p(A) = -\begin{pmatrix} 1 & 0 & 0 \\ 0 & 14 & 13 \\ 0 & 13 & 14 \end{pmatrix} + 5\begin{pmatrix} 1 & 0 & 0 \\ 0 & 5 & 4 \\ 0 & 4 & 5 \end{pmatrix} - 7\begin{pmatrix} 1 & 0 & 0 \\ 0 & 2 & 1 \\ 0 & 1 & 2 \end{pmatrix} + 3\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} p ( A ) = − 1 0 0 0 14 13 0 13 14 + 5 1 0 0 0 5 4 0 4 5 − 7 1 0 0 0 2 1 0 1 2 + 3 1 0 0 0 1 0 0 0 1
= ( − 1 + 5 − 7 + 3 0 0 0 − 14 + 25 − 14 + 3 − 13 + 20 − 7 + 0 0 − 13 + 20 − 7 + 0 − 14 + 25 − 14 + 3 ) = ( 0 0 0 0 0 0 0 0 0 ) = \begin{pmatrix} -1+5-7+3 & 0 & 0 \\ 0 & -14+25-14+3 & -13+20-7+0 \\ 0 & -13+20-7+0 & -14+25-14+3 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} = − 1 + 5 − 7 + 3 0 0 0 − 14 + 25 − 14 + 3 − 13 + 20 − 7 + 0 0 − 13 + 20 − 7 + 0 − 14 + 25 − 14 + 3 = 0 0 0 0 0 0 0 0 0
So p ( A ) = 0 p(A) = 0 p ( A ) = 0 Confirming Cayley—Hamilton. ■ \blacksquare ■
If you get this wrong, revise: Section 5.4 (Cayley—Hamilton Theorem).
Problem 20. Let T : P 2 ( R ) → P 2 ( R ) T : \mathcal{P}_2(\mathbb{R}) \to \mathcal{P}_2(\mathbb{R}) T : P 2 ( R ) → P 2 ( R ) be defined by T ( p ) = p " T(p) = p" T ( p ) = p " (the derivative). Find the matrix of T T T with respect to the basis B = { 1 , x , x 2 } \mathcal{B} = \{1, x, x^2\} B = { 1 , x , x 2 } And determine ker ( T ) \ker(T) ker ( T ) and i m ( T ) \mathrm{im}(T) im ( T ) .
Solution T ( 1 ) = 0 = 0 ⋅ 1 + 0 ⋅ x + 0 ⋅ x 2 T(1) = 0 = 0 \cdot 1 + 0 \cdot x + 0 \cdot x^2 T ( 1 ) = 0 = 0 ⋅ 1 + 0 ⋅ x + 0 ⋅ x 2 So coordinates are ( 0 0 0 ) \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix} 0 0 0 .
T ( x ) = 1 = 1 ⋅ 1 + 0 ⋅ x + 0 ⋅ x 2 T(x) = 1 = 1 \cdot 1 + 0 \cdot x + 0 \cdot x^2 T ( x ) = 1 = 1 ⋅ 1 + 0 ⋅ x + 0 ⋅ x 2 So coordinates are ( 1 0 0 ) \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} 1 0 0 .
T ( x 2 ) = 2 x = 0 ⋅ 1 + 2 ⋅ x + 0 ⋅ x 2 T(x^2) = 2x = 0 \cdot 1 + 2 \cdot x + 0 \cdot x^2 T ( x 2 ) = 2 x = 0 ⋅ 1 + 2 ⋅ x + 0 ⋅ x 2 So coordinates are ( 0 2 0 ) \begin{pmatrix} 0 \\ 2 \\ 0 \end{pmatrix} 0 2 0 .
[ T ] B = ( 0 1 0 0 0 2 0 0 0 ) [T]_{\mathcal{B}} = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{pmatrix} [ T ] B = 0 0 0 1 0 0 0 2 0
ker ( T ) = { p : p ′ = 0 } = s p a n { 1 } \ker(T) = \{p : p' = 0\} = \mathrm{span}\{1\} ker ( T ) = { p : p ′ = 0 } = span { 1 } So dim ( ker ( T ) ) = 1 \dim(\ker(T)) = 1 dim ( ker ( T )) = 1 .
i m ( T ) = { p ′ : p ∈ P 2 } = s p a n { 1 , x } \mathrm{im}(T) = \{p' : p \in \mathcal{P}_2\} = \mathrm{span}\{1, x\} im ( T ) = { p ′ : p ∈ P 2 } = span { 1 , x } So dim ( i m ( T ) ) = 2 \dim(\mathrm{im}(T)) = 2 dim ( im ( T )) = 2 .
Verify: dim ( ker ( T ) ) + dim ( i m ( T ) ) = 1 + 2 = 3 = dim ( P 2 ) \dim(\ker(T)) + \dim(\mathrm{im}(T)) = 1 + 2 = 3 = \dim(\mathcal{P}_2) dim ( ker ( T )) + dim ( im ( T )) = 1 + 2 = 3 = dim ( P 2 ) . ■ \blacksquare ■
If you get this wrong, revise: Section 6.2 (Matrix Representation) and Section 6.4 (Rank-Nullity).
Common Pitfalls Confusing linear independence and span. Linear independence means no non-trivial linear combination equals zero; span is the set of all linear combinations. Fix: { v 1 , … , v n } \{v_1, \ldots, v_n\} { v 1 , … , v n } is linearly independent iff the equation ∑ c i v i = 0 \sum c_i v_i = 0 ∑ c i v i = 0 implies all c i = 0 c_i = 0 c i = 0 .Wrong determinant interpretation. det ( A ) = 0 \det(A) = 0 det ( A ) = 0 means A A A is singular (non-invertible); det ( A ) ≠ 0 \det(A) \neq 0 det ( A ) = 0 means A A A is invertible. Fix: A matrix is invertible iff its determinant is non-zero.Confusing eigenvalues and eigenvectors. An eigenvalue λ \lambda λ satisfies det ( A − λ I ) = 0 \det(A - \lambda I) = 0 det ( A − λ I ) = 0 ; eigenvectors are the non-zero solutions of ( A − λ I ) v = 0 (A - \lambda I)v = 0 ( A − λ I ) v = 0 . Fix: Find eigenvalues from the characteristic polynomial; then find eigenvectors by solving ( A − λ I ) v = 0 (A - \lambda I)v = 0 ( A − λ I ) v = 0 .Worked Examples Example 1: Determinant and invertibility Problem. Find the determinant of A = ( 1 2 3 0 1 4 5 6 0 ) A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix} A = 1 0 5 2 1 6 3 4 0 and determine if A A A is invertible.
Solution. det ( A ) = 1 ( 0 − 24 ) − 2 ( 0 − 20 ) + 3 ( 0 − 5 ) = − 24 + 40 − 15 = 1 ≠ 0 \det(A) = 1(0 - 24) - 2(0 - 20) + 3(0 - 5) = -24 + 40 - 15 = 1 \neq 0 det ( A ) = 1 ( 0 − 24 ) − 2 ( 0 − 20 ) + 3 ( 0 − 5 ) = − 24 + 40 − 15 = 1 = 0 .
Since det ( A ) ≠ 0 \det(A) \neq 0 det ( A ) = 0 , A A A is invertible. ■ \blacksquare ■
Example 2: Eigenvalues and eigenvectors Problem. Find the eigenvalues and eigenvectors of A = ( 4 1 2 3 ) A = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} A = ( 4 2 1 3 ) .
Solution. det ( A − λ I ) = ( 4 − λ ) ( 3 − λ ) − 2 = λ 2 − 7 λ + 10 = ( λ − 5 ) ( λ − 2 ) = 0 \det(A - \lambda I) = (4-\lambda)(3-\lambda) - 2 = \lambda^2 - 7\lambda + 10 = (\lambda - 5)(\lambda - 2) = 0 det ( A − λ I ) = ( 4 − λ ) ( 3 − λ ) − 2 = λ 2 − 7 λ + 10 = ( λ − 5 ) ( λ − 2 ) = 0 .
Eigenvalues: λ 1 = 5 \lambda_1 = 5 λ 1 = 5 , λ 2 = 2 \lambda_2 = 2 λ 2 = 2 .
For λ 1 = 5 \lambda_1 = 5 λ 1 = 5 : ( A − 5 I ) v = 0 ⟹ ( − 1 1 2 − 2 ) v = 0 ⟹ v 1 = ( 1 1 ) (A - 5I)v = 0 \implies \begin{pmatrix} -1 & 1 \\ 2 & -2 \end{pmatrix}v = 0 \implies v_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix} ( A − 5 I ) v = 0 ⟹ ( − 1 2 1 − 2 ) v = 0 ⟹ v 1 = ( 1 1 ) .
For λ 2 = 2 \lambda_2 = 2 λ 2 = 2 : ( A − 2 I ) v = 0 ⟹ ( 2 1 2 1 ) v = 0 ⟹ v 2 = ( 1 − 2 ) (A - 2I)v = 0 \implies \begin{pmatrix} 2 & 1 \\ 2 & 1 \end{pmatrix}v = 0 \implies v_2 = \begin{pmatrix} 1 \\ -2 \end{pmatrix} ( A − 2 I ) v = 0 ⟹ ( 2 2 1 1 ) v = 0 ⟹ v 2 = ( 1 − 2 ) .
■ \blacksquare ■
Summary A matrix is invertible iff det ( A ) ≠ 0 \det(A) \neq 0 det ( A ) = 0 ; equivalent to having linearly independent rows/columns. Eigenvalues: roots of the characteristic polynomial det ( A − λ I ) = 0 \det(A - \lambda I) = 0 det ( A − λ I ) = 0 . Eigenvectors: non-zero vectors in ker ( A − λ I ) \ker(A - \lambda I) ker ( A − λ I ) . The spectral theorem: a real symmetric matrix has an orthonormal eigenbasis and can be diagonalised. Cross-References Topic Site Link Linear Algebra (Overview) WyattsNotes View Abstract Algebra WyattsNotes View Multivariable Calculus WyattsNotes View Linear Algebra — MIT 18.06 MIT OCW View