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

Similar Problems from Web Search

Share

\left(x+y\right)a+\left(x+y\right)b=a
Multiply both sides of the equation by x+y.
xa+ya+\left(x+y\right)b=a
Use the distributive property to multiply x+y by a.
xa+ya+xb+yb=a
Use the distributive property to multiply x+y by b.
xa+ya+xb+yb-a=0
Subtract a from both sides.
xa+ya+yb-a=-xb
Subtract xb from both sides. Anything subtracted from zero gives its negation.
xa+ya-a=-xb-yb
Subtract yb from both sides.
ax+ay-a=-bx-by
Reorder the terms.
\left(x+y-1\right)a=-bx-by
Combine all terms containing a.
\frac{\left(x+y-1\right)a}{x+y-1}=-\frac{b\left(x+y\right)}{x+y-1}
Divide both sides by x+y-1.
a=-\frac{b\left(x+y\right)}{x+y-1}
Dividing by x+y-1 undoes the multiplication by x+y-1.
\left(x+y\right)a+\left(x+y\right)b=a
Multiply both sides of the equation by x+y.
xa+ya+\left(x+y\right)b=a
Use the distributive property to multiply x+y by a.
xa+ya+xb+yb=a
Use the distributive property to multiply x+y by b.
xa+ya+xb+yb-a=0
Subtract a from both sides.
xa+ya+yb-a=-xb
Subtract xb from both sides. Anything subtracted from zero gives its negation.
xa+ya-a=-xb-yb
Subtract yb from both sides.
ax+ay-a=-bx-by
Reorder the terms.
\left(x+y-1\right)a=-bx-by
Combine all terms containing a.
\frac{\left(x+y-1\right)a}{x+y-1}=-\frac{b\left(x+y\right)}{x+y-1}
Divide both sides by x+y-1.
a=-\frac{b\left(x+y\right)}{x+y-1}
Dividing by x+y-1 undoes the multiplication by x+y-1.
\left(x+y\right)a+\left(x+y\right)b=a
Multiply both sides of the equation by x+y.
xa+ya+\left(x+y\right)b=a
Use the distributive property to multiply x+y by a.
xa+ya+xb+yb=a
Use the distributive property to multiply x+y by b.
ya+xb+yb=a-xa
Subtract xa from both sides.
xb+yb=a-xa-ya
Subtract ya from both sides.
\left(x+y\right)b=a-xa-ya
Combine all terms containing b.
\left(x+y\right)b=a-ay-ax
The equation is in standard form.
\frac{\left(x+y\right)b}{x+y}=\frac{a\left(1-y-x\right)}{x+y}
Divide both sides by x+y.
b=\frac{a\left(1-y-x\right)}{x+y}
Dividing by x+y undoes the multiplication by x+y.