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$\text{\hspace{0.17em}}\left(x,y,z\right),\text{}$which we call an ordered triple. A system in upper triangular form looks like the following:

The third equation can be solved for$\text{\hspace{0.17em}}z,\text{}$and then we back-substitute to find$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}\left\{\left(x,y,z\right)\right\}.\text{\hspace{0.17em}}$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.

[link] and [link] 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$\text{\hspace{0.17em}}\left\{\left(x,y,z\right)\right\}.\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}0=0.\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}3=0.\text{\hspace{0.17em}}$Graphically, a system with no solution is represented by three planes with no point in common.

Determine whether the ordered triple$\text{\hspace{0.17em}}\left(3,\mathrm{-2},1\right)\text{\hspace{0.17em}}$is a solution to the system.

We will check each equation by substituting in the values of the ordered triple for$\text{\hspace{0.17em}}x,y,$ and$\text{\hspace{0.17em}}z.$

$\begin{array}{r}\hfill \text{}x+y+z=2\\ \hfill (3)+(\mathrm{-2})+(1)=2\\ \hfill \text{True}\end{array}$ | $\begin{array}{r}\hfill \text{}6x\mathrm{-4}y+5z=31\\ \hfill 6(3)\mathrm{-4}(\mathrm{-2})+5(1)=31\\ \hfill \text{}18+8+5=31\\ \hfill \text{True}\end{array}$ | $$\begin{array}{r}\hfill \text{}5x+2y+2z=13\\ \hfill 5(3)+2(\mathrm{-2})+2(1)=13\\ \hfill \text{}15\mathrm{-4}+2=13\\ \hfill \text{True}\end{array}$$ |

The ordered triple$\text{\hspace{0.17em}}\left(3,\mathrm{-2},1\right)\text{\hspace{0.17em}}$is indeed a solution to the system.

**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.

Find a solution to the following system:

There will always be several choices as to where to begin, but the most obvious first step here is to eliminate$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$by adding equations (1) and (2).

The second step is multiplying equation (1) by$\text{\hspace{0.17em}}\mathrm{-2}\text{\hspace{0.17em}}$and adding the result to equation (3). These two steps will eliminate the variable$\text{\hspace{0.17em}}x.$

In equations (4) and (5), we have created a new two-by-two system. We can solve for$\text{\hspace{0.17em}}z\text{\hspace{0.17em}}$by adding the two equations.

Choosing one equation from each new system, we obtain the upper triangular form:

Next, we back-substitute$\text{\hspace{0.17em}}z=2\text{\hspace{0.17em}}$into equation (4) and solve for$\text{\hspace{0.17em}}y.$

Finally, we can back-substitute$\text{\hspace{0.17em}}z=2\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}y=\mathrm{-1}\text{\hspace{0.17em}}$into equation (1). This will yield the solution for$\text{\hspace{0.17em}}x.$

The solution is the ordered triple $\text{\hspace{0.17em}}\left(1,\mathrm{-1},2\right).\text{\hspace{0.17em}}$See [link].

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?

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$\text{\hspace{0.17em}}\mathrm{-3}\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}z\text{\hspace{0.17em}}$in equation (3). Back-substitute that value in equation (2) and solve for$\text{\hspace{0.17em}}y.\text{\hspace{0.17em}}$Then, back-substitute the values for$\text{\hspace{0.17em}}z\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$into equation (1) and solve for$\text{\hspace{0.17em}}x.$

John invested $2,000 in a money-market fund, $3,000 in municipal bonds, and $7,000 in mutual funds.

Solve the system of equations in three variables.

$\left(1,\mathrm{-1},1\right)$

# 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$\text{\hspace{0.17em}}3=7\text{\hspace{0.17em}}$or some other contradiction.

Solve the following system.

Looking at the coefficients of$\text{\hspace{0.17em}}x,\text{\hspace{0.17em}}$we can see that we can eliminate$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$by adding equation (1) to equation (2).

Next, we multiply equation (1) by$\text{\hspace{0.17em}}\mathrm{-5}\text{\hspace{0.17em}}$and add it to equation (3).

