Algebra

Solving Quadratics by Factoring

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
πŸ“
Carpentry

Measurements, material estimation, cutting calculations

πŸ’°
Retail & Finance

Discounts, tax, tips, profit margins

Factoring is the fastest way to solve many quadratic equations β€” and it requires no formula to memorize beyond one simple principle. If you can factor a polynomial (which you learned in the factoring section), you can solve quadratic equations by turning one equation into two simpler ones.

The key idea is the zero product property: if two things multiply to zero, at least one of them must be zero.

The Zero Product Property

The zero product property states:

IfΒ aβ‹…b=0,Β thenΒ a=0Β orΒ b=0Β (orΒ both).\text{If } a \cdot b = 0, \text{ then } a = 0 \text{ or } b = 0 \text{ (or both).}

Think about why this must be true. If neither aa nor bb is zero, their product cannot be zero β€” you would get some nonzero number. The only way to get zero from a multiplication is if at least one factor is zero.

This property is the engine behind solving quadratics by factoring. Once you write a quadratic as a product of two factors equal to zero, you set each factor equal to zero and solve.

The Method: Step by Step

To solve a quadratic equation by factoring:

  1. Move all terms to one side so the equation equals zero.
  2. Factor the quadratic expression.
  3. Set each factor equal to zero (zero product property).
  4. Solve each resulting linear equation.
  5. Check both solutions in the original equation.

Let’s see this in action.

Solving Quadratics with Leading Coefficient 1

When the x2x^2 coefficient is 1, factoring means finding two numbers that multiply to the constant term and add to the coefficient of xx.

Example 1: x2+5x+6=0x^2 + 5x + 6 = 0

We need two numbers that multiply to 66 and add to 55.

Those numbers are 22 and 33, since 2Γ—3=62 \times 3 = 6 and 2+3=52 + 3 = 5.

Factor:

x2+5x+6=(x+2)(x+3)=0x^2 + 5x + 6 = (x + 2)(x + 3) = 0

Apply the zero product property:

x+2=0orx+3=0x + 2 = 0 \quad \text{or} \quad x + 3 = 0

Solve each equation:

x=βˆ’2orx=βˆ’3x = -2 \quad \text{or} \quad x = -3

Check: Substitute x=βˆ’2x = -2: (βˆ’2)2+5(βˆ’2)+6=4βˆ’10+6=0(-2)^2 + 5(-2) + 6 = 4 - 10 + 6 = 0 . Correct.

Substitute x=βˆ’3x = -3: (βˆ’3)2+5(βˆ’3)+6=9βˆ’15+6=0(-3)^2 + 5(-3) + 6 = 9 - 15 + 6 = 0 . Correct.

Answer: x=βˆ’2x = -2 or x=βˆ’3x = -3

Example 2: x2βˆ’7x+12=0x^2 - 7x + 12 = 0

Find two numbers that multiply to 1212 and add to βˆ’7-7. Those numbers are βˆ’3-3 and βˆ’4-4.

Factor:

(xβˆ’3)(xβˆ’4)=0(x - 3)(x - 4) = 0

Set each factor equal to zero:

xβˆ’3=0β€…β€ŠβŸΉβ€…β€Šx=3x - 3 = 0 \implies x = 3

xβˆ’4=0β€…β€ŠβŸΉβ€…β€Šx=4x - 4 = 0 \implies x = 4

Answer: x=3x = 3 or x=4x = 4

When the Equation Is Not Already Set to Zero

You must rearrange the equation so one side equals zero before factoring.

Example 3: x2=3x+10x^2 = 3x + 10

Step 1 β€” Move all terms to the left:

x2βˆ’3xβˆ’10=0x^2 - 3x - 10 = 0

Step 2 β€” Factor. Find two numbers that multiply to βˆ’10-10 and add to βˆ’3-3. Those are βˆ’5-5 and 22.

(xβˆ’5)(x+2)=0(x - 5)(x + 2) = 0

Step 3 β€” Set each factor to zero:

xβˆ’5=0β€…β€ŠβŸΉβ€…β€Šx=5x - 5 = 0 \implies x = 5

x+2=0β€…β€ŠβŸΉβ€…β€Šx=βˆ’2x + 2 = 0 \implies x = -2

Check x=5x = 5: 52=255^2 = 25 and 3(5)+10=253(5) + 10 = 25 . Correct.

Check x=βˆ’2x = -2: (βˆ’2)2=4(-2)^2 = 4 and 3(βˆ’2)+10=43(-2) + 10 = 4 . Correct.

Answer: x=5x = 5 or x=βˆ’2x = -2

Solving with a Leading Coefficient Other Than 1

