What is factoring in math?
Factoring rewrites a number or expression as a product of factors. It is the reverse of multiplying or distributing: 12 = 3 × 4, 6x + 9 = 3(2x + 3) and x2 + 5x + 6 = (x + 2)(x + 3). Factoring changes the form, not the value, so multiplying the factors back gives the original.
Factoring in a picture
Formal definition and notation
To factor a number n is to write it as a product of whole numbers, n = a × b; prime factorization continues until every factor is prime. To factor a polynomial is to write it as a product of polynomials of lower degree, such as x2 − 9 = (x − 3)(x + 3). A polynomial is factored completely when no factor (other than a constant) can be factored further over the integers. The factored form is equivalent to the original: both give the same value for every x.
| Symbol | Read it as | Meaning |
|---|---|---|
| 3(2x + 3) | three times the quantity two x plus three | 6x + 9 with its greatest common factor, 3, factored out |
| (x + 2)(x + 3) | x plus two, times x plus three | a product of two binomials; two sets of parentheses side by side mean multiply |
| 22 × 3 | two squared times three | the prime factorization of 12 |
Key facts
- Factoring is multiplication run backward: (x + 2)(x + 3) expands to x2 + 5x + 6, so x2 + 5x + 6 factors to (x + 2)(x + 3).
- Start with the greatest common factor: 4x2 + 10x = 2x(2x + 5).
- Factoring solves equations: if (x + 2)(x + 3) = 0, one factor must be 0, so x = −2 or x = −3.
- A sum of squares such as x2 + 9 does not factor over the integers (or the real numbers).
- Factoring numbers and factoring expressions are the same idea: both write a quantity as a product.
Factoring patterns
- ab + ac = a(b + c)
- common factor: pull out the GCF of every term
- x2 + bx + c = (x + m)(x + n)
- trinomial: find m and n with m × n = c and m + n = b
- a2 − b2 = (a − b)(a + b)
- difference of squares
- a2 + 2ab + b2 = (a + b)2
- perfect square trinomial
Always look for a common factor first. Then check the number of terms: two terms may be a difference of squares; three terms may be a trinomial. Finish by multiplying back to check.
Try it: factor a number
Factoring works for numbers too. Type a whole number or tap a sample to see all its factors and a factor tree that rewrites it as a product of primes.
Factoring examples, step by step
Example 1: Factor out the greatest common factor
Factor 6x + 15.
- Find the GCF of the coefficients 6 and 15: it is 3.
- Divide each term by 3: 6x ÷ 3 = 2x and 15 ÷ 3 = 5.
- Write the GCF outside the parentheses: 3(2x + 5).
- Check by distributing: 3 × 2x + 3 × 5 = 6x + 15.
Answer: 6x + 15 = 3(2x + 5)
Example 2: Factor a trinomial
Factor x2 + 7x + 12.
- Look for two numbers that multiply to 12 and add to 7.
- Factor pairs of 12: 1 and 12 (sum 13), 2 and 6 (sum 8), 3 and 4 (sum 7).
- Use 3 and 4: (x + 3)(x + 4).
- Check: x2 + 4x + 3x + 12 = x2 + 7x + 12.
Answer: x2 + 7x + 12 = (x + 3)(x + 4)
Example 3: Factor completely
Factor completely: 2x2 − 18. Then find the values of x that make the expression equal 0.
- Take out the common factor 2: 2(x2 − 9).
- x2 − 9 is a difference of squares, x2 − 32, so it factors as (x − 3)(x + 3).
- Completely factored: 2(x − 3)(x + 3).
- The product is 0 when a factor is 0: x − 3 = 0 or x + 3 = 0, so x = 3 or x = −3.
Answer: 2x2 − 18 = 2(x − 3)(x + 3); it equals 0 when x = 3 or x = −3.
Common mistakes
Factoring changes the form, not the value. Multiply back to check: 3(2x + 9) = 6x + 27, which is not the original.
The constant is −12, so the two numbers must have opposite signs: −4 × 3 = −12 and −4 + 3 = −1. Two negatives multiply to +12.
Factor completely means no factor can be broken down further. After taking out the GCF, check what is left for a pattern such as a difference of squares.
Only a difference of squares factors into (a − b)(a + b). Multiplying back reveals the missing middle term.
Not to be confused with
A factor is one piece of a product, like 3 or (x + 2). Factoring is the process that finds those pieces: 3x + 6 = 3(x + 2).
Expanding goes from product to sum: 4(x + 5) = 4x + 20. Factoring goes from sum to product: 4x + 20 = 4(x + 5).
Prime factorization is factoring a whole number until every factor is prime: 60 = 22 × 3 × 5. Factoring in general can stop earlier, as in 60 = 6 × 10.
Quick check: 3 questions
Factor completely: 12x + 8
Answer: C. The GCF of 12 and 8 is 4, and 4(3x + 2) = 12x + 8. 2(6x + 4) is equal but not complete, since 6x + 4 still has a factor of 2. The other two divide only one term.Show answer and explanation
Which is the factored form of x2 − 5x + 6?
Answer: D. You need two numbers with product 6 and sum −5: −2 and −3. Choice A gives +5x, choice B gives −7x, and choice C gives −5x but a constant of −6.Show answer and explanation
Which expression equals x2 − 49?
Answer: B. x2 − 49 is a difference of squares, so it factors as (x − 7)(x + 7). Squaring a binomial adds a middle term: (x − 7)2 = x2 − 14x + 49. Choice D expands to x2 − 48x − 49.Show answer and explanation
Factoring: frequently asked questions
What is factoring used for?
Factoring turns a sum into a product, and products are easier to work with. It solves quadratic equations: from (x − 4)(x + 1) = 0 you read off x = 4 or x = −1. It also simplifies fractions, such as 3x + 63 = x + 2, and with numbers it helps you find the GCF and LCM.
How can I check my factoring?
Multiply the factors back together. If you get the original expression, the factoring is right. For x2 − 2x − 15 = (x − 5)(x + 3), expanding gives x2 + 3x − 5x − 15 = x2 − 2x − 15. A quick spot check also works: put x = 1 into both forms and compare the values.
Can every expression be factored?
No. Some expressions are prime, meaning they have no factors other than 1 and themselves over the integers. x2 + 9 and x2 + x + 1 are examples. For a trinomial x2 + bx + c, if no factor pair of c adds up to b, it does not factor with integers.
Practice and tools
Sources
- Common Core State Standards, Grade 7 Expressions and Equations (7.EE.A.1)
- Common Core State Standards, High School Algebra: Seeing Structure in Expressions (HSA-SSE.B.3.a)
- OpenStax, Elementary Algebra 2e, 7.1 Greatest Common Factor and Factor by Grouping
- OpenStax, Elementary Algebra 2e, 7.2 Factor Trinomials of the Form x²+bx+c
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS 6.NS.B.4, CCSS 7.EE.A.1, CCSS HSA-SSE.B.3.a
Cite this entry
Effortless Math Team. “Factoring.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/factoring/
Flashcard
Browse all terms in the Math Dictionary · More algebra terms · Random term