Skip to main content
Solve for A
Tick mark Image
Solve for B
Tick mark Image
Graph

Similar Problems from Web Search

Share

\left(x+2\right)A-\left(x-1\right)B=x+5
Multiply both sides of the equation by \left(x-1\right)\left(x+2\right), the least common multiple of x-1,x+2,\left(x-1\right)\left(x+2\right).
xA+2A-\left(x-1\right)B=x+5
Use the distributive property to multiply x+2 by A.
xA+2A-\left(xB-B\right)=x+5
Use the distributive property to multiply x-1 by B.
xA+2A-xB+B=x+5
To find the opposite of xB-B, find the opposite of each term.
xA+2A+B=x+5+xB
Add xB to both sides.
xA+2A=x+5+xB-B
Subtract B from both sides.
\left(x+2\right)A=x+5+xB-B
Combine all terms containing A.
\left(x+2\right)A=Bx+x-B+5
The equation is in standard form.
\frac{\left(x+2\right)A}{x+2}=\frac{Bx+x-B+5}{x+2}
Divide both sides by x+2.
A=\frac{Bx+x-B+5}{x+2}
Dividing by x+2 undoes the multiplication by x+2.
\left(x+2\right)A-\left(x-1\right)B=x+5
Multiply both sides of the equation by \left(x-1\right)\left(x+2\right), the least common multiple of x-1,x+2,\left(x-1\right)\left(x+2\right).
xA+2A-\left(x-1\right)B=x+5
Use the distributive property to multiply x+2 by A.
xA+2A-\left(xB-B\right)=x+5
Use the distributive property to multiply x-1 by B.
xA+2A-xB+B=x+5
To find the opposite of xB-B, find the opposite of each term.
2A-xB+B=x+5-xA
Subtract xA from both sides.
-xB+B=x+5-xA-2A
Subtract 2A from both sides.
\left(-x+1\right)B=x+5-xA-2A
Combine all terms containing B.
\left(1-x\right)B=5-2A+x-Ax
The equation is in standard form.
\frac{\left(1-x\right)B}{1-x}=\frac{5-2A+x-Ax}{1-x}
Divide both sides by -x+1.
B=\frac{5-2A+x-Ax}{1-x}
Dividing by -x+1 undoes the multiplication by -x+1.