Skip to main content
Solve for x, y, z
Tick mark Image

Similar Problems from Web Search

Share

x=-y-2z-1
Solve x+y+2z=-1 for x.
2\left(-y-2z-1\right)-y+2z=-4 4\left(-y-2z-1\right)+y+4z=-2
Substitute -y-2z-1 for x in the second and third equation.
y=\frac{2}{3}-\frac{2}{3}z z=-\frac{3}{4}y-\frac{1}{2}
Solve these equations for y and z respectively.
z=-\frac{3}{4}\left(\frac{2}{3}-\frac{2}{3}z\right)-\frac{1}{2}
Substitute \frac{2}{3}-\frac{2}{3}z for y in the equation z=-\frac{3}{4}y-\frac{1}{2}.
z=-2
Solve z=-\frac{3}{4}\left(\frac{2}{3}-\frac{2}{3}z\right)-\frac{1}{2} for z.
y=\frac{2}{3}-\frac{2}{3}\left(-2\right)
Substitute -2 for z in the equation y=\frac{2}{3}-\frac{2}{3}z.
y=2
Calculate y from y=\frac{2}{3}-\frac{2}{3}\left(-2\right).
x=-2-2\left(-2\right)-1
Substitute 2 for y and -2 for z in the equation x=-y-2z-1.
x=1
Calculate x from x=-2-2\left(-2\right)-1.
x=1 y=2 z=-2
The system is now solved.