Factoring Quadratic Calculator
Factoring a quadratic rewrites ax² + bx + c as a product of brackets. For x² − 5x + 6, find two numbers that multiply to 6 and add to −5: −2 and −3, so x² − 5x + 6 = (x − 3)(x − 2), with roots x = 3 and x = 2.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
What Does It Mean to Factor a Quadratic?
Factoring a quadratic means writing it as a product of two simpler expressions, normally two brackets. The expression x² − 5x + 6 becomes (x − 3)(x − 2). Multiplying the brackets back out gives the original, so the two forms are equal.
The reason this matters is the zero product property: if two things multiply to zero, one of them must be zero. So from (x − 3)(x − 2) = 0 you immediately get x = 3 or x = 2. Factoring turns an equation you cannot easily solve into two equations you can.
Common Factoring Patterns
| Pattern | Form | Example |
|---|---|---|
| Common factor | ax² + bx = x(ax + b) | 3x² + 6x = 3x(x + 2) |
| Difference of squares | x² − k² = (x − k)(x + k) | x² − 9 = (x − 3)(x + 3) |
| Perfect square | x² ± 2kx + k² = (x ± k)² | x² + 6x + 9 = (x + 3)² |
| Trinomial (a = 1) | x² + bx + c = (x + p)(x + q) | x² − 5x + 6 = (x − 3)(x − 2) |
| Trinomial (a ≠ 1) | ax² + bx + c | 2x² + 7x + 3 = (2x + 1)(x + 3) |
How to Factor ax² + bx + c
When a = 1, look for two numbers p and q such that:
When a ≠ 1, use the AC method: multiply a × c, find two numbers that multiply to ac and add to b, split the middle term using them, and factor by grouping.
- The roots of the quadratic are the values that make each bracket zero.
- A quadratic factors over the real numbers only when its discriminant b² − 4ac is non-negative. Whole-number factoring needs the discriminant to be a perfect square.
When factoring by inspection fails, the quadratic formula still finds the roots.
How Is It Calculated? Worked Examples
x² − 5x + 6
- We need two numbers that multiply to 6 and add to −5.
- The pairs of factors of 6 are (1, 6), (2, 3), (−1, −6), (−2, −3). Only −2 and −3 add to −5.
- So x² − 5x + 6 = (x − 3)(x − 2).
- Roots: x = 3 and x = 2. Check by expanding: x² − 2x − 3x + 6 ✓.
More Factorings
| Quadratic | Factored form | Roots |
|---|---|---|
| x² + 7x + 12 | (x + 3)(x + 4) | −3 and −4 |
| x² − 9 | (x − 3)(x + 3) | 3 and −3 |
| 2x² + 7x + 3 | (2x + 1)(x + 3) | −1/2 and −3 |
| 6x² − 5x − 6 | (2x − 3)(3x + 2) | 3/2 and −2/3 |
| x² + 1 | does not factor over the reals | complex roots ±i |
The AC Method for 6x² − 5x − 6
- a × c = 6 × (−6) = −36.
- Find two numbers that multiply to −36 and add to −5: that is −9 and 4.
- Split the middle term: 6x² − 9x + 4x − 6.
- Group: 3x(2x − 3) + 2(2x − 3) = (2x − 3)(3x + 2).
How to Use This Quadratic Factoring Calculator
- Enter a, b and c for ax² + bx + c.
- Read the factored form and the roots. If the quadratic does not factor over the real numbers, the calculator reports that along with the discriminant.
- Open the steps to see the method used.
To rewrite the same quadratic in vertex form, use the completing the square calculator.
Where Factoring Is Used
- Solving equations: factored form makes roots obvious through the zero product property.
- Simplifying fractions: algebraic fractions such as (x² − 9)/(x − 3) simplify to x + 3 once factored.
- Graphing: the factored form shows the x-intercepts of a parabola.
- Calculus: factoring helps find limits and critical points.
- Physics and engineering: finding when a quantity returns to zero.
What Are the Most Common Mistakes With the Factoring Quadratic Calculator?
- Wrong signs. For x² − 5x + 6 the numbers must multiply to +6, so they have the same sign, and add to −5, so both are negative.
- Forgetting the common factor. Take out any common factor first: 2x² + 4x + 2 = 2(x + 1)².
- Reading roots with the wrong sign. (x − 3) gives x = +3, not −3.
- Ignoring a ≠ 1. The “two numbers” shortcut only works directly when a = 1.
- Assuming every quadratic factors. x² + 1 has no real factors.
- Not checking by expanding. Multiply the brackets out to confirm.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
- OpenStax: algebra and calculus textbooks
- NIST Digital Library of Mathematical Functions
- Wolfram MathWorld
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
How do you factor a quadratic?
For x² + bx + c, find two numbers that multiply to c and add to b. For x² − 5x + 6 they are −2 and −3, so the factorisation is (x − 3)(x − 2).
How do you factor when a is not 1?
Use the AC method: find two numbers that multiply to a × c and add to b, split the middle term, then factor by grouping.
What is the zero product property?
If a product of factors is zero, at least one factor must be zero. It lets you solve a factored quadratic by setting each bracket to zero.
Can every quadratic be factored?
Over the real numbers only if the discriminant b² − 4ac is non-negative. Over the complex numbers every quadratic factors.
What is a difference of squares?
An expression of the form x² − k², which factors as (x − k)(x + k). For example x² − 9 = (x − 3)(x + 3).
How can I check a factorisation?
Expand the brackets using FOIL and confirm you get the original quadratic.