Then, we multiply equation (4) by 2 and add it to equation (5).

The final equation$\text{\hspace{0.17em}}0=2\text{\hspace{0.17em}}$is a contradiction, so we conclude that the system of equations in inconsistent and, therefore, has no solution.

Solve the system of three equations in three variables.

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.

Find the solution to the given system of three equations in three variables.

First, we can multiply equation (1) by$\text{\hspace{0.17em}}\mathrm{-2}\text{\hspace{0.17em}}$and add it to equation (2).

We do not need to proceed any further. The result we get is an identity,$\text{\hspace{0.17em}}0=0,$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$\text{\hspace{0.17em}}\mathrm{-2},$and adding it to equation (1). We then perform the same steps as above and find the same result, $\text{\hspace{0.17em}}0=0.$

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$\text{\hspace{0.17em}}z.$

We back-substitute the expression for$\text{\hspace{0.17em}}z\text{\hspace{0.17em}}$into one of the equations and solve for$\text{\hspace{0.17em}}y.$

So the general solution is$\text{\hspace{0.17em}}\left(x,\frac{5}{2}x,\frac{3}{2}x\right).\text{\hspace{0.17em}}$In this solution,$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$can be any real number. The values of$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}z\text{\hspace{0.17em}}$are dependent on the value selected for$\text{\hspace{0.17em}}x.$

As shown in [link], 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.

**Does the generic solution to a dependent system always have to be written in terms of$\text{\hspace{0.17em}}x?$
**

*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$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}y.$
*

Solve the following system.

Infinite number of solutions of the form$\text{\hspace{0.17em}}\left(x,4x\mathrm{-11},\mathrm{-5}x+18\right).\text{\hspace{0.17em}}$

Access these online resources for additional instruction and practice with systems of equations in three variables.

# Key Concepts

- A solution set is an ordered triple$\text{\hspace{0.17em}}\left\{\left(x,y,z\right)\right\}\text{\hspace{0.17em}}$that represents the intersection of three planes in space. See

[link]. - 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 [link].
- Systems of three equations in three variables are useful for solving many different types of real-world problems. See [link].
- A system of equations in three variables is inconsistent if no solution exists. After performing elimination operations, the result is a contradiction. See [link].
- 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 [link].
- 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.

# Section Exercises

## Verbal

Can a linear system of three equations have exactly two solutions? Explain why or why not

No, there can be only one, zero, or infinitely many solutions.

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.

Not necessarily. There could be zero, one, or infinitely many solutions. For example,$\text{\hspace{0.17em}}\left(0,0,0\right)\text{\hspace{0.17em}}$is not a solution to the system below, but that does not mean that it has no solution.

$\begin{array}{l}\text{}2x+3y\mathrm{-6}z=1\hfill \\ \mathrm{-4}x\mathrm{-6}y+12z=\mathrm{-2}\hfill \\ \text{}x+2y+5z=10\hfill \end{array}$

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.

Every system of equations can be solved graphically, by substitution, and by addition. However, systems of three equations become very complex to solve graphically so other methods are usually preferable.

## Algebraic

For the following exercises, determine whether the ordered triple given is the solution to the system of equations.

$\begin{array}{l}2x\mathrm{-6}y+6z=\mathrm{-12}\hfill \\ \text{}x+4y+5z=\mathrm{-1}\hfill \\ \mathrm{-x}+2y+3z=\mathrm{-1}\text{\hspace{0.17em}}\hfill \end{array}$and$\text{\hspace{0.17em}}(0,1,\mathrm{-1})$

$\begin{array}{l}\text{}6x-y+3z=6\hfill \\ 3x+5y+2z=0\text{\hspace{0.17em}}\hfill \\ \text{}x+y=0\hfill \end{array}$and$(3,\mathrm{-3},\mathrm{-5})$

No

$\begin{array}{l}6x\mathrm{-7}y+z=2\hfill \\ \mathrm{-x}-y+3z=4\text{\hspace{0.17em}}\hfill \\ \text{}2x+y-z=1\hfill \end{array}$and$\text{\hspace{0.17em}}(4,2,\mathrm{-6})$

