Paul's Online Math Notes
     
 
Online Notes / Algebra (Notes) / Systems of Equations / Linear Systems with Three Variables
Notice
I've been notified that Lamar University will be doing some network maintenance on the following days.
  • Sunday November 9th 2014 from 12:05 AM until 11:59 AM Central Daylight Time
  • Sunday November 16th 2014 from 4:0 AM until 11:59 AM Central Daylight Time

During these times the site will either be completely unavailable or you will receive an error when trying to access any of the notes and/or problem pages. I realize this is probably a bad time for many of you but I have no control over this kind of thing and there are really no good times for this to happen and they picked the time that would cause the least disruptions for the fewest people. I apologize for the inconvenience!

Paul.



Internet Explorer 10 & 11 Users : If you are using Internet Explorer 10 or Internet Explorer 11 then, in all likelihood, the equations on the pages are all shifted downward. To fix this you need to put your browser in Compatibility View for my site. Click here for instructions on how to do that. Alternatively, you can also view the pages in Chrome or Firefox as they should display properly in the latest versions of those browsers without any additional steps on your part.

This is going to be a fairly short section in the sense that it’s really only going to consist of a couple of examples to illustrate how to take the methods from the previous section and use them to solve a linear system with three equations and three variables. 

 

So, let’s get started with an example.

 

Example 1  Solve the following system of equations.

                                                         

Solution

We are going to try and find values of x, y, and a z that will satisfy all three equations at the same time.  We are going to use elimination to eliminate one of the variables from one of the equations and two of the variables from another of the equations.  The reason for doing this will be apparent once we’ve actually done it.

 

The elimination method in this case will work a little differently than with two equations.  As with two equations we will multiply as many equations as we need to so that if we start adding pairs of equations we can eliminate one of the variables.

 

In this case it looks like if we multiply the second equation by 2 it will be fairly simple to eliminate the y term from the second and third equation by adding the first equation to both of them.  So, let’s first multiply the second equation by two.

 

                     

 

Now, with this new system we will replace the second equation with the sum of the first and second equations and we will replace the third equation with the sum of the first and third equations.

 

Here is the resulting system of equations.

 

                                                          

 

So, we’ve eliminated one of the variables from two of the equations.  We now need to eliminate either x or z from either the second or third equations.  Again, we will use elimination to do this.  In this case we will multiply the third equation by -5 since this will allow us to eliminate z from this equation by adding the second onto is.

 

                      

 

Now, replace the third equation with the sum of the second and third equation.

 

                                                           

 

Now, at this point notice that the third equation can be quickly solved to find that .  Once we know this we can plug this into the second equation and that will give us an equation that we can solve for z as follows.

 

                                                              

 

Finally, we can substitute both x and z into the first equation which we can use to solve for y.  Here is that work.

                                                           

 

So, the solution to this system is ,  and .

 

That was a fair amount of work and in this case there was even less work than normal because in each case we only had to multiply a single equation to allow us to eliminate variables. 

 

In the next section we’ll be looking at a third method for solving systems that is basically a shorthand method for what we did in the previous example.  The work using that method will be messy as well, but it will be slightly easier to do once you get the hang of it.

 

In the previous example all we did was use the method of elimination until we could start solving for the variables and then just back substitute known values of variables into previous equations to find the remaining unknown variables.

 

Not every linear system with three equations and three variables uses the elimination method exclusively so let’s take a look at another example where the substitution method is used, at least partially.

 

Example 2  Solve the following system of equations.

                                                         

Solution

Before we get started on the solution process do not get excited about the fact that the second equation only has two variables in it.  That is a fairly common occurrence when we have more than two equations in the system. 

 

In fact, we’re going to take advantage of the fact that it only has two variables and one of them, the y, has a coefficient of -1.  This equation is easily solved for y to get,

 

                                                                 

 

We can then substitute this into the first and third equation as follows,

 

                                                    

 

Now, if you think about it, this is just a system of two linear equations with two variables (x and z) and we know how to solve these kinds of systems from our work in the previous section.

 

First, we’ll need to do a little simplification of the system.

 

                              

 

The simplified version looks just like the systems we were solving in the previous section.  Well, it’s almost the same.  The variables this time are x and z instead of x and y, but that really isn’t a difference.  The work of solving this will be the same.

 

We can use either the method of substitution or the method of elimination to solve this new system of two linear equations. 

 

If we wanted to use the method of substitution we could easily solve the second equation for z (you do see why it would be easiest to solve the second equation for z right?) and substitute that into the first equation.  This would allow us to find x and we could then find both z and y.

 

However, to make the point that often we use both methods in solving systems of three linear equations let’s use the method of elimination to solve the system of two equations.  We’ll just need to multiply the first equation by 3 and the second by 5.  Doing this gives,

 

                                 

 

We can now easily solve for x to get .  The coefficients on the second equation are smaller so let’s plug this into that equation and solve for z.  Here is that work.

 

                                                            

 

Finally, we need to determine the value of y.  This is very easy to do.  Recall in the first step we used substitution and in that step we used the following equation.

 

                                                                 

 

Since we know the value of x all we need to do is plug that into this equation and get the value of y.

                                                           

 

Note that in many cases where we used substitution on the very first step the equation you’ll have at this step will contain both x’s and z’s and so you will need both values to get the third variable.

 

Okay, to finish this example up here is the solution : ,  and .

 

As we’ve seen with the two examples above there are a variety of paths that we could choose to take when solving a system of three linear equations with three variables.  That will always be the case.  There is no one true path for solving these.  However, having said that there is often a path that will allow you to avoid some of the mess that can arise in solving these types of systems.  Once you work enough of these types of problems you’ll start to get a feel for a “good” path through the solution process that will (hopefully) avoid some of the mess.

 

Interpretation of solutions in these cases is a little harder in some senses.  All three of these equations in the examples above are equations of planes in three dimensional space and solution to this systems in the examples above is the one point that all three of the planes have in common.

 

Note as well that it is completely possible to have no solutions to these systems or infinitely many systems as we saw in the previous section with systems of two equations.  We will look at these cases once we have the next section out of the way.

 


Online Notes / Algebra (Notes) / Systems of Equations / Linear Systems with Three Variables

[Contact Me] [Links] [Privacy Statement] [Site Map] [Terms of Use] [Menus by Milonic]

© 2003 - 2014 Paul Dawkins