This is “Completing the Square”, section 9.2 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

9.2 Completing the Square

Learning Objective

  1. Solve quadratic equations by completing the square.

Completing the Square

In this section, we will devise a method for rewriting any quadratic equation of the form

in the form

This process is called completing the squareThe process of rewriting a quadratic equation in the form (xp)2=q.. As we have seen, quadratic equations in this form can easily be solved by extracting roots. We begin by examining perfect square trinomials:

The last term, 9, is the square of one-half of the coefficient of x. In general, this is true for any perfect square trinomial of the form x2+bx+c.

In other words, any trinomial of the form x2+bx+c will be a perfect square trinomial if

Note

It is important to point out that the leading coefficient must be equal to 1 for this to be true.

 

Example 1: Complete the square: x2+8x+?=(x+?)2.

Solution: In this example, the coefficient of the middle term b = 8, so find the value that completes the square as follows:

The value that completes the square is 16.

Answer: x2+8x+16=(x+4)2

 

Example 2: Complete the square: x2+3x+?=(x+?)2.

Solution: Here b = 3, so find the value that will complete the square as follows:

The value 9/4 completes the square:

Answer: x2+3x+94=(x+32)2

 

We can use this technique to solve quadratic equations. The idea is to take any quadratic equation in standard form and complete the square so that we can solve it by extracting roots. The following are general steps for solving a quadratic equation with a leading coefficient of 1 in standard form by completing the square.

 

Example 3: Solve by completing the square: x2+14x+46=0.

Solution:

Step 1: Add or subtract the constant term to obtain the equation in the form x2+bx=c. In this example, subtract 46 to move it to the right side of the equation.

Step 2: Use (b2)2 to determine the value that completes the square. Here b = 14:

Step 3: Add (b2)2 to both sides of the equation and complete the square.

Step 4: Solve by extracting roots.

Answer: The solutions are 73 or 7+3. The check is optional.

 

Example 4: Solve by completing the square: x218x+72=0.

Solution: Begin by subtracting 72 from both sides.

Next, find the value that completes the square using b = −18.

To complete the square, add 81 to both sides, complete the square, and then solve by extracting the roots.

At this point, separate the “plus or minus” into two equations and solve each.

Answer: The solutions are 6 and 12.

 

Note that in the previous example the solutions are integers. If this is the case, then the original equation will factor.

If it factors, we can solve it by factoring. However, not all quadratic equations will factor.

 

Example 5: Solve by completing the square: x2+10x+1=0.

Solution: Begin by subtracting 1 from both sides of the equation.

Here b = 10, and we determine the value that completes the square as follows:

To complete the square, add 25 to both sides of the equation.

Factor and then solve by extracting roots.

Answer: The solutions are 526 and 5+26.

 

Sometimes quadratic equations do not have real solutions.

 

Example 6: Solve by completing the square: x22x+3=0.

Solution: Begin by subtracting 3 from both sides of the equation.

Here b = −2, and we have

Therefore,

At this point we see that extracting the root leads to the square root of a negative number.

Answer: No real solution

 

Try this! Solve by completing the square: x22x27=0.

Answer: x=1±27

Video Solution

(click to see video)

The coefficient of x is not always divisible by 2.

 

Example 7: Solve by completing the square: x2+3x2=0.

Solution: Begin by adding 2 to both sides.

Use b = 3 to find the value that completes the square:

To complete the square, add 9/4 to both sides of the equation.

Solve by extracting roots.

Answer: The solutions are 3±172.

 

So far, all of the examples have had a leading coefficient of 1. The formula (b2)2 determines the value that completes the square only if the leading coefficient is 1. If this is not the case, then simply divide both sides by the leading coefficient.

 

Example 8: Solve by completing the square: 2x2+5x1=0.

Solution: Notice that the leading coefficient is 2. Therefore, divide both sides by 2 before beginning the steps required to solve by completing the square.

Begin by adding 1/2 to both sides of the equation.

Here b = 5/2, and we can find the value that completes the square as follows:

To complete the square, add 25/16 to both sides of the equation.

Next, solve by extracting roots.

Answer: The solutions are 5±334.

 

Try this! Solve: 2x22x3=0.

