Solve for a
a=-\frac{2\left(b-15\right)}{b+1}
b\neq -1
Solve for b
b=-\frac{a-30}{a+2}
a\neq -2
Share
Copied to clipboard
ab+a=30-2b
Subtract 2b from both sides.
\left(b+1\right)a=30-2b
Combine all terms containing a.
\frac{\left(b+1\right)a}{b+1}=\frac{30-2b}{b+1}
Divide both sides by b+1.
a=\frac{30-2b}{b+1}
Dividing by b+1 undoes the multiplication by b+1.
a=\frac{2\left(15-b\right)}{b+1}
Divide 30-2b by b+1.
ab+2b=30-a
Subtract a from both sides.
\left(a+2\right)b=30-a
Combine all terms containing b.
\frac{\left(a+2\right)b}{a+2}=\frac{30-a}{a+2}
Divide both sides by a+2.
b=\frac{30-a}{a+2}
Dividing by a+2 undoes the multiplication by a+2.
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}