Learn on PengiYoshiwara Intermediate AlgebraChapter 3: Quadratic Models

Lesson 4: Completing the Square

New Concept "Completing the square" is a powerful method for solving any quadratic equation. It transforms one side of the equation into a perfect square trinomial, $(x+p)^2$, allowing you to solve it easily by taking the square root of both sides.

Section 1

πŸ“˜ Completing the Square

New Concept

"Completing the square" is a powerful method for solving any quadratic equation. It transforms one side of the equation into a perfect square trinomial, (x+p)2(x+p)^2, allowing you to solve it easily by taking the square root of both sides.

What’s next

You've got the foundational concept. Next, you'll master this skill through interactive examples and practice cards that break down the step-by-step solving process.

Section 2

Squares of binomials

Property

The square of a binomial is a quadratic trinomial.

(x+p)2=x2+2px+p2(x + p)^2 = x^2 + 2px + p^2

The coefficient of the linear term, 2p2p, is twice the constant in the binomial, and the constant term of the trinomial, p2p^2, is its square.

Examples

  • The square of (x+5)(x+5) is x2+2(5)x+52x^2 + 2(5)x + 5^2, which simplifies to x2+10x+25x^2 + 10x + 25.
  • The square of (xβˆ’3)(x-3) is x2+2(βˆ’3)x+(βˆ’3)2x^2 + 2(-3)x + (-3)^2, which simplifies to x2βˆ’6x+9x^2 - 6x + 9.
  • The square of (xβˆ’12)(x-12) is x2+2(βˆ’12)x+(βˆ’12)2x^2 + 2(-12)x + (-12)^2, which simplifies to x2βˆ’24x+144x^2 - 24x + 144.

Explanation

Expanding a binomial squared always creates a predictable three-term pattern. Recognizing this pattern is the first step to reversing the process, which allows us to factor complex expressions into a simple, squared form.

Section 3

Completing the square

Property

To complete the square for the expression x2+bxx^2 + bx, we add a constant term. We can find this constant term by taking one-half the coefficient of xx and then squaring the result.

  1. Identify the coefficient of the linear term, bb.
  2. Calculate p=12bp = \frac{1}{2}b.
  3. Add p2p^2 to the expression.
x2+bx+(b2)2=(x+b2)2x^2 + bx + (\frac{b}{2})^2 = (x + \frac{b}{2})^2

Examples

  • For x2βˆ’12xx^2 - 12x, half of βˆ’12-12 is βˆ’6-6, and (βˆ’6)2=36(-6)^2 = 36. Adding 36 gives x2βˆ’12x+36=(xβˆ’6)2x^2 - 12x + 36 = (x-6)^2.
  • For x2+5xx^2 + 5x, half of 55 is 52\frac{5}{2}, and (52)2=254(\frac{5}{2})^2 = \frac{25}{4}. Adding 254\frac{25}{4} gives x2+5x+254=(x+52)2x^2 + 5x + \frac{25}{4} = (x + \frac{5}{2})^2.
  • For x2βˆ’18xx^2 - 18x, half of βˆ’18-18 is βˆ’9-9, and (βˆ’9)2=81(-9)^2 = 81. Adding 81 gives x2βˆ’18x+81=(xβˆ’9)2x^2 - 18x + 81 = (x-9)^2.

Explanation

Completing the square is a technique to turn an expression like x2+bxx^2+bx into a perfect square trinomial. By adding the 'magic number' (b2)2(\frac{b}{2})^2, you create a new expression that can be easily factored into a binomial squared.

Section 4

Solving equations by completing the square

Property

To solve a quadratic equation of the form x2+bx+c=0x^2+bx+c=0:

  1. Move the constant term to the other side: x2+bx=βˆ’cx^2+bx = -c.
  2. Complete the square on the left. Add p2=(b2)2p^2 = (\frac{b}{2})^2 to both sides of the equation: x2+bx+p2=βˆ’c+p2x^2+bx+p^2 = -c+p^2.
  3. Write the left side as a binomial squared: (x+p)2=βˆ’c+p2(x+p)^2 = -c+p^2.
  4. Use extraction of roots to find the solutions.

