How do you solve x^2+3x+21=22x2+3x+21=22 by completing the square?

2 Answers
Mar 28, 2017

x = -3/2 +- sqrt(13)/2x=32±132

Explanation:

Steps:

Subtract 21 from both sides

x^2+3x + ? = 1x2+3x+?=1

In order to find ?, you must divide 33 by 22 or (b/2)(b2)and square it and add it to both sides:

? = (3/2)^2 =9/4?=(32)2=94

x^2+3x + 9/4 = 1 +9/4x2+3x+94=1+94

Now we can factor the left side and simplify the right.

(x+3/2)^2 = 4/4+9/4(x+32)2=44+94

(x+3/2)^2 = 13/4(x+32)2=134

Finally, solve for xx

x+3/2=0 -> x=-3/2x+32=0x=32

x^2-3/14=0 -> x^2 = 13/14 -> x = +- sqrt(13/4) -> x = +- sqrt(13)/2x2314=0x2=1314x=±134x=±132

Mar 28, 2017

x = (-3 +- sqrt13)/2x=3±132

Explanation:

Squares of form (x+a)^2(x+a)2 are expanded like this:

x^2 + 2ax + a^2x2+2ax+a2

Since our equation starts with x^2 + 3x..., we know that 3 = 2a, so 3/2 = a. That means that to complete the square, we need the last term to be a^2 = (3/2)^2 = 9/4.

To do this, we can subtract 18.75 from both sides and simplify.

color(white)"X"x^2 + 3x + 21 = 22

color(white)"X" x^2 + 3x + 9/4 = 13/4

color(white)"XX.." (x + 1.5)^2 = 13/4

Now we can take the square root of both sides. Remember that the square root can be either positive or negative, since when squared, the negative sign disappears.

color(white)"" x + 3/2 = +- sqrt13/2

color(white)"XXX." x = (-3 +- sqrt13)/2

Final Answer