When the coefficient of x2x^2 is not 1, factoring requires a bit more work β€” often using the AC method or trial and error.

Example 4: 2x2+7x+3=02x^2 + 7x + 3 = 0

Using the AC method: aβ‹…c=2Γ—3=6a \cdot c = 2 \times 3 = 6. Find two numbers that multiply to 66 and add to 77. Those are 11 and 66.

Rewrite the middle term and factor by grouping:

2x2+x+6x+3=02x^2 + x + 6x + 3 = 0

x(2x+1)+3(2x+1)=0x(2x + 1) + 3(2x + 1) = 0

(x+3)(2x+1)=0(x + 3)(2x + 1) = 0

Set each factor to zero:

x+3=0β€…β€ŠβŸΉβ€…β€Šx=βˆ’3x + 3 = 0 \implies x = -3

2x+1=0β€…β€ŠβŸΉβ€…β€Šx=βˆ’122x + 1 = 0 \implies x = -\frac{1}{2}

Check x=βˆ’3x = -3: 2(βˆ’3)2+7(βˆ’3)+3=18βˆ’21+3=02(-3)^2 + 7(-3) + 3 = 18 - 21 + 3 = 0 . Correct.

Check x=βˆ’12x = -\tfrac{1}{2}: 2 ⁣(βˆ’12)2+7 ⁣(βˆ’12)+3=12βˆ’72+3=02\!\left(-\tfrac{1}{2}\right)^2 + 7\!\left(-\tfrac{1}{2}\right) + 3 = \tfrac{1}{2} - \tfrac{7}{2} + 3 = 0 . Correct.

Answer: x=βˆ’3x = -3 or x=βˆ’12x = -\dfrac{1}{2}

Special Cases

Difference of Squares

Example 5: x2βˆ’25=0x^2 - 25 = 0

This is a difference of squares: x2βˆ’52=(xβˆ’5)(x+5)=0x^2 - 5^2 = (x - 5)(x + 5) = 0.

x=5orx=βˆ’5x = 5 \quad \text{or} \quad x = -5

One Solution (Repeated Root)

Example 6: x2βˆ’6x+9=0x^2 - 6x + 9 = 0

Factor: (xβˆ’3)(xβˆ’3)=(xβˆ’3)2=0(x - 3)(x - 3) = (x - 3)^2 = 0.

The only solution is x=3x = 3. We call this a repeated root or double root β€” the parabola touches the xx-axis at exactly one point.

Equations with a Common Factor

Example 7: 3x2βˆ’12x=03x^2 - 12x = 0

Factor out the greatest common factor first:

3x(xβˆ’4)=03x(x - 4) = 0

Set each factor to zero:

3x=0β€…β€ŠβŸΉβ€…β€Šx=03x = 0 \implies x = 0

xβˆ’4=0β€…β€ŠβŸΉβ€…β€Šx=4x - 4 = 0 \implies x = 4

Answer: x=0x = 0 or x=4x = 4

Never divide both sides by xx β€” that would lose the x=0x = 0 solution entirely.

Real-World Application: Carpentry β€” Designing a Deck

A carpenter is building a rectangular deck. The length is 4 feet more than the width. The total area must be 96 square feet to meet the homeowner’s specifications.

Let ww = the width in feet. Then the length is w+4w + 4.

w(w+4)=96w(w + 4) = 96

w2+4w=96w^2 + 4w = 96

w2+4wβˆ’96=0w^2 + 4w - 96 = 0

Find two numbers that multiply to βˆ’96-96 and add to 44. Those are 1212 and βˆ’8-8.

(w+12)(wβˆ’8)=0(w + 12)(w - 8) = 0

w=βˆ’12orw=8w = -12 \quad \text{or} \quad w = 8

A width cannot be negative, so w=8w = 8 feet. The length is 8+4=128 + 4 = 12 feet.

Answer: The deck should be 8 feet wide by 12 feet long. The carpenter can now calculate lumber quantities: the perimeter is 2(8+12)=402(8 + 12) = 40 feet of border boards, and the area confirms 96 square feet of decking material.

Common Mistakes to Avoid

  1. Forgetting to set the equation to zero first. If you factor x2+5x=6x^2 + 5x = 6 as x(x+5)=6x(x + 5) = 6 and then set x=6x = 6 or x+5=6x + 5 = 6, you get wrong answers. The zero product property only works when the product equals zero.

  2. Dividing by the variable. Given x2=5xx^2 = 5x, do not divide both sides by xx. You would lose the solution x=0x = 0. Instead, move everything to one side: x2βˆ’5x=0β€…β€ŠβŸΉβ€…β€Šx(xβˆ’5)=0x^2 - 5x = 0 \implies x(x - 5) = 0.

  3. Stopping after factoring. Factoring is not the answer β€” it is a step toward the answer. After factoring, you must set each factor equal to zero and solve.

  4. Sign errors when finding factor pairs. If the constant term is positive and the middle coefficient is negative, both factors must be negative. Double-check signs by expanding your factored form.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Solve x2+9x+20=0x^2 + 9x + 20 = 0

