Learning Objectives
In this section, you will:
- Solve systems of three equations in three variables.
- Identify inconsistent systems of equations containing three variables.
- Express the solution of a system of dependent equations containing three variables.
Corequisite Skills
Learning Objectives
- Determine whether an ordered triple is a solution of a system of three linear equations with three variables (IA 4.4.1)
- Solve a system of three linear equations with three variables (IA 4.4.2)
Objective 1: Determine whether an ordered triple is a solution of a system of three linear equations with three variables (IA 4.4.1)
A linear equation with three variables where a, b, c, and d are real numbers and a, b, and c are not all 0, is of the form . The graph of a linear equation with three variables is a plane.
A system of linear equations with three variables is a set of linear equations with three variables. For example,
is a system of linear equations with three variables.
Solutions of a system of equations are the values of the variables that make all the equations true. A solution is represented by an ordered triple (x,y,z).
Example 1
Determine whether the ordered triples are solutions to the given system.
at and at
Solution
We substitute 1, –3, 2 into all three equations:
True | True | True |
Conclusion: Since (1,-3,2) is a solution to all three equations, then it is a solution to the system |
Next we substitute (4, –1, –5) into all three equations:
False | True | False |
Conclusion: Since (4,–1,–5) is not a solution to all three equations, then it is not a solution to the system |
Practice Makes Perfect
Determine whether the ordered pairs are solutions to the given system.
At (3, 1, 3):
________________________ | ________________________ | ________________________ |
Conclusion: ________________________ |
At (4, 3, 7):
________________________ | ________________________ | ________________________ |
Conclusion: ________________________ |
Objective 2: Solve a system of three linear equations with three variables (IA 4.4.2)
When we solve a system of linear equations with three variables, we have many possible solutions.
The solutions are summarized in the table below.
One Solution | |||
The three planes intersect at a common point. |
|||
No Solution | |||
The planes are parallel; they have no points in common. |
Two planes are the same and they are parallel to the third plane. They have no points in common. |
Two planes are parallel and they each intersect the third plane. They have no points in common. |
Each plane intersects the other two but they have no points in common. |
Infinitely many solutions | |||
The three planes intersect in one line. They have many points on that line in common. |
Two planes are the same and intersect the third one in a line. they have many points on that line in common. |
The three planes are exactly the same. They have many points in common. |
How To
Solve a system of linear equations with three variables.
- Step 1. Write the equations in standard form. If any coefficients are fractions, clear them.
- Step 2.
Eliminate the same variable from two equations.
- Decide which variable you will eliminate.
- Work with a pair of equations to eliminate the chosen variable.
- Multiply one or both equations so that the coefficients of that variable are opposites.
- Add the equations resulting from Step 2 to eliminate one variable.
- Step 3. Repeat Step 2 using two other equations and eliminate the same variable as in Step 2.
- Step 4. The two new equations form a system of two equations with two variables. Solve this system.
- Step 5. Use the values of the two variables found in Step 4 to find the third variable.
- Step 6. Write the solution as an ordered triple.
- Step 7. Check that the ordered triple is a solution to all three original equations
Example 2
Solve the system of equations:
Solution
Use equation (1) and (3) to eliminate x.
Use equation (1) and (2) to eliminate x again.
Use equation (4) and (5) to eliminate .
There are infinitely many solutions. | |
Solve equation (4) for y. | Represent the solution showing how x and y are dependent on z. |
Use equation (1) to solve for x. | |
Substitute |
The true statement tells us that this is a dependent system that has infinitely many solutions. The solutions are of the form where and z is any real number.
Try It #1
Solve the system of linear equations with three variables.
Step 1 | Write the equations in standard form. If any coefficients are fractions, clear them. ________________________________________ |
Step 2 | Let's use equations (1) and (2) to eliminate ________________________________________ |
Step 3 | Let's use equations (1) and (3) to eliminate ________________________________________ |
Step 4 | Let's now use the new equations (4) and (5) to eliminate ________________________________________ |
Step 5 | ________________________________________ |
Step 6 | ________________________________________ |
Practice Makes Perfect
Determine whether the ordered pair is a solution to the given system
John received an inheritance of $12,000 that he divided into three parts and invested in three ways: in a money-market fund paying 3% annual interest; in municipal bonds paying 4% annual interest; and in mutual funds paying 7% annual interest. John invested $4,000 more in municipal funds than in municipal bonds. He earned $670 in interest the first year. How much did John invest in each type of fund?
Understanding the correct approach to setting up problems such as this one makes finding a solution a matter of following a pattern. We will solve this and similar problems involving three equations and three variables in this section. Doing so uses similar techniques as those used to solve systems of two equations in two variables. However, finding solutions to systems of three equations requires a bit more organization and a touch of visual gymnastics.
Solving Systems of Three Equations in Three Variables
In order to solve systems of equations in three variables, known as three-by-three systems, the primary tool we will be using is called Gaussian elimination, named after the prolific German mathematician Karl Friedrich Gauss. While there is no definitive order in which operations are to be performed, there are specific guidelines as to what type of moves can be made. We may number the equations to keep track of the steps we apply. The goal is to eliminate one variable at a time to achieve upper triangular form, the ideal form for a three-by-three system because it allows for straightforward back-substitution to find a solution which we call an ordered triple. A system in upper triangular form looks like the following:
The third equation can be solved for and then we back-substitute to find and To write the system in upper triangular form, we can perform the following operations:
- Interchange the order of any two equations.
- Multiply both sides of an equation by a nonzero constant.
- Add a nonzero multiple of one equation to another equation.
The solution set to a three-by-three system is an ordered triple Graphically, the ordered triple defines the point that is the intersection of three planes in space. You can visualize such an intersection by imagining any corner in a rectangular room. A corner is defined by three planes: two adjoining walls and the floor (or ceiling). Any point where two walls and the floor meet represents the intersection of three planes.
Number of Possible Solutions
Figure 2 and Figure 3 illustrate possible solution scenarios for three-by-three systems.
- Systems that have a single solution are those which, after elimination, result in a solution set consisting of an ordered triple Graphically, the ordered triple defines a point that is the intersection of three planes in space.
- Systems that have an infinite number of solutions are those which, after elimination, result in an expression that is always true, such as Graphically, an infinite number of solutions represents a line or coincident plane that serves as the intersection of three planes in space.
- Systems that have no solution are those that, after elimination, result in a statement that is a contradiction, such as Graphically, a system with no solution is represented by three planes with no point in common.
Example 1
Determining Whether an Ordered Triple Is a Solution to a System
Determine whether the ordered triple is a solution to the system.
Solution
We will check each equation by substituting in the values of the ordered triple for and
The ordered triple is indeed a solution to the system.
How To
Given a linear system of three equations, solve for three unknowns.
- Pick any pair of equations and solve for one variable.
- Pick another pair of equations and solve for the same variable.
- You have created a system of two equations in two unknowns. Solve the resulting two-by-two system.
- Back-substitute known variables into any one of the original equations and solve for the missing variable.
Example 2
Solving a System of Three Equations in Three Variables by Elimination
Find a solution to the following system:
Solution
There will always be several choices as to where to begin, but the most obvious first step here is to eliminate by adding equations (1) and (2).
The second step is multiplying equation (1) by and adding the result to equation (3). These two steps will eliminate the variable
In equations (4) and (5), we have created a new two-by-two system. We can solve for by adding the two equations.
Choosing one equation from each new system, we obtain the upper triangular form:
Next, we back-substitute into equation (4) and solve for
Finally, we can back-substitute and into equation (1). This will yield the solution for
The solution is the ordered triple See Figure 4.
Example 3
Solving a Real-World Problem Using a System of Three Equations in Three Variables
In the problem posed at the beginning of the section, John invested his inheritance of $12,000 in three different funds: part in a money-market fund paying 3% interest annually; part in municipal bonds paying 4% annually; and the rest in mutual funds paying 7% annually. John invested $4,000 more in mutual funds than he invested in municipal bonds. The total interest earned in one year was $670. How much did he invest in each type of fund?
Solution
To solve this problem, we use all of the information given and set up three equations. First, we assign a variable to each of the three investment amounts:
The first equation indicates that the sum of the three principal amounts is $12,000.
We form the second equation according to the information that John invested $4,000 more in mutual funds than he invested in municipal bonds.
The third equation shows that the total amount of interest earned from each fund equals $670.
Then, we write the three equations as a system.
To make the calculations simpler, we can multiply the third equation by 100. Thus,
Step 1. Interchange equation (2) and equation (3) so that the two equations with three variables will line up.
Step 2. Multiply equation (1) by and add to equation (2). Write the result as row 2.
Step 3. Add equation (2) to equation (3) and write the result as equation (3).
Step 4. Solve for in equation (3). Back-substitute that value in equation (2) and solve for Then, back-substitute the values for and into equation (1) and solve for
John invested $2,000 in a money-market fund, $3,000 in municipal bonds, and $7,000 in mutual funds.
Try It #2
Solve the system of equations in three variables.
Identifying Inconsistent Systems of Equations Containing Three Variables
Just as with systems of equations in two variables, we may come across an inconsistent system of equations in three variables, which means that it does not have a solution that satisfies all three equations. The equations could represent three parallel planes, two parallel planes and one intersecting plane, or three planes that intersect the other two but not at the same location. The process of elimination will result in a false statement, such as or some other contradiction.
Example 4
Solving an Inconsistent System of Three Equations in Three Variables
Solve the following system.
Solution
Looking at the coefficients of we can see that we can eliminate by adding equation (1) to equation (2).
Next, we multiply equation (1) by and add it to equation (3).
Then, we multiply equation (4) by 2 and add it to equation (5).
The final equation is a contradiction, so we conclude that the system of equations in inconsistent and, therefore, has no solution.
Analysis
In this system, each plane intersects the other two, but not at the same location. Therefore, the system is inconsistent.
Try It #3
Solve the system of three equations in three variables.
Expressing the Solution of a System of Dependent Equations Containing Three Variables
We know from working with systems of equations in two variables that a dependent system of equations has an infinite number of solutions. The same is true for dependent systems of equations in three variables. An infinite number of solutions can result from several situations. The three planes could be the same, so that a solution to one equation will be the solution to the other two equations. All three equations could be different but they intersect on a line, which has infinite solutions. Or two of the equations could be the same and intersect the third on a line.
Example 5
Finding the Solution to a Dependent System of Equations
Find the solution to the given system of three equations in three variables.
Solution
First, we can multiply equation (1) by and add it to equation (2).
We do not need to proceed any further. The result we get is an identity, which tells us that this system has an infinite number of solutions. There are other ways to begin to solve this system, such as multiplying equation (3) by and adding it to equation (1). We then perform the same steps as above and find the same result,
When a system is dependent, we can find general expressions for the solutions. Adding equations (1) and (3), we have
We then solve the resulting equation for
We back-substitute the expression for into one of the equations and solve for
So the general solution is In this solution, can be any real number. The values of and are dependent on the value selected for
Analysis
As shown in Figure 5, two of the planes are the same and they intersect the third plane on a line. The solution set is infinite, as all points along the intersection line will satisfy all three equations.
Q&A
Does the generic solution to a dependent system always have to be written in terms of
No, you can write the generic solution in terms of any of the variables, but it is common to write it in terms of x and if needed and
Try It #4
Solve the following system.
Media
Access these online resources for additional instruction and practice with systems of equations in three variables.
7.2 Section Exercises
Verbal
If a given ordered triple solves the system of equations, is that solution unique? If so, explain why. If not, give an example where it is not unique.
If a given ordered triple does not solve the system of equations, is there no solution? If so, explain why. If not, give an example.
Using the method of addition, is there only one way to solve the system?
Can you explain whether there can be only one method to solve a linear system of equations? If yes, give an example of such a system of equations. If not, explain why not.
Algebraic
For the following exercises, determine whether the ordered triple given is the solution to the system of equations.
and
and
and
For the following exercises, solve each system by elimination.
For the following exercises, solve each system by Gaussian elimination.
Extensions
For the following exercises, solve the system for and
Real-World Applications
Three even numbers sum up to 108. The smaller is half the larger and the middle number is the larger. What are the three numbers?
Three numbers sum up to 147. The smallest number is half the middle number, which is half the largest number. What are the three numbers?
At a family reunion, there were only blood relatives, consisting of children, parents, and grandparents, in attendance. There were 400 people total. There were twice as many parents as grandparents, and 50 more children than parents. How many children, parents, and grandparents were in attendance?
An animal shelter has a total of 350 animals comprised of cats, dogs, and rabbits. If the number of rabbits is 5 less than one-half the number of cats, and there are 20 more cats than dogs, how many of each animal are at the shelter?
Your roommate, Sarah, offered to buy groceries for you and your other roommate. The total bill was $82. She forgot to save the individual receipts but remembered that your groceries were $0.05 cheaper than half of her groceries, and that your other roommate’s groceries were $2.10 more than your groceries. How much was each of your share of the groceries?
Your roommate, John, offered to buy household supplies for you and your other roommate. You live near the border of three states, each of which has a different sales tax. The total amount of money spent was $100.75. Your supplies were bought with 5% tax, John’s with 8% tax, and your third roommate’s with 9% sales tax. The total amount of money spent without taxes is $93.50. If your supplies before tax were $1 more than half of what your third roommate’s supplies were before tax, how much did each of you spend? Give your answer both with and without taxes.
Three coworkers work for the same employer. Their jobs are warehouse manager, office manager, and truck driver. The sum of the annual salaries of the warehouse manager and office manager is $82,000. The office manager makes $4,000 more than the truck driver annually. The annual salaries of the warehouse manager and the truck driver total $78,000. What is the annual salary of each of the co-workers?
At a carnival, $2,914.25 in receipts were taken at the end of the day. The cost of a child’s ticket was $20.50, an adult ticket was $29.75, and a senior citizen ticket was $15.25. There were twice as many senior citizens as adults in attendance, and 20 more children than senior citizens. How many children, adult, and senior citizen tickets were sold?
A local band sells out for their concert. They sell all 1,175 tickets for a total purse of $28,112.50. The tickets were priced at $20 for student tickets, $22.50 for children, and $29 for adult tickets. If the band sold twice as many adult as children tickets, how many of each type was sold?
In a bag, a child has 325 coins worth $19.50. There were three types of coins: pennies, nickels, and dimes. If the bag contained the same number of nickels as dimes, how many of each type of coin was in the bag?
Last year, at Haven’s Pond Car Dealership, for a particular model of BMW, Jeep, and Toyota, one could purchase all three cars for a total of $140,000. This year, due to inflation, the same cars would cost $151,830. The cost of the BMW increased by 8%, the Jeep by 5%, and the Toyota by 12%. If the price of last year’s Jeep was $7,000 less than the price of last year’s BMW, what was the price of each of the three cars last year?
A recent college graduate took advantage of his business education and invested in three investments immediately after graduating. He invested $80,500 into three accounts, one that paid 4% simple interest, one that paid simple interest, and one that paid simple interest. He earned $2,670 interest at the end of one year. If the amount of the money invested in the second account was four times the amount invested in the third account, how much was invested in each account?
You inherit one million dollars. You invest it all in three accounts for one year. The first account pays 3% compounded annually, the second account pays 4% compounded annually, and the third account pays 2% compounded annually. After one year, you earn $34,000 in interest. If you invest four times the money into the account that pays 3% compared to 2%, how much did you invest in each account?
You inherit one hundred thousand dollars. You invest it all in three accounts for one year. The first account pays 4% compounded annually, the second account pays 3% compounded annually, and the third account pays 2% compounded annually. After one year, you earn $3,650 in interest. If you invest five times the money in the account that pays 4% compared to 3%, how much did you invest in each account?
The top three countries in oil consumption in a certain year are as follows: the United States, Japan, and China. In millions of barrels per day, the three top countries consumed 39.8% of the world’s consumed oil. The United States consumed 0.7% more than four times China’s consumption. The United States consumed 5% more than triple Japan’s consumption. What percent of the world oil consumption did the United States, Japan, and China consume?1
The top three countries in oil production in the same year are Saudi Arabia, the United States, and Russia. In millions of barrels per day, the top three countries produced 31.4% of the world’s produced oil. Saudi Arabia and the United States combined for 22.1% of the world’s production, and Saudi Arabia produced 2% more oil than Russia. What percent of the world oil production did Saudi Arabia, the United States, and Russia produce?2
The top three sources of oil imports for the United States in the same year were Saudi Arabia, Mexico, and Canada. The three top countries accounted for 47% of oil imports. The United States imported 1.8% more from Saudi Arabia than they did from Mexico, and 1.7% more from Saudi Arabia than they did from Canada. What percent of the United States oil imports were from these three countries?3
The top three oil producers in the United States in a certain year are the Gulf of Mexico, Texas, and Alaska. The three regions were responsible for 64% of the United States oil production. The Gulf of Mexico and Texas combined for 47% of oil production. Texas produced 3% more than Alaska. What percent of United States oil production came from these regions?4
At one time, in the United States, 398 species of animals were on the endangered species list. The top groups were mammals, birds, and fish, which comprised 55% of the endangered species. Birds accounted for 0.7% more than fish, and fish accounted for 1.5% more than mammals. What percent of the endangered species came from mammals, birds, and fish?
Meat consumption in the United States can be broken into three categories: red meat, poultry, and fish. If fish makes up 4% less than one-quarter of poultry consumption, and red meat consumption is 18.2% higher than poultry consumption, what are the percentages of meat consumption?5
Footnotes
- 1“Oil reserves, production and consumption in 2001,” accessed April 6, 2014, http://scaruffi.com/politics/oil.html.
- 2“Oil reserves, production and consumption in 2001,” accessed April 6, 2014, http://scaruffi.com/politics/oil.html.
- 3“Oil reserves, production and consumption in 2001,” accessed April 6, 2014, http://scaruffi.com/politics/oil.html.
- 4“USA: The coming global oil crisis,” accessed April 6, 2014, http://www.oilcrisis.com/us/.
- 5“The United States Meat Industry at a Glance,” accessed April 6, 2014, http://www.meatami.com/ht/d/sp/i/47465/pid/47465.