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

Similar Problems from Web Search

Share

x^{2}+4x+4=x^{2}+ax+4
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{2}+ax+4=x^{2}+4x+4
Swap sides so that all variable terms are on the left hand side.
ax+4=x^{2}+4x+4-x^{2}
Subtract x^{2} from both sides.
ax+4=4x+4
Combine x^{2} and -x^{2} to get 0.
ax=4x+4-4
Subtract 4 from both sides.
ax=4x
Subtract 4 from 4 to get 0.
xa=4x
The equation is in standard form.
\frac{xa}{x}=\frac{4x}{x}
Divide both sides by x.
a=\frac{4x}{x}
Dividing by x undoes the multiplication by x.
a=4
Divide 4x by x.
x^{2}+4x+4=x^{2}+ax+4
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{2}+4x+4-x^{2}=ax+4
Subtract x^{2} from both sides.
4x+4=ax+4
Combine x^{2} and -x^{2} to get 0.
4x+4-ax=4
Subtract ax from both sides.
4x-ax=4-4
Subtract 4 from both sides.
4x-ax=0
Subtract 4 from 4 to get 0.
\left(4-a\right)x=0
Combine all terms containing x.
x=0
Divide 0 by 4-a.
x^{2}+4x+4=x^{2}+ax+4
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{2}+ax+4=x^{2}+4x+4
Swap sides so that all variable terms are on the left hand side.
ax+4=x^{2}+4x+4-x^{2}
Subtract x^{2} from both sides.
ax+4=4x+4
Combine x^{2} and -x^{2} to get 0.
ax=4x+4-4
Subtract 4 from both sides.
ax=4x
Subtract 4 from 4 to get 0.
xa=4x
The equation is in standard form.
\frac{xa}{x}=\frac{4x}{x}
Divide both sides by x.
a=\frac{4x}{x}
Dividing by x undoes the multiplication by x.
a=4
Divide 4x by x.
x^{2}+4x+4=x^{2}+ax+4
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{2}+4x+4-x^{2}=ax+4
Subtract x^{2} from both sides.
4x+4=ax+4
Combine x^{2} and -x^{2} to get 0.
4x+4-ax=4
Subtract ax from both sides.
4x-ax=4-4
Subtract 4 from both sides.
4x-ax=0
Subtract 4 from 4 to get 0.
\left(4-a\right)x=0
Combine all terms containing x.
x=0
Divide 0 by 4-a.