Solve for x, y, z
x=2
y=-4
z=2
Share
Copied to clipboard
x+y-3z=-8 -2x-6y+4z=28 -3x+4y+3z=-16
Reorder the equations.
x=-y+3z-8
Solve x+y-3z=-8 for x.
-2\left(-y+3z-8\right)-6y+4z=28 -3\left(-y+3z-8\right)+4y+3z=-16
Substitute -y+3z-8 for x in the second and third equation.
y=-3-\frac{1}{2}z z=\frac{7}{6}y+\frac{20}{3}
Solve these equations for y and z respectively.
z=\frac{7}{6}\left(-3-\frac{1}{2}z\right)+\frac{20}{3}
Substitute -3-\frac{1}{2}z for y in the equation z=\frac{7}{6}y+\frac{20}{3}.
z=2
Solve z=\frac{7}{6}\left(-3-\frac{1}{2}z\right)+\frac{20}{3} for z.
y=-3-\frac{1}{2}\times 2
Substitute 2 for z in the equation y=-3-\frac{1}{2}z.
y=-4
Calculate y from y=-3-\frac{1}{2}\times 2.
x=-\left(-4\right)+3\times 2-8
Substitute -4 for y and 2 for z in the equation x=-y+3z-8.
x=2
Calculate x from x=-\left(-4\right)+3\times 2-8.
x=2 y=-4 z=2
The system is now solved.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}