Math ClubMath Club
v1 · padrão canônico

Lesson 38 — Combinations and Newton's Binomial

Combination C(n,p): selecting without order. Pascal's triangle. Binomial theorem.

Used in: 1.º ano do EM (15–16 anos) · Equiv. Math I japonês cap. 2 · Equiv. Klasse 10–11 alemã Stochastik

(np)=n!p!(np)!,(a+b)n=p=0n(np)anpbp\binom{n}{p} = \frac{n!}{p!(n-p)!}, \qquad (a+b)^n = \sum_{p=0}^n \binom{n}{p} a^{n-p} b^p
Choose your door

Rigorous notation, full derivation, hypotheses

Combinations and binomial

Simple combination

Cnp=(np)=n!p!(np)!C_n^p = \binom{n}{p} = \frac{n!}{p!(n-p)!}

Read: "nn choose pp". Holds for 0pn0 \leq p \leq n.

Difference from arrangement

(np)\binom{n}{p} does NOT order. Each subset of pp elements is counted once. Relation: Anp=p!(np)A_n^p = p! \binom{n}{p} — arrangement orders after selecting.

Properties

PropertyFormula
Boundary(n0)=(nn)=1\binom{n}{0} = \binom{n}{n} = 1
Boundary(n1)=(nn1)=n\binom{n}{1} = \binom{n}{n-1} = n
Symmetry(np)=(nnp)\binom{n}{p} = \binom{n}{n-p}
Pascal(np)+(np+1)=(n+1p+1)\binom{n}{p} + \binom{n}{p+1} = \binom{n+1}{p+1}
Total sump=0n(np)=2n\sum_{p=0}^n \binom{n}{p} = 2^n
Alternating sump=0n(1)p(np)=0\sum_{p=0}^n (-1)^p \binom{n}{p} = 0 (n1n \geq 1)
Vandermonde(m+np)=k(mk)(npk)\binom{m+n}{p} = \sum_k \binom{m}{k}\binom{n}{p-k}

Pascal's triangle

                    1
                  1   1
                1   2   1
              1   3   3   1
            1   4   6   4   1
          1   5  10  10   5   1
        1   6  15  20  15   6   1

Row nn (starting at 0) has the coefficients (n0),(n1),,(nn)\binom{n}{0}, \binom{n}{1}, \ldots, \binom{n}{n}.

Binomial theorem (Newton)

(a+b)n=p=0n(np)anpbp(a + b)^n = \sum_{p=0}^n \binom{n}{p} a^{n-p} b^p

