Problem to solve
Solve \[2x-\frac{y}{3}+2z=-1\], \[x+y+\frac{z}{2}=-1\], \[x-2y+z=2\]
Solution
STEP 1
Solve the following system:
{2 x - y/3 + 2 z = -1 | (equation 1)
x + y + z/2 = -1 | (equation 2)
x - 2 y + z = 2 | (equation 3)
STEP 2
Subtract 1/2 × (equation 1) from equation 2:
{2 x - y/3 + 2 z = -1 | (equation 1)
0 x+(7 y)/6 - z/2 = -1/2 | (equation 2)
x - 2 y + z = 2 | (equation 3)
STEP 3
Multiply equation 1 by 3:
{6 x - y + 6 z = -3 | (equation 1)
0 x+(7 y)/6 - z/2 = -1/2 | (equation 2)
x - 2 y + z = 2 | (equation 3)
STEP 4
Multiply equation 2 by 6:
{6 x - y + 6 z = -3 | (equation 1)
0 x+7 y - 3 z = -3 | (equation 2)
x - 2 y + z = 2 | (equation 3)
STEP 5
Subtract 1/6 × (equation 1) from equation 3:
{6 x - y + 6 z = -3 | (equation 1)
0 x+7 y - 3 z = -3 | (equation 2)
0 x - (11 y)/6+0 z = 5/2 | (equation 3)
STEP 6
Multiply equation 3 by 6:
{6 x - y + 6 z = -3 | (equation 1)
0 x+7 y - 3 z = -3 | (equation 2)
0 x - 11 y+0 z = 15 | (equation 3)
STEP 7
Swap equation 2 with equation 3:
{6 x - y + 6 z = -3 | (equation 1)
0 x - 11 y+0 z = 15 | (equation 2)
0 x+7 y - 3 z = -3 | (equation 3)
STEP 8
Add 7/11 × (equation 2) to equation 3:
{6 x - y + 6 z = -3 | (equation 1)
0 x - 11 y+0 z = 15 | (equation 2)
0 x+0 y - 3 z = 72/11 | (equation 3)
STEP 9
Multiply equation 3 by 11/3:
{6 x - y + 6 z = -3 | (equation 1)
0 x - 11 y+0 z = 15 | (equation 2)
0 x+0 y - 11 z = 24 | (equation 3)
STEP 10
Divide equation 3 by -11:
{6 x - y + 6 z = -3 | (equation 1)
0 x - 11 y+0 z = 15 | (equation 2)
0 x+0 y+z = -24/11 | (equation 3)
STEP 11
Divide equation 2 by -11:
{6 x - y + 6 z = -3 | (equation 1)
0 x+y+0 z = -15/11 | (equation 2)
0 x+0 y+z = -24/11 | (equation 3)
STEP 12
Add equation 2 to equation 1:
{6 x + 0 y+6 z = -48/11 | (equation 1)
0 x+y+0 z = -15/11 | (equation 2)
0 x+0 y+z = -24/11 | (equation 3)
STEP 13
Subtract 6 × (equation 3) from equation 1:
{6 x+0 y+0 z = 96/11 | (equation 1)
0 x+y+0 z = -15/11 | (equation 2)
0 x+0 y+z = -24/11 | (equation 3)
STEP 14
Divide equation 1 by 6:
{x+0 y+0 z = 16/11 | (equation 1)
0 x+y+0 z = -15/11 | (equation 2)
0 x+0 y+z = -24/11 | (equation 3)
STEP 15
Collect results:
Answer: | 
 | {x = 16/11
y = -15/11
z = -24/11