Problem to solve
Solve \[x-y+3z=2\], \[2x-3y=-4\], \[x+y+z=-2\]
Solution
STEP 1
Solve the following system:
{x - y + 3 z = 2
-3 y + 2 x = -4
x + y + z = -2
STEP 2
Hint: | Choose an equation and a variable to solve for.
In the first equation, look to solve for x:
{x - y + 3 z = 2
-3 y + 2 x = -4
x + y + z = -2
STEP 3
Hint: | Solve for x.
Subtract 3 z - y from both sides:
{x = -3 z + y + 2
-3 y + 2 x = -4
x + y + z = -2
STEP 4
Hint: | Perform a substitution.
Substitute x = -3 z + y + 2 into the second and third equations:
{x = -3 z + y + 2
2 (-3 z + y + 2) - 3 y = -4
-2 z + 2 y + 2 = -2
STEP 5
Hint: | Expand the left hand side of the equation 2 (-3 z + y + 2) - 3 y = -4.
2 (-3 z + y + 2) - 3 y = (-6 z + 2 y + 4) - 3 y = -6 z - y + 4:
{x = -3 z + y + 2
(-6 z - y + 4) = -4
-2 z + 2 y + 2 = -2
STEP 6
Hint: | Choose an equation and a variable to solve for.
In the second equation, look to solve for y:
{x = -3 z + y + 2
-6 z - y + 4 = -4
-2 z + 2 y + 2 = -2
STEP 7
Hint: | Isolate terms with y to the left hand side.
Subtract -6 z + 4 from both sides:
{x = -3 z + y + 2
-y = 6 z - 8
-2 z + 2 y + 2 = -2
STEP 8
Hint: | Solve for y.
Multiply both sides by -1:
{x = -3 z + y + 2
y = -6 z + 8
-2 z + 2 y + 2 = -2
STEP 9
Hint: | Perform a substitution.
Substitute y = -6 z + 8 into the third equation:
{x = -3 z + y + 2
y = -6 z + 8
2 + 2 (-6 z + 8) - 2 z = -2
STEP 10
Hint: | Expand the left hand side of the equation 2 + 2 (-6 z + 8) - 2 z = -2.
2 + 2 (-6 z + 8) - 2 z = -2 z + (-12 z + 16) + 2 = -14 z + 18:
{x = -3 z + y + 2
y = -6 z + 8
(-14 z + 18) = -2
STEP 11
Hint: | Choose an equation and a variable to solve for.
In the third equation, look to solve for z:
{x = -3 z + y + 2
y = -6 z + 8
-14 z + 18 = -2
STEP 12
Hint: | Isolate terms with z to the left hand side.
Subtract 18 from both sides:
{x = -3 z + y + 2
y = -6 z + 8
-14 z = -20
STEP 13
Hint: | Solve for z.
Divide both sides by -14:
{x = -3 z + y + 2
y = -6 z + 8
z = 10/7
STEP 14
Hint: | Perform a back substitution.
Substitute z = 10/7 into the first and second equations:
{x = y - 16/7
y = -4/7
z = 10/7
STEP 15
Hint: | Perform a back substitution.
Substitute y = -4/7 into the first equation:
Answer: | 
 | {x = -20/7
y = -4/7
z = 10/7