Solve for a (complex solution)
\left\{\begin{matrix}a=-\frac{-4x+b-3}{x}\text{, }&x\neq 0\\a\in \mathrm{C}\text{, }&x=0\text{ and }b=3\end{matrix}\right.
Solve for a
\left\{\begin{matrix}a=-\frac{-4x+b-3}{x}\text{, }&x\neq 0\\a\in \mathrm{R}\text{, }&x=0\text{ and }b=3\end{matrix}\right.
Solve for b
b=3+4x-ax
Graph
Share
Copied to clipboard
x^{2}+ax+1=x^{2}+4x+4-b
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
ax+1=x^{2}+4x+4-b-x^{2}
Subtract x^{2} from both sides.
ax+1=4x+4-b
Combine x^{2} and -x^{2} to get 0.
ax=4x+4-b-1
Subtract 1 from both sides.
ax=4x+3-b
Subtract 1 from 4 to get 3.
xa=4x-b+3
The equation is in standard form.
\frac{xa}{x}=\frac{4x-b+3}{x}
Divide both sides by x.
a=\frac{4x-b+3}{x}
Dividing by x undoes the multiplication by x.
x^{2}+ax+1=x^{2}+4x+4-b
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
ax+1=x^{2}+4x+4-b-x^{2}
Subtract x^{2} from both sides.
ax+1=4x+4-b
Combine x^{2} and -x^{2} to get 0.
ax=4x+4-b-1
Subtract 1 from both sides.
ax=4x+3-b
Subtract 1 from 4 to get 3.
xa=4x-b+3
The equation is in standard form.
\frac{xa}{x}=\frac{4x-b+3}{x}
Divide both sides by x.
a=\frac{4x-b+3}{x}
Dividing by x undoes the multiplication by x.
x^{2}+ax+1=x^{2}+4x+4-b
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{2}+4x+4-b=x^{2}+ax+1
Swap sides so that all variable terms are on the left hand side.
4x+4-b=x^{2}+ax+1-x^{2}
Subtract x^{2} from both sides.
4x+4-b=ax+1
Combine x^{2} and -x^{2} to get 0.
4-b=ax+1-4x
Subtract 4x from both sides.
-b=ax+1-4x-4
Subtract 4 from both sides.
-b=ax-3-4x
Subtract 4 from 1 to get -3.
-b=ax-4x-3
The equation is in standard form.
\frac{-b}{-1}=\frac{ax-4x-3}{-1}
Divide both sides by -1.
b=\frac{ax-4x-3}{-1}
Dividing by -1 undoes the multiplication by -1.
b=3+4x-ax
Divide ax-3-4x by -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}