Solve for p, q, r
r=12
p=-4
q=4
Share
Copied to clipboard
p=-q-r+12
Solve p+q+r=12 for p.
2\left(-q-r+12\right)-q+2r=12 3\left(-q-r+12\right)+2q+r=8
Substitute -q-r+12 for p in the second and third equation.
q=4 r=-\frac{1}{2}q+14
Solve these equations for q and r respectively.
r=-\frac{1}{2}\times 4+14
Substitute 4 for q in the equation r=-\frac{1}{2}q+14.
r=12
Calculate r from r=-\frac{1}{2}\times 4+14.
p=-4-12+12
Substitute 4 for q and 12 for r in the equation p=-q-r+12.
p=-4
Calculate p from p=-4-12+12.
p=-4 q=4 r=12
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}