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

Similar Problems from Web Search

Share

x^{2}+2xa+2x=\left(x-a\right)^{2}+2\left(x+a\right)
Use the distributive property to multiply 2x by a+1.
x^{2}+2xa+2x=x^{2}-2xa+a^{2}+2\left(x+a\right)
Use binomial theorem \left(p-q\right)^{2}=p^{2}-2pq+q^{2} to expand \left(x-a\right)^{2}.
x^{2}+2xa+2x=x^{2}-2xa+a^{2}+2x+2a
Use the distributive property to multiply 2 by x+a.
x^{2}+2xa+2x-x^{2}=-2xa+a^{2}+2x+2a
Subtract x^{2} from both sides.
2xa+2x=-2xa+a^{2}+2x+2a
Combine x^{2} and -x^{2} to get 0.
2xa+2x+2xa=a^{2}+2x+2a
Add 2xa to both sides.
4xa+2x=a^{2}+2x+2a
Combine 2xa and 2xa to get 4xa.
4xa+2x-2x=a^{2}+2a
Subtract 2x from both sides.
4xa=a^{2}+2a
Combine 2x and -2x to get 0.
4ax=a^{2}+2a
The equation is in standard form.
\frac{4ax}{4a}=\frac{a\left(a+2\right)}{4a}
Divide both sides by 4a.
x=\frac{a\left(a+2\right)}{4a}
Dividing by 4a undoes the multiplication by 4a.
x=\frac{a}{4}+\frac{1}{2}
Divide a\left(2+a\right) by 4a.
x^{2}+2xa+2x=\left(x-a\right)^{2}+2\left(x+a\right)
Use the distributive property to multiply 2x by a+1.
x^{2}+2xa+2x=x^{2}-2xa+a^{2}+2\left(x+a\right)
Use binomial theorem \left(p-q\right)^{2}=p^{2}-2pq+q^{2} to expand \left(x-a\right)^{2}.
x^{2}+2xa+2x=x^{2}-2xa+a^{2}+2x+2a
Use the distributive property to multiply 2 by x+a.
x^{2}+2xa+2x-x^{2}=-2xa+a^{2}+2x+2a
Subtract x^{2} from both sides.
2xa+2x=-2xa+a^{2}+2x+2a
Combine x^{2} and -x^{2} to get 0.
2xa+2x+2xa=a^{2}+2x+2a
Add 2xa to both sides.
4xa+2x=a^{2}+2x+2a
Combine 2xa and 2xa to get 4xa.
4xa+2x-2x=a^{2}+2a
Subtract 2x from both sides.
4xa=a^{2}+2a
Combine 2x and -2x to get 0.
4ax=a^{2}+2a
The equation is in standard form.
\frac{4ax}{4a}=\frac{a\left(a+2\right)}{4a}
Divide both sides by 4a.
x=\frac{a\left(a+2\right)}{4a}
Dividing by 4a undoes the multiplication by 4a.
x=\frac{a}{4}+\frac{1}{2}
Divide a\left(2+a\right) by 4a.