Find two numbers that multiply to 2020 and add to 99: they are 44 and 55.

(x+4)(x+5)=0(x + 4)(x + 5) = 0

x=βˆ’4orx=βˆ’5x = -4 \quad \text{or} \quad x = -5

Answer: x=βˆ’4x = -4 or x=βˆ’5x = -5

Problem 2: Solve x2βˆ’4x=21x^2 - 4x = 21

Move all terms to one side: x2βˆ’4xβˆ’21=0x^2 - 4x - 21 = 0

Find two numbers that multiply to βˆ’21-21 and add to βˆ’4-4: they are βˆ’7-7 and 33.

(xβˆ’7)(x+3)=0(x - 7)(x + 3) = 0

x=7orx=βˆ’3x = 7 \quad \text{or} \quad x = -3

Answer: x=7x = 7 or x=βˆ’3x = -3

Problem 3: Solve 5x2+20x=05x^2 + 20x = 0

Factor out the GCF: 5x(x+4)=05x(x + 4) = 0

5x=0β€…β€ŠβŸΉβ€…β€Šx=05x = 0 \implies x = 0

x+4=0β€…β€ŠβŸΉβ€…β€Šx=βˆ’4x + 4 = 0 \implies x = -4

Answer: x=0x = 0 or x=βˆ’4x = -4

Problem 4: Solve x2βˆ’49=0x^2 - 49 = 0

Difference of squares: (xβˆ’7)(x+7)=0(x - 7)(x + 7) = 0

x=7orx=βˆ’7x = 7 \quad \text{or} \quad x = -7

Answer: x=7x = 7 or x=βˆ’7x = -7

Problem 5: A retail store manager is planning a rectangular display area. The length is 3 feet more than twice the width, and the area must be 27 square feet. Find the dimensions.

Let ww = width. Length =2w+3= 2w + 3.

w(2w+3)=27w(2w + 3) = 27

2w2+3wβˆ’27=02w^2 + 3w - 27 = 0

Using the AC method: aβ‹…c=2Γ—(βˆ’27)=βˆ’54a \cdot c = 2 \times (-27) = -54. Numbers that multiply to βˆ’54-54 and add to 33 are 99 and βˆ’6-6.

2w2+9wβˆ’6wβˆ’27=02w^2 + 9w - 6w - 27 = 0

w(2w+9)βˆ’3(2w+9)=0w(2w + 9) - 3(2w + 9) = 0

(wβˆ’3)(2w+9)=0(w - 3)(2w + 9) = 0

w=3orw=βˆ’92w = 3 \quad \text{or} \quad w = -\frac{9}{2}

Width must be positive, so w=3w = 3 feet. Length =2(3)+3=9= 2(3) + 3 = 9 feet.

Answer: The display is 3 feet wide by 9 feet long.

Problem 6: Solve 3x2βˆ’10x+8=03x^2 - 10x + 8 = 0

aβ‹…c=3Γ—8=24a \cdot c = 3 \times 8 = 24. Numbers that multiply to 2424 and add to βˆ’10-10 are βˆ’6-6 and βˆ’4-4.

3x2βˆ’6xβˆ’4x+8=03x^2 - 6x - 4x + 8 = 0

3x(xβˆ’2)βˆ’4(xβˆ’2)=03x(x - 2) - 4(x - 2) = 0

(3xβˆ’4)(xβˆ’2)=0(3x - 4)(x - 2) = 0

x=43orx=2x = \frac{4}{3} \quad \text{or} \quad x = 2

Answer: x=43x = \dfrac{4}{3} or x=2x = 2

Key Takeaways

  • The zero product property says if aβ‹…b=0a \cdot b = 0, then a=0a = 0 or b=0b = 0 β€” this is the foundation of solving by factoring
  • Always set the equation equal to zero before factoring
  • After factoring, set each factor equal to zero and solve the resulting linear equations
  • Never divide both sides by the variable β€” you will lose solutions
  • Factoring works best when the equation factors neatly over the integers; when it does not, use the quadratic formula or completing the square instead
  • Always check your solutions by substituting back into the original equation

Return to Algebra 1 for more topics in this section.

Last updated: March 29, 2026