Solving Quadratics by Factoring

Solve quadratic equations by factoring the polynomial into binomials, then apply the Zero Product Property to find the solutions.

(xr1)(xr2)=0    x=r1,r2(x - r_1)(x - r_2) = 0 \implies x = r_1, r_2

Solve a problem with Solving Quadratics by Factoring

Type the problem. The solver will use Solving Quadratics by Factoring where Solving Quadratics by Factoring is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Solving Quadratics by Factoring takes
xx
r1r_1
r2r_2
Solving Quadratics by Factoring
SymbolMeaning
xxThe variable we are solving for; the value(s) that satisfy the quadratic equation.
r1r_1The first root (solution) of the equation, representing one value of xx that makes the quadratic zero.
r2r_2The second root (solution) of the equation, representing the other value of xx that makes the quadratic zero.

When to use it

Use this method when a quadratic equation can be factored into binomials with integer coefficients.

Level

Usually taught in: Algebra I

Worked examples

1. Solve a quadratic with two negative integer roots

Problem

Solve x2+7x+12=0x^2 + 7x + 12 = 0 for xx.
  1. (x+3)(x+4)=0(x + 3)(x + 4) = 0

    To factor x2+7x+12x^2 + 7x + 12, we look for two numbers that multiply to 12 and add to 7—these are 3 and 4.

  2. x+3=0 or x+4=0x + 3 = 0 \text{ or } x + 4 = 0

    We apply the Zero Product Property: if (x+3)(x+4)=0(x + 3)(x + 4) = 0, then either x+3=0x + 3 = 0 or x+4=0x + 4 = 0.

  3. x=3 or x=4x = -3 \text{ or } x = -4

    Solving x+3=0x + 3 = 0 gives x=3x = -3, and solving x+4=0x + 4 = 0 gives x=4x = -4.

Answer: x=3 or x=4x = -3 \text{ or } x = -4

This quadratic factors into two binomials with integer coefficients, making it straightforward to apply the Zero Product Property. Once we identify the two factors, we solve each linear equation separately to find both solutions.

2. Solve a quadratic with a fractional root using the AC method

Problem

Solve 2x25x3=02x^2 - 5x - 3 = 0 for xx.
  1. 2x(x3)+1(x3)=02x(x - 3) + 1(x - 3) = 0

    We use the AC method: find two numbers that multiply to 2(3)=62 \cdot (-3) = -6 and add to 5-5, which are 6-6 and 11. We rewrite 5x-5x as 6x+x-6x + x and factor by grouping.

  2. (2x+1)(x3)=0(2x + 1)(x - 3) = 0

    The common binomial factor (x3)(x - 3) appears in both groups, so we factor it out.

  3. x=12 or x=3x = -\frac{1}{2} \text{ or } x = 3

    Setting 2x+1=02x + 1 = 0 gives 2x=12x = -1, so x=12x = -\frac{1}{2}; setting x3=0x - 3 = 0 gives x=3x = 3.

Answer: x=12 or x=3x = -\frac{1}{2} \text{ or } x = 3

This problem requires the AC method and produces a fractional solution. The technique handles coefficients other than 1 and negative constants by strategically splitting the middle term, then using the Zero Product Property on both resulting linear equations.

3. Break-even pricing at a school bake sale

Problem

At a school bake sale, a student sells homemade brownies. If they charge xx dollars per brownie, their profit is 2x2+14x20-2x^2 + 14x - 20 dollars. At what price per brownie will their profit be zero?
  1. 2x2+14x20=0-2x^{2} + 14x - 20 = 0

    To find when profit is zero, we set the profit expression equal to zero.

  2. 2(x27x+10)=0-2(x^{2} - 7x + 10) = 0

    We factor out the greatest common factor 2-2 from all three terms, leaving x27x+10=0x^{2} - 7x + 10 = 0.

  3. (x5)(x2)=0(x - 5)(x - 2) = 0

    The quadratic x27x+10x^{2} - 7x + 10 factors by finding two numbers that multiply to 10 and add to 7-7, namely 5-5 and 2-2.

  4. x=5 or x=2x = 5 \text{ or } x = 2

    Setting x5=0x - 5 = 0 gives x=5x = 5; setting x2=0x - 2 = 0 gives x=2x = 2. Both prices result in zero profit.

