
David W. answered 02/13/17
Tutor
4.7
(90)
Experienced Prof
To Eliminate a variable, we must find/make equations that have the same (or opposite) coefficients for that variable.
2x + y - z = 6 [eq1]
3x - 2y + 3z = -7 [eq2]
x + y + z = 1 [eq3]
After looking for ways to get the same coefficients, I decided to create a modified eq3 and subtract it from eq2; that eliminates both x and z:
3x - 2y + 3z = -7 [eq2]
3x + 3y + 3z = 3 [3*eq3]
--------------------------------- [Elimination; subtract equations]
- 5y = -10
y = 2 [divide by (-5); eq4]
Now, I observe that eq1 and eq3 may be added to eliminate z:
2x + y - z = 6 [eq1]
x + y + z = 1 [eq3]
x + y + z = 1 [eq3]
------------------------------- [Elimination; add equations]
3x + 2y = 7 [eq5]
2y = 4 [2*eq4]
------------------------------ [Elimination; subtract equations]
3x = 3
x = 1 [eq6]
Now, we can eliminate x and y (use any starting eq1-eq3):
x + y + z = 1 [eq3]
x = 1 [eq6 again]
------------------------------ {Elimination; subtract equations]
y + z = 0 [eq7]
y = 2 [eq4 again]
------------------------------- [Elimination; subtract equations]
z = -2 [eq8]
Check:
Does 2x + y - z = 6 ? [eq1]
2(1) + 2 - (-2) = 6 ?
6 = 6 ?yes
Does 3x - 2y + 3z = -7 ? [eq2]
3(1) - 2(2) + 3(-2) = -7 ?
-7 = -7 ?yes
Does x + y + z = 1 ? [eq3]
(1) + (2) + (-2) = 1 ?
1 = 1 ?yes