Solve for A
A=-\frac{-Bx-x+B-5}{x+2}
x\neq 1\text{ and }x\neq -2
Solve for B
B=-\frac{Ax-x+2A-5}{1-x}
x\neq 1\text{ and }x\neq -2
Graph
Share
Copied to clipboard
\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.
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}