Math Core

Lesson 9.3 · Quadratic Functions and Equations

Solving quadratics by factoring

A quadratic equation is an equation that can be written as ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \ne 0. Its solutions are the x-intercepts of the parabola y=ax2+bx+cy = ax^2 + bx + c. In the last unit you learned to factor trinomials; now that skill pays off, because a factored quadratic can be solved almost instantly.

The zero product property

If you multiply two numbers and get 00, what can you say about them? At least one of them must be 00: 5⋅35 \cdot 3 isn't zero, (−2)(7)(-2)(7) isn't zero, but 0⋅70 \cdot 7 is. This simple fact is the whole method.

Zero product property

If A⋅B=0A \cdot B = 0, then A=0A = 0 or B=0B = 0 (or both).

So if an equation says (x−4)(x+7)=0(x - 4)(x + 7) = 0, one of the two factors must be zero:

x−4=0orx+7=0⟹x=4orx=−7.x - 4 = 0 \quad\text{or}\quad x + 7 = 0 \quad\Longrightarrow\quad x = 4 \quad\text{or}\quad x = -7.

Check: (4−4)(4+7)=0⋅11=0(4 - 4)(4 + 7) = 0 \cdot 11 = 0 and (−7−4)(−7+7)=(−11)⋅0=0(-7 - 4)(-7 + 7) = (-11) \cdot 0 = 0. Both work.

The property only works for zero. If A⋅B=6A \cdot B = 6, the factors could be 22 and 33, or 11 and 66, or −12-12 and −12-\tfrac{1}{2}, or infinitely many other pairs, so you learn nothing about either factor on its own.

Worked example: Equations already factored

Solve each equation.

  1. (x+3)(x−8)=0(x + 3)(x - 8) = 0
  2. 3x(2x−5)=03x(2x - 5) = 0

Solutions.

  1. x+3=0x + 3 = 0 or x−8=0x - 8 = 0, so x=−3x = -3 or x=8x = 8.
  2. The factors are 3x3x and 2x−52x - 5. Setting 3x=03x = 0 gives x=0x = 0. Setting 2x−5=02x - 5 = 0 gives x=52x = \dfrac{5}{2}. The solutions are 00 and 52\dfrac{5}{2}.

Solving by factoring, step by step

  1. Rewrite the equation in standard form, with 00 on one side.
  2. Factor the other side completely (GCF first, then the trinomial).
  3. Set each factor containing xx equal to 00.
  4. Solve each small equation.
  5. Check each solution in the original equation.

Worked example: A trinomial

Solve x2+2x−15=0x^2 + 2x - 15 = 0.

Look for two numbers that multiply to −15-15 and add to 22: they are 55 and −3-3.

x2+2x−15=0(x+5)(x−3)=0x+5=0orx−3=0x=−5orx=3\begin{aligned} x^2 + 2x - 15 &= 0 \\ (x + 5)(x - 3) &= 0 \\ x + 5 = 0 \quad &\text{or} \quad x - 3 = 0 \\ x = -5 \quad &\text{or} \quad x = 3 \end{aligned}

These are exactly the x-intercepts of y=x2+2x−15y = x^2 + 2x - 15. The vertex sits halfway between them, at x=−1x = -1.

The solutions of x² + 2x - 15 = 0 are the x-intercepts of y = x² + 2x - 15.Open in grapher →

Worked example: Rearrange first

Solve x2=5x+14x^2 = 5x + 14.

The equation is not in standard form yet. Subtract 5x5x and 1414 from both sides:

x2−5x−14=0(x−7)(x+2)=0x=7orx=−2\begin{aligned} x^2 - 5x - 14 &= 0 \\ (x - 7)(x + 2) &= 0 \\ x = 7 \quad &\text{or} \quad x = -2 \end{aligned}

Check x=7x = 7: 49=35+1449 = 35 + 14. ✓ Check x=−2x = -2: 4=−10+144 = -10 + 14. ✓

Common mistake

Two traps to avoid:

  • Setting factors equal to a nonzero number. (x−2)(x+1)=4(x - 2)(x + 1) = 4 does not mean x−2=4x - 2 = 4. Expand, move the 44 over to get x2−x−6=0x^2 - x - 6 = 0, and factor again: (x−3)(x+2)=0(x - 3)(x + 2) = 0.
  • Dividing by xx. From x2=6xx^2 = 6x, dividing by xx gives only x=6x = 6 and loses the solution x=0x = 0. Instead write x2−6x=0x^2 - 6x = 0, so x(x−6)=0x(x - 6) = 0 and x=0x = 0 or x=6x = 6.

When aa is not 1

Use the factoring methods from the last unit, then finish the same way.

Worked example: A leading coefficient

Solve 2x2+7x−4=02x^2 + 7x - 4 = 0.

For the acac method: ac=2(−4)=−8ac = 2(-4) = -8, and the pair 88 and −1-1 multiplies to −8-8 and adds to 77. Split the middle term and group:

2x2+8x−x−4=02x(x+4)−1(x+4)=0(2x−1)(x+4)=0\begin{aligned} 2x^2 + 8x - x - 4 &= 0 \\ 2x(x + 4) - 1(x + 4) &= 0 \\ (2x - 1)(x + 4) &= 0 \end{aligned}

So 2x−1=02x - 1 = 0 or x+4=0x + 4 = 0, giving x=12x = \dfrac{1}{2} or x=−4x = -4.

One solution: a double root

Sometimes both factors are the same. Solve x2−10x+25=0x^2 - 10x + 25 = 0:

(x−5)2=0⟹x=5.(x - 5)^2 = 0 \quad\Longrightarrow\quad x = 5.

There is only one solution, called a double root. On the graph, the parabola y=x2−10x+25y = x^2 - 10x + 25 doesn't cross the xx-axis; it just touches it at its vertex, (5,0)(5, 0).

A perfect square trinomial has one x-intercept: the parabola touches the axis at its vertex.Open in grapher →

Tip

Word problems often produce one solution that doesn't make sense, such as a negative length or a negative time. Solve the equation completely, then keep only the answers that fit the situation.

Practice

Practice 1

Solve (x+6)(x−9)=0(x + 6)(x - 9) = 0.

Separate answers with commas, e.g. 2, -5

Practice 2

Solve x2−8x+12=0x^2 - 8x + 12 = 0.

Separate answers with commas, e.g. 2, -5

Practice 3

Solve x2+9x=0x^2 + 9x = 0.

Separate answers with commas, e.g. 2, -5

Practice 4

Solve x2=3x+28x^2 = 3x + 28.

Separate answers with commas, e.g. 2, -5

Practice 5

Solve 3x2−10x−8=03x^2 - 10x - 8 = 0.

Separate answers with commas, e.g. 2, -5

Practice 6

How many x-intercepts does the graph of y=x2+6x+9y = x^2 + 6x + 9 have?

Practice 7

A rectangle's length is 44 inches more than its width, and its area is 6060 square inches. What is its width, in inches?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

A ball is thrown upward from a 4848-foot platform. Its height after tt seconds is h(t)=−16t2+32t+48h(t) = -16t^2 + 32t + 48. After how many seconds does it hit the ground?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.