Section 4.2 Row Operations as Matrix Multiplication (M2)
Activity 4.2.1.
Let \(A=\left[\begin{array}{ccc} 2 & 7 & -1 \\ 0 & 3 & 2 \\ 1 & 1 & -1 \end{array}\right]\text{.}\) Find a \(3 \times 3\) matrix \(B\) such that \(BA=A\text{,}\) that is,
Check your guess using technology.
Definition 4.2.1.
The identity matrix \(I_n\) (or just \(I\) when \(n\) is obvious from context) is the \(n \times n\) matrix
It has a \(1\) on each diagonal element and a \(0\) in every other position.
Fact 4.2.2.
For any square matrix \(A\text{,}\) \(IA=AI=A\text{:}\)
Activity 4.2.2.
Tweaking the identity matrix slightly allows us to write row operations in terms of matrix multiplication.
(a)
Create a matrix that doubles the third row of \(A\text{:}\)
(b)
Create a matrix that swaps the second and third rows of \(A\text{:}\)
(c)
Create a matrix that adds \(5\) times the third row of \(A\) to the first row:
Fact 4.2.3.
If \(R\) is the result of applying a row operation to \(I\text{,}\) then \(RA\) is the result of applying the same row operation to \(A\text{.}\)
Scaling a row: \(R= \left[\begin{array}{ccc} c & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array}\right]\)
Swapping rows: \(R= \left[\begin{array}{ccc} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{array}\right]\)
Adding a row multiple to another row: \(R= \left[\begin{array}{ccc} 1 & 0 & c \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array}\right]\)
Such matrices can be chained together to emulate multiple row operations. In particular,
for some sequence of matrices \(R_1,R_2,\dots,R_k\text{.}\)
Activity 4.2.3.
Consider the two row operations \(R_2\leftrightarrow R_3\) and \(R_1+R_2\to R_1\) applied as follows to show \(A\sim B\text{:}\)
Express these row operations as matrix multiplication by expressing \(B\) as the product of two matrices and \(A\text{:}\)
Check your work using technology.
Exercises 4.2.1 Exercises
1.
Let \(A\) be a \(4 \times 4\) matrix.
- Give a \(4 \times 4\) matrix \(B\) that may be used to perform the row operation \(R_1 \to R_1 + 2R_4 \text{.}\)
- Give a \(4 \times 4\) matrix \(C\) that may be used to perform the row operation \(R_1 \to -2R_1 \text{.}\)
- Use matrix multiplication to describe the matrix obtained by applying \(R_1 \to R_1 + 2R_4 \) and then \(R_1 \to -2R_1 \) to \(A\) (note the order).
- \(\displaystyle B= \left[\begin{array}{cccc} 1 & 0 & 0 & 2 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle C= \left[\begin{array}{cccc} -2 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle CBA\)
2.
Let \(A\) be a \(4 \times 4\) matrix.
- Give a \(4 \times 4\) matrix \(C\) that may be used to perform the row operation \(R_3 \to 3R_3 \text{.}\)
- Give a \(4 \times 4\) matrix \(N\) that may be used to perform the row operation \(R_4 \leftrightarrow R_1 \text{.}\)
- Use matrix multiplication to describe the matrix obtained by applying \(R_3 \to 3R_3 \) and then \(R_4 \leftrightarrow R_1 \) to \(A\) (note the order).
- \(\displaystyle C= \left[\begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 3 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle N= \left[\begin{array}{cccc} 0 & 0 & 0 & 1 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 1 & 0 & 0 & 0 \end{array}\right] \)
- \(\displaystyle NCA\)
3.
Let \(A\) be a \(4 \times 4\) matrix.
- Give a \(4 \times 4\) matrix \(B\) that may be used to perform the row operation \(R_2 \to R_2 + 5R_3 \text{.}\)
- Give a \(4 \times 4\) matrix \(C\) that may be used to perform the row operation \(R_4 \to -2R_4 \text{.}\)
- Use matrix multiplication to describe the matrix obtained by applying \(R_4 \to -2R_4 \) and then \(R_2 \to R_2 + 5R_3 \) to \(A\) (note the order).
- \(\displaystyle B= \left[\begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 1 & 5 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle C= \left[\begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & -2 \end{array}\right] \)
- \(\displaystyle BCA\)
4.
Let \(A\) be a \(4 \times 4\) matrix.
- Give a \(4 \times 4\) matrix \(M\) that may be used to perform the row operation \(R_4 \to 5R_4 \text{.}\)
- Give a \(4 \times 4\) matrix \(C\) that may be used to perform the row operation \(R_2 \to R_2 + 2R_3 \text{.}\)
- Use matrix multiplication to describe the matrix obtained by applying \(R_2 \to R_2 + 2R_3 \) and then \(R_4 \to 5R_4 \) to \(A\) (note the order).
- \(\displaystyle M= \left[\begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 5 \end{array}\right] \)
- \(\displaystyle C= \left[\begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 1 & 2 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle MCA\)
5.
Let \(A\) be a \(4 \times 4\) matrix.
- Give a \(4 \times 4\) matrix \(Q\) that may be used to perform the row operation \(R_1 \to R_1 + 2R_2 \text{.}\)
- Give a \(4 \times 4\) matrix \(C\) that may be used to perform the row operation \(R_3 \leftrightarrow R_2 \text{.}\)
- Use matrix multiplication to describe the matrix obtained by applying \(R_3 \leftrightarrow R_2 \) and then \(R_1 \to R_1 + 2R_2 \) to \(A\) (note the order).
- \(\displaystyle Q= \left[\begin{array}{cccc} 1 & 2 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle C= \left[\begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right] \)
- \(\displaystyle QCA\)
Additional exercises available at checkit.clontz.org.