Resources For Teachers For Tutors For Students & Parents Pricing
Algebra 2 Polynomial functions

Sum and difference of cubes; factoring by grouping

20 practice questions 0 video lessons Theory + worked examples

Sum and Difference of Cubes; Grouping

Texas Algebra II (TEKS) • Standard 2A.7(D) • Polynomial Functions

Sum and Difference of Cubes; Grouping is a topic in Polynomial Functions in the Texas Essential Knowledge and Skills (Algebra II, §111.40). It is aligned to Standard 2A.7(D), which requires students to determine the linear factors of a polynomial of degree three and four using algebraic methods.

The cube patterns \(a^3\pm b^3\) factor with the SOAP sign rule, and four-term polynomials factor by grouping.

Texas Algebra II (TEKS) › Polynomial Functions › Sum and Difference of Cubes; Grouping  —  Standard 2A.7(D)

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Two cube patterns and grouping extend the factoring toolkit:

\[a^3+b^3=(a+b)(a^2-ab+b^2),\quad a^3-b^3=(a-b)(a^2+ab+b^2)\]

The signs follow SOAP: Same, Opposite, Always Positive.

Grouping factors four terms by pairing and pulling common factors.
Sum & difference of cubes Sum & difference of cubes Sum & difference of cubes a³ + b³ = (a+b)(a² - ab + b²) a³ - b³ = (a-b)(a² + ab + b²) sign pattern: SOAP
The two cube factoring patterns.
SOAP signs SOAP signs SOAP signs Same as the cube sign Opposite for the middle Always Positive last
The SOAP sign rule.

The cube patterns:

\[a^3\pm b^3=(a\pm b)(a^2\mp ab+b^2)\]
a cubed plus or minus b cubed factors with the SOAP sign pattern
The quadratic factor rarely factors further over the reals.

How to factor cubes

  1. Take any GCF first.
  2. Write each term as a perfect cube \(a^3,\ b^3\).
  3. Apply the sum or difference pattern with SOAP signs.
  4. For four terms, factor by grouping instead.
Example 1 — Sum of cubes
Factor \(x^3+8\).
Solution

Write as \(x^3+2^3\) and apply the pattern.

\(x^3+2^3\)\(=\)\((x+2)(x^2-2x+4)\)
factors as x plus 2 times x squared minus 2 x plus 4
Example 2 — Difference of cubes
Factor \(27x^3-1\).
Solution

Write as \((3x)^3-1^3\).

\((3x)^3-1^3\)\(=\)\((3x-1)(9x^2+3x+1)\)
factors as 3 x minus 1 times 9 x squared plus 3 x plus 1
Example 3 — GCF then cubes
Factor \(2x^3+16\).
Solution

Take the GCF \(2\) first.

\(2x^3+16\)\(=\)\(2(x^3+8)\)
\(=\)\(2(x+2)(x^2-2x+4)\)
factors as 2 times x plus 2 times x squared minus 2 x plus 4
Example 4 — Grouping with four terms
Factor \(x^3-x^2+2x-2\).
Solution

Group and factor each pair.

\(x^2(x-1)+2(x-1)\)
\(=\)\((x-1)(x^2+2)\)
factors as x minus 1 times x squared plus 2

Common pitfalls

Use SOAP for signs — the middle term's sign is opposite the binomial's.
Take the GCF first so the cubes are visible.
Don't confuse \((a+b)^3\) with \(a^3+b^3\) — they differ.

Frequently asked questions

How do you factor a sum of cubes?

\(a^3+b^3=(a+b)(a^2-ab+b^2)\).

What is the SOAP rule?

Same, Opposite, Always Positive — the signs of the three parts.

When do you factor by grouping?

When a polynomial has four terms that pair into common factors.

Does the quadratic factor from cubes factor again?

Usually not over the real numbers.