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.
John received an inheritance of that he divided into three parts and invested in three ways: in a money-market fund paying annual interest; in municipal bonds paying annual interest; and in mutual funds paying annual interest. John invested more in municipal funds than in municipal bonds. He earned in interest the first year. How much did John invest in each type of fund?
Figure : (credit: “Elembis,” Wikimedia Commons)
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 and Figure 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.
Figure :(a)Three planes intersect at a single point, representing a three-by-three system with a single solution. (b) Three planes intersect in a line, representing a three-by-three system with infinite solutions.Figure :All three figures represent three-by-three systems with no solution. (a) The three planes intersect with each other, but not at a common point. (b) Two of the planes are parallel and intersect with the third plane, but not with each other. (c) All three planes are parallel, so there is no point of intersection.
Example : 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 : 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 .
Figure
Example : 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 in three different funds: part in a money-market fund paying interest annually; part in municipal bonds paying annually; and the rest in mutual funds paying annually. John invested more in mutual funds than he invested in municipal bonds. The total interest earned in one year was . 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 .
We form the second equation according to the information that John invested 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 .
Then, we write the three equations as a system.
To make the calculations simpler, we can multiply the third equation by . 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 in a money-market fund, in municipal bonds, and in mutual funds.
Exercise
Solve the system of equations in three variables.
Answer
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 : 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 to Equation .
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.
Exercise
Solve the system of three equations in three variables.
Answer
No solution.
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 : 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 , 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.
Figure
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 and if needed and .
Exercise :
Solve the following system.
Answer
Infinite number of solutions of the form .
Media
Access these online resources for additional instruction and practice with systems of equations in three variables.
A solution set is an ordered triple {(x,y,z)} that represents the intersection of three planes in space. See Example .
A system of three equations in three variables can be solved by using a series of steps that forces a variable to be eliminated. The steps include interchanging the order of equations, multiplying both sides of an equation by a nonzero constant, and adding a nonzero multiple of one equation to another equation. See Example .
Systems of three equations in three variables are useful for solving many different types of real-world problems. See Example .
A system of equations in three variables is inconsistent if no solution exists. After performing elimination operations, the result is a contradiction. See Example .
Systems of equations in three variables that are inconsistent could result from three parallel planes, two parallel planes and one intersecting plane, or three planes that intersect the other two but not at the same location.
A system of equations in three variables is dependent if it has an infinite number of solutions. After performing elimination operations, the result is an identity. See Example .
Systems of equations in three variables that are dependent could result from three identical planes, three planes intersecting at a line, or two identical planes that intersect the third on a line.