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