Factoring Polynomials: Definition, Method and Examples

MathPublished

Factoring Polynomials: Definition, Method and Examples

Factoring a polynomial rewrites it as a product of simpler factors. Start by finding a greatest common factor, then use a structure such as grouping, a difference of squares or a quadratic pattern; multiply the factors back to check.


A polynomial is an algebraic expression consisting of variables and coefficients. Factoring polynomials breaks down a complex expression into a multiplication problem. When these simpler factors are multiplied together, they produce the original expression.

An area model showing a large rectangle split into two parts. The lengths are x and 4, the height is 3x, making the inner areas 3x squared and 12x.

What does factoring mean?

Factoring a polynomial means determining which simpler algebraic expressions multiply together to produce the given polynomial. It transforms an expression written as a sum or difference of terms into a single product.


For integers, factoring means writing a number as a product of prime numbers, such as writing 1212 as 3×43 \times 4. For algebraic expressions, the goal is similar: breaking a larger mathematical structure into basic polynomial factors that cannot be simplified any further.


Factoring rewrites an expression as a product, which is the exact reverse of expanding.

Find a greatest common factor

The first step in any factoring problem is to search for a greatest common factor. The greatest common factor is the largest algebraic term that divides evenly into every term of the polynomial.


To factor out the common factor:

  1. Identify the greatest integer that divides into all coefficients.
  2. Identify the highest power of each variable that appears in every term.
  3. Multiply the integer and variable parts to form the greatest common factor.
  4. Divide every original term by this common factor to find the remaining expression inside the parentheses.

If the polynomial begins with a negative term, it is standard practice to factor out a negative common factor. This changes the signs of the remaining terms inside the parentheses.

A reverse distribution trace showing the polynomial 12 x cubed minus 8 x squared being factored into 4 x squared times the binomial 3x minus 2.

Factor by grouping

When a polynomial has exactly four terms, the grouping method is often the most effective approach. Grouping splits the polynomial into two pairs of terms, extracting a common factor from each pair independently.


If the polynomial can be factored by grouping, the expression left in parentheses for the first pair will match the expression left in parentheses for the second pair. This matching binomial becomes a new common factor itself, which can then be pulled to the front.

A grouping visual showing the four-term polynomial x cubed plus 2 x squared plus 3x plus 6 being grouped into two pairs, yielding factors x squared plus 3 and x plus 2.

Use special products

Some polynomials follow predictable patterns known as special products. Recognizing these mathematical structures provides a shortcut for factoring.


The most common pattern is a difference of squares. It occurs when a squared term is subtracted from another squared term. The difference of squares formula states that a2−b2a^2 - b^2 always factors into (a−b)(a+b)(a - b)(a + b).


Perfect square trinomials are another special product. These occur when squaring a binomial, producing forms like a2+2ab+b2a^2 + 2ab + b^2, which factors into (a+b)2(a + b)^2. These patterns are frequently applied when factoring quadratics.

A breakdown showing 16 x squared minus 25 is equivalent to the quantity 4x squared minus 5 squared, which factors into 4x minus 5 times 4x plus 5.

Check by expanding

Because factoring is the reverse process of expanding, you can always check your answer by multiplying the factors together. If the result matches the original expression, the factorization is mathematically correct.


Use distributive property multiplication to confirm your work. Follow the standard methods for multiplying polynomials by distributing every term in the first factor to every term in the second factor.

Distribution arrows showing how the factors x minus 3 and x plus 4 multiply to create x squared plus 4x minus 3x minus 12, combining to x squared plus x minus 12.

Worked examples


Example 1: Factoring out a greatest common factor


Question: Factor 15x3−10x215x^3 - 10x^2 completely.


Method:

  1. Identify the greatest integer that divides both 1515 and 1010, which is 55.
  2. Identify the highest power of xx in both terms, which is x2x^2.
  3. Combine these to find the greatest common factor, which is 5x25x^2.
  4. Divide the original terms by 5x25x^2 to find the remaining binomial.

Answer: 5x2(3x−2)5x^2(3x - 2).


Check: Expand 5x2(3x−2)5x^2(3x - 2) to confirm it distributes back to 15x3−10x215x^3 - 10x^2.


Example 2: Factoring by grouping


Question: Factor 3x3−6x2+4x−83x^3 - 6x^2 + 4x - 8.


Method:

  1. Group the first two terms and the last two terms: (3x3−6x2)+(4x−8)(3x^3 - 6x^2) + (4x - 8).
  2. Extract the common factor from the first group: 3x2(x−2)3x^2(x - 2).
  3. Extract the common factor from the second group: 4(x−2)4(x - 2).
  4. Factor out the new common binomial (x−2)(x - 2).

