Home › Combinatorics › Lesson 2

Binomial and Multinomial Coefficients

Lesson 2 of 13

Key idea of this section

(1 + x)ᵅ = ∑ₖ C(α, k) xᵏ,   C(α, k) = (α)ₖ / k!   for any α ∈ ℂ
Identities are best proved by counting one set in two ways.

The generalized binomial coefficient

For an arbitrary complex number α and an integer k ≥ 0, define C(α, k) = α(α − 1)⋯(α − k + 1)/k!, and C(α, k) = 0 for k < 0. When α = n is a nonnegative integer, this agrees with the number of k-subsets of [n]. Newton's binomial series states that (1 + x)ᵅ = ∑ₖ C(α, k) xᵏ as formal power series (and as convergent series for |x| < 1). The case α = −m with m a positive integer is especially important, because

C(−m, k) = (−m)(−m − 1)⋯(−m − k + 1)/k! = (−1)ᵏ C(m + k − 1, k),

so that

(1 − x)⁻ᵐ = ∑ₖ C(m + k − 1, k) xᵏ.

This is stars and bars in algebraic form: the coefficient of xᵏ counts multisets of size k from an m-set.

Combinatorial proofs

A combinatorial (double counting) proof of an identity A = B exhibits a set of size A and a set of size B and a bijection between them, or counts a single set in two ways. Such proofs often explain an identity better than algebra does.

Theorem 2.1 (Vandermonde's convolution). For nonnegative integers m, n, r, ∑ₖ C(m, k) C(n, r − k) = C(m + n, r).

Proof. Count r-subsets of a set consisting of m red and n blue elements. Classifying by the number k of red elements chosen, there are C(m, k) C(n, r − k) such subsets for each k. ∎ Since both sides are polynomials in m and n of degree r that agree on all pairs of nonnegative integers, the identity holds for arbitrary complex m and n. This polynomial method — prove for integers by counting, extend by polynomial identity — is used constantly.

Theorem 2.2 (Hockey stick). For 0 ≤ k ≤ n, ∑ᵢ₌ₖⁿ C(i, k) = C(n + 1, k + 1).

Proof. A (k + 1)-subset of [n + 1] has a largest element i + 1 with k ≤ i ≤ n, and the remaining k elements form an arbitrary k-subset of [i]. ∎

Theorem 2.3. ∑ₖ k C(n, k) = n 2ⁿ⁻¹ and ∑ₖ k(k − 1) C(n, k) = n(n − 1) 2ⁿ⁻².

Proof. The first sum counts pairs (S, s) with S ⊆ [n] and s ∈ S (a committee with a chair); choose the chair first in n ways and then any subset of the remaining n − 1 elements. The second counts committees with an ordered pair of distinct officers. ∎ Combining them, ∑ₖ k² C(n, k) = n(n + 1) 2ⁿ⁻².

Multinomial coefficients

For k₁ + ⋯ + kₘ = n, the multinomial coefficient n!/(k₁! k₂! ⋯ kₘ!) counts words of length n containing exactly kᵢ copies of the letter i, or equivalently ordered partitions of [n] into labelled blocks of sizes k₁, …, kₘ. The multinomial theorem states that in any commutative ring

(x₁ + ⋯ + xₘ)ⁿ = ∑ n!/(k₁!⋯kₘ!) · x₁k₁ ⋯ xₘkₘ,

the sum running over all weak compositions (k₁, …, kₘ) of n. Expanding the product of n factors and recording which variable is taken from each factor proves it immediately.

Arithmetic of binomial coefficients

Theorem 2.4 (Lucas, 1878). Let p be prime and write n = ∑ nᵢ pⁱ and k = ∑ kᵢ pⁱ in base p, with 0 ≤ nᵢ, kᵢ ≤ p − 1. Then C(n, k) ≡ ∏ᵢ C(nᵢ, kᵢ) (mod p).

Proof. Over the field 𝔽ₚ we have (1 + x)ᵖ = 1 + xᵖ, because p divides C(p, j) for 0 < j < p. Iterating, (1 + x)pⁱ = 1 + xpⁱ. Hence (1 + x)ⁿ = ∏ᵢ (1 + xpⁱ)nᵢ in 𝔽ₚ[x]. Expanding the right-hand side, the exponent of x in each term is ∑ jᵢ pⁱ with 0 ≤ jᵢ ≤ nᵢ ≤ p − 1; by uniqueness of base-p expansion, xᵏ arises from exactly one choice, namely jᵢ = kᵢ, with coefficient ∏ C(nᵢ, kᵢ). ∎

Corollary. C(n, k) is odd if and only if every binary digit 1 of k is also a binary digit 1 of n. Consequently the rows of Pascal's triangle modulo 2 form the Sierpiński pattern.

Theorem 2.5 (Kummer, 1852). The exponent of the prime p in C(m + n, m) equals the number of carries when m and n are added in base p.

Example. C(10, 3) = 120 = 2³ · 3 · 5. In base 2, 3 = 11₂ and 7 = 111₂; adding them produces three carries, matching the factor 2³. In base 3, 3 = 10₃ and 7 = 21₃; adding them produces one carry, matching the single factor 3.

Exercise

  • (a)
    Find the coefficient of x²y³z² in (x + y + z)⁷.
  • (b)
    Evaluate ∑ₖ k² C(6, k).
  • (c)
    Is C(2026, 1000) odd or even?
Show solution

Answers: (a) 7!/(2! 3! 2!) = 210. (b) 6 · 7 · 2⁴ = 672. (c) Odd: 2026 = 11111101010₂ and 1000 = 1111101000₂, and every 1-bit of 1000 is a 1-bit of 2026, so by Lucas's theorem C(2026, 1000) ≡ 1 (mod 2).

V.3.1