Binomial Expansion and Pascal's Triangle

April 12, 2026

Problem

Expand (x+y)⁴ = x⁴ + 4x³y + 6x²y² + 4xy³ + y⁴. Show coefficients from Pascal's triangle row 4.

Explanation

The Binomial Theorem

(x+y)n=k=0n(nk)xnkyk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k

The coefficients (nk)\binom{n}{k} come from Pascal's triangle.

Step-by-step: Expand (x+y)4(x + y)^4

Pascal's row 4: 1,4,6,4,11, 4, 6, 4, 1.

(x+y)4=1x4+4x3y+6x2y2+4xy3+1y4(x+y)^4 = 1 \cdot x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + 1 \cdot y^4

Check: Set x=y=1x = y = 1: (1+1)4=16(1+1)^4 = 16. Sum of coefficients: 1+4+6+4+1=161+4+6+4+1 = 16 ✓.

Pascal's triangle pattern

Each number is the sum of the two numbers above it. Row nn gives the coefficients for (x+y)n(x+y)^n.

Row 0: 1. Row 1: 1, 1. Row 2: 1, 2, 1. Row 3: 1, 3, 3, 1. Row 4: 1, 4, 6, 4, 1.

Common mistake

When expanding (2x+3)n(2x + 3)^n instead of (x+y)n(x + y)^n: the 22 and 33 get raised to powers too! (2x)3=8x3(2x)^3 = 8x^3, not 2x32x^3.

Try it in the visualization

Adjust nn. Pascal's triangle highlights the relevant row. Each term is computed with the coefficient bar chart showing relative sizes. The coefficients (nk)\binom{n}{k} form Pascal's triangle. Row n=4n=4: 1,4,6,4,11, 4, 6, 4, 1.

Interactive Visualization

Parameters

4.00
2.00
1.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Binomial Expansion and Pascal's Triangle | MathSpin