Skip to main content
Solve for a (complex solution)
Tick mark Image
Solve for b (complex solution)
Tick mark Image
Solve for a
Tick mark Image
Solve for b
Tick mark Image
Graph

Similar Problems from Web Search

Share

ax+a=bx-2b
Add a to both sides.
\left(x+1\right)a=bx-2b
Combine all terms containing a.
\frac{\left(x+1\right)a}{x+1}=\frac{b\left(x-2\right)}{x+1}
Divide both sides by x+1.
a=\frac{b\left(x-2\right)}{x+1}
Dividing by x+1 undoes the multiplication by x+1.
bx-2b-a=ax
Swap sides so that all variable terms are on the left hand side.
bx-2b=ax+a
Add a to both sides.
\left(x-2\right)b=ax+a
Combine all terms containing b.
\frac{\left(x-2\right)b}{x-2}=\frac{ax+a}{x-2}
Divide both sides by x-2.
b=\frac{ax+a}{x-2}
Dividing by x-2 undoes the multiplication by x-2.
b=\frac{a\left(x+1\right)}{x-2}
Divide ax+a by x-2.
ax+a=bx-2b
Add a to both sides.
\left(x+1\right)a=bx-2b
Combine all terms containing a.
\frac{\left(x+1\right)a}{x+1}=\frac{b\left(x-2\right)}{x+1}
Divide both sides by x+1.
a=\frac{b\left(x-2\right)}{x+1}
Dividing by x+1 undoes the multiplication by x+1.
bx-2b-a=ax
Swap sides so that all variable terms are on the left hand side.
bx-2b=ax+a
Add a to both sides.
\left(x-2\right)b=ax+a
Combine all terms containing b.
\frac{\left(x-2\right)b}{x-2}=\frac{ax+a}{x-2}
Divide both sides by x-2.
b=\frac{ax+a}{x-2}
Dividing by x-2 undoes the multiplication by x-2.
b=\frac{a\left(x+1\right)}{x-2}
Divide ax+a by x-2.