Quadratic Factoring: How to Factor and Solve
Quadratic factoring turns an equation like into a product of two simpler pieces, , which is usually the fastest way to solve it once you spot the pattern. The core idea is always the same: find two numbers with a particular product and a particular sum, then use them to rewrite the equation. This guide covers quadratic factoring for the basic case, for a leading coefficient other than 1, and for the difference of squares pattern, with three worked examples, including one that does not factor at all.

Key takeaways
- To factor , find two numbers that multiply to c and add to b.
- When the leading coefficient is not 1, multiply a and c first, then find two numbers that multiply to that product and add to b.
- A difference of squares, like , always factors as the product of a sum and a difference: .
- Not every quadratic factors over whole numbers, and when the right number pair does not exist, the quadratic formula is the reliable fallback.
- Once an equation is factored into two pieces multiplied together, set each piece equal to 0 separately to find the solutions.
Finding two numbers that multiply to c and add to b
For a quadratic in the form , with a leading coefficient of 1, factoring starts by finding two numbers that multiply to give c and add to give b. Once you find them, they become the constants in two binomials: , where and are the two numbers you found.
Take . You need two numbers that multiply to 12 and add to 7. Checking the factor pairs of 12, 3 and 4 fit, since and . That gives , and setting each factor equal to 0 gives or . The sign of b and c tells you what kind of pair to look for: a positive c with a positive b means both numbers are positive, a positive c with a negative b means both numbers are negative, and a negative c means the two numbers have opposite signs.
Factoring when the leading coefficient is not 1
When the equation looks like with , the number pair you need changes: multiply a and c together first, then find two numbers that multiply to that product, , and add to b. Once you have them, rewrite the middle term, , as the sum of two terms using those numbers, and factor the resulting four-term expression by grouping.
For , multiply and : . You need two numbers that multiply to 6 and add to 7, which are 6 and 1. Rewrite the middle term using those numbers: . Group the first two terms and the last two terms, factor each group, and factor out the common binomial: . Setting each factor to 0 gives or .
Recognizing a difference of squares
A difference of squares is an expression where one perfect square is subtracted from another, such as or . This pattern always factors the same way: . For , since , the factored form is .
This pattern is worth spotting on sight because it skips the usual search for a number pair entirely: as soon as you recognize two perfect squares connected by subtraction, you already know the two factors. It only applies to a difference, never a sum: does not factor this way, and in fact does not factor over real numbers at all. For more on identifying a, b, and c and recognizing patterns like this one directly from an equation's form, see Quadratic Standard Form: What a, b and c Tell You.
What to do when a quadratic does not factor
Not every quadratic factors over whole numbers. If you cannot find a pair of whole numbers that multiplies to the right product and adds to the right sum, stop searching and switch to the quadratic formula instead, which solves any quadratic equation in standard form. A quadratic that does not factor neatly usually has solutions involving a square root that does not simplify to a whole number, which is exactly what the quadratic formula is built to handle. For the full method and more worked examples, see Quadratic Equations: Every Way to Solve One, Explained and Solve a Quadratic Equation by Factoring: 5 Worked Examples for further factoring practice.
Worked examples
Example 1: factor and solve
- Find two numbers that multiply to and add to . The numbers are and , since and .
- Write the factored form using those numbers.
- Set each factor equal to 0 and solve.
So or . Check by substituting back: , and , both correct.
Example 2: factor and solve
- Multiply and : . Find two numbers that multiply to 6 and add to 7, which are 6 and 1.
- Rewrite the middle term using those two numbers, then factor by grouping.
- Set each factor equal to 0 and solve.
So or . Check by substituting back: , and , both correct.
Example 3: try to factor
- Look for two numbers that multiply to 2 and add to 4. The only whole-number pairs that multiply to 2 are and , or and , and neither pair adds to 4.
- Since no whole-number pair works, this quadratic does not factor over whole numbers. Switch to the quadratic formula with , , .
- Simplify as and reduce the fraction.
So or . Check by approximating: , so or ; substituting gives about , confirming the answer.
Common mistakes
- Forgetting to check the sign of c, since a negative c means the two numbers you need have opposite signs.
- Trying only positive factor pairs when b or c is negative and missing the correct pair entirely.
- Forgetting to multiply a and c together first when the leading coefficient is not 1, and searching for a pair based on c alone.
- Assuming every quadratic factors over whole numbers, when many genuinely need the quadratic formula instead.
- Stopping after writing the factored form without setting each factor equal to 0 to find the actual solutions.
Once factoring feels comfortable, Solve a Quadratic Equation by Factoring: 5 Worked Examples gives you more practice with the pattern, and Quadratic Equations by the Square Root Method covers the fastest method for equations with no middle term at all. For every method side by side, including when to reach for each one, see Quadratic Equations: Every Way to Solve One, Explained. When you want a quadratic factored and checked line by line, scan it 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 two numbers do you look for when factoring a quadratic?
For a quadratic in the form , look for two numbers that multiply to c and add to b. Those two numbers become the constants in the two factored binomials.
How does factoring change when the leading coefficient is not 1?
Multiply the leading coefficient a by the constant c first, then find two numbers that multiply to that product and add to b. Use those numbers to rewrite the middle term and factor by grouping.
What is a difference of squares?
A difference of squares is an expression like , where a perfect square is subtracted from another perfect square. It always factors as , where n is the square root of the constant term.
What do you do if a quadratic will not factor over whole numbers?
Switch to the quadratic formula, which solves any quadratic equation whether or not it factors neatly. A quadratic that does not factor with whole numbers often has an answer that includes a square root.
Does every quadratic equation factor?
No. Many quadratic equations have solutions that are not whole numbers or simple fractions, which means they will not factor over whole numbers at all. The quadratic formula is the reliable method for those cases.