Answer: x=1±72

Video Solution

(click to see video)

Key Takeaways

  • Solve any quadratic equation by completing the square.
  • You can apply the square root property to solve an equation if you can first convert the equation to the form (xp)2=q.
  • To complete the square, first make sure the equation is in the form x2+bx=c. Then add the value (b2)2 to both sides and factor.
  • The process for completing the square always works, but it may lead to some tedious calculations with fractions. This is the case when the middle term, b, is not divisible by 2.

Topic Exercises

Part A: Completing the Square

Complete the square.

1. x2+6x+?=(x+?)2

2. x2+8x+?=(x+?)2

3. x22x+?=(x?)2

4. x24x+?=(x?)2

5. x2+7x+?=(x+?)2

6. x2+3x+?=(x+?)2

7. x2+23x+?=(x+?)2

8. x2+45x+?=(x+?)2

9. x2+34x+?=(x+?)2

10. x2+53x+?=(x+?)2

Solve by factoring and then solve by completing the square. Check answers.

11. x2+2x8=0

12. x28x+15=0

13. y2+2y24=0

14. y212y+11=0

15. t2+3t28=0

16. t27t+10=0

17. 2x2+3x2=0

18. 3x2x2=0

19. 2y2y1=0

20. 2y2+7y4=0

Solve by completing the square.

21. x2+6x1=0

22. x2+8x+10=0

23. x22x7=0

24. x26x3=0

25. x22x+4=0

26. x24x+9=0

27. t2+10t75=0

28. t2+12t108=0

29. x24x1=15

30. x212x+8=10

31. y220y=25

32. y2+18y=53

33. x20.6x0.27=0

34. x21.6x0.8=0

35. x223x13=0

36. x245x15=0

37. x2+x1=0

38. x2+x3=0

39. y2+3y2=0

40. y2+5y3=0

41. x2+3x+5=0

42. x2+x+1=0

43. x27x+112=0

44. x29x+32=0

45. t212t1=0

46. t213t2=0

47. x21.7x0.0875=0

48. x2+3.3x1.2775=0

49. 4x28x1=0

50. 2x24x3=0

51. 3x2+6x+1=0

52. 5x2+10x+2=0

53. 3x2+2x3=0

54. 5x2+2x5=0

55. 4x212x15=0

56. 2x2+4x43=0

57. 2x24x+10=0

58. 6x224x+42=0

59. 2x2x2=0

60. 2x2+3x1=0

61. 3x2+2x2=0

62. 3x2x1=0

63. x(x+1)11(x2)=0

64. (x+1)(x+7)4(3x+2)=0

65. y2=(2y+3)(y1)2(y1)

66. (2y+5)(y5)y(y8)=24

67. (t+2)2=3(3t+1)

68. (3t+2)(t4)(t8)=110t

Solve by completing the square and round off the solutions to the nearest hundredth.

69. (2x1)2=2x

70. (3x2)2=515x

71. (2x+1)(3x+1)=9x+4

72. (3x+1)(4x1)=17x4

73. 9x(x1)2(2x1)=4x

74. (6x+1)26(6x+1)=0

Part B: Discussion Board

75. Research and discuss the Hindu method for completing the square.

76. Explain why the technique for completing the square described in this section requires that the leading coefficient be equal to 1.

Answers

1: x2+6x+9=(x+3)2

3: x22x+1=(x1)2

5: x2+7x+494=(x+72)2

7: x2+23x+19=(x+13)2

9: x2+34x+964=(x+38)2

11: −4, 2

13: −6, 4

15: −7, 4

17: 1/2, −2

19: −1/2, 1

21: 3±10

23: 1±22

25: No real solution

27: −15, 5

29: 2±25

31: 10±53

33: −0.3, 0.9

35: −1/3, 1

37: 1±52

39: 3±172

41: No real solution

43: 7±332

45: 1±174

47: −0.05, 1.75

49: 2±52

51: 3±63

53: 1±103

55: 3±262

57: No real solution

59: 1±174

61: 1±73

63: 5±3

65: 1±52

67: 5±212

69: 0.19, 1.31

71: −0.45, 1.12

73: 0.33, 0.67