Three Variable Solution
Three Variable Solution
4.3
In this
section
(4-19)
217
The techniques that you learned in Section 4.2 can be extended to systems of equations in more than two variables. In this section we use elimination of variables to
solve systems of equations in three variables.
Definition
Definition
Solving a System by
Elimination
Graphs of Equations in
Three Variables
Applications
study
tip
If A, B, C, and D are real numbers, with A, B, and C not all zero, then
Everyone knows that you
must practice to be successful
with musical instruments,
foreign languages, and sports.
Success in algebra also requires regular practice. Thus
budget your time so that you
have a regular practice period
for algebra.
E X A M P L E
Ax By Cz D
is called a linear equation in three variables.
x y z 1
2x 2y 3z 8
2x y 2z 9
Solution
We can eliminate z from Eqs. (1) and (2) by multiplying Eq. (1) by 3 and adding it
to Eq. (2):
(4)
3x 3y 3z 3
2x 2y 3z 8
5x y
5
218
(4-20)
helpful
Chapter 4
hint
Now we must eliminate the same variable, z, from another pair of equations.
Eliminate z from (1) and (3):
(5)
2x 2y 2z 2
2x y 2z 9
4x y
7
Equations (4) and (5) give us a system with two variables. We now solve this
system. Eliminate y by multiplying Eq. (5) by 1 and adding the equations:
5x y 5
4x y 7
x
2
Eq. (4)
Eq. (5) multiplied by 1
calculator
close-up
You can use a calculator to
check that (2, 15, 14) satisfies
all three equations of the original system.
4x y 7
4(2) y 7
8 y 7
y 15
Now replace x by 2 and y by 15 in Eq. (1) to find z:
x y z 1
2 15 z 1
13 z 1
z 14
z 14
Check that (2, 15, 14) satisfies all three of the original equations. The solution set
1. Use substitution or addition to eliminate any one of the variables from a pair
of equations of the system. Look for the easiest variable to eliminate.
2. Eliminate the same variable from another pair of equations of the system.
3. Solve the resulting system of two equations in two unknowns.
4. After you have found the values of two of the variables, substitute into one of
the original equations to find the value of the third variable.
5. Check the three values in all of the original equations.
In the next example we use a combination of addition and substitution.
E X A M P L E
xy
4
2x
3z 14
2y z 2
4.3
helpful
hint
In Example 2 we chose to
eliminate y first. Try solving
Example 2 by first eliminating z. Write z 2 2y and
then substitute 2 2y for z
in Eqs. (1) and (2).
study
tip
When one student asks another for help, often the one
who does the explaining is
the one who learns the most.
When you work together,
dont let one person do all of
the talking. If you must work
alone, then try explaining
things to yourself. You might
even try talking to yourself.
(4-21)
219
Solution
From Eq. (1) we get y 4 x. If we substitute y 4 x into Eq. (3), then
Eqs. (2) and (3) will be equations involving x and z only.
(3)
2y z 2
2(4 x) z 2 Replace y by 4 x.
8 2x z 2 Simplify.
(4)
2x z 6
Now solve the system consisting of Eqs. (2) and (4) by addition:
2x 3z 14 Eq. (2)
2x z 6 Eq. (4)
2z 8
z 4
Use Eq. (3) to find y:
2y z 2 Eq. (3)
2y (4) 2 Let z 4.
2y 6
y3
Use Eq. (1) to find x:
x y 4 Eq. (1)
x 3 4 Let y 3.
x1
Check that (1, 3,4) satisfies all three of the original equations. The solution set is
(1, 3, 4).
CAUTION
In solving a system in three variables it is essential to keep
your work organized and neat. Writing short notes that explain your steps (as was
done in the examples) will allow you to go back and check your work.
220
(4-22)
Chapter 4
have either three different planes intersecting along a line, as in Fig. 4.6(d) or two
equations for the same plane, with the third plane intersecting that plane. If all three
equations are equations of the same plane, we get that plane for the intersection. We
will not solve systems corresponding to all of the possible configurations described.
The following examples illustrate two of these cases.
(a)
(b)
(c)
(d)
FIGURE 4.6
E X A M P L E
x y z5
3x 2y z 8
2x 2y 2z 7
Solution
We can eliminate the variable z from Eqs. (1) and (2) by adding them:
(1)
x yz5
(2)
3x 2y z 8
4x y
13
To eliminate z from Eqs. (1) and (3), multiply Eq. (1) by 2 and add the resulting
equation to Eq. (3):
2x 2y 2z 10 Eq. (1) multiplied by 2
2x 2y 2z 7
Eq. (3)
0 3
Because the last equation is false, there are two inconsistent equations in the
E X A M P L E
helpful
hint
2x 3y z 4
6x 9y 3z 12
4x 6y 2z 8
Solution
We will first eliminate x from Eqs. (1) and (2). Multiply Eq. (1) by 3 and add the
resulting equation to Eq. (2):
Eq. (1) multiplied by 3
6x 9y 3z 12
6x 9y 3z 12 Eq. (2)
00
4.3
(4-23)
221
The last statement is an identity. The identity occurred because Eq. (2) is a multiple
of Eq. (1). In fact, Eq. (3) is also a multiple of Eq. (1). These equations are dependent. They are all equations for the same plane. The solution set is the set of all
points on that plane,
(x, y, z) 2x 3y z 4.
Applications
Problems involving three unknown quantities can often be solved by using a system
of three equations in three variables.
E X A M P L E
helpful
hint
Solution
Let x, y, and z represent the rent on the one-bedroom, two-bedroom, and threebedroom condos, respectively. We can write one equation for the total rent, another
equation for the total repairs, and a third equation expressing the fact that the rent
for the three-bedroom condo is twice that for the one-bedroom condo:
x y z 1240
0.1x 0.2y 0.3z 276
z 2x
Substitute z 2x into both of the other equations to eliminate z:
x y 2x 1240
0.1x 0.2y 0.3(2x) 276
3x
y 1240
0.7x 0.2y 276
2(3x y) 2(1240)
10(0.7x 0.2y) 10(276)
6x 2y 2480
7x 2y 2760
x
280
z 2(280) 560
280 y 560 1240
y 400
Add.
Because z 2x
Because x y z 1240
Check that (280, 400, 560) satisfies all three of the original equations. The condos
222
(4-24)
Chapter 4
WARM-UPS
4. 3
EXERCISES
Reading and Writing After reading this section, write out the
answers to these questions. Use complete sentences.
1. What is a linear equation in three variables?
A linear equation in three variables is an equation of the
form Ax By Cz D where A, B, and C cannot all be
zero.
2. What is an ordered triple?
An ordered triple is a collection of three numbers [written
as (a, b, c)] in which the order of the numbers is important.
3. What is a solution to a system of linear equations in three
variables?
A solution to a system of linear equations in three variables
is an ordered triple that satisfies all of the equations in the
system.
4. How do we solve systems of linear equations in three
variables?
We solve systems in three variables by using addition or
substitution to eliminate variables.
5. What does the graph of a linear equation in three variables
look like?
The graph of a linear equation in three variables is a plane
in a three-dimensional coordinate system.
6. How are the planes positioned when a system of linear
equations in three variables is inconsistent?
For an inconsistent system at least two of the planes are
parallel.
x yz2
x 2y z 6
2x y z 5
(1, 2, 1)
8. 2x y 3z 14
x y 2z 5
3x y z 2
(2, 1, 3)
9. x 2y 4z 3
x 3y 2z 6
x 4y 3z 5
(1, 3, 2 )
10.
2x 3y z 13
3x 2y z 4
4x 4y z 5
(3, 2, 1)
11. 2x y z 10
3x 2y 2z 7
x 3y 2z 10
(1, 5, 3)
12.
x 3y 2z 11
2x 4y 3z 15
3x 5y 4z 5
(1, 2, 3)
13.
2x 3y z 9
2x y 3z 7
x y 2z 5
(1, 2, 1)
14. 3x 4y z 19
2x 4y z 0
x 2y 5z 17
(3, 2, 2)
15. 2x 5y 2z 16
3x 2y 3z 19
4x 3y 4z 18
(1, 2, 4)
16. 2x 3y 4z 3
3x 5y 2z 4
4x 2y 3z 0
(1, 1, 2)
17. x y
4
y z 2
xyz9
(1, 3, 5)
18. x y z 0
xy
2
y z 10
(2, 4, 6)
4.3
19. x y
7
y z 1
x
3z 18
(3, 4, 5)
20. 2x y
8
y 3z 22
x
z 8
(2, 4, 6)
x y 2z 3
2x y z 5
3x 3y 6z 4
22. 2x 4y 6z 12
6x 12y 18z 36
x 2y 3z 6
(x, y, z) x 2y 3z 6
23.
24.
25.
3x y z 5
9x 3y 3z 15
12x 4y 4z 20
(x, y, z) 3x y z 5
4x 2y 2z 5
2x y z 7
4x 2y 2z 6
xy
3
y z8
2x
2z 7
(4-25)
223
210
200
26. 2x y
6
2y z 4
8x
2z 3
27. 0.10x 0.08y 0.04z 3
5x
4y
2z 150
0.3x 0.24y 0.12z 9
(x, y, z) 5x 4y 2z 150
28. 0.06x 0.04y
z6
3x
2y 50z 300
0.03x 0.02y 0.5z 3
(x, y, z) 3x 2y 50z 300
29.
30.
224
(4-26)
Chapter 4
4.4
In this
section
Matrices
Inconsistent and
Dependent Equations
E X A M P L E
Matrices
A matrix is a rectangular array of numbers. The rows of a matrix run horizontally,
and the columns of a matrix run vertically. A matrix with m rows and n columns has
order m n (read m by n). Each number in a matrix is called an element or
entry of the matrix.
Order of a matrix
Determine the order of each matrix.
1
2
2 3
5 2
a)
b)
1 5
0
3
study
tip
c)
1
4
1
2
5
0
3
6
2
d) [1
6]
Solution
Because matrix (a) has 3 rows and 2 columns, its order is 3 2. Matrix (b) is a
2 2 matrix, matrix (c) is a 3 3 matrix, and matrix (d) is a 1 3 matrix.