$\begin{array}{l}\text{}x-y=0\hfill \\ \text{}x-z=5\hfill \\ x-y+z=\mathrm{-1}\text{\hspace{0.17em}}\hfill \end{array}$and$\text{\hspace{0.17em}}(4,4,\mathrm{-1})$

Yes

$\begin{array}{l}\mathrm{-x}-y+2z=3\hfill \\ \text{}5x+8y\mathrm{-3}z=4\hfill \\ \mathrm{-x}+3y\mathrm{-5}z=\mathrm{-5}\text{\hspace{0.17em}}\hfill \end{array}$and$\text{\hspace{0.17em}}(4,1,\mathrm{-7})$

For the following exercises, solve each system by substitution.

$\begin{array}{l}3x\mathrm{-4}y+2z=\mathrm{-15}\hfill \\ \text{}2x+4y+z=16\hfill \\ \text{}2x+3y+5z=20\hfill \end{array}$

$\left(\mathrm{-1},4,2\right)$

$\begin{array}{l}5x\mathrm{-2}y+3z=20\hfill \\ 2x\mathrm{-4}y\mathrm{-3}z=\mathrm{-9}\hfill \\ \text{}x+6y\mathrm{-8}z=21\hfill \end{array}$

$\begin{array}{l}\text{}5x+2y+4z=9\hfill \\ \mathrm{-3}x+2y+z=10\hfill \\ \text{}4x\mathrm{-3}y+5z=\mathrm{-3}\hfill \end{array}$

$\left(-\frac{85}{107},\frac{312}{107},\frac{191}{107}\right)$

$\begin{array}{l}4x\mathrm{-3}y+5z=31\hfill \\ -x+2y+4z=20\hfill \\ \text{}x+5y\mathrm{-2}z=\mathrm{-29}\hfill \end{array}$

$\begin{array}{l}\text{}5x\mathrm{-2}y+3z=4\hfill \\ \mathrm{-4}x+6y\mathrm{-7}z=\mathrm{-1}\hfill \\ \text{}3x+2y-z=4\hfill \end{array}$

$\left(1,\frac{1}{2},0\right)$

$\begin{array}{l}\text{\hspace{0.17em}}\text{\hspace{0.17em}}4x+6y+9z=0\hfill \\ \mathrm{-5}x+2y\mathrm{-6}z=3\hfill \\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}7x\mathrm{-4}y+3z=\mathrm{-3}\hfill \end{array}$

For the following exercises, solve each system by Gaussian elimination.

$\begin{array}{l}\text{}2x-y+3z=17\hfill \\ \mathrm{-5}x+4y\mathrm{-2}z=\mathrm{-46}\hfill \\ \text{}2y+5z=\mathrm{-7}\hfill \end{array}$

$\left(4,\mathrm{-6},1\right)$

$\begin{array}{l}5x\mathrm{-6}y+3z=50\hfill \\ \text{}-x+4y=10\hfill \\ \text{}2x-z=10\hfill \end{array}$

$\begin{array}{l}\text{}2x+3y\mathrm{-6}z=1\hfill \\ \mathrm{-4}x\mathrm{-6}y+12z=\mathrm{-2}\hfill \\ \text{}x+2y+5z=10\hfill \end{array}$

$\left(x,\frac{1}{27}(65\mathrm{-16}x),\frac{x+28}{27}\right)$

$\begin{array}{l}\text{}4x+6y\mathrm{-2}z=8\hfill \\ \text{}6x+9y\mathrm{-3}z=12\hfill \\ \mathrm{-2}x\mathrm{-3}y+z=\mathrm{-4}\hfill \end{array}$

$\begin{array}{l}\text{\hspace{0.17em}}2x+3y\mathrm{-4}z=5\hfill \\ \mathrm{-3}x+2y+z=11\hfill \\ -x+5y+3z=4\hfill \end{array}$

$\left(-\frac{45}{13},\frac{17}{13},\mathrm{-2}\right)$

