Paul's Online Math Notes
Algebra (Notes) / Systems of Equations / Linear Systems with Three Variables   [Notes] [Practice Problems] [Assignment Problems]


On August 21 I am planning to perform a major update to the site. I can't give a specific time in which the update will happen other than probably sometime between 6:30 a.m. and 8:00 a.m. (Central Time, USA). There is a very small chance that a prior commitment will interfere with this and if so the update will be rescheduled for a later date.

I have spent the better part of the last year or so rebuilding the site from the ground up and the result should (hopefully) lead to quicker load times for the pages and for a better experience on mobile platforms. For the most part the update should be seamless for you with a couple of potential exceptions. I have tried to set things up so that there should be next to no down time on the site. However, if you are the site right as the update happens there is a small possibility that you will get a "server not found" type of error for a few seconds before the new site starts being served. In addition, the first couple of pages will take some time to load as the site comes online. Page load time should decrease significantly once things get up and running however.

August 7, 2018

Algebra - Notes

 Linear Systems with Three Variables

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.



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.



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.


Algebra (Notes) / Systems of Equations / Linear Systems with Three Variables    [Notes] [Practice Problems] [Assignment Problems]

© 2003 - 2018 Paul Dawkins