Solve for A
A=-\frac{Bx-x+5B-2}{x+3}
x\neq -5\text{ and }x\neq -3
Solve for B
B=-\frac{Ax-x+3A-2}{x+5}
x\neq -5\text{ and }x\neq -3
Graph
Share
Copied to clipboard
x+2=\left(x+3\right)A+\left(x+5\right)B
Multiply both sides of the equation by \left(x+3\right)\left(x+5\right), the least common multiple of \left(x+5\right)\left(x+3\right),x+5,x+3.
x+2=xA+3A+\left(x+5\right)B
Use the distributive property to multiply x+3 by A.
x+2=xA+3A+xB+5B
Use the distributive property to multiply x+5 by B.
xA+3A+xB+5B=x+2
Swap sides so that all variable terms are on the left hand side.
xA+3A+5B=x+2-xB
Subtract xB from both sides.
xA+3A=x+2-xB-5B
Subtract 5B from both sides.
\left(x+3\right)A=x+2-xB-5B
Combine all terms containing A.
\left(x+3\right)A=2-5B+x-Bx
The equation is in standard form.
\frac{\left(x+3\right)A}{x+3}=\frac{2-5B+x-Bx}{x+3}
Divide both sides by x+3.
A=\frac{2-5B+x-Bx}{x+3}
Dividing by x+3 undoes the multiplication by x+3.
x+2=\left(x+3\right)A+\left(x+5\right)B
Multiply both sides of the equation by \left(x+3\right)\left(x+5\right), the least common multiple of \left(x+5\right)\left(x+3\right),x+5,x+3.
x+2=xA+3A+\left(x+5\right)B
Use the distributive property to multiply x+3 by A.
x+2=xA+3A+xB+5B
Use the distributive property to multiply x+5 by B.
xA+3A+xB+5B=x+2
Swap sides so that all variable terms are on the left hand side.
3A+xB+5B=x+2-xA
Subtract xA from both sides.
xB+5B=x+2-xA-3A
Subtract 3A from both sides.
\left(x+5\right)B=x+2-xA-3A
Combine all terms containing B.
\left(x+5\right)B=2-3A+x-Ax
The equation is in standard form.
\frac{\left(x+5\right)B}{x+5}=\frac{2-3A+x-Ax}{x+5}
Divide both sides by x+5.
B=\frac{2-3A+x-Ax}{x+5}
Dividing by x+5 undoes the multiplication by x+5.
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}