Completing the Square Algorithm and Applications

Foundations of Quadratic Equations and Roots

  • Standard Quadratic Form: A trinomial presented in the form of ax2+bx+cax^2 + bx + c.

  • Roots and Zeros: These are interchangeable terms used to describe the solutions to a quadratic equation. Specifically, they refer to the x-values where the graph of the equation crosses the x-axis, or the values of xx that make the equation equal to zero (e.g., in the standard form when ax2+bx+c=0ax^2 + bx + c = 0).

  • Limitation of Simple Factoring: While many trinomials can be factored into two simple binomials with integer roots, many quadratic equations result in decimal/irrational roots.

    • Example: In the equation 2x2+3x−1=02x^2 + 3x - 1 = 0, the graph intersects the x-axis at non-integer locations.

    • The roots for this specific equation are −34±174-\frac{3}{4} \pm \frac{\sqrt{17}}{4}, or specifically, x=−34+174x = -\frac{3}{4} + \frac{\sqrt{17}}{4} and x=−34−174x = -\frac{3}{4} - \frac{\sqrt{17}}{4}.

The Completing the Square Algorithm

Completing the square is an algorithm, defined as a step-by-step procedure, used to find the roots of any quadratic equation, regardless of whether they are simple integers or irrational numbers.

  • Step 1: Ensure the leading coefficient (aa) is equal to 11. If the coefficient of the x2x^2 term is not 11, you must divide every term in the equation by that coefficient value.

  • Step 2: Isolate the xx terms on the left side of the equation. This involves moving the constant (cc) to the right side of the equal sign.

  • Step 3: Calculate half of the bb coefficient (the coefficient of the xx term), square that result, and add this value to both sides of the equation. This ensures the equality of the equation is maintained while changing its form.

  • Step 4: Factor the trinomial on the left side into a squared binomial. This will always take the form of (x+b2)2(x + \frac{b}{2})^2, where b2\frac{b}{2} is half of the original bb coefficient.

  • Step 5: Take the square root of both sides of the equation. When taking the square root of the right side, you must include a plus or minus (±\pm) sign.

    • Conceptual Metaphor: If you have a "bag of rocks" squared, the square root simply equals "that bag of rocks."

    • Justification for ±\pm: Since a squared negative number and a squared positive number both yield a positive result (e.g., (−2)2=2(-\sqrt{2})^2 = 2 and (2)2=2(\sqrt{2})^2 = 2), the square root calculation must account for both possibilities.

  • Step 6: Solve for xx by isolating the variable. This usually involves moving the numeric part of the binomial to the right side.

Example 91.1: x2+2x−1=0x^2 + 2x - 1 = 0

  • Identifying the Difficulty: Simple factoring fails. Numbers that multiply to −1-1 and add to 22 (e.g., 1×1=11 \times 1 = 1; 1−1=01 - 1 = 0) do not exist in the integer set.

  • Application of Algorithm:

    1. Confirm a=1a = 1. It is already 11.

    2. Isolate xx terms: x2+2x=1x^2 + 2x = 1.

    3. Half of the bb coefficient (22) is 11. Square it: 12=11^2 = 1. Add to both sides: x2+2x+1=1+1x^2 + 2x + 1 = 1 + 1, which simplifies to x2+2x+1=2x^2 + 2x + 1 = 2.

    4. Create the squared binomial: (x+1)2=2(x + 1)^2 = 2. (Verification: (x+1)(x+1)=x2+x+x+1=x2+2x+1(x+1)(x+1) = x^2 + x + x + 1 = x^2 + 2x + 1).

    5. Square root both sides: x+1=±2x + 1 = \pm\sqrt{2}.

    6. Solve for xx: x=−1±2x = -1 \pm \sqrt{2}.

  • Final Roots: x=−1+2x = -1 + \sqrt{2} and x=−1−2x = -1 - \sqrt{2}.

  • Decimal Approximations: Using 2≈1.41\sqrt{2} \approx 1.41, the zeros are approximately 0.410.41 and −2.41-2.41. The exact square root form is more accurate because 2\sqrt{2} is an irrational number with non-repeating, infinite decimals.

