Algebra 2 · Grades 10, 11

Polynomial Identities and the Binomial Theorem

Quick answer

An identity is an equation that holds for every value of its variables, and it is proved by rewriting one side until it matches the other. A handful of identities — the difference of squares, the sum and difference of cubes, the square of a sum — turn up everywhere. One of them produces every Pythagorean triple, and the binomial theorem, built from Pascal's triangle, expands any power of a sum.

What you'll learn

  • Prove a polynomial identity by rewriting one side
  • Use identities to explain numerical relationships
  • Expand a binomial power with Pascal's triangle

Equations that are always true

Most equations are true for some values and false for others: 2x+1=72x + 1 = 7 holds only when x=3x = 3. An identity holds for every value.

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

Pick any aa and bb and both sides agree. That is a claim about infinitely many cases, which is why checking a few numbers cannot establish it.

Proving an identity means rewriting one side into the other, one justified step at a time:

(a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2✓(a + b)^2 = (a + b)(a + b) = a^2 + ab + ba + b^2 = a^2 + 2ab + b^2 \quad\checkmark

Each step used the distributive property or the commutative property, both of which hold for every number. So the result holds for every number too.

Identities worth knowing

NameIdentity
square of a sum(a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2
square of a difference(a−b)2=a2−2ab+b2(a - b)^2 = a^2 - 2ab + b^2
difference of squaresa2−b2=(a−b)(a+b)a^2 - b^2 = (a - b)(a + b)
sum of cubesa3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2)
difference of cubesa3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

The cube identities are proved the same way, by multiplying out the right side:

(a+b)(a2−ab+b2)=a3−a2b+ab2+a2b−ab2+b3=a3+b3(a + b)(a^2 - ab + b^2) = a^3 - a^2b + ab^2 + a^2b - ab^2 + b^3 = a^3 + b^3

The middle terms cancel in pairs — that cancellation is what the particular middle factor a2−ab+b2a^2 - ab + b^2 was chosen to produce.

Why identities explain numerical patterns

Identities do real work on numbers.

Mental multiplication. 49×51=(50−1)(50+1)49 \times 51 = (50 - 1)(50 + 1), a difference of squares:

502−12=2500−1=249950^2 - 1^2 = 2500 - 1 = 2499

Pythagorean triples. Expand both sides of

(x2−y2)2+(2xy)2=(x2+y2)2(x^2 - y^2)^2 + (2xy)^2 = (x^2 + y^2)^2

The left is x4−2x2y2+y4+4x2y2=x4+2x2y2+y4x^4 - 2x^2y^2 + y^4 + 4x^2y^2 = x^4 + 2x^2y^2 + y^4, which is exactly the right side. So for any whole numbers x>yx > y, the three numbers x2−y2x^2 - y^2, 2xy2xy and x2+y2x^2 + y^2 satisfy the Pythagorean theorem.

xxyyx2−y2x^2 - y^22xy2xyx2+y2x^2 + y^2
2211334455
33225512121313
44111515881717
44337724242525

One line of algebra produces an unlimited supply of right triangles with whole-number sides. The identity does more than confirm the pattern; it is the reason the pattern exists.

Pascal’s triangle

Expand (x+y)n(x + y)^n for small nn and look only at the coefficients:

nnCoefficients of (x+y)n(x + y)^n
0011
111    11 \;\; 1
221    2    11 \;\; 2 \;\; 1
331    3    3    11 \;\; 3 \;\; 3 \;\; 1
441    4    6    4    11 \;\; 4 \;\; 6 \;\; 4 \;\; 1
551    5    10    10    5    11 \;\; 5 \;\; 10 \;\; 10 \;\; 5 \;\; 1

This is Pascal’s triangle. Each row starts and ends with 11, and each inner number is the sum of the two above it: 4+6=104 + 6 = 10.

The addition rule comes from multiplying by one more (x+y)(x + y). Each term of the next power is made in two ways — from a term times xx and from a neighboring term times yy — so its coefficient is the sum of the two coefficients above it.

The binomial theorem

(x+y)n=∑k=0n(nk)xn−kyk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k

The coefficients are the combinations (nk)\binom{n}{k}. Why combinations? Multiplying out (x+y)n(x + y)^n means choosing xx or yy from each of the nn factors. The term xn−kykx^{n-k}y^k appears once for every way of choosing which kk factors supply the yy — and that number is (nk)\binom{n}{k}.

Expand (x+2)4(x + 2)^4.

Row 44 gives 1,4,6,4,11, 4, 6, 4, 1. The powers of xx fall from 44 to 00 while the powers of 22 rise from 00 to 44:

x4+4x3(2)+6x2(22)+4x(23)+24=x4+8x3+24x2+32x+16x^4 + 4x^3(2) + 6x^2(2^2) + 4x(2^3) + 2^4 = x^4 + 8x^3 + 24x^2 + 32x + 16

Worked examples

Common mistakes

Practice problems

  1. Is (x+3)2=x2+9(x + 3)^2 = x^2 + 9 an identity?

    Answer

    No

    Full solution

    At x=1x = 1: 16≠1016 \ne 10. One counterexample is enough to disprove it.

  2. Use a difference of squares to find 98×10298 \times 102.

    Answer

    99969996

    Full solution

    (100−2)(100+2)=10000−4=9996(100 - 2)(100 + 2) = 10000 - 4 = 9996.

  3. Factor x3+8x^3 + 8.

    Answer

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

    Full solution

    Sum of cubes with a=xa = x and b=2b = 2.

  4. Write row 44 of Pascal’s triangle.

    Answer

    1,4,6,4,11, 4, 6, 4, 1

    Full solution

    Each inner number is the sum of the two above it in row 33.

  5. What is the coefficient of x2y3x^2y^3 in (x+y)5(x + y)^5?

    Answer

    1010

    Full solution

    (53)=10\binom{5}{3} = 10.

  6. Expand (x+1)3(x + 1)^3.

    Answer

    x3+3x2+3x+1x^3 + 3x^2 + 3x + 1

    Full solution

    Row 33 with both terms’ powers of 11 equal to 11.

  7. Use x=3x = 3 and y=1y = 1 to generate a Pythagorean triple.

    Answer

    8,6,108, 6, 10

    Full solution

    9−1=89 - 1 = 8, 2×3×1=62 \times 3 \times 1 = 6, 9+1=109 + 1 = 10. Check: 64+36=10064 + 36 = 100.

  8. Prove that (x+y)2−(x−y)2=4xy(x + y)^2 - (x - y)^2 = 4xy.

    Hint

    Expand both squares, then subtract.

    Answer

    Expanding gives (x2+2xy+y2)−(x2−2xy+y2)=4xy(x^2 + 2xy + y^2) - (x^2 - 2xy + y^2) = 4xy.

    Full solution

    (x+y)2=x2+2xy+y2(x + y)^2 = x^2 + 2xy + y^2.

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

    Subtracting, the x2x^2 and y2y^2 terms cancel and 2xy−(−2xy)=4xy2xy - (-2xy) = 4xy.

    The left side has been rewritten into the right side for all xx and yy, which proves the identity.

  9. Expand (x+2)4(x + 2)^4 and check your answer at x=1x = 1.

    Answer

    x4+8x3+24x2+32x+16x^4 + 8x^3 + 24x^2 + 32x + 16

    Full solution

    Row 44 gives 1,4,6,4,11, 4, 6, 4, 1. Multiplying by powers of 22: 1,8,24,32,161, 8, 24, 32, 16.

    Check at x=1x = 1: the expansion gives 1+8+24+32+16=811 + 8 + 24 + 32 + 16 = 81, and (1+2)4=34=81(1 + 2)^4 = 3^4 = 81 ✓

  10. Asked to prove a2−b2=(a−b)(a+b)a^2 - b^2 = (a - b)(a + b), Owen checks a=5,b=3a = 5, b = 3 and a=10,b=7a = 10, b = 7, finds both sides equal each time, and writes “proved”. What is missing?

    Hint

    How many pairs (a,b)(a, b) does the identity claim to cover?

    Answer

    Two examples cannot prove a statement about every pair of numbers. He needs to rewrite one side algebraically.

    Full solution

    An identity claims the equation holds for every aa and bb. Checking two pairs leaves infinitely many unchecked.

    A proof multiplies out the right side: (a−b)(a+b)=a2+ab−ab−b2=a2−b2(a - b)(a + b) = a^2 + ab - ab - b^2 = a^2 - b^2.

    Each step is valid for all numbers, so the conclusion is too. Owen’s examples are good evidence, and a single failed example would have been enough to disprove it — but they are not a proof.

Frequently asked questions

What is a polynomial identity?

An equation that is true for every value of the variables, such as (a + b)² = a² + 2ab + b².

How do I prove an identity?

Start from one side and rewrite it, using algebra you can justify, until it becomes the other side. Checking a few numbers is evidence, not proof.

What is the binomial theorem?

The rule for expanding (x + y)ⁿ. The coefficients are the numbers in row n of Pascal's triangle, which are the combinations nCk.

How is Pascal's triangle built?

Each row starts and ends with 1, and every other entry is the sum of the two entries above it.

How do identities make Pythagorean triples?

(x² − y²)² + (2xy)² = (x² + y²)², so choosing whole numbers x > y gives three whole numbers that satisfy a² + b² = c².

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSA.APR.C.4Arithmetic with Polynomials and Rational ExpressionsProve polynomial identities and use them to describe numerical relationships.
  • CCSS.MATH.CONTENT.HSA.APR.C.5Arithmetic with Polynomials and Rational Expressions(+) Know and apply the Binomial Theorem for the expansion of (x + y)<sup>n</sup> in powers of x and y for a positive integer n, where x and y are any numbers, with coefficients determined for example by Pascal's Triangle.