Examples

  • To solve x2βˆ’6xβˆ’7=0x^2 - 6x - 7 = 0, first write x2βˆ’6x=7x^2-6x=7. Add (βˆ’62)2=9(\frac{-6}{2})^2=9 to both sides: x2βˆ’6x+9=7+9x^2-6x+9=7+9, so (xβˆ’3)2=16(x-3)^2=16. The solutions are x=7x=7 and x=βˆ’1x=-1.
  • To solve x2βˆ’4xβˆ’3=0x^2 - 4x - 3 = 0, first write x2βˆ’4x=3x^2-4x=3. Add (βˆ’42)2=4(\frac{-4}{2})^2=4 to both sides: x2βˆ’4x+4=3+4x^2-4x+4=3+4, so (xβˆ’2)2=7(x-2)^2=7. The solutions are x=2Β±7x = 2 \pm \sqrt{7}.
  • To solve x2+9x+20=0x^2+9x+20=0, first write x2+9x=βˆ’20x^2+9x=-20. Add (92)2=814(\frac{9}{2})^2=\frac{81}{4} to both sides: x2+9x+814=βˆ’20+814x^2+9x+\frac{81}{4}=-20+\frac{81}{4}, so (x+92)2=14(x+\frac{9}{2})^2=\frac{1}{4}. The solutions are x=βˆ’4x=-4 and x=βˆ’5x=-5.

Explanation

This method transforms any quadratic equation into the form (x+p)2=q(x+p)^2=q. By forcing one side to be a perfect square, we can easily solve for xx by taking the square root of both sides, which is often simpler than factoring.

Section 5

Solving general quadratic equations

Property

To Solve a Quadratic Equation by Completing the Square:

  1. Write the equation in standard form. Divide both sides of the equation by the coefficient of the quadratic term, and subtract the constant term from both sides.
  2. Complete the square on the left side: Multiply the coefficient of the first-degree term by one-half, then square the result. Add this value to both sides of the equation.
  3. Write the left side of the equation as the square of a binomial. Simplify the right side.
  4. Use extraction of roots to finish the solution.

Examples

  • To solve 2x2βˆ’6xβˆ’5=02x^2 - 6x - 5 = 0, first divide by 2 to get x2βˆ’3xβˆ’52=0x^2 - 3x - \frac{5}{2} = 0. This becomes x2βˆ’3x=52x^2-3x = \frac{5}{2}. Completing the square gives (xβˆ’32)2=194(x - \frac{3}{2})^2 = \frac{19}{4}, so x=32Β±194x = \frac{3}{2} \pm \sqrt{\frac{19}{4}}.
  • To solve 3x2+12x+2=03x^2+12x+2=0, first divide by 3 to get x2+4x+23=0x^2+4x+\frac{2}{3}=0. This becomes x2+4x=βˆ’23x^2+4x = -\frac{2}{3}. Completing the square gives (x+2)2=103(x+2)^2 = \frac{10}{3}, so x=βˆ’2Β±103x = -2 \pm \sqrt{\frac{10}{3}}.
  • To solve βˆ’4x2βˆ’36xβˆ’65=0-4x^2 - 36x - 65 = 0, first divide by βˆ’4-4 to get x2+9x+654=0x^2 + 9x + \frac{65}{4} = 0. This becomes x2+9x=βˆ’654x^2+9x = -\frac{65}{4}. Completing the square gives (x+92)2=4(x+\frac{9}{2})^2=4, so x=βˆ’52x = -\frac{5}{2} and x=βˆ’132x = -\frac{13}{2}.

Explanation

If the x2x^2 term has a coefficient other than 1 (like ax2ax^2), you cannot complete the square directly. The essential first step is to divide the entire equation by 'a', then you can proceed with the standard steps.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 3: Quadratic Models

  1. Lesson 1

    Lesson 1: Extraction of Roots

  2. Lesson 2

    Lesson 2: Intercepts, Solutions, and Factors

  3. Lesson 3

    Lesson 3: Graphing Parabolas

  4. Lesson 4Current

    Lesson 4: Completing the Square

  5. Lesson 5

    Lesson 5: Chapter Summary and Review

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Completing the Square

