Mathwords logoMathwords

Factoring Quadratics — Definition, Formula & Examples

Factoring quadratics is the process of rewriting a quadratic expression like ax2+bx+cax^2 + bx + c as a product of two simpler expressions (binomials). For example, x2+5x+6x^2 + 5x + 6 factors into (x+2)(x+3)(x + 2)(x + 3).

To factor a quadratic polynomial ax2+bx+cax^2 + bx + c over the integers is to express it as a(xr)(xs)a(x - r)(x - s), where rr and ss are the roots of the polynomial satisfying r+s=bar + s = -\tfrac{b}{a} and rs=car \cdot s = \tfrac{c}{a}. When a=1a = 1, this reduces to finding integers rr and ss such that r+s=br + s = -b and rs=crs = c.

Key Formula

x2+bx+c=(x+p)(x+q)where p+q=b and pq=cx^2 + bx + c = (x + p)(x + q) \quad \text{where } p + q = b \text{ and } p \cdot q = c
Where:
  • bb = Coefficient of the linear term
  • cc = Constant term
  • p,qp, q = Two numbers whose sum is b and whose product is c

How It Works

When a=1a = 1, look for two numbers that multiply to cc and add to bb. Call them pp and qq; then x2+bx+c=(x+p)(x+q)x^2 + bx + c = (x + p)(x + q). When a1a \neq 1, one reliable method is the AC method: multiply aca \cdot c, find two numbers that multiply to acac and add to bb, then split the middle term and factor by grouping. You can always verify your answer by multiplying the binomials back out using the FOIL method.

Worked Example

Problem: Factor x2+7x+12x^2 + 7x + 12.
Identify b and c: Here b=7b = 7 and c=12c = 12. You need two numbers that add to 7 and multiply to 12.
p+q=7,pq=12p + q = 7, \quad p \cdot q = 12
Find the pair: List factor pairs of 12: (1,12),(2,6),(3,4)(1,12),\,(2,6),\,(3,4). The pair 33 and 44 adds to 77.
3+4=73 + 4 = 7 \quad \checkmark
Write the factored form: Place the two numbers into the binomials.
x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4)
Verify by expanding: Use FOIL to confirm: x2+4x+3x+12=x2+7x+12x^2 + 4x + 3x + 12 = x^2 + 7x + 12.
\checkmark
Answer: (x+3)(x+4)(x + 3)(x + 4)

Another Example

Problem: Factor 2x2+7x+32x^2 + 7x + 3 using the AC method.
Compute a · c: Multiply the leading coefficient by the constant: 2×3=62 \times 3 = 6. Find two numbers that multiply to 6 and add to 7.
pq=6,p+q=7p \cdot q = 6, \quad p + q = 7
Find the pair: The numbers 1 and 6 work: 1×6=61 \times 6 = 6 and 1+6=71 + 6 = 7.
Split the middle term: Rewrite 7x7x as x+6xx + 6x and group.
2x2+x+6x+3=x(2x+1)+3(2x+1)2x^2 + x + 6x + 3 = x(2x + 1) + 3(2x + 1)
Factor out the common binomial: Both groups share the factor (2x+1)(2x + 1).
=(2x+1)(x+3)= (2x + 1)(x + 3)
Answer: (2x+1)(x+3)(2x + 1)(x + 3)

Why It Matters

Factoring quadratics is a core skill in Algebra 1 and Algebra 2, appearing on virtually every standardized test including the SAT and ACT. Engineers and scientists use it to find where a parabolic model equals zero—for instance, determining when a projectile hits the ground. Mastering factoring also builds the foundation for working with polynomial division and rational expressions in precalculus.

Common Mistakes

Mistake: Forgetting to account for signs when cc is negative
Correction: If c<0c < 0, the two numbers pp and qq have opposite signs. Focus on which combination gives the correct sign for bb. For example, in x2+2x15x^2 + 2x - 15, the pair is 55 and 3-3 (not 5-5 and 33) because 5+(3)=+25 + (-3) = +2.
Mistake: Not factoring out the GCF first when a1a \neq 1
Correction: Always check for a greatest common factor before applying the AC method. For 3x2+12x+123x^2 + 12x + 12, first factor out 33 to get 3(x2+4x+4)3(x^2 + 4x + 4), then factor the simpler trinomial as 3(x+2)23(x+2)^2.

Related Terms