Solve for p
p=q
Solve for q
q=p
Share
Copied to clipboard
2p-q=q
Combine p and p to get 2p.
2p=q+q
Add q to both sides.
2p=2q
Combine q and q to get 2q.
p=q
Cancel out 2 on both sides.
2p-q=q
Combine p and p to get 2p.
2p-q-q=0
Subtract q from both sides.
2p-2q=0
Combine -q and -q to get -2q.
-2q=-2p
Subtract 2p from both sides. Anything subtracted from zero gives its negation.
q=p
Cancel out -2 on both sides.
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}