Skip to main content
Solve for a (complex solution)
Tick mark Image
Solve for a
Tick mark Image
Solve for b
Tick mark Image
Graph

Similar Problems from Web Search

Share

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.