New Concept

"Completing the square" is a powerful method for solving any quadratic equation. It transforms one side of the equation into a perfect square trinomial, (x+p)2(x+p)^2, allowing you to solve it easily by taking the square root of both sides.

What’s next

You've got the foundational concept. Next, you'll master this skill through interactive examples and practice cards that break down the step-by-step solving process.

Section 2

Squares of binomials

Property

The square of a binomial is a quadratic trinomial.

(x+p)2=x2+2px+p2(x + p)^2 = x^2 + 2px + p^2

The coefficient of the linear term, 2p2p, is twice the constant in the binomial, and the constant term of the trinomial, p2p^2, is its square.

Examples

  • The square of (x+5)(x+5) is x2+2(5)x+52x^2 + 2(5)x + 5^2, which simplifies to x2+10x+25x^2 + 10x + 25.
  • The square of (xβˆ’3)(x-3) is x2+2(βˆ’3)x+(βˆ’3)2x^2 + 2(-3)x + (-3)^2, which simplifies to x2βˆ’6x+9x^2 - 6x + 9.
  • The square of (xβˆ’12)(x-12) is x2+2(βˆ’12)x+(βˆ’12)2x^2 + 2(-12)x + (-12)^2, which simplifies to x2βˆ’24x+144x^2 - 24x + 144.

Explanation

Expanding a binomial squared always creates a predictable three-term pattern. Recognizing this pattern is the first step to reversing the process, which allows us to factor complex expressions into a simple, squared form.

Section 3

Completing the square

Property

To complete the square for the expression x2+bxx^2 + bx, we add a constant term. We can find this constant term by taking one-half the coefficient of xx and then squaring the result.

  1. Identify the coefficient of the linear term, bb.
  2. Calculate p=12bp = \frac{1}{2}b.
  3. Add p2p^2 to the expression.
x2+bx+(b2)2=(x+b2)2x^2 + bx + (\frac{b}{2})^2 = (x + \frac{b}{2})^2

Examples

  • For x2βˆ’12xx^2 - 12x, half of βˆ’12-12 is βˆ’6-6, and (βˆ’6)2=36(-6)^2 = 36. Adding 36 gives x2βˆ’12x+36=(xβˆ’6)2x^2 - 12x + 36 = (x-6)^2.
  • For x2+5xx^2 + 5x, half of 55 is 52\frac{5}{2}, and (52)2=254(\frac{5}{2})^2 = \frac{25}{4}. Adding 254\frac{25}{4} gives x2+5x+254=(x+52)2x^2 + 5x + \frac{25}{4} = (x + \frac{5}{2})^2.
  • For x2βˆ’18xx^2 - 18x, half of βˆ’18-18 is βˆ’9-9, and (βˆ’9)2=81(-9)^2 = 81. Adding 81 gives x2βˆ’18x+81=(xβˆ’9)2x^2 - 18x + 81 = (x-9)^2.

Explanation

Completing the square is a technique to turn an expression like x2+bxx^2+bx into a perfect square trinomial. By adding the 'magic number' (b2)2(\frac{b}{2})^2, you create a new expression that can be easily factored into a binomial squared.

Section 4

Solving equations by completing the square

Property

To solve a quadratic equation of the form x2+bx+c=0x^2+bx+c=0:

  1. Move the constant term to the other side: x2+bx=βˆ’cx^2+bx = -c.
  2. Complete the square on the left. Add p2=(b2)2p^2 = (\frac{b}{2})^2 to both sides of the equation: x2+bx+p2=βˆ’c+p2x^2+bx+p^2 = -c+p^2.
  3. Write the left side as a binomial squared: (x+p)2=βˆ’c+p2(x+p)^2 = -c+p^2.
  4. Use extraction of roots to find the solutions.