Examples:

  • (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2
  • (a+b)3=a3+3a2b+3ab2+b3(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3
  • (a+b)4=a4+4a3b+6a2b2+4ab3+b4(a + b)^4 = a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^4

General term

Tp+1=(np)anpbpT_{p+1} = \binom{n}{p} a^{n-p} b^p — the (p+1)(p+1)-th term of (a+b)n(a+b)^n.

Multinomial (generalization)

(x1+x2++xk)n=(nn1,n2,,nk)x1n1xknk(x_1 + x_2 + \cdots + x_k)^n = \sum \binom{n}{n_1, n_2, \ldots, n_k} x_1^{n_1} \cdots x_k^{n_k}

with (nn1,,nk)=n!n1!nk!\binom{n}{n_1, \ldots, n_k} = \frac{n!}{n_1! \cdots n_k!} and ni=n\sum n_i = n.

Exercise list

46 exercises · 11 with worked solution (25%)

Application 32Understanding 3Modeling 8Challenge 2Proof 1
  1. Ex. 38.1ApplicationAnswer key
    (52)\binom{5}{2}. (Ans: 1010.)
  2. Ex. 38.2Application
    (83)\binom{8}{3}. (Ans: 5656.)
  3. Ex. 38.3Application
    (105)\binom{10}{5}. (Ans: 252252.)
  4. Ex. 38.4Application
    (n0)\binom{n}{0} — equals what? (Ans: 11.)
  5. Ex. 38.5ApplicationAnswer key
    (nn)\binom{n}{n}. (Ans: 11.)
  6. Ex. 38.6Application
    (2018)\binom{20}{18} — use symmetry. (Ans: (202)=190\binom{20}{2} = 190.)
  7. Ex. 38.7Application
    Verify (62)+(63)=(73)\binom{6}{2} + \binom{6}{3} = \binom{7}{3}. (Pascal.) (Ans: 15+20=3515 + 20 = 35.)
  8. Ex. 38.8Application
    How many committees of 4 can be formed from 10 people? (Ans: 210210.)
  9. Ex. 38.9Application
    How many Mega-Sena games ((606)\binom{60}{6})? (Ans: 5006386050\,063\,860.)
  10. Ex. 38.10Application
    In a class of 30, how many teams of 5 can be formed? (Ans: 142506142\,506.)
  11. Ex. 38.11Application
    Expand (x+1)4(x + 1)^4 via binomial.
  12. Ex. 38.12Application
    Expand (2x3)3(2x - 3)^3.
  13. Ex. 38.13Application
    Coefficient of x3x^3 in (1+x)5(1 + x)^5. (Ans: 1010.)
  14. Ex. 38.14Application
    Coefficient of x4y2x^4 y^2 in (x+y)6(x + y)^6. (Ans: 1515.)
  15. Ex. 38.15ApplicationAnswer key
    Total subsets of {1,2,3,4,5}\{1,2,3,4,5\}. (Ans: 25=322^5 = 32.)
  16. Ex. 38.16Application
    Cards: how many 5-card hands in a 52-card deck? ((525)=2598960\binom{52}{5} = 2\,598\,960.)
  17. Ex. 38.17ApplicationAnswer key
    How many triangles can be formed by linking 3 vertices of an 8-sided polygon? ((83)=56\binom{8}{3} = 56.)
  18. Ex. 38.18Application
    (np)=(nnp)\binom{n}{p} = \binom{n}{n-p} — verify for n=10,p=3n=10, p=3. (Ans: both =120= 120.)
  19. Ex. 38.19Application
    Construct the 6th row of Pascal's triangle. (Ans: 1,6,15,20,15,6,11, 6, 15, 20, 15, 6, 1.)
  20. Ex. 38.20Application
    Coefficient of x10x^{10} in (1+x)20(1+x)^{20}. (Ans: (2010)=184756\binom{20}{10} = 184\,756.)
  21. Ex. 38.21Application
    Middle term of (a+b)6(a+b)^6. (Ans: T4=20a3b3T_4 = 20 a^3 b^3.)
  22. Ex. 38.22Application
    How many terms does (a+b+c)4(a + b + c)^4 have? (Ans: (4+22)=15\binom{4+2}{2} = 15.)
  23. Ex. 38.23Application
    Coefficient of x7x^7 in (2x+3)10(2x + 3)^{10}. (Ans: (107)2733\binom{10}{7} 2^7 \cdot 3^3.)
  24. Ex. 38.24ApplicationAnswer key
    Find pp such that (20p)=(20p2)\binom{20}{p} = \binom{20}{p-2}. (Ans: p=11p = 11.)
  25. Ex. 38.25Application
    Show p=0n(np)=2n\sum_{p=0}^n \binom{n}{p} = 2^n for n=5n = 5 explicitly. (Ans: 1+5+10+10+5+1=321+5+10+10+5+1=32.)
  26. Ex. 38.26Application
    Show (1)p(np)=0\sum (-1)^p \binom{n}{p} = 0 for n=4n = 4. (Ans: 14+64+1=01-4+6-4+1=0.)
  27. Ex. 38.27ApplicationAnswer key
    Paths (0,0)(5,3)(0,0) \to (5, 3) in the plane with steps (+1,0)(+1,0) or (0,+1)(0,+1). (Ans: (83)=56\binom{8}{3} = 56.)
  28. Ex. 38.28Application
    Stars and bars: x+y+z=10x + y + z = 10, x,y,z0x, y, z \geq 0. How many solutions? (Ans: (122)=66\binom{12}{2} = 66.)
  29. Ex. 38.29Application
    x+y+z=10x + y + z = 10, x,y,z1x, y, z \geq 1. How many solutions? (Ans: (92)=36\binom{9}{2} = 36.)
  30. Ex. 38.30Application
    From a group of 10 men and 8 women, form a committee of 5 with 3 men and 2 women: (103)(82)\binom{10}{3}\binom{8}{2}.
  31. Ex. 38.31Application
    5-card hands with at least 1 ace. (Total − no ace.)
  32. Ex. 38.32Application
    How many diagonals does a 10-sided polygon have? (Ans: (102)10=35\binom{10}{2} - 10 = 35.)
  33. Ex. 38.33ModelingAnswer key
    Mega-Sena: probability of winning = 1/(606)1/\binom{60}{6}. Compute numerically.
  34. Ex. 38.34Modeling
    In research, choose 5 products to analyze out of 20: (205)\binom{20}{5}.
  35. Ex. 38.35Modeling
    Binomial distribution: P(X=k)=(nk)pk(1p)nkP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}. For n=10,p=0.5,k=5n=10, p=0.5, k=5: compute.
  36. Ex. 38.36Modeling
    Distribute 8 identical candies among 3 kids (stars and bars): (102)=45\binom{10}{2} = 45.
  37. Ex. 38.37Modeling
    In ML, polynomial features of degree dd in nn vars: (n+dd)\binom{n+d}{d} terms. For n=10,d=3n=10, d=3: compute.
  38. Ex. 38.38ModelingAnswer key
    In cryptography, how many possible 256-bit keys? (Ans: 22562^{256}, gigantic.)
  39. Ex. 38.39Modeling
    In finance, a 20-step binomial model has 2202^{20} paths.
  40. Ex. 38.40ModelingAnswer key
    In bioinformatics, sequence alignment of size 10 vs 12 has (2210)\binom{22}{10} alignments.
  41. Ex. 38.41UnderstandingAnswer key
    Prove (np)+(np+1)=(n+1p+1)\binom{n}{p} + \binom{n}{p+1} = \binom{n+1}{p+1} algebraically.
  42. Ex. 38.42Understanding
    Prove p=0n(np)=2n\sum_{p=0}^n \binom{n}{p} = 2^n. (Apply binomial to (1+1)n(1+1)^n.)
  43. Ex. 38.43UnderstandingAnswer key
    Prove the symmetry (np)=(nnp)\binom{n}{p} = \binom{n}{n-p} via the formula.
  44. Ex. 38.44Challenge
    Coefficient of the xx-independent term in (x+1/x)10(x + 1/x)^{10}. (Ans: (105)=252\binom{10}{5} = 252.)
  45. Ex. 38.45Challenge
    Prove k=0n(nk)2=(2nn)\sum_{k=0}^n \binom{n}{k}^2 = \binom{2n}{n} (Vandermonde's identity with m=nm = n).
  46. Ex. 38.46Proof
    Prove the binomial theorem by induction on nn.

Sources

  • Algebra and Trigonometry — Jay Abramson et al. (OpenStax) · 2022, 2nd ed · EN · CC-BY · §11.5-11.6: combinatorics and binomial. Primary source.
  • Introduction to Probability — Blitzstein, Hwang · 2019, 2nd ed · EN · free · ch. 1.
  • Book of Proof — Richard Hammack · 2018, 3rd ed · EN · free · ch. 3, 10.

Updated on 2026-04-30 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.