Lesson 30: Factoring IV: Completing the Square

Forcing a Factor

What if a trinomial doesn't factor neatly? We can "force" it to become a perfect square by adding a specific number. This is called Completing the Square.

If you have \(x^2 + bx\), add \((\frac{b}{2})^2\) to make it \((x + \frac{b}{2})^2\).

Worked Examples

Example 1: Finding the Constant

What number completes the square for \(x^2 + 6x\)?

Example 2: Solving an Equation

Solve \(x^2 + 4x - 5 = 0\) by completing the square.

The Bridge to Quantum Mechanics

In Quantum Mechanics, the probability of finding a particle often looks like a "Gaussian Bell Curve": \(P(x) \propto e^{-ax^2 + bx}\). To find the center of this curve (the most likely spot for the particle), we must Complete the Square in the exponent. This tells us the "Expectation Value" of the position. Without this algebraic trick, we couldn't accurately describe the "fuzziness" of a quantum particle's location.