First divide both sides of the equation by 2.
Equation 1
x^2+2x+1/2=0x2+2x+12=0
Now add 1/212 to both sides of the equation. (see footnote)
x^2+2x+1=1/2x2+2x+1=12
Now we can factor the left-hand side of the equation.
(x+1)^2=1/2(x+1)2=12
Now let's write the equation as the difference of two squares.
(x+1)^2-1/2=0(x+1)2−12=0
The square root of 1/212 is sqrt(2)/2√22, so we can factor the above expression as
(x+1+sqrt(2)/2)(x+1-sqrt(2)/2)=0(x+1+√22)(x+1−√22)=0
Therefore the solution to this equation is
x=-1-sqrt(2)/2x=−1−√22, and x=-1+sqrt(2)/2x=−1+√22
FOOTNOTE:
Why did I pick 1/212 to add to both sides of Equation 1? I looked at the coefficient for the xx (linear) term in Equation 1 which is 2. I divided 2 by 2 and then squared the result. (2/2)^2=1(22)2=1 is what I wanted the THIRD term on the left hand side of Equation 1 to be. This is why I added 1/212 to both sides. If, for example, the coefficient in for the xx term had been 5 instead of 2, then I would have wanted the third term on the left-hand side of the equation to be (5/2)^2=25/4(52)2=254 and I would have needed to add 23/4234 to both sides of the equation.