# How to Solve Linear Systems Using Gaussian Elimination

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: How to Solve Linear Systems Using Gauss-Jordan Elimination

### You're on a roll. Keep up the good work!

Replay
Your next lesson will play in 10 seconds
• 0:01 Linear Systems
• 0:57 Augmented Matrix
• 2:16 Gaussian Elimination
• 3:57 Solving the System
• 5:20 Lesson Summary

Want to watch this again later?

Timeline
Autoplay
Autoplay
Speed

#### Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Yuanxin (Amy) Yang Alcocer

Amy has a master's degree in secondary education and has taught math at a public charter high school.

Watch this video lesson to learn an easy way to solve a system of equations that involves manipulating a matrix. Learn the kinds of easy matrix manipulations that are needed to solve any system of equations.

## Linear Systems

In math, we come across equations by themselves with just one variable that we have to solve. And then we have linear systems, a collection of linear equations. Your linear equations are equations with variables that have no exponents. So 3x + 4x = 5 is an example of a linear equation, as is x + 3y - 4z = 3.

We need one equation for each variable in our system in order to solve the system. So if we have two variables, we need two equations. If we have three variables, then we need three equations, and so on. In this video lesson, we will learn about using Gaussian elimination, a method to solve a system of equations, to help us solve our linear system. This method requires us to know how to turn our linear system into matrix form and then use simple matrix manipulations. Let's look at solving this linear system using Gaussian elimination: ## Augmented Matrix

Remember that a matrix is just a rectangular array of values put into rows and columns. We first need to turn our linear system into matrix form by turning it into an augmented matrix. An augmented matrix is the combination of two matrices. In our case, we have a matrix for the coefficients of the left side of the equation and another for the right side of the equation.

Recall that turning a system of equations into matrix form involves isolating just the coefficients along with their appropriate signs after organizing them so that the x term is first followed by the y term followed by the z term, the equals sign, and then the constant. We can use a vertical line, or several dots in a vertical line, to represent our equals sign. Our linear system is already organized properly, so all we need to do is to isolate our coefficients. Our first row will have 1, 1, 1, | and then 5. Our second row has 2, 0, -1, | and 4. Our third row has 0, 3, 1, | and 2. Our matrix looks like this: ## Gaussian Elimination

We can now use Gaussian elimination to help us solve this linear system. Gaussian elimination is about manipulating the augmented matrix until we have the matrix that represents the left side of the equations in upper triangular form. What this means is that we want all zeros below the main diagonal. This main diagonal starts at the top left and ends on the bottom right of the coefficients matrix. In other words, we want to manipulate the matrix so the 2 on the second row and the 0 and 3 on the third row are all 0s.

To change these numbers into 0s, we are going to use our matrix row operations. To turn our first 2 into a 0, we multiply our first row by a -2 and then we add it to the second row to create a new second row. We get a new second row of 0, -2, -3, | and -6. Now, to change the 3 in the third row into a 0, we will use this new second row combined with the third row. We will multiply the second row by 3 and add it to the third row multiplied by 2. We get a new third row of 0, 0, -7, | and -14. To unlock this lesson you must be a Study.com Member.

### Register to view this lesson

Are you a student or a teacher?

### Unlock Your Education

#### See for yourself why 30 million people use Study.com

##### Become a Study.com member and start learning now.
Back
What teachers are saying about Study.com

### Earning College Credit

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.