Ad Space — Top Banner

Completing the Square

Transform quadratic expressions into perfect square form.
Essential for solving equations and graphing parabolas.

The Formula

ax² + bx + c = a(x + b/2a)² - b²/4a + c

Completing the square rewrites a quadratic expression as a perfect square plus a constant. This reveals the vertex of the parabola and makes solving quadratic equations straightforward.

Variables

SymbolMeaning
aCoefficient of x² (must not be zero)
bCoefficient of x
cConstant term
xThe variable

Step-by-Step Process

  1. Start with ax² + bx + c
  2. Factor out a from the first two terms: a(x² + (b/a)x) + c
  3. Take half of (b/a), square it: (b/2a)²
  4. Add and subtract that value inside the parentheses
  5. Result: a(x + b/2a)² + c - b²/4a

Example 1

Complete the square for x² + 6x + 2

Half of 6 is 3. Squared: 3² = 9

x² + 6x + 9 - 9 + 2

= (x + 3)² - 7

Example 2

Complete the square for 2x² - 8x + 5

Factor out 2: 2(x² - 4x) + 5

Half of -4 is -2. Squared: (-2)² = 4

2(x² - 4x + 4 - 4) + 5 = 2(x - 2)² - 8 + 5

= 2(x - 2)² - 3

When to Use It

Use completing the square when:

  • Converting a quadratic to vertex form y = a(x - h)² + k
  • Finding the vertex (minimum or maximum) of a parabola
  • Deriving the quadratic formula itself
  • Solving quadratic equations that do not factor easily

Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.