Become a math whiz with AI Tutoring, Practice Questions & more.

HotmathMath Homework. Do It Faster, Learn It Better.

Matrix Row Operations

As we venture further into the world of matrices, we will eventually need to learn how to carry out matrix row operations. These operations help us solve a number of problems with matrices, and they can be very useful. There are three basic matrix row operations that we need to cover: Switching rows, multiplying a row by a number, and adding rows. By combining these three techniques, we can rearrange our matrices in the same way that we rearrange algebraic equations. But how do these matrix row operations work, and when should we use them? Let''s find out:

When do we use matrix row operations?

We use matrix row operations primarily to solve systems of linear equations. As we may have learned, it is possible to solve systems of linear equations using matrices. A key part of this process is turning the left side of our matrix into an identity matrix.

We may recall that an identity matrix is the equivalent of the value "1" in the world of matrices. This means that if we can get one side of the matrix to look like an identity matrix, we can solve for variables x and y. If one part of the matrix represents the variable and the left side represents the value "1," this simply means we are multiplying our value by 1 to get our variable. In other words, the right side of the matrix is the correct variable value.

Recall that an identity matrix has elements of "1" along its main diagonal with all other elements as zeros. For example:

[ 1 0 0 0 1 0 0 0 1 ]

Note that as long as an identity matrix follows the above pattern, it can have any number of elements. This means that we can turn any matrix into an identity matrix.

Switching rows

The first operation we''re going to learn is switching rows. As the name implies, this involves switching the rows around on our matrix:

[ 2 3 -2 6 0 0 3 -6 1 0 2 -3 ]

Let's carry out the following operations:

  • Move row 1 to row 2
  • Move row 2 to row 3
  • Move row 3 to row 1

We are left with:

[ 1 0 2 -3 2 3 -2 6 0 0 3 -6 ]

Why did we do this? Remember, we are in the process of creating an identity matrix. This means that we need a value of "1" in the top left corner, which we have achieved with this matrix row operation.

Multiplying a row by a number

Multiplying a row by a number is quite straightforward:

[ 1 0 2 -3 2 3 -2 6 0 0 3 -6 ]

What happens if we multiply row 3 by 1 3 ?

We get:

[ 1 0 2 -3 2 3 -2 6 0 0 3 -6 ]

Now we have a 1 in row 3, column 3.

Adding rows

Another operation is to add two rows together and replace an entire row with the sum.

[ 1 0 2 -3 2 3 -2 6 0 0 1 -2 ]

What happens if we add rows 2 and 3 together, and then replace row 2 with the result?

Let's add those two rows together first:

[ 2 3 -2 6 ] + [ 0 0 1 -2 ] = [ 2 3 -1 4 ]

Now let's replace row 2 with the result:

[ 1 0 2 -3 2 3 -1 4 0 0 1 -2 ]

Adding multiples of rows

While there are only three matrix row operations, it is possible to combine two of these operations into one. We call this "adding rows of multiples." As the name suggests, this is a combination of both adding rows and multiplying rows by a number.

Consider this matrix -- the same matrix we add after multiplying row 3 by 1 3 :

[ 1 0 2 -3 2 3 -2 6 0 0 1 -2 ]

What if we combined the last two steps to make things go a little faster? In other words, instead of starting by adding row 2 to row 3, we can add R 2 + 2 R 3 .

Starting with the brackets first, we multiply row 3 by 2 to get:

[ 2 3 0 2 ]

Now we can replace row 2 with this result. We are left with:

[ 1 0 2 -3 2 3 0 2 0 0 1 -2 ]

The benefit here is that we now have a 0 in row 2, column 3. We are one step closer to creating our identity matrix.

Now we can do exactly the same step once more, this time getting another zero in row 2, column 1. In this case, we multiply row 1 by (-2) and replace row 2 with this result:

[ 1 0 2 -3 0 3 -4 -8 0 0 1 -2 ]

Now we have learned all of the various steps we need to find our identity matrix. Let's continue to finish creating this identity matrix:

Add R 2 + 4 R 3 to get a 0 in row 2, column 3:

[ 1 0 2 -3 0 3 0 0 0 0 1 -2 ]

R 1 R 1 - 2 R 3 to get a 0 in row 1, column 3:

[ 1 0 0 1 0 3 0 0 0 0 1 -2 ]

The final step is to multiply row 3 by 1 3 :

[ 1 0 0 1 0 1 0 0 0 0 1 -2 ]

Now we have our identity matrix on the left side. So what this is really saying is:

The solutions for the variables x 1 , x 2 , x 3 are x 1 x 2 x 3 = 1 0 -2 .

Note that this strategy does not work when solving linear equations for parallel lines or equivalent expressions. This is because there are either infinite solutions or no solutions at all.

Topics related to the Matrix Row Operations

Augmented Matrices

Solving Systems of Linear Equations Using Matrices

Determinants

Flashcards covering the Matrix Row Operations

Linear Algebra Flashcards

Numerical Methods Flashcards

Practice tests covering the Matrix Row Operations

Linear Algebra Diagnostic Tests

Get more help from a tutor who understand matrix row operations

Learning how to use matrix row operations effectively takes some practice. It''s not easy to figure out which operation to use and how to create an identity matrix on the left. Like most math skills, it takes plenty of practice -- and students might not have enough time to hone their skills during class time alone. That''s where tutoring comes in. During 1-on-1 tutoring sessions, a student can practice matrix row operations and many other math skills alongside a patient, encouraging tutor. The moment they get stuck, they can turn to their tutor for guidance. The tutor can also use teaching methods that match their learning style and examples that are geared toward their hobbies. Speak with our Educational Directors today to learn more and rest assured: Varsity Tutors will pair you or your student with a fantastic math tutor.

Subjects Near Me
Popular Cities
Popular Subjects
;
Download our free learning tools apps and test prep books
varsity tutors app storevarsity tutors google play storevarsity tutors amazon storevarsity tutors ibooks store