Docsity

Elementary Row Operations, REF, and RREF: Simplifying Matrices through Row Equivalence, Slides of Linear Algebra

Toggle sidebar
bg1
Elementary Row Operations, REF, and RREF
Now that we know a little bit about matrices, we’re going to learn how to use matrices to solve
problems!
One of the most useful things we can do to a matrix is to “row reduce” it.
Row reduction is a process by which a matrix is simplified into an “equivalent” matrix which is
easier to use overall. In order to make this procedure more canonical, we’ll perform our reduction
using a very precise collection of operations known as elementary row operations.
Throughout, we’ll refer to the matrix
M=
4 1 −2 0
1 0 0 −5
0 1 3 −1
1 1 −1−1
for all of our examples.
Elementary Row Operations
There are three elementary row operations that we can perform on a matrix to get a new matrix
which is considered “row equivalent” to it:1
1. Interchange two rows.
Example: Interchanging rows 2 and 4 (shorthand: R2 ↔R4) in Myields the following:
4 1 −2 0
1 0 0 −5
0 1 3 −1
1 1 −1−1
R2↔R4
−−−−→
4 1 −2 0
1 1 −1−1
0 1 3 −1
1 0 0 −5
2. Multiply all entries in a row by a nonzero constant.
Example: We can multiply row 1 of Mby 3 (shorthand: R1 = 3R1) to get the following:
4 1 −2 0
1 0 0 −5
0 1 3 −1
1 1 −1−1
R1=3R1
−−−−→
12 3 −6 0
1 0 0 −5
0 1 3 −1
1 1 −1−1
1Definition: Two matrices Mand Nare said to be row equivalent if there is a series of elementary row operations
which transforms Minto N(and vice versa).
1
pf3

Partial preview of the text

Download Elementary Row Operations, REF, and RREF: Simplifying Matrices through Row Equivalence and more Slides Linear Algebra in PDF only on Docsity!

Elementary Row Operations, REF, and RREF

Now that we know a little bit about matrices, we’re going to learn how to use matrices to solve problems! One of the most useful things we can do to a matrix is to “row reduce” it. Row reduction is a process by which a matrix is simplified into an “equivalent” matrix which is easier to use overall. In order to make this procedure more canonical, we’ll perform our reduction using a very precise collection of operations known as elementary row operations. Throughout, we’ll refer to the matrix

M =

    

    

for all of our examples.

Elementary Row Operations

There are three elementary row operations that we can perform on a matrix to get a new matrix which is considered “row equivalent” to it:^1

  1. Interchange two rows. Example: Interchanging rows 2 and 4 (shorthand: R2 ↔ R4) in M yields the following:     

    

−^ R2−−↔−R4→

    

    

  1. Multiply all entries in a row by a nonzero constant. Example: We can multiply row 1 of M by 3 (shorthand: R1 = 3R1) to get the following:     

    

−^ R1−=3−−R1→

    

    

(^1) Definition: Two matrices M and N are said to be row equivalent if there is a series of elementary row operations which transforms M into N (and vice versa).

  1. Add (or subtract) a nonzero multiple of one row to another row. Example: Let’s say we wanted to add 4 times row 2 to row 3, i.e. we leave every row the same except row 3, and we change row 3 by adding to it 4R2 (shorthand: R3 = R3 + 4R2). We could do this all at once, but to split it into steps, we could: (a) compute 4 R2, i.e. 4 · 〈 1 , 0 , 0 , − 5 〉 = 〈 4 , 0 , 0 , − 20 〉; (b) compute R3 plus 4 R2, i.e. 〈 0 , 1 , 3 , − 1 〉 + 〈 4 , 0 , 0 , − 20 〉 = 〈 4 , 1 , 3 , − 21 〉; and (c) form the new matrix having the same entries as M in rows 1, 2, and 4, and having R3 + 4R2 = 〈 4 , 1 , 3 , − 21 〉 as its third row. Hence, the result is:     

    

−^ R3−−=−R3−+4−−R2→

    

    

Unsurprisingly, we can perform these three elementary row operations in succession to provide additional simplification. With a little foresight, this can yield a much simpler matrix which is row-equivalent to the matrix we started with:

Example:     

    

︸ ︷︷ ︸ M

−^ R1−−↔−R2→

    

    

−^ R2−−↔−R3→

    

    

−^ R3−−=−R3−−−^4 −R1→

    

    

−^ R3−=−R3−−−−R2→

    

    

−^ R3−−=(−−−^15 −^ )−R3→

    

0 0 1 −^215

    

Note that each of the above matrices is row-equivalent to M.

Moving forward, one of our main goals will be to perform these three elementary row operations in succession until we get to a matrix which is in Row Echelon Form (REF) and/or Reduced Row Echelon Form (RREF).