Answer: x=2 or x=5x = 2 \text{ or } x = 5

Real-world situations often produce quadratics with two solutions. Here, the business breaks even at two different price points—a practical application showing why factoring is useful beyond abstract algebra.

Common mistakes

Where Solving Quadratics by Factoring usually goes wrong
Answer came out wrong
Writing (x3)(x+2)=0    x=3(x - 3)(x + 2) = 0 \implies x = 3 only, without finding the second solution.
After factoring, set each factor to zero separately: x3=0x - 3 = 0 OR x+2=0x + 2 = 0, giving both x=3x = 3 and x=2x = -2.
Expanding the factored form back to standard form, then solving: expanding (x2)(x5)=0(x - 2)(x - 5) = 0 into x27x+10=0x^{2} - 7x + 10 = 0, then solving that.
Never expand a factored quadratic. Apply the Zero Product Property directly to the factored form and solve each linear equation.
For x23x+2=0x^{2} - 3x + 2 = 0, guessing factors like (x+2)(x+1)=0(x + 2)(x + 1) = 0 because the constant is positive, ignoring that the middle coefficient is negative.
For x23x+2x^{2} - 3x + 2, find two numbers that multiply to +2+2 and add to 3-3. Those are 2-2 and 1-1, so the factors are (x2)(x1)(x - 2)(x - 1).
The mistakeWhy it is wrongThe fix
Writing (x3)(x+2)=0    x=3(x - 3)(x + 2) = 0 \implies x = 3 only, without finding the second solution.The Zero Product Property requires setting EACH factor equal to zero; if a product equals zero, any of its factors could be the cause.After factoring, set each factor to zero separately: x3=0x - 3 = 0 OR x+2=0x + 2 = 0, giving both x=3x = 3 and x=2x = -2.
Expanding the factored form back to standard form, then solving: expanding (x2)(x5)=0(x - 2)(x - 5) = 0 into x27x+10=0x^{2} - 7x + 10 = 0, then solving that.Once you have successfully factored, expanding it wastes effort and introduces opportunities for arithmetic mistakes.Never expand a factored quadratic. Apply the Zero Product Property directly to the factored form and solve each linear equation.
For x23x+2=0x^{2} - 3x + 2 = 0, guessing factors like (x+2)(x+1)=0(x + 2)(x + 1) = 0 because the constant is positive, ignoring that the middle coefficient is negative.When the constant is positive, both binomial factors must have the same sign (both ++ or both -), determined by the middle term's sign.For x23x+2x^{2} - 3x + 2, find two numbers that multiply to +2+2 and add to 3-3. Those are 2-2 and 1-1, so the factors are (x2)(x1)(x - 2)(x - 1).

Tips and when to use something else

  • If the quadratic doesn't factor neatly over the integers, do not force it—use the Quadratic Formula instead of spending excessive time guessing factors.
  • Always check your factorization by expanding the binomials back into standard form to confirm you get the original quadratic.
  • Before you start factoring, make sure the equation is set equal to zero; you cannot factor a quadratic set equal to a nonzero value.
  • When the leading coefficient is not 1, use the AC method or factor out a common factor first, then factor the simplified quadratic.

Frequently asked questions

What if the quadratic doesn't factor nicely?
If the quadratic doesn't factor over the integers, use the Quadratic Formula instead. Not all quadratics factor neatly, and that's perfectly fine—the Quadratic Formula works for any quadratic equation.
Can a quadratic equation have only one solution?
Yes, if the quadratic has a repeated root, like (x3)2=0(x - 3)^{2} = 0, which gives only x=3x = 3. A quadratic can also have no real solutions if its graph does not cross the xx-axis.
How do I check if my factorization is correct?
Multiply the two binomials back together using FOIL or distribution. If you get the original quadratic, your factorization is correct.
Do I always have to use factoring to solve a quadratic?
No, factoring is just one method. If a quadratic doesn't factor nicely, you can use the Quadratic Formula or complete the square. Different situations call for different approaches.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18