algebraunstuck.com

Unit 3 · Quadratic functions & models

Factoring and completing the square

About 16 minFree, no account needed
Goal
Solve quadratic equations by factoring and by completing the square.

If a product is zero, one of its factors is zero. So to solve x2+bx+c=0x^2 + bx + c = 0, factor it and set each factor equal to zero. Always get 0 alone on one side first.

When the leading coefficient isn't 1, use the AC method: find two numbers whose product is acac and whose sum is bb, split the middle term with them, and factor by grouping.

Example 1

Factoring 6x² + 7x − 3? Don't use factors of −3 alone

6x2+7x−3\mv{lead}{6}x^2+\mv{middle}{7}x-\mv{constant}{3}
  1. AC method: multiply the leading and constant terms

    ac=6(−3)=−18ac=\mv{lead}{6}(-\mv{constant}{3})=-\mv{product}{18}
  2. Find a pair with product −18 and sum 7

    9(−2)=−18,9−2=7\mv{nine}{9}(-\mv{two}{2})=-\mv{product}{18},\quad9-2=\mv{middle}{7}
  3. Split the middle term using that pair

    6x2+9x−2x−3\mv{groups}{6x^2+\mv{nine}{9}x-\mv{two}{2}x-3}
  4. Group and factor each pair

    3x(2x+3)−(2x+3)\mv{groups}{\mv{factored}{3x(2x+3)-(2x+3)}}
  5. Factor out the shared binomial

    6x2+7x−3=(3x−1)(2x+3)6x^2+7x-3=\mv{factored}{(3x-1)(2x+3)}

Check: Expand: 6x² + 9x − 2x − 3 = 6x² + 7x − 3 ✓

Setting each factor to zero, (3x−1)(2x+3)=0(3x - 1)(2x + 3) = 0 gives x=13x = \frac{1}{3} or x=−32x = -\frac{3}{2}.

When a quadratic won't factor nicely, complete the square: move the constant over, add (b2)2\left(\frac{b}{2}\right)^2 to both sides, and write the left side as a square. Then take square roots and remember ±\pm. Type 5\sqrt{5} as sqrt(5).

Example 2

Solve x² + 6x − 7 = 0 without the quadratic formula

x2+6x−7=0x^2 + 6x - \mv{c}{7} = 0
  1. Move the constant to the right

    x2+6x=7x^2 + 6x = \mv{c}{7}
  2. Add (6/2)² = 9 to both sides

    x2+6x+9=7+9\mv{sq}{x^2 + 6x + \mv{opL}{9}} = \mv{s}{7 + \mv{opR}{9}}
  3. The left side is a perfect square

    (x+3)2=16\mv{sq}{(\mv{x3}{x+3})^2} = \mv{s}{16}
  4. Square-root both sides, remember ±

    x+3=±4\mv{x3}{x + 3} = \mv{s}{\hl{\pm} 4}
  5. Two solutions

    x=1orx=−7x = \mv{s}{1} \quad\text{or}\quad x = -\mv{s}{7}

Check: 1² + 6·1 − 7 = 0 ✓

Example 3

No integer split? x² + 6x − 5 = 0 still has two answers

x2+6x−5=0x^2+6x\mv{c}{-5}=0
  1. Nothing multiplies to −5 and adds to 6

    1⋅(−5), (−1)⋅5 → sums −4, 4≠61\cdot(-5),\ (-1)\cdot 5\ \to\ \text{sums } {-4},\ 4 \ne 6
  2. Move −5 across the = sign: it becomes +5

    x2+6x−5=5x^2+6x\gap{-5}=\mvx{c}{5}
  3. Add (6/2)² = 9 to both sides

    x2+6x+9=5+9\mv{sq}{x^2+6x+\mv{opL}{9}}=\mv{s}{5+\mv{opR}{9}}
  4. Perfect square on the left; 5 + 9 = 14

    (x+3)2=14\mv{sq}{(x\mv{t}{+3})^2}=\mv{s}{14}
  5. Square-root both sides, remember ±

    x+3=±14x\mv{t}{+3}=\hl{\pm}\sqrt{\mv{s}{14}}
  6. Move the 3 across: it becomes −3

    x+3=−3±14x\gap{+3}=\mvx{t}{-3}\pm\sqrt{14}

Check: −3 + √14 ≈ 0.74 and 0.74² + 6·0.74 − 5 ≈ 0 ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.