Factoring xⁿ ± yⁿ

LESSON 9 OF 11See the unit map ↗

Use parity and substitution to recognize factors of powers.

The bigger question: Which hidden products make algebra simpler?

On this page

Idea

The difference of two equal positive integer powers always contains the factor x−yx-y. A sum of powers contains x+yx+y when the exponent is odd. These identities generalize familiar square and cube rules.

Visual guide

VISUAL GUIDEEven and odd powers produce different real roots
With y = 1, x⁴ − 1 has roots at ±1. The odd-power sum x³ + 1 has a root at −1. Compare the symmetry before choosing the difference or odd-sum identity.-2-3-1-1011325xy
  • x⁴ − 1
  • x³ + 1
With y = 1, x⁴ − 1 has roots at ±1. The odd-power sum x³ + 1 has a root at −1. Compare the symmetry before choosing the difference or odd-sum identity.

Method

For integer n≥1n\ge1,

xn−yn=(x−y)∑k=0n−1xn−1−kyk.x^n-y^n=(x-y)\sum_{k=0}^{n-1}x^{n-1-k}y^k.

For odd nn, the corresponding sum factors with alternating signs in the second factor.

Worked example

For n=5n=5,

x5+y5=(x+y)(x4−x3y+x2y2−xy3+y4).x^5+y^5=(x+y)(x^4-x^3y+x^2y^2-xy^3+y^4).

On multiplication, every mixed term cancels. For x6−y6x^6-y^6, first use the difference of squares (x3−y3)(x3+y3)(x^3-y^3)(x^3+y^3), then apply both cube identities.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Which expression has x+1 as a factor?

Hint 1 · Find a starting point

A polynomial has factor x+1 when its value at −1 is zero.

Hint 2 · Take the next step

An odd power of −1 is −1; an even power is 1.

Show the reasoning

Answer: x⁵+1

(−1)⁵+1 = 0, whereas both even-power expressions give 2.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Common mistake

The same sum formula does not work for even exponents: substituting x=−yx=-y into x2+y2x^2+y^2 usually does not give zero.

Check your understanding

Factor x4−y4x^4-y^4.

Show answer

(x−y)(x+y)(x2+y2)(x-y)(x+y)(x^2+y^2).

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →