AI Math Tutor

Blog · Quadratic equations

Solve a Quadratic Equation by Factoring: 5 Worked Examples

Solving a quadratic equation by factoring means rewriting it as two expressions multiplied together, then using the fact that a product of zero requires one of those expressions to be zero. This post works through five examples, starting simple and ending with a case that combines a leading coefficient of 2 with an equation that needs rearranging first. Every example is solved twice, once to find the answer and once to check it.

Key takeaways

The zero-product property: why factoring works

Factoring is only useful because of one property: if two numbers multiply to give zero, at least one of them has to be zero. There is no other way to multiply two numbers and land on zero. Once a quadratic equation is written as (x−p)(x−q)=0(x - p)(x - q) = 0, that property says x−p=0x - p = 0 or x−q=0x - q = 0, which gives the two solutions x=px = p and x=qx = q directly. Finding the right factored form of the quadratic is covered on its own, with more practice problems, in Quadratic Factoring: How to Factor and Solve.

Standard form first: rearranging before you factor

Factoring only works once the equation is arranged as ax2+bx+c=0ax^2 + bx + c = 0, with every term on one side and zero on the other. If a problem hands you x2+5x=6x^2 + 5x = 6, you cannot factor the left side and expect it to tell you anything useful yet, because the right side is not zero. Subtract 6 from both sides first, giving x2+5x−6=0x^2 + 5x - 6 = 0, and only then look for factors. What each letter in standard form represents is covered in Quadratic Standard Form: What a, b and c Tell You.

Worked examples

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

  1. Look for two numbers that multiply to give c=6c = 6 and add to give b=−5b = -5. Since both need to add to a negative and multiply to a positive, both numbers are negative: −2-2 and −3-3.
  2. Write the equation as two factors using those two numbers.
    (x−2)(x−3)=0(x - 2)(x - 3) = 0
  3. Apply the zero-product property and solve each factor separately.
    x−2=0orx−3=0x - 2 = 0 \quad \text{or} \quad x - 3 = 0

So x=2x = 2 or x=3x = 3. Check both: 22−5(2)+6=4−10+6=02^2 - 5(2) + 6 = 4 - 10 + 6 = 0, and 32−5(3)+6=9−15+6=03^2 - 5(3) + 6 = 9 - 15 + 6 = 0.

Example 2: x2+2x−15=0x^2 + 2x - 15 = 0

  1. Look for two numbers that multiply to give −15-15 and add to give 22. Since they multiply to a negative, one is positive and one is negative: 55 and −3-3.
  2. Write the two factors.
    (x+5)(x−3)=0(x + 5)(x - 3) = 0
  3. Set each factor equal to zero and solve.
    x+5=0orx−3=0x + 5 = 0 \quad \text{or} \quad x - 3 = 0

So x=−5x = -5 or x=3x = 3. Check both: (−5)2+2(−5)−15=25−10−15=0(-5)^2 + 2(-5) - 15 = 25 - 10 - 15 = 0, and 32+2(3)−15=9+6−15=03^2 + 2(3) - 15 = 9 + 6 - 15 = 0.

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

  1. Since the leading coefficient is 2, multiply it by the constant term: 2×3=62 \times 3 = 6. Find two numbers that multiply to 66 and add to b=7b = 7: those are 66 and 11.
  2. Split the middle term, 7x7x, into 6x+x6x + x, then factor the first two terms and the last two terms separately.
    2x2+6x+x+3=2x(x+3)+1(x+3)2x^2 + 6x + x + 3 = 2x(x + 3) + 1(x + 3)
  3. Both groups share the factor (x+3)(x + 3), so pull it out and apply the zero-product property.
    (2x+1)(x+3)=0⇒x=−12 or x=−3(2x + 1)(x + 3) = 0 \quad \Rightarrow \quad x = -\frac{1}{2} \ \text{or} \ x = -3

So x=−12x = -\frac{1}{2} or x=−3x = -3. Check the fractional root: 2(−12)2+7(−12)+3=12−72+3=02\left(-\frac{1}{2}\right)^2 + 7\left(-\frac{1}{2}\right) + 3 = \frac{1}{2} - \frac{7}{2} + 3 = 0.

Example 4: x2+5x=6x^2 + 5x = 6

  1. Rearrange first, since the right side is not zero. Subtract 6 from both sides.
    x2+5x−6=0x^2 + 5x - 6 = 0
  2. Find two numbers that multiply to −6-6 and add to 55: those are 66 and −1-1.
    (x+6)(x−1)=0(x + 6)(x - 1) = 0
  3. Apply the zero-product property.
    x+6=0orx−1=0x + 6 = 0 \quad \text{or} \quad x - 1 = 0

So x=−6x = -6 or x=1x = 1. Check both in the original equation: (−6)2+5(−6)=36−30=6(-6)^2 + 5(-6) = 36 - 30 = 6, and (1)2+5(1)=1+5=6(1)^2 + 5(1) = 1 + 5 = 6.

Example 5: 2x2−x=62x^2 - x = 6

  1. Rearrange first, subtracting 6 from both sides.
    2x2−x−6=02x^2 - x - 6 = 0
  2. Multiply the leading coefficient by the constant: 2×(−6)=−122 \times (-6) = -12. Find two numbers that multiply to −12-12 and add to −1-1: those are −4-4 and 33.
  3. Split the middle term and factor by grouping.
    2x2−4x+3x−6=2x(x−2)+3(x−2)=(2x+3)(x−2)2x^2 - 4x + 3x - 6 = 2x(x - 2) + 3(x - 2) = (2x + 3)(x - 2)
  4. Set the factored form equal to zero and solve each piece.
    2x+3=0orx−2=0⇒x=−32 or x=22x + 3 = 0 \quad \text{or} \quad x - 2 = 0 \quad \Rightarrow \quad x = -\frac{3}{2} \ \text{or} \ x = 2

So x=−32x = -\frac{3}{2} or x=2x = 2. Check the whole-number root in the original equation: 2(2)2−2=8−2=62(2)^2 - 2 = 8 - 2 = 6.

Common mistakes

Factoring is one of several ways to solve a quadratic equation; when a quadratic will not factor neatly, the square root method or the quadratic formula still get you there. For every method laid out side by side, see Quadratic Equations: Every Way to Solve One, Explained. Scan your next quadratic and read every step in AI Math Tutor.

AI Math Tutor is a study aid, not a substitute for a teacher, and it can make mistakes: check every step, not just the answer.

Questions

What is the zero-product property, and why does factoring rely on it?

The zero-product property says that if two expressions multiply to zero, at least one of them must equal zero. Factoring turns a quadratic into exactly that shape, two expressions multiplied together and set equal to zero, so each factor can be set to zero on its own and solved separately.

What do you do if a quadratic equation is not already set equal to zero?

Move every term to one side using addition or subtraction until the other side is zero. Factoring only works once the equation is in the form ax2+bx+c=0ax^2 + bx + c = 0, so this rearranging step has to happen first, before you look for any factors at all.

Can every quadratic equation be solved by factoring?

No. Factoring only works cleanly when the quadratic breaks into two expressions with whole-number or simple fractional coefficients. When it does not factor neatly, the square root method or the quadratic formula still solve the equation, just through a different route.

How do you factor a quadratic with a leading coefficient other than 1?

Multiply the leading coefficient by the constant term, find two numbers that multiply to that product and add to the middle coefficient, then split the middle term using those two numbers and factor by grouping. Examples 3 and 5 below both work through this method in full.

Read next