
Hi, and welcome to this video about matrix manipulation!
In this video, we’re going to look at:
- Elementary row operations
- Row echelon form of a matrix
- Reduced row echelon form of a matrix
- Finding the inverse of a matrix
Elementary Row Operations
Matrices of any dimension can be manipulated using three elementary row operations:
- Any two rows can be swapped.
- Any row can be multiplied by a non-zero scalar.
- A multiple of a row can be added to another row.
The process of using row operations on a matrix is referred to as row reduction.
Row Echelon Form
The ultimate goal of row reduction is to end up with an upper triangular matrix—a matrix with all zero entries below the main diagonal. When this is achieved, the matrix is said to be in row echelon form.
Specifically, to be in row echelon form:
- Rows with all zero entries must be at the bottom of the matrix
- The first non-zero element of a row must be to the right of the first non-zero element in the row above.
Let’s see some row reduction in action! Keep in mind that the series of row operations is not unique. Also, the row echelon form of a matrix is not unique. Different people might use different series of operations to end up with different row echelon forms of the same matrix.
Here’s [X]:
My first operation will be to use the 2 to turn the 4 below it into a 0. I want to subtract 2 times row 1 from row 2 and replace row 2.
In shorthand, this looks like
Now, I want to use the 2 again to turn the 3 in the bottom left into a 0. To make this easier, I’ll use two steps:
2R3=R3
R3–3R1=R3
Now there’s only one more move to get this matrix to row echelon form. I need to use the 1 to make the negative 9 in row three into a 0. So
This is one version of [X] in row echelon form:
Another version might look like this, if we had decided, for example, to divide row 3 by row 2:
As you can see, we ended with an upper triangular matrix. The first nonzero entry in each row is to the right of the nonzero entry in the row above. In other words, the 1 is to the right of the 2 and the negative 78 is to the right of the 1.
Reduced Row Echelon Form
We could go further and get [X] into reduced row echelon form. Reduced row echelon form can be obtained using different sequences of row operations, but this form is unique.
A matrix has only one reduced row echelon form. In order to be in reduced row echelon form, a matrix must meet these conditions:
- Be in row echelon form.
- The leading entry in each nonzero row must be a 1.
- Wherever there is a leading 1, the entries in the rest of the column must be zeros.
Let’s pick up with [X] where we left off:
First, I need to turn that 2 into a 1:
The first column looks good. Now to column 2. I need to use the 1 to turn the three halves above it into a 0:
Now columns 1 and 2 look good. Time to turn that -78 into a 1:
Row 3 looks good. All that’s left is to use row 3 to change the 16 and -9 to zeroes:
In this case, the reduced row echelon form of the matrix is
These matrices are in reduced row echelon form as well:
Inverse Matrices
Some matrices have inverse matrices, denoted by the superscript -1. Inverse matrices satisfy the equation
For instance, here we have [B] and the [B-1]:
Let’s try [BB-1]. To do this, we do
If we simplify this, we get
This is our identity matrix for a 2×2 matrix. If you go ahead and multiply [B
In order for a matrix to have an inverse, or to be invertible, two conditions must be met:
- The matrix must be a square matrix
- The determinant of the matrix must not be 0.
Let’s work with a 3×3 matrix:
Is [Y] a square matrix? Check! Is the determinant of [Y] not equal to 0? Let’s see.
Yes, the determinant of [Y] does not equal 0. So now let’s figure out what the inverse of [Y] is.
Here are the two steps to finding the inverse of a matrix:
- Augment the matrix with the identity matrix of the appropriate size.
(Y augment I looks like this: [Y|I]) - Row reduce the augmented matrix. When it is in reduced row echelon form, the structure will be [I|Y-1] and the inverse can be identified.
Here’s what that process looks like:
First, let’s turn the 2 into a 1:
Next, let’s get zeroes below the 1 in column 1:
Now we need to make the 10 in column 2 into a 1:
The rest of the entries in column 2 need to be 0:
Now the 13 over 20 in column 3 needs to change to 1:
Lastly, the two remaining entries in column 3 need to be 0:
Now we have an augmented matrix in the form
Thanks for watching, and happy studying!
Matrix Practice Questions
Matrix X is given.
Which step would change the 5 in row two into a zero?
Which matrix is in row echelon form?
Which matrix is in reduced row echelon form?
Which is a true statement about a matrix and its inverse?
Which statement is true about a matrix that is invertible?