Problem to solve
Solve \[-x+3y+2z=5\], \[-3x-2y+z=-4\], \[x-y+z=3\]
Solution
STEP 1
Solve the following system:
{-x + 3 y + 2 z = 5 | (equation 1)
-3 x - 2 y + z = -4 | (equation 2)
x - y + z = 3 | (equation 3)
STEP 2
Swap equation 1 with equation 2:
{-(3 x) - 2 y + z = -4 | (equation 1)
-x + 3 y + 2 z = 5 | (equation 2)
x - y + z = 3 | (equation 3)
STEP 3
Subtract 1/3 × (equation 1) from equation 2:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+(11 y)/3 + (5 z)/3 = 19/3 | (equation 2)
x - y + z = 3 | (equation 3)
STEP 4
Multiply equation 2 by 3:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y + 5 z = 19 | (equation 2)
x - y + z = 3 | (equation 3)
STEP 5
Add 1/3 × (equation 1) to equation 3:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y + 5 z = 19 | (equation 2)
0 x - (5 y)/3 + (4 z)/3 = 5/3 | (equation 3)
STEP 6
Multiply equation 3 by 3:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y + 5 z = 19 | (equation 2)
0 x - 5 y + 4 z = 5 | (equation 3)
STEP 7
Add 5/11 × (equation 2) to equation 3:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y + 5 z = 19 | (equation 2)
0 x+0 y+(69 z)/11 = 150/11 | (equation 3)
STEP 8
Multiply equation 3 by 11/3:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y + 5 z = 19 | (equation 2)
0 x+0 y+23 z = 50 | (equation 3)
STEP 9
Divide equation 3 by 23:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y + 5 z = 19 | (equation 2)
0 x+0 y+z = 50/23 | (equation 3)
STEP 10
Subtract 5 × (equation 3) from equation 2:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+11 y+0 z = 187/23 | (equation 2)
0 x+0 y+z = 50/23 | (equation 3)
STEP 11
Divide equation 2 by 11:
{-(3 x) - 2 y + z = -4 | (equation 1)
0 x+y+0 z = 17/23 | (equation 2)
0 x+0 y+z = 50/23 | (equation 3)
STEP 12
Add 2 × (equation 2) to equation 1:
{-(3 x) + 0 y+z = -58/23 | (equation 1)
0 x+y+0 z = 17/23 | (equation 2)
0 x+0 y+z = 50/23 | (equation 3)
STEP 13
Subtract equation 3 from equation 1:
{-(3 x)+0 y+0 z = -108/23 | (equation 1)
0 x+y+0 z = 17/23 | (equation 2)
0 x+0 y+z = 50/23 | (equation 3)
STEP 14
Divide equation 1 by -3:
{x+0 y+0 z = 36/23 | (equation 1)
0 x+y+0 z = 17/23 | (equation 2)
0 x+0 y+z = 50/23 | (equation 3)
STEP 15
Collect results:
Answer: | 
 | {x = 36/23
y = 17/23
z = 50/23