Question
Solve the following system of linear equations in three variables:
Solution
First, let's label the given equations to make them easier to reference:
By adding equation (1) and (2), we can eliminate the variable \(y\):
(2)
Next, we eliminate \(y\) again by multiplying equation (1) by 2 and adding it to equation (3):
Multiply (1) by 2: $$ 2(x+y+z) = 2(5) \implies 2x + 2y + 2z = 10 $$
(3)
Now we have a new system with two variables. Subtract equation (4) from equation (5) to solve for \(z\):
(4)
Substitute \(z=4\) back into equation (4) to find \(x\):
Finally, substitute \(x=2\) and \(z=4\) into equation (1) to find \(y\):
The final solution is:
No comments:
Post a Comment