2.1.6 · D3Algebra — Introduction & Intermediate

Worked examples — Factoring — common factor extraction, grouping, using identities

2,456 words11 min readBack to topic

This page is a workout. The parent note taught the three tricks (pull out a common factor, group, use an identity). Here we hit every kind of factoring problem you can meet — one at a time, each labelled with which "cell" of the scenario map it fills.

Before each solution there is a Forecast line. Cover the answer, guess what technique wins, then check yourself. Guessing first is how the pattern-recognition muscle grows.


The scenario matrix

Every factoring problem you meet is one (or a mix) of these cells. The last column names the example that covers it.

# Case class What makes it tricky Covered by
A Common factor, positive coeffs spotting the GCF including variable powers Ex 1
B Common factor with a negative leading term pulling out a minus sign flips signs Ex 2
C Grouping, 4 terms, works first try matching binomials Ex 3
D Grouping that needs rearranging naive pairing fails Ex 4
E Difference of squares (a special identity) recognising two squares Ex 5
F Perfect-square trinomial vs a fake one the middle term test Ex 6
G Sum / difference of cubes (sign trap) which sign goes where Ex 7
H Nested — factor, then factor again knowing when you're done Ex 8
I Degenerate / prime inputs (won't factor over reals) knowing when to stop Ex 9
J Word problem (real-world) + exam twist translating words to a polynomial Ex 10

We also fold in the zero / limiting cases as we go: what happens when a coefficient is , or when the two "squares" are equal, or when a variable is missing.

Let's first fix one picture in your mind, because factoring is really turning a sum into a rectangle.

Figure — Factoring — common factor extraction, grouping, using identities

Two words we use constantly:

  • GCF (Greatest Common Factor) — the biggest chunk every term shares, counting both numbers and letters.
  • prime / irreducible — a polynomial that cannot be broken into smaller polynomial factors (over the number system we're allowed to use).

Cell A — Common factor, positive coefficients

  1. Find the number part of the GCF. . Why this step? The GCF's number is the biggest integer dividing all coefficients; anything bigger would fail on at least one term.
  2. Find the variable part. The powers of are . The lowest is , so is shared by all. Why this step? You can only pull out a power that every term actually contains. The smallest power is the limiting one.
  3. GCF . Divide each term by it.
  4. Write as a product. Why stop here? The bracket has no common factor and (as we'll see later) no real roots — it's prime.

Verify: expand back: , , . ✓


Cell B — Negative leading term

  1. GCF of magnitudes: , lowest power of is . So the size of the GCF is .
  2. Choose the sign. Because the leading term is negative, pull out so the leading term inside becomes positive (this is the exam-standard, tidy form). Why this step? A leading inside makes later identity-matching far easier and avoids sign slips.
  3. Divide each term by (dividing a negative by a negative flips the sign):
  4. Assemble:
  5. Bonus — the inside still factors. , so fully:

Verify: . First , then times that . ✓


Cell C — Grouping, works first try

Grouping means: split into two pairs, factor each pair, and hope a shared bracket appears. Watch the picture — the two pairs must land on the same binomial.

Figure — Factoring — common factor extraction, grouping, using identities
  1. Split into pairs: . Why this pairing? The first two share ; the last two share . Look for pairs with an obvious common factor.
  2. Factor each pair: Why this step? We want the leftover brackets to match. Here both are — success.
  3. Extract the shared bracket as a common factor: Why this works: is now a common factor of the two terms and — exactly the "pull out a common factor" move, but the common thing is a whole binomial.

Verify: . ✓


Cell D — Grouping that needs rearranging

  1. Naive pairing : factor each — and . No shared bracket. Dead end. Why show the failure? Because in an exam your first grouping often fails; the skill is recognising it and rearranging, not panicking.
  2. Rearrange so matchable terms sit together. Put the two terms containing next to each other: Why this step? Group with (both have ) and with .
  3. Pair and factor: Why the ""? has no common factor other than ; writing the makes the shared bracket visible.
  4. Extract :

Verify: , same set of terms as the original. ✓


Cell E — Difference of squares

Now we bring in identities — memorised factorings. The first is the difference of squares. See why the middle cancels:

Figure — Factoring — common factor extraction, grouping, using identities
  1. Write each part as a square. and . So , . Why this step? The identity only applies once you can name the two squares.
  2. Apply the identity:

Zero / limiting note: if the problem were , the "" is , the identity gives — degenerate but consistent (it just becomes a repeated factor).

Verify: . ✓


Cell F — Real perfect square vs a fake one

  1. Name the outer squares. and , so try , .
  2. Run the middle-term test. A perfect square needs the middle term to be exactly : here . The polynomial has — matches . Why this test? Two squares alone are not enough; the identity is only valid when the middle term is precisely .
  3. Conclude:
  4. Now the fake: has no middle term, so is missing. It is not a perfect square, and (being a sum of squares) it's prime over the reals.

Verify: . ✓ And . ✓


Cell G — Sum / difference of cubes (the sign trap)

  1. Name the cubes. , . So , .
  2. Sign 1 (Same): original is a minus, so the binomial is .
  3. Sign 2 (Opposite): the middle term of the trinomial takes the opposite sign → plus .
  4. Sign 3 (Always Positive): last term is . Why SOAP? It removes the #1 exam error — mixing up which sign lives where.
  5. Assemble:

Verify: expands to . ✓ (checked in VERIFY)


Cell H — Nested: factor, then factor again

  1. First difference of squares: , , so
  2. Check each factor again. — another difference of squares. But is a sum of squares → prime over reals. Why re-check? "Factor completely" means keep going until every factor is prime. Stopping too early loses roots.
  3. Full factorisation over the reals:
Recall

Over the complex numbers (Complex Numbers), can go further? Yes — , giving four linear factors, matching the Fundamental Theorem of Algebra (a degree-4 polynomial has exactly 4 roots).

Verify: . ✓


Cell I — Degenerate / prime inputs (know when to stop)

  1. : a sum of two squares, no middle term. No real difference-of-squares or perfect-square form fits. It is prime over the reals. Why prime? Its roots solve , which has no real solution — so no real linear factors exist (see Zero Product Property).
  2. : try the discriminant from the Quadratic Formula. The discriminant is . Why the discriminant? A negative discriminant means no real roots, hence no real linear factors — the trinomial is prime over the reals.
  3. Conclusion: both are already fully factored over . Recognising "prime" is a correct answer, not a failure.

Verify: discriminant of is (negative), and has no real root since is impossible. ✓


Cell J — Word problem + exam twist

  1. Factor the area. No common factor. It's a trinomial ; we need two factors whose product is and one of which is . Factor by the "split the middle" version of grouping: find two numbers multiplying to and adding to : those are and . Why split the middle? It converts the trinomial into a 4-term grouping problem (Cell C machinery) so we can extract the known bracket.
  2. Read off the length. Area width length , and width , so Why divide by factoring instead of long division? Because it factored exactly, division is instant — no Polynomial Long Division needed.
  3. Exam twist: width . Set .
  4. Then length m and area m². Sanity/units: metres × metres = square metres. ✓ All lengths positive, so is physically valid.

Verify: . At : width , length , area . ✓


One-screen recap

Recall

Which cell? Match the trigger to the technique. Every term shares a chunk ::: pull out the GCF (Cells A, B) — mind the sign if the leading term is negative. Four terms, no global factor ::: grouping; rearrange if the first pairing fails (Cells C, D). Two squares, a minus between ::: difference of squares (Cell E). Three terms, middle ::: perfect square (Cell F). Two cubes ::: SOAP — Same, Opposite, Always Positive (Cell G). Factored once ::: check each factor again; stop only at primes (Cell H). Sum of squares / negative discriminant ::: prime over the reals — a valid final answer (Cell I). Word problem ::: translate to a polynomial, factor, divide exactly (Cell J).

Related tools worth a click: Distributive Property (the engine behind every extraction), Quadratic Formula and Rational Root Theorem (for trinomials that resist tricks), Completing the Square (when nothing factors nicely).