Examples

  • To solve x2βˆ’6xβˆ’7=0x^2 - 6x - 7 = 0, first write x2βˆ’6x=7x^2-6x=7. Add (βˆ’62)2=9(\frac{-6}{2})^2=9 to both sides: x2βˆ’6x+9=7+9x^2-6x+9=7+9, so (xβˆ’3)2=16(x-3)^2=16. The solutions are x=7x=7 and x=βˆ’1x=-1.
  • To solve x2βˆ’4xβˆ’3=0x^2 - 4x - 3 = 0, first write x2βˆ’4x=3x^2-4x=3. Add (βˆ’42)2=4(\frac{-4}{2})^2=4 to both sides: x2βˆ’4x+4=3+4x^2-4x+4=3+4, so (xβˆ’2)2=7(x-2)^2=7. The solutions are x=2Β±7x = 2 \pm \sqrt{7}.
  • To solve x2+9x+20=0x^2+9x+20=0, first write x2+9x=βˆ’20x^2+9x=-20. Add (92)2=814(\frac{9}{2})^2=\frac{81}{4} to both sides: x2+9x+814=βˆ’20+814x^2+9x+\frac{81}{4}=-20+\frac{81}{4}, so (x+92)2=14(x+\frac{9}{2})^2=\frac{1}{4}. The solutions are x=βˆ’4x=-4 and x=βˆ’5x=-5.

Explanation

This method transforms any quadratic equation into the form (x+p)2=q(x+p)^2=q. By forcing one side to be a perfect square, we can easily solve for xx by taking the square root of both sides, which is often simpler than factoring.

Section 5

Solving general quadratic equations

Property

To Solve a Quadratic Equation by Completing the Square:

  1. Write the equation in standard form. Divide both sides of the equation by the coefficient of the quadratic term, and subtract the constant term from both sides.
  2. Complete the square on the left side: Multiply the coefficient of the first-degree term by one-half, then square the result. Add this value to both sides of the equation.
  3. Write the left side of the equation as the square of a binomial. Simplify the right side.
  4. Use extraction of roots to finish the solution.

Examples

  • To solve 2x2βˆ’6xβˆ’5=02x^2 - 6x - 5 = 0, first divide by 2 to get x2βˆ’3xβˆ’52=0x^2 - 3x - \frac{5}{2} = 0. This becomes x2βˆ’3x=52x^2-3x = \frac{5}{2}. Completing the square gives (xβˆ’32)2=194(x - \frac{3}{2})^2 = \frac{19}{4}, so x=32Β±194x = \frac{3}{2} \pm \sqrt{\frac{19}{4}}.
  • To solve 3x2+12x+2=03x^2+12x+2=0, first divide by 3 to get x2+4x+23=0x^2+4x+\frac{2}{3}=0. This becomes x2+4x=βˆ’23x^2+4x = -\frac{2}{3}. Completing the square gives (x+2)2=103(x+2)^2 = \frac{10}{3}, so x=βˆ’2Β±103x = -2 \pm \sqrt{\frac{10}{3}}.
  • To solve βˆ’4x2βˆ’36xβˆ’65=0-4x^2 - 36x - 65 = 0, first divide by βˆ’4-4 to get x2+9x+654=0x^2 + 9x + \frac{65}{4} = 0. This becomes x2+9x=βˆ’654x^2+9x = -\frac{65}{4}. Completing the square gives (x+92)2=4(x+\frac{9}{2})^2=4, so x=βˆ’52x = -\frac{5}{2} and x=βˆ’132x = -\frac{13}{2}.

Explanation

If the x2x^2 term has a coefficient other than 1 (like ax2ax^2), you cannot complete the square directly. The essential first step is to divide the entire equation by 'a', then you can proceed with the standard steps.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 3: Quadratic Models

  1. Lesson 1

    Lesson 1: Extraction of Roots

  2. Lesson 2

    Lesson 2: Intercepts, Solutions, and Factors

  3. Lesson 3

    Lesson 3: Graphing Parabolas

  4. Lesson 4Current

    Lesson 4: Completing the Square

  5. Lesson 5

    Lesson 5: Chapter Summary and Review