Factoring Special Cases

Learning Outcomes

  • Factor a perfect square trinomial.
  • Factor a difference of squares.
  • Factor a sum and difference of cubes.
  • Factor an expression with negative or fractional exponents.

Factoring a Perfect Square Trinomial

A perfect square trinomial is a trinomial that can be written as the square of a binomial. Recall that when a binomial is squared, the result is the square of the first term added to twice the product of the two terms and the square of the last term.

a2+2ab+b2=(a+b)2anda22ab+b2=(ab)2
We can use this equation to factor any perfect square trinomial.

A General Note: Perfect Square Trinomials

A perfect square trinomial can be written as the square of a binomial:

a2+2ab+b2=(a+b)2

How To: Given a perfect square trinomial, factor it into the square of a binomial

  1. Confirm that the first and last term are perfect squares.
  2. Confirm that the middle term is twice the product of ab.
  3. Write the factored form as (a+b)2.

Example: Factoring a Perfect Square Trinomial

Factor 25x2+20x+4.

Try It

Factor 49x214x+1.

Factoring a Difference of Squares

A difference of squares is a perfect square subtracted from a perfect square. Recall that a difference of squares can be rewritten as factors containing the same terms but opposite signs because the middle terms cancel each other out when the two factors are multiplied.

a2b2=(a+b)(ab)

We can use this equation to factor any differences of squares.

A General Note: Differences of Squares

A difference of squares can be rewritten as two factors containing the same terms but opposite signs.

a2b2=(a+b)(ab)

How To: Given a difference of squares, factor it into binomials

  1. Confirm that the first and last term are perfect squares.
  2. Write the factored form as (a+b)(ab).

Example: Factoring a Difference of Squares

Factor 9x225.

Try It

Factor 81y2100.

Q & A

Is there a formula to factor the sum of squares?

No. A sum of squares cannot be factored.

Watch this video to see another example of how to factor a difference of squares.

Factoring the Sum and Difference of Cubes

Now we will look at two new special products: the sum and difference of cubes. Although the sum of squares cannot be factored, the sum of cubes can be factored into a binomial and a trinomial.

a3+b3=(a+b)(a2ab+b2)

Similarly, the sum of cubes can be factored into a binomial and a trinomial but with different signs.

a3b3=(ab)(a2+ab+b2)

We can use the acronym SOAP to remember the signs when factoring the sum or difference of cubes. The first letter of each word relates to the signs: Same Opposite Always Positive. For example, consider the following example.

x323=(x2)(x2+2x+4)

The sign of the first 2 is the same as the sign between x323. The sign of the 2x term is opposite the sign between x323. And the sign of the last term, 4, is always positive.

A General Note: Sum and Difference of Cubes

We can factor the sum of two cubes as

a3+b3=(a+b)(a2ab+b2)

We can factor the difference of two cubes as

a3b3=(ab)(a2+ab+b2)

How To: Given a sum of cubes or difference of cubes, factor it

  1. Confirm that the first and last term are cubes, a3+b3 or a3b3.
  2. For a sum of cubes, write the factored form as (a+b)(a2ab+b2). For a difference of cubes, write the factored form as (ab)(a2+ab+b2).

Example: Factoring a Sum of Cubes

Factor x3+512.

Try It

Factor the sum of cubes 216a3+b3.

Example: Factoring a Difference of Cubes

Factor 8x3125.

Try It

Factor the difference of cubes: 1,000x31.

In the following two video examples we show more binomials that can be factored as a sum or difference of cubes.

Factoring Expressions with Fractional or Negative Exponents

Expressions with fractional or negative exponents can be factored by pulling out a GCF. Look for the variable or exponent that is common to each term of the expression and pull out that variable or exponent raised to the lowest power. These expressions follow the same factoring rules as those with integer exponents. For instance, 2x14+5x34 can be factored by pulling out x14 and being rewritten as x14(2+5x12).

Example: Factoring an Expression with Fractional or Negative Exponents

Factor 3x(x+2)13+4(x+2)23.

The following video provides more examples of how to factor expressions with negative exponents.

Try It

Factor 2(5a1)34+7a(5a1)14.


The following video provides more examples of how to factor expressions with fractional exponents.