Problem:
Solve the equation for all values of x by completing the square.
x^2 + 4x + 3 = 0
remember the following:
To solve
[tex]ax^2\text{ + bx +c= }0[/tex]by completing the square, we carry out the following steps:
1. Transform the equation so that the constant term, c, is only on the right-hand side. In our case:
[tex]x^2\text{ + 4x = -3}[/tex]2. If a , the leading coefficient (the coefficient of the term x^2), is not equal to 1, divide both sides by a. Notice that in our case a = 1. Then, we don't do this step.
3. Add (b/2a)^2 to the right and the left side of the equation, that is:
[tex]x^2\text{ + 4x + (}\frac{b}{2a})^2\text{= -3 + (}\frac{b}{2a})^2[/tex]in our case note that b = 4 and a = 1, so we have:
[tex]x^2\text{ + 4x + (}\frac{4}{2})^2\text{= -3 + (}\frac{4}{2})^2[/tex]this is equivalent to say:
[tex]x^2\text{ + 4x + (2})^2\text{= -3 + (2})^2\text{ = -3+4}[/tex]this is equivalent to say
[tex]x^2\text{ + 4x + (2})^2=1[/tex]this is equivalent to say:
[tex](x+2)^2=1[/tex]now, we take the square root of both sides of the equation
[tex]\sqrt[]{(x+2)^2}=\sqrt[]{1}[/tex]this is equivalent to say:
[tex]x+2^{}=\pm1[/tex]solve for x
[tex]x=\pm1\text{ - 2}[/tex]then, we have two solutions:
[tex]x=1-2\text{ = -1}[/tex]and
[tex]x=-1-2\text{ = -}3[/tex]the two roots(zeros) are x = -1 and x = -3