Answer: (3x2+4)(x−2)(3x^2 + 4)(x - 2).


Check: Multiply (3x2+4)(x−2)(3x^2 + 4)(x - 2) to get 3x3−6x2+4x−83x^3 - 6x^2 + 4x - 8.


Example 3: Factoring a difference of squares


Question: Factor 36y4−4936y^4 - 49 completely.


Method:

  1. Recognize the expression as a difference of two squares matching the pattern a2−b2a^2 - b^2.
  2. Find the square root of the first term: a=6y2a = 6y^2.
  3. Find the square root of the second term: b=7b = 7.
  4. Substitute these into the formula (a−b)(a+b)(a - b)(a + b).

Answer: (6y2−7)(6y2+7)(6y^2 - 7)(6y^2 + 7).


Check: Multiply the factors together. The middle terms cancel out, leaving 36y4−4936y^4 - 49.

Common mistakes

  • Stopping early: Finding one common factor but failing to notice that the remaining polynomial can be factored further. Always check the expression inside the parentheses to see if a special product applies.
  • Incorrect signs when grouping: Pulling out a negative common factor from the second pair of terms requires flipping the signs inside the parentheses. Leaving the signs unchanged will prevent the binomials from matching.
  • Misapplying special products: The pattern for a difference of squares, a2−b2a^2 - b^2, does not work for a sum of squares. An expression like a2+b2a^2 + b^2 generally cannot be factored further using real numbers.

Frequently asked questions

How do you know when a polynomial is fully factored?

A polynomial is completely factored when none of its individual factors can be broken down any further. You should always inspect the binomials or trinomials left inside the parentheses to ensure that no additional rules can be applied.


Can every polynomial be factored?

No. Some polynomials cannot be factored using integer or real-number coefficients. These are known as prime polynomials. An example is x2+4x^2 + 4, which cannot be factored further over the real numbers.


Why is factoring important?

Factoring simplifies complex expressions and makes it easier to analyze mathematical functions. It is a primary algebraic method used for solving quadratic equations and finding the exact roots of mathematical models.

Practice questions

Question

An area model divided into four sections with heights x and 2, and widths x and 5. The section areas are x squared, 5x, 2x, and 10.

Which factorization of a polynomial is represented by the area model above?

  • (x+5)(x+2)=x2+7x+10(x+5)(x+2) = x^2 + 7x + 10

  • (x+5)(x+2)=x2+10x+10(x+5)(x+2) = x^2 + 10x + 10

  • (x+7)(x+2)=x2+7x+14(x+7)(x+2) = x^2 + 7x + 14

  • (x+5)(x−2)=x2+3x−10(x+5)(x-2) = x^2 + 3x - 10

Answer:

(x+5)(x+2)=x2+7x+10(x+5)(x+2) = x^2 + 7x + 10

Question

Factor the polynomial 18x4−24x318x^4 - 24x^3 completely.

  • 6x2(3x2−4x)6x^2(3x^2 - 4x)

  • 6x3(3x−4)6x^3(3x - 4)

  • 3x3(6x−8)3x^3(6x - 8)

  • 6x3(3x+4)6x^3(3x + 4)

Answer:

6x3(3x−4)6x^3(3x - 4)

Question

Factor the polynomial x3+5x2−2x−10x^3 + 5x^2 - 2x - 10 by grouping.

  • (x2+2)(x+5)(x^2 + 2)(x + 5)

  • (x2−2)(x−5)(x^2 - 2)(x - 5)

  • (x2+5)(x−2)(x^2 + 5)(x - 2)

  • (x2−2)(x+5)(x^2 - 2)(x + 5)

Answer:

(x2−2)(x+5)(x^2 - 2)(x + 5)

Question

Factor the difference of squares: 49y2−6449y^2 - 64

  • (7y−32)(7y+32)(7y - 32)(7y + 32)

  • (49y−8)(y+8)(49y - 8)(y + 8)

  • (7y−8)(7y+8)(7y - 8)(7y + 8)

  • (7y−8)2(7y - 8)^2

Answer:

(7y−8)(7y+8)(7y - 8)(7y + 8)

Question

What is the completely factored form of 3x2−273x^2 - 27?

  • 3(x2−9)3(x^2 - 9)

  • (3x−9)(x+3)(3x - 9)(x + 3)

  • 3(x−3)23(x - 3)^2

  • 3(x−3)(x+3)3(x - 3)(x + 3)

Answer:

3(x−3)(x+3)3(x - 3)(x + 3)