Example 91.2: 2x2+8x+2=02x^2 + 8x + 2 = 0

  • Application of Algorithm:

    1. Set leading coefficient to 11: Divide every term by 22. Result: x2+4x+1=0x^2 + 4x + 1 = 0. (Note: Even the zero on the right is divided by 22, remaining zero).

    2. Isolate xx terms: x2+4x=−1x^2 + 4x = -1.

    3. Complete the square: Half of 44 is 22. Square it: 22=42^2 = 4. Add to both sides: x2+4x+4=−1+4=3x^2 + 4x + 4 = -1 + 4 = 3.

    4. Create the squared binomial: (x+2)2=3(x + 2)^2 = 3.

    5. Square root both sides: x+2=±3x + 2 = \pm\sqrt{3}.

    6. Solve for xx: x=−2±3x = -2 \pm \sqrt{3}.

  • Result: This form is the most accurate due to the irrational nature of 3\sqrt{3}.

Example 91.3: 2x2+2x−12=02x^2 + 2x - 12 = 0

  • Application of Algorithm:

    1. Leading coefficient to 11: Divide by 22. Result: x2+x−6=0x^2 + x - 6 = 0.

    2. Isolate xx terms: x2+x=6x^2 + x = 6.

    3. Complete the square: The bb coefficient is 11. Half is 12\frac{1}{2}. Square it: (12)2=14(\frac{1}{2})^2 = \frac{1}{4}. Add to both sides: x2+x+14=6+14x^2 + x + \frac{1}{4} = 6 + \frac{1}{4}.

    4. Convert to squared binomial and simplify right side: (x+12)2=244+14=254(x + \frac{1}{2})^2 = \frac{24}{4} + \frac{1}{4} = \frac{25}{4}.

    5. Square root both sides: Use the Quotient of Square Roots Rule. 254=254=52\sqrt{\frac{25}{4}} = \frac{\sqrt{25}}{\sqrt{4}} = \frac{5}{2}. Thus, x+12=±52x + \frac{1}{2} = \pm\frac{5}{2}.

    6. Solve for xx: x=−12±52x = -\frac{1}{2} \pm \frac{5}{2}.

  • Final Simplified Results:

    • x=−12+52=42=2x = -\frac{1}{2} + \frac{5}{2} = \frac{4}{2} = 2

    • x=−12−52=−62=−3x = -\frac{1}{2} - \frac{5}{2} = -\frac{6}{2} = -3

  • Method Note: If the final results do not contain radical signs (square roots), it indicates the problem could have been solved more simply through traditional binomial factoring at Step 1 ((x+3)(x−2)=0(x + 3)(x - 2) = 0).

Example 91.4: x2−5x+1=0x^2 - 5x + 1 = 0

  • Application of Algorithm:

    1. Confirm a=1a = 1. True.

    2. Isolate xx terms: x2−5x=−1x^2 - 5x = -1.

    3. Complete the square: b=−5b = -5. Half is −52-\frac{5}{2}. Square it: (−52)×(−52)=254(-\frac{5}{2}) \times (-\frac{5}{2}) = \frac{25}{4}. Add to both sides: x2−5x+254=−1+254x^2 - 5x + \frac{25}{4} = -1 + \frac{25}{4}.

    4. Convert: On the right side, −1=−44-1 = -\frac{4}{4}. So, −44+254=214-\frac{4}{4} + \frac{25}{4} = \frac{21}{4}. The binomial is (x−52)2=214(x - \frac{5}{2})^2 = \frac{21}{4}.

    5. Square root: x−52=±214x - \frac{5}{2} = \pm\sqrt{\frac{21}{4}}. Simplify using the quotient rule: x−52=±212x - \frac{5}{2} = \pm\frac{\sqrt{21}}{2}.

    6. Solve for xx: x=52±212x = \frac{5}{2} \pm \frac{\sqrt{21}}{2}.

  • Alternative Notation: Because of the common denominator, the answer can be written as x=5±212x = \frac{5 \pm \sqrt{21}}{2}.

Advanced Considerations

  • Accuracy: Irrational numbers should be kept in square root form rather than decimal form to prevent loss of accuracy through rounding.

  • Future Topic (Lesson 95): Approaching problems with complex numbers will require maintaining the two-part structure (splitting the fraction) to accommodate real and imaginary components.