Use this sheet to test your knowledge of the concepts covered in Test #1. These problems are drawn directly from the examples and exercises in your course materials.
Test #1 Topics
Gauss-Jordan
Parametric linear system (including systems with unknown constants k k k )
Solve linear system by inverting the coefficient matrix using the algorithm
Write A A A and A − 1 A^{-1} A − 1 as product of elementary matrices
Prove if X X X is symmetric, skewed symmetric, or neither
1. Gauss-Jordan Method
Write the augmented matrix and solve the following linear systems using the Gauss-Jordan Method:
Problem 1.1
{ x + y + 2 z = 8 − x − 2 y + 3 z = 1 3 x − 7 y + 4 z = 10 \begin{cases}
x + y + 2z = 8 \\
-x - 2y + 3z = 1 \\
3x - 7y + 4z = 10
\end{cases} ⎩ ⎨ ⎧ x + y + 2 z = 8 − x − 2 y + 3 z = 1 3 x − 7 y + 4 z = 10
Solution: ( x , y , z ) = ( 3 , 1 , 2 ) (x, y, z) = (3, 1, 2) ( x , y , z ) = ( 3 , 1 , 2 )
Show Answer
Problem 1.2
{ 2 x + 2 y + 2 z = 0 − 2 x + 5 y + 2 z = 1 8 x + y + 4 z = − 1 \begin{cases}
2x + 2y + 2z = 0 \\
-2x + 5y + 2z = 1 \\
8x + y + 4z = -1
\end{cases} ⎩ ⎨ ⎧ 2 x + 2 y + 2 z = 0 − 2 x + 5 y + 2 z = 1 8 x + y + 4 z = − 1
Solution: Let z = t z = t z = t .
x = − 1 7 − 3 7 t , y = 1 7 − 4 7 t , z = t x = -\frac{1}{7} - \frac{3}{7}t, \quad y = \frac{1}{7} - \frac{4}{7}t, \quad z = t x = − 7 1 − 7 3 t , y = 7 1 − 7 4 t , z = t Show Answer
Problem 1.3
{ x 1 − x 2 + 2 x 3 − x 4 = − 1 2 x 1 + x 2 − 2 x 3 − 2 x 4 = − 2 − x 1 + 2 x 2 − 4 x 3 + x 4 = 1 3 x 1 − 3 x 4 = − 3 \begin{cases}
x_1 - x_2 + 2x_3 - x_4 = -1 \\
2x_1 + x_2 - 2x_3 - 2x_4 = -2 \\
-x_1 + 2x_2 - 4x_3 + x_4 = 1 \\
3x_1 - 3x_4 = -3
\end{cases} ⎩ ⎨ ⎧ x 1 − x 2 + 2 x 3 − x 4 = − 1 2 x 1 + x 2 − 2 x 3 − 2 x 4 = − 2 − x 1 + 2 x 2 − 4 x 3 + x 4 = 1 3 x 1 − 3 x 4 = − 3
Solution: Let x 3 = s , x 4 = t x_3 = s, \ x_4 = t x 3 = s , x 4 = t .
x 1 = t − 1 , x 2 = 2 s , x 3 = s , x 4 = t x_1 = t - 1, \quad x_2 = 2s, \quad x_3 = s, \quad x_4 = t x 1 = t − 1 , x 2 = 2 s , x 3 = s , x 4 = t Show Answer
2. Parametric Linear Systems
Solve the following systems which require the use of parameters (free variables):
Problem 2.1
{ x 1 + 2 x 2 + x 3 + 3 x 4 = 4 2 x 1 + 3 x 2 + 3 x 3 + 4 x 4 = 7 − x 1 + x 2 − 4 x 3 + 3 x 4 = − 1 3 x 1 + 5 x 2 + 4 x 3 + 7 x 4 = 11 \begin{cases}
x_1 + 2x_2 + x_3 + 3x_4 = 4 \\
2x_1 + 3x_2 + 3x_3 + 4x_4 = 7 \\
-x_1 + x_2 - 4x_3 + 3x_4 = -1 \\
3x_1 + 5x_2 + 4x_3 + 7x_4 = 11
\end{cases} ⎩ ⎨ ⎧ x 1 + 2 x 2 + x 3 + 3 x 4 = 4 2 x 1 + 3 x 2 + 3 x 3 + 4 x 4 = 7 − x 1 + x 2 − 4 x 3 + 3 x 4 = − 1 3 x 1 + 5 x 2 + 4 x 3 + 7 x 4 = 11
Solution: Let x 3 = s , x 4 = t x_3 = s, \ x_4 = t x 3 = s , x 4 = t .
x 1 = 2 − 3 s + t , x 2 = 1 + s − 2 t , x 3 = s , x 4 = t x_1 = 2 - 3s + t, \quad x_2 = 1 + s - 2t, \quad x_3 = s, \quad x_4 = t x 1 = 2 − 3 s + t , x 2 = 1 + s − 2 t , x 3 = s , x 4 = t Show Answer
Problem 2.2
{ x 2 − 2 x 3 − 2 x 4 − x 5 = 7 − 3 x 1 − 2 x 2 − x 3 − 6 x 4 = − 5 x 1 + x 2 + 2 x 4 − x 5 = 2 \begin{cases}
x_2 - 2x_3 - 2x_4 - x_5 = 7 \\
-3x_1 - 2x_2 - x_3 - 6x_4 = -5 \\
x_1 + x_2 + 2x_4 - x_5 = 2
\end{cases} ⎩ ⎨ ⎧ x 2 − 2 x 3 − 2 x 4 − x 5 = 7 − 3 x 1 − 2 x 2 − x 3 − 6 x 4 = − 5 x 1 + x 2 + 2 x 4 − x 5 = 2
Solution: Let x 4 = s , x 5 = t x_4 = s, \ x_5 = t x 4 = s , x 5 = t .
x 1 = 7 − 4 t , x 2 = − 5 − 2 s + 5 t , x 3 = − 6 − 2 s + 2 t , x 4 = s , x 5 = t x_1 = 7 - 4t, \quad x_2 = -5 - 2s + 5t, \quad x_3 = -6 - 2s + 2t, \quad x_4 = s, \quad x_5 = t x 1 = 7 − 4 t , x 2 = − 5 − 2 s + 5 t , x 3 = − 6 − 2 s + 2 t , x 4 = s , x 5 = t Show Answer
Problem 2.3: Systems with Unknown Constants (k k k )
Determine the values of k k k for which the system has (i) no solutions, (ii) exactly ONE solution, and (iii) infinitely many solutions.
Problem 2.3a:
{ x + 2 y − 3 z = 4 3 x − y + 5 z = 2 4 x + y + ( k 2 − 14 ) z = k + 2 \begin{cases}
x + 2y - 3z = 4 \\
3x - y + 5z = 2 \\
4x + y + (k^2 - 14)z = k + 2
\end{cases} ⎩ ⎨ ⎧ x + 2 y − 3 z = 4 3 x − y + 5 z = 2 4 x + y + ( k 2 − 14 ) z = k + 2
Solution using Row Reduction:
Starting with the augmented matrix:
[ 1 2 − 3 4 3 − 1 5 2 4 1 k 2 − 14 k + 2 ] \left[\begin{array}{ccc|c}
1 & 2 & -3 & 4 \\
3 & -1 & 5 & 2 \\
4 & 1 & k^2-14 & k+2
\end{array}\right] 1 3 4 2 − 1 1 − 3 5 k 2 − 14 4 2 k + 2 Step 1: R 2 ← R 2 − 3 R 1 R_2 \leftarrow R_2 - 3R_1 R 2 ← R 2 − 3 R 1 , R 3 ← R 3 − 4 R 1 R_3 \leftarrow R_3 - 4R_1 R 3 ← R 3 − 4 R 1
[ 1 2 − 3 4 0 − 7 14 − 10 0 − 7 k 2 − 2 k − 14 ] \left[\begin{array}{ccc|c}
1 & 2 & -3 & 4 \\
0 & -7 & 14 & -10 \\
0 & -7 & k^2-2 & k-14
\end{array}\right] 1 0 0 2 − 7 − 7 − 3 14 k 2 − 2 4 − 10 k − 14 Step 2: R 3 ← R 3 − R 2 R_3 \leftarrow R_3 - R_2 R 3 ← R 3 − R 2
[ 1 2 − 3 4 0 − 7 14 − 10 0 0 k 2 − 16 k − 4 ] \left[\begin{array}{ccc|c}
1 & 2 & -3 & 4 \\
0 & -7 & 14 & -10 \\
0 & 0 & k^2-16 & k-4
\end{array}\right] 1 0 0 2 − 7 0 − 3 14 k 2 − 16 4 − 10 k − 4 Analyzing the bottom row: ( k 2 − 16 ) z = k − 4 (k^2-16)z = k-4 ( k 2 − 16 ) z = k − 4
Cases:
If k 2 − 16 ≠ 0 k^2 - 16 \neq 0 k 2 − 16 = 0 (i.e., k ≠ ± 4 k \neq \pm 4 k = ± 4 ): Pivot in z z z exists ⇒ \Rightarrow ⇒ exactly one solution.
If k = 4 k = 4 k = 4 : Bottom row becomes 0 = 0 0 = 0 0 = 0 ⇒ \Rightarrow ⇒ one free variable ⇒ \Rightarrow ⇒ infinitely many solutions.
If k = − 4 k = -4 k = − 4 : Bottom row becomes 0 = − 8 0 = -8 0 = − 8 ⇒ \Rightarrow ⇒ contradiction ⇒ \Rightarrow ⇒ no solution.
Answers:
(i) No solution: k = − 4 \boxed{k = -4} k = − 4
(ii) Exactly one solution: k ∈ R ∖ { − 4 , 4 } \boxed{k \in \mathbb{R} \setminus \{-4, 4\}} k ∈ R ∖ { − 4 , 4 }
(iii) Infinitely many solutions: k = 4 \boxed{k = 4} k = 4
Show Answer
Problem 2.3b:
{ x + y + 3 z = 2 − 3 x + ( k − 1 ) y − 10 z = − 7 4 x + ( 2 − k ) y + ( k 2 − 8 ) z = k − 2 \begin{cases}
x + y + 3z = 2 \\
-3x + (k - 1)y - 10z = -7 \\
4x + (2 - k)y + (k^2 - 8)z = k - 2
\end{cases} ⎩ ⎨ ⎧ x + y + 3 z = 2 − 3 x + ( k − 1 ) y − 10 z = − 7 4 x + ( 2 − k ) y + ( k 2 − 8 ) z = k − 2
Solution using Row Reduction:
Starting with the augmented matrix:
[ 1 1 3 2 − 3 k − 1 − 10 − 7 4 2 − k k 2 − 8 k − 2 ] \left[\begin{array}{ccc|c}
1 & 1 & 3 & 2 \\
-3 & k-1 & -10 & -7 \\
4 & 2-k & k^2-8 & k-2
\end{array}\right] 1 − 3 4 1 k − 1 2 − k 3 − 10 k 2 − 8 2 − 7 k − 2 Step 1: R 2 ← R 2 + 3 R 1 R_2 \leftarrow R_2 + 3R_1 R 2 ← R 2 + 3 R 1
R 2 : [ 0 , ( k − 1 ) + 3 , − 10 + 9 , − 7 + 6 ] = [ 0 , k + 2 , − 1 , − 1 ] R_2: [0, \ (k-1)+3, \ -10+9, \ -7+6] = [0, \ k+2, \ -1, \ -1] R 2 : [ 0 , ( k − 1 ) + 3 , − 10 + 9 , − 7 + 6 ] = [ 0 , k + 2 , − 1 , − 1 ] Step 2: R 3 ← R 3 − 4 R 1 R_3 \leftarrow R_3 - 4R_1 R 3 ← R 3 − 4 R 1
R 3 : [ 0 , ( 2 − k ) − 4 , ( k 2 − 8 ) − 12 , ( k − 2 ) − 8 ] = [ 0 , − ( k + 2 ) , k 2 − 20 , k − 10 ] R_3: [0, \ (2-k)-4, \ (k^2-8)-12, \ (k-2)-8] = [0, \ -(k+2), \ k^2-20, \ k-10] R 3 : [ 0 , ( 2 − k ) − 4 , ( k 2 − 8 ) − 12 , ( k − 2 ) − 8 ] = [ 0 , − ( k + 2 ) , k 2 − 20 , k − 10 ] Result:
[ 1 1 3 2 0 k + 2 − 1 − 1 0 − ( k + 2 ) k 2 − 20 k − 10 ] \left[\begin{array}{ccc|c}
1 & 1 & 3 & 2 \\
0 & k+2 & -1 & -1 \\
0 & -(k+2) & k^2-20 & k-10
\end{array}\right] 1 0 0 1 k + 2 − ( k + 2 ) 3 − 1 k 2 − 20 2 − 1 k − 10 Step 3: R 3 ← R 3 + R 2 R_3 \leftarrow R_3 + R_2 R 3 ← R 3 + R 2
[ 1 1 3 2 0 k + 2 − 1 − 1 0 0 k 2 − 21 k − 11 ] \left[\begin{array}{ccc|c}
1 & 1 & 3 & 2 \\
0 & k+2 & -1 & -1 \\
0 & 0 & k^2-21 & k-11
\end{array}\right] 1 0 0 1 k + 2 0 3 − 1 k 2 − 21 2 − 1 k − 11 Analyzing the bottom row: ( k 2 − 21 ) z = k − 11 (k^2-21)z = k-11 ( k 2 − 21 ) z = k − 11
Cases:
If k 2 − 21 = 0 k^2 - 21 = 0 k 2 − 21 = 0 (i.e., k = ± 21 k = \pm\sqrt{21} k = ± 21 ): Bottom row becomes 0 = k − 11 0 = k - 11 0 = k − 11 . Since k ≠ 11 k \neq 11 k = 11 , this is a contradiction ⇒ \Rightarrow ⇒ no solution.
If k = − 2 k = -2 k = − 2 : Second row becomes 0 y − z = − 1 ⇒ z = 1 0y - z = -1 \Rightarrow z = 1 0 y − z = − 1 ⇒ z = 1 , but bottom row gives ( − 17 ) z = − 13 ⇒ z = 13 17 (-17)z = -13 \Rightarrow z = \frac{13}{17} ( − 17 ) z = − 13 ⇒ z = 17 13 ⇒ \Rightarrow ⇒ contradiction ⇒ \Rightarrow ⇒ no solution.
Otherwise: All pivots exist ⇒ \Rightarrow ⇒ exactly one solution.
Infinite solutions would need k 2 − 21 = 0 k^2 - 21 = 0 k 2 − 21 = 0 AND k − 11 = 0 k - 11 = 0 k − 11 = 0 together, which is impossible ⇒ \Rightarrow ⇒ none.
Answers:
(i) No solution: k ∈ { − 2 , 21 , − 21 } \boxed{k \in \{-2, \sqrt{21}, -\sqrt{21}\}} k ∈ { − 2 , 21 , − 21 }
(ii) Exactly one solution: k ∈ R ∖ { − 2 , 21 , − 21 } \boxed{k \in \mathbb{R} \setminus \{-2, \sqrt{21}, -\sqrt{21}\}} k ∈ R ∖ { − 2 , 21 , − 21 }
(iii) Infinitely many solutions: None \boxed{\text{None}} None
Show Answer
3. Solving Linear Systems by Inverting the Coefficient Matrix
Solve the following systems by finding A − 1 A^{-1} A − 1 using the inversion algorithm, then computing X = A − 1 B X = A^{-1}B X = A − 1 B :
Problem 3.1
{ x + y + 2 z = 8 − x − 2 y + 3 z = 1 3 x − 7 y + 4 z = 10 \begin{cases}
x + y + 2z = 8 \\
-x - 2y + 3z = 1 \\
3x - 7y + 4z = 10
\end{cases} ⎩ ⎨ ⎧ x + y + 2 z = 8 − x − 2 y + 3 z = 1 3 x − 7 y + 4 z = 10
Steps:
Write the coefficient matrix A A A
Find A − 1 A^{-1} A − 1 using the algorithm: [ A ∣ I ] → [ I ∣ A − 1 ] \left[A \mid \mathbb{I}\right] \rightarrow \left[\mathbb{I} \mid A^{-1}\right] [ A ∣ I ] → [ I ∣ A − 1 ]
Compute X = A − 1 B X = A^{-1}B X = A − 1 B where B B B is the constants vector
Solution: ( x , y , z ) = ( 3 , 1 , 2 ) (x, y, z) = (3, 1, 2) ( x , y , z ) = ( 3 , 1 , 2 )
Show Answer
Problem 3.2
{ 5 x + y = 3 3 x + 2 y = 7 \begin{cases}
5x + y = 3 \\
3x + 2y = 7
\end{cases} { 5 x + y = 3 3 x + 2 y = 7
Solution: ( x , y ) = ( − 1 7 , 26 7 ) (x, y) = \left(-\frac{1}{7}, \frac{26}{7}\right) ( x , y ) = ( − 7 1 , 7 26 )
Show Answer
Problem 3.3
{ 2 x + 5 y + 5 z = 1 − x − y = 2 2 x + 4 y + 3 z = − 1 \begin{cases}
2x + 5y + 5z = 1 \\
-x - y = 2 \\
2x + 4y + 3z = -1
\end{cases} ⎩ ⎨ ⎧ 2 x + 5 y + 5 z = 1 − x − y = 2 2 x + 4 y + 3 z = − 1
Solution: ( x , y , z ) = ( − 2 , 0 , 1 ) (x, y, z) = (-2, 0, 1) ( x , y , z ) = ( − 2 , 0 , 1 )
Show Answer
4. Writing Matrices as Products of Elementary Matrices
Problem 4.1
Write A = [ 5 1 3 2 ] A = \begin{bmatrix} 5 & 1 \\ 3 & 2 \end{bmatrix} A = [ 5 3 1 2 ] as a product of elementary matrices.
Hint: Row reduce A A A to I \mathbb{I} I and track each elementary row operation. Each operation corresponds to an elementary matrix.
Solution:
[ 5 1 3 2 ] = [ 5 0 0 1 ] [ 1 0 3 1 ] [ 1 0 0 7 5 ] [ 1 1 5 0 1 ] \begin{bmatrix}5 & 1 \\ 3 & 2\end{bmatrix}
=
\begin{bmatrix}5 & 0 \\ 0 & 1\end{bmatrix}
\begin{bmatrix}1 & 0 \\ 3 & 1\end{bmatrix}
\begin{bmatrix}1 & 0 \\ 0 & \tfrac{7}{5}\end{bmatrix}
\begin{bmatrix}1 & \tfrac{1}{5} \\ 0 & 1\end{bmatrix} [ 5 3 1 2 ] = [ 5 0 0 1 ] [ 1 3 0 1 ] [ 1 0 0 5 7 ] [ 1 0 5 1 1 ] Show Answer
Problem 4.2
Write A = [ 1 2 3 1 4 1 2 1 9 ] A = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 4 & 1 \\ 2 & 1 & 9 \end{bmatrix} A = 1 1 2 2 4 1 3 1 9 and its inverse A − 1 A^{-1} A − 1 as products of elementary matrices.
Solution: det ( A ) = 0 ⇒ A \det(A) = 0 \Rightarrow A det ( A ) = 0 ⇒ A is singular, so A A A cannot be written as a product of elementary matrices and A − 1 A^{-1} A − 1 does not exist.
Show Answer
Problem 4.3
Given B = [ 3 1 2 2 ] B = \begin{bmatrix} 3 & 1 \\ 2 & 2 \end{bmatrix} B = [ 3 2 1 2 ] , express both B B B and B − 1 B^{-1} B − 1 as products of elementary matrices.
Solution:
[ 3 1 2 2 ] = [ 3 0 0 1 ] [ 1 0 2 1 ] [ 1 0 0 4 3 ] [ 1 1 3 0 1 ] \begin{bmatrix}3 & 1 \\ 2 & 2\end{bmatrix}
=
\begin{bmatrix}3 & 0 \\ 0 & 1\end{bmatrix}
\begin{bmatrix}1 & 0 \\ 2 & 1\end{bmatrix}
\begin{bmatrix}1 & 0 \\ 0 & \tfrac{4}{3}\end{bmatrix}
\begin{bmatrix}1 & \tfrac{1}{3} \\ 0 & 1\end{bmatrix} [ 3 2 1 2 ] = [ 3 0 0 1 ] [ 1 2 0 1 ] [ 1 0 0 3 4 ] [ 1 0 3 1 1 ] [ 3 1 2 2 ] − 1 = [ 1 − 1 3 0 1 ] [ 1 0 0 3 4 ] [ 1 0 − 2 1 ] [ 1 3 0 0 1 ] = [ 1 2 − 1 4 − 1 2 3 4 ] \begin{bmatrix}3 & 1 \\ 2 & 2\end{bmatrix}^{-1}
=
\begin{bmatrix}1 & -\tfrac{1}{3} \\ 0 & 1\end{bmatrix}
\begin{bmatrix}1 & 0 \\ 0 & \tfrac{3}{4}\end{bmatrix}
\begin{bmatrix}1 & 0 \\ -2 & 1\end{bmatrix}
\begin{bmatrix}\tfrac{1}{3} & 0 \\ 0 & 1\end{bmatrix}
=
\begin{bmatrix}\tfrac{1}{2} & -\tfrac{1}{4} \\ -\tfrac{1}{2} & \tfrac{3}{4}\end{bmatrix} [ 3 2 1 2 ] − 1 = [ 1 0 − 3 1 1 ] [ 1 0 0 4 3 ] [ 1 − 2 0 1 ] [ 3 1 0 0 1 ] = [ 2 1 − 2 1 − 4 1 4 3 ] Show Answer
5. Symmetric and Skewed Symmetric Matrices
Prove whether each matrix X X X is symmetric, skewed symmetric, or neither.
Definitions:
Symmetric: X T = X X^T = X X T = X
Skewed Symmetric: X T = − X X^T = -X X T = − X
Neither: X T ≠ X X^T \neq X X T = X and X T ≠ − X X^T \neq -X X T = − X
Problem 5.1
X = [ 3 − 2 5 − 2 0 1 5 1 4 ] X = \begin{bmatrix} 3 & -2 & 5 \\ -2 & 0 & 1 \\ 5 & 1 & 4 \end{bmatrix} X = 3 − 2 5 − 2 0 1 5 1 4
Solution: Symmetric (since X T = X X^T = X X T = X )
Show Answer
Problem 5.2
X = [ 0 3 − 5 − 3 0 2 5 − 2 0 ] X = \begin{bmatrix} 0 & 3 & -5 \\ -3 & 0 & 2 \\ 5 & -2 & 0 \end{bmatrix} X = 0 − 3 5 3 0 − 2 − 5 2 0
Solution: Skew-symmetric (since X T = − X X^T = -X X T = − X )
Show Answer
Problem 5.3
X = [ 1 2 3 4 5 6 7 8 9 ] X = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} X = 1 4 7 2 5 8 3 6 9
Solution: Neither (since X T ≠ X X^T \neq X X T = X and X T ≠ − X X^T \neq -X X T = − X )
Show Answer
Problem 5.4
X = [ 2 0 0 0 − 1 0 0 0 5 ] X = \begin{bmatrix} 2 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 5 \end{bmatrix} X = 2 0 0 0 − 1 0 0 0 5
Solution: Symmetric (since X T = X X^T = X X T = X )
Show Answer
Problem 5.5
X = [ 0 − 4 4 0 ] X = \begin{bmatrix} 0 & -4 \\ 4 & 0 \end{bmatrix} X = [ 0 4 − 4 0 ]
Solution: Skew-symmetric (since X T = − X X^T = -X X T = − X )
Show Answer
6. Mixed Practice Problems
Problem 6.1: Matrix Inverses
Find the inverse of the following matrices using the Inversion Algorithm:
a) A = [ 5 1 3 2 ] A = \begin{bmatrix} 5 & 1 \\ 3 & 2 \end{bmatrix} A = [ 5 3 1 2 ]
b) A = [ 8 − 4 − 2 1 ] A = \begin{bmatrix} 8 & -4 \\ -2 & 1 \end{bmatrix} A = [ 8 − 2 − 4 1 ]
c) A = [ 9 3 2 1 ] A = \begin{bmatrix} 9 & 3 \\ 2 & 1 \end{bmatrix} A = [ 9 2 3 1 ]
Solutions:
a) [ 5 1 3 2 ] − 1 = 1 7 [ 2 − 1 − 3 5 ] \begin{bmatrix} 5 & 1 \\ 3 & 2 \end{bmatrix}^{-1} = \frac{1}{7}\begin{bmatrix} 2 & -1 \\ -3 & 5 \end{bmatrix} [ 5 3 1 2 ] − 1 = 7 1 [ 2 − 3 − 1 5 ]
b) det = 0 ⇒ \det = 0 \Rightarrow det = 0 ⇒ no inverse.
c) [ 9 3 2 1 ] − 1 = 1 3 [ 1 − 3 − 2 9 ] \begin{bmatrix} 9 & 3 \\ 2 & 1 \end{bmatrix}^{-1} = \frac{1}{3}\begin{bmatrix} 1 & -3 \\ -2 & 9 \end{bmatrix} [ 9 2 3 1 ] − 1 = 3 1 [ 1 − 2 − 3 9 ]
Show Answer
Problem 6.2: Verifying Inverses
Determine whether the given two matrices are inverses of each other by computing A B AB A B and B A BA B A :
a) A = [ 5 3 1 2 ] A = \begin{bmatrix} 5 & 3 \\ 1 & 2 \end{bmatrix} A = [ 5 1 3 2 ] and B = [ 2 / 7 − 3 / 7 − 1 / 7 5 / 7 ] B = \begin{bmatrix} 2/7 & -3/7 \\ -1/7 & 5/7 \end{bmatrix} B = [ 2/7 − 1/7 − 3/7 5/7 ]
b) A = [ − 5 1 7 8 ] A = \begin{bmatrix} -5 & 1 \\ 7 & 8 \end{bmatrix} A = [ − 5 7 1 8 ] and B = [ − 8 / 47 1 / 47 7 / 47 5 / 47 ] B = \begin{bmatrix} -8/47 & 1/47 \\ 7/47 & 5/47 \end{bmatrix} B = [ − 8/47 7/47 1/47 5/47 ]
Solutions:
a) Yes (both A B = I AB = \mathbb{I} A B = I and B A = I BA = \mathbb{I} B A = I ).
b) Yes (both A B = I AB = \mathbb{I} A B = I and B A = I BA = \mathbb{I} B A = I ).
Show Answer
Problem 6.3: Row Equivalence
Show that A = [ 1 2 3 1 4 1 2 1 9 ] A = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 4 & 1 \\ 2 & 1 & 9 \end{bmatrix} A = 1 1 2 2 4 1 3 1 9 and B = [ 1 0 5 0 2 − 2 1 1 4 ] B = \begin{bmatrix} 1 & 0 & 5 \\ 0 & 2 & -2 \\ 1 & 1 & 4 \end{bmatrix} B = 1 0 1 0 2 1 5 − 2 4 are row equivalent by finding a sequence of elementary row operations that transforms A A A into B B B .
Solution: One valid sequence of operations transforming A → B A \to B A → B :
R 2 ← R 2 − R 1 R_2 \leftarrow R_2 - R_1 R 2 ← R 2 − R 1
R 1 ← R 1 − R 2 R_1 \leftarrow R_1 - R_2 R 1 ← R 1 − R 2
R 3 ← R 3 − R 1 R_3 \leftarrow R_3 - R_1 R 3 ← R 3 − R 1
Show Answer
Study Tips
Gauss-Jordan: Practice getting matrices into RREF quickly and accurately. Watch for leading 1s and ensure zeros above and below them.
Parametric Systems: When you have free variables, assign parameters (like s , t s, t s , t ) to the non-leading variables and express other variables in terms of these parameters.
Systems with Unknown Constants (k k k ):
Use row reduction to get the augmented matrix into row echelon form.
Analyze the bottom row(s) which will contain expressions with k k k .
For each critical value of k k k (where coefficients become zero), check:
If 0 = 0 0 = 0 0 = 0 : Free variable exists ⇒ \Rightarrow ⇒ infinitely many solutions
If 0 = non-zero 0 = \text{non-zero} 0 = non-zero : Contradiction ⇒ \Rightarrow ⇒ no solution
If no coefficients are zero: All pivots exist ⇒ \Rightarrow ⇒ exactly one solution
Matrix Inversion Algorithm: Remember the setup [ A ∣ I ] → [ I ∣ A − 1 ] \left[A \mid \mathbb{I}\right] \rightarrow \left[\mathbb{I} \mid A^{-1}\right] [ A ∣ I ] → [ I ∣ A − 1 ] . Whatever row operations you do to the left side, you must do to the right side.
Elementary Matrices: Each elementary row operation corresponds to multiplying by an elementary matrix on the left. Track your operations carefully.
Symmetric Matrices: Just compute X T X^T X T and compare it to X X X and − X -X − X . Show your work step by step.