$\begin{array}{l}10x+2y\mathrm{-14}z=8\hfill \\ \text{}\mathrm{-x}\mathrm{-2}y\mathrm{-4}z=\mathrm{-1}\hfill \\ \mathrm{-12}x\mathrm{-6}y+6z=\mathrm{-12}\hfill \end{array}$

$\begin{array}{l}\text{}x+y+z=14\hfill \\ \text{}2y+3z=\mathrm{-14}\hfill \\ \mathrm{-16}y\mathrm{-24}z=\mathrm{-112}\hfill \end{array}$

No solutions exist

$\begin{array}{l}\text{}5x\mathrm{-3}y+4z=\mathrm{-1}\hfill \\ \mathrm{-4}x+2y\mathrm{-3}z=0\hfill \\ \text{}\mathrm{-x}+5y+7z=\mathrm{-11}\hfill \end{array}$

$\begin{array}{l}\text{}x+y+z=0\hfill \\ \text{}2x-y+3z=0\hfill \\ \text{}x-z=0\hfill \end{array}$

$\left(0,0,0\right)$

$\begin{array}{l}3x+2y\mathrm{-5}z=6\\ 5x\mathrm{-4}y+3z=\mathrm{-12}\\ 4x+5y\mathrm{-2}z=15\end{array}$

$\begin{array}{l}\text{}x+y+z=0\hfill \\ 2x-y+3z=0\hfill \\ \text{}x-z=1\hfill \end{array}$

$\left(\frac{4}{7},-\frac{1}{7},-\frac{3}{7}\right)$

$\begin{array}{l}\begin{array}{l}\\ 3x-\frac{1}{2}y-z=-\frac{1}{2}\end{array}\hfill \\ \text{}4x+z=3\hfill \\ \text{}-x+\frac{3}{2}y=\frac{5}{2}\hfill \end{array}$

$\begin{array}{l}\text{}6x\mathrm{-5}y+6z=38\hfill \\ \frac{1}{5}x-\frac{1}{2}y+\frac{3}{5}z=1\hfill \\ \text{}\mathrm{-4}x-\frac{3}{2}y-z=\mathrm{-74}\hfill \end{array}$

$\left(7,20,16\right)$

$\begin{array}{l}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\frac{1}{2}x-\frac{1}{5}y+\frac{2}{5}z=-\frac{13}{10}\hfill \\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\frac{1}{4}x-\frac{2}{5}y-\frac{1}{5}z=-\frac{7}{20}\hfill \\ -\frac{1}{2}x-\frac{3}{4}y-\frac{1}{2}z=-\frac{5}{4}\hfill \end{array}$

$\begin{array}{l}\begin{array}{l}\\ -\frac{1}{3}x-\frac{1}{2}y-\frac{1}{4}z=\frac{3}{4}\end{array}\hfill \\ -\frac{1}{2}x-\frac{1}{4}y-\frac{1}{2}z=2\hfill \\ -\frac{1}{4}x-\frac{3}{4}y-\frac{1}{2}z=-\frac{1}{2}\hfill \end{array}$

$\left(\mathrm{-6},2,1\right)$

$\begin{array}{l}\frac{1}{2}x-\frac{1}{4}y+\frac{3}{4}z=0\\ \frac{1}{4}x-\frac{1}{10}y+\frac{2}{5}z=\mathrm{-2}\\ \frac{1}{8}x+\frac{1}{5}y-\frac{1}{8}z=2\end{array}$

$\begin{array}{l}\text{}\frac{4}{5}x-\frac{7}{8}y+\frac{1}{2}z=1\hfill \\ -\frac{4}{5}x-\frac{3}{4}y+\frac{1}{3}z=\mathrm{-8}\hfill \\ -\frac{2}{5}x-\frac{7}{8}y+\frac{1}{2}z=\mathrm{-5}\hfill \end{array}$

$\left(5,12,15\right)$

$\begin{array}{l}\begin{array}{l}\\ -\frac{1}{3}x-\frac{1}{8}y+\frac{1}{6}z=-\frac{4}{3}\end{array}\hfill \\ -\frac{2}{3}x-\frac{7}{8}y+\frac{1}{3}z=-\frac{23}{3}\hfill \\ -\frac{1}{3}x-\frac{5}{8}y+\frac{5}{6}z=0\hfill \end{array}$

$\begin{array}{l}\begin{array}{l}\\ -\frac{1}{4}x-\frac{5}{4}y+\frac{5}{2}z=\mathrm{-5}\end{array}\hfill \\ -\frac{1}{2}x-\frac{5}{3}y+\frac{5}{4}z=\frac{55}{12}\hfill \\ -\frac{1}{3}x-\frac{1}{3}y+\frac{1}{3}z=\frac{5}{3}\hfill \end{array}$

$\left(\mathrm{-5},\mathrm{-5},\mathrm{-5}\right)$

$\begin{array}{l}\frac{1}{40}x+\frac{1}{60}y+\frac{1}{80}z=\frac{1}{100}\hfill \\ \text{\hspace{0.17em}}-\frac{1}{2}x-\frac{1}{3}y-\frac{1}{4}z=-\frac{1}{5}\hfill \\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\frac{3}{8}x+\frac{3}{12}y+\frac{3}{16}z=\frac{3}{20}\hfill \end{array}$

$\begin{array}{l}0.1x\mathrm{-0.2}y+0.3z=2\\ 0.5x\mathrm{-0.1}y+0.4z=8\\ 0.7x\mathrm{-0.2}y+0.3z=8\end{array}$

$\left(10,10,10\right)$

$\begin{array}{l}0.2x+0.1y\mathrm{-0.3}z=0.2\\ 0.8x+0.4y\mathrm{-1.2}z=0.1\\ 1.6x+0.8y\mathrm{-2.4}z=0.2\end{array}$

$\begin{array}{l}1.1x+0.7y\mathrm{-3.1}z=\mathrm{-1.79}\\ 2.1x+0.5y\mathrm{-1.6}z=\mathrm{-0.13}\\ 0.5x+0.4y\mathrm{-0.5}z=\mathrm{-0.07}\end{array}$

$\left(\frac{1}{2},\frac{1}{5},\frac{4}{5}\right)$

$\begin{array}{l}0.5x\mathrm{-0.5}y+0.5z=10\\ 0.2x\mathrm{-0.2}y+0.2z=4\\ 0.1x\mathrm{-0.1}y+0.1z=2\end{array}$

$\begin{array}{l}0.1x+0.2y+0.3z=0.37\\ 0.1x\mathrm{-0.2}y\mathrm{-0.3}z=\mathrm{-0.27}\\ 0.5x\mathrm{-0.1}y\mathrm{-0.3}z=\mathrm{-0.03}\end{array}$

$\left(\frac{1}{2},\frac{2}{5},\frac{4}{5}\right)$

$\begin{array}{l}0.5x\mathrm{-0.5}y\mathrm{-0.3}z=0.13\\ 0.4x\mathrm{-0.1}y\mathrm{-0.3}z=0.11\\ 0.2x\mathrm{-0.8}y\mathrm{-0.9}z=\mathrm{-0.32}\end{array}$

$\begin{array}{l}0.5x+0.2y\mathrm{-0.3}z=1\\ 0.4x\mathrm{-0.6}y+0.7z=0.8\\ 0.3x\mathrm{-0.1}y\mathrm{-0.9}z=0.6\end{array}$

$\left(2,0,0\right)$

$\begin{array}{l}0.3x+0.3y+0.5z=0.6\\ 0.4x+0.4y+0.4z=1.8\\ 0.4x+0.2y+0.1z=1.6\end{array}$

$\begin{array}{l}0.8x+0.8y+0.8z=2.4\\ 0.3x\mathrm{-0.5}y+0.2z=0\\ 0.1x+0.2y+0.3z=0.6\end{array}$

$\left(1,1,1\right)$

## Extensions

For the following exercises, solve the system for$\text{\hspace{0.17em}}x,y,$ and$\text{\hspace{0.17em}}z.$

$\begin{array}{l}\text{}x+y+z=3\hfill \\ \frac{x\mathrm{-1}}{2}+\frac{y\mathrm{-3}}{2}+\frac{z+1}{2}=0\hfill \\ \frac{x\mathrm{-2}}{3}+\frac{y+4}{3}+\frac{z\mathrm{-3}}{3}=\frac{2}{3}\hfill \end{array}$

$\begin{array}{l}5x\mathrm{-3}y-\frac{z+1}{2}=\frac{1}{2}\hfill \\ 6x+\frac{y\mathrm{-9}}{2}+2z=\mathrm{-3}\hfill \\ \text{}\frac{x+8}{2}\mathrm{-4}y+z=4\hfill \end{array}$

$\left(\frac{128}{557},\frac{23}{557},\frac{28}{557}\right)$

$\begin{array}{l}\frac{x+4}{7}-\frac{y\mathrm{-1}}{6}+\frac{z+2}{3}=1\\ \frac{x\mathrm{-2}}{4}+\frac{y+1}{8}-\frac{z+8}{12}=0\\ \frac{x+6}{3}-\frac{y+2}{3}+\frac{z+4}{2}=3\end{array}$

$\begin{array}{l}\frac{x\mathrm{-3}}{6}+\frac{y+2}{2}-\frac{z\mathrm{-3}}{3}=2\\ \frac{x+2}{4}+\frac{y\mathrm{-5}}{2}+\frac{z+4}{2}=1\\ \frac{x+6}{2}-\frac{y\mathrm{-3}}{2}+z+1=9\end{array}$

$\left(6,\mathrm{-1},0\right)$

$\begin{array}{l}\text{}\frac{x\mathrm{-1}}{3}+\frac{y+3}{4}+\frac{z+2}{6}=1\hfill \\ \text{}4x+3y\mathrm{-2}z=11\hfill \\ 0.02x+0.015y\mathrm{-0.01}z=0.065\hfill \end{array}$

## Real-World Applications

Three even numbers sum up to 108. The smaller is half the larger and the middle number is$\text{\hspace{0.17em}}\frac{3}{4}\text{\hspace{0.17em}}$ the larger. What are the three numbers?

24, 36, 48

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?

70 grandparents, 140 parents, 190 children

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 share was $19.95, Sarah’s share was $40, and your other roommate’s share was $22.05.

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?

There are infinitely many solutions; we need more information

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?

500 students, 225 children, and 450 adults

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?

The BMW was $49,636, the Jeep was $42,636, and the Toyota was $47,727.

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$\text{\hspace{0.17em}}3\frac{1}{8}\text{\%}\text{\hspace{0.17em}}$ simple interest, and one that paid$\text{\hspace{0.17em}}2\frac{1}{2}\text{\%}\text{\hspace{0.17em}}$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?

$400,000 in the account that pays 3% interest, $500,000 in the account that pays 4% interest, and $100,000 in the account that pays 2% interest.

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?

The United States consumed 26.3%, Japan 7.1%, and China 6.4% of the world’s oil.

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?

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?

Saudi Arabia imported 16.8%, Canada imported 15.1%, and Mexico 15.0%

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?

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?

Birds were 19.3%, fish were 18.6%, and mammals were 17.1% of endangered species

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?

- Precalculus
- Preface
- Functions
- Linear Functions
- Polynomial and Rational Functions
- Exponential and Logarithmic Functions
- Trigonometric Functions
- Periodic Functions
- Trigonometric Identities and Equations
- Further Applications of Trigonometry
- Systems of Equations and Inequalities
- Introduction to Systems of Equations and Inequalities
- Systems of Linear Equations: Two Variables
- Systems of Linear Equations: Three Variables
- Systems of Nonlinear Equations and Inequalities: Two Variables
- Partial Fractions
- Matrices and Matrix Operations
- Solving Systems with Gaussian Elimination
- Solving Systems with Inverses
- Solving Systems with Cramer's Rule

- Analytic Geometry
- Sequences, Probability and Counting Theory
- Introduction to Calculus
- Appendix

In this system, each plane intersects the other two, but not at the same location. Therefore, the system is inconsistent.