upgrade
upgrade

🧮Combinatorics

Combination Formulas

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Combination formulas are the backbone of counting problems where order doesn't matter—and that distinction is exactly what you're being tested on. Whether you're calculating probabilities, expanding binomials, or solving distribution problems, these formulas give you the tools to count selections systematically. The key concepts you'll encounter include selection without replacement, selection with repetition, symmetry properties, and algebraic connections that link combinatorics to polynomial expressions.

Don't just memorize the formulas—understand when each one applies and why it works. Exams will test whether you can recognize which formula fits a given scenario, connect identities to Pascal's Triangle, and apply approximations when exact computation isn't feasible. Master the underlying logic, and you'll handle any counting problem thrown your way.


Core Selection Formulas

These formulas handle the fundamental question: how many ways can you choose items from a set? The key distinction is whether repetition is allowed.

Basic Combination Formula

  • C(n,r)=n!r!(nr)!C(n,r) = \frac{n!}{r!(n-r)!}—counts selections of rr elements from nn distinct items where order doesn't matter
  • Factorial division eliminates overcounting; dividing by r!r! removes the r!r! arrangements of the chosen items
  • Use this when each item can only be selected once and you're choosing a subset, not arranging it

Combination with Repetition

  • C(n+r1,r)C(n+r-1, r)—counts selections when the same item type can be chosen multiple times
  • Stars and bars transformation converts the problem into placing rr identical objects into nn distinct categories
  • Classic application: choosing rr donuts from nn flavors, or distributing identical items among groups

Multiset Combinations

  • C(n+k1,k)C(n+k-1, k)—equivalent to combination with repetition; selects kk elements from nn types allowing repeats
  • Partition problems frequently use this formula when distributing indistinguishable objects
  • Key insight: this generalizes basic combinations to scenarios where "sampling with replacement" occurs

Compare: Basic combinations vs. combinations with repetition—both count unordered selections, but basic combinations require distinct choices while repetition formulas allow duplicates. If a problem mentions "types" or "flavors" you can reuse, reach for C(n+r1,r)C(n+r-1, r).


Symmetry and Simplification Properties

These properties reduce computational effort by exploiting the inherent structure of combinations. Recognizing symmetry can turn a difficult calculation into a trivial one.

Complementary Combination Property

  • C(n,r)=C(n,nr)C(n,r) = C(n, n-r)—choosing rr items is equivalent to choosing which nrn-r items to leave out
  • Computational shortcut: always use the smaller value; C(100,98)=C(100,2)=4950C(100, 98) = C(100, 2) = 4950
  • Conceptual symmetry reflects that every selection implies a complementary non-selection

Pascal's Triangle Connection

  • Each entry equals C(n,k)C(n,k)—row nn, position kk gives the combination value directly
  • Addition property: C(n,k)=C(n1,k1)+C(n1,k)C(n,k) = C(n-1, k-1) + C(n-1, k) explains how each entry sums the two above it
  • Visual tool for quickly finding small combination values and recognizing patterns in binomial coefficients

Compare: Complementary combinations vs. Pascal's addition rule—both simplify calculations, but complementary combinations exploit symmetry within a single row, while Pascal's rule builds values recursively across rows. FRQs asking you to "prove" a combination identity often expect Pascal's addition property.


Algebraic Connections

These results bridge combinatorics and algebra, showing how counting appears in polynomial expansions. The binomial theorem is particularly high-yield for exams.

Binomial Theorem

  • (x+y)n=k=0nC(n,k)xnkyk(x + y)^n = \sum_{k=0}^{n} C(n,k) \cdot x^{n-k} \cdot y^k—expands any binomial power using combination coefficients
  • Each coefficient C(n,k)C(n,k) counts the ways to select kk factors of yy from nn total factors
  • Direct applications: finding specific terms in expansions, computing sums of combinations, probability calculations

Vandermonde's Identity

  • C(m+n,r)=k=0rC(m,k)C(n,rk)C(m+n, r) = \sum_{k=0}^{r} C(m,k) \cdot C(n, r-k)—splits selection across two groups of sizes mm and nn
  • Combinatorial proof: choosing rr items from a combined group equals summing all ways to split the selection between subgroups
  • Problem-solving tool for committee selections from multiple populations or combining independent choices

Compare: Binomial theorem vs. Vandermonde's identity—both express combinations as sums, but the binomial theorem connects to polynomial algebra while Vandermonde's identity handles selections from multiple disjoint sets. If you see "choose from two different groups," think Vandermonde.


Advanced Identities and Techniques

These tools handle specialized scenarios: summing combinations, working with modular arithmetic, and approximating large values. Know when to apply each one.

Hockey-Stick Identity

  • i=0kC(n+i,i)=C(n+k+1,k)\sum_{i=0}^{k} C(n+i, i) = C(n+k+1, k)—sums a diagonal in Pascal's Triangle to produce a single combination
  • Visual pattern traces a "hockey stick" shape in the triangle, with the sum appearing at the blade
  • Proof strategy often uses this identity to collapse summations in combinatorial arguments

Lucas' Theorem

  • Computes C(n,r)modpC(n,r) \mod p for prime pp by breaking nn and rr into base-pp digits
  • Formula: C(n,r)iC(ni,ri)(modp)C(n,r) \equiv \prod_{i} C(n_i, r_i) \pmod{p} where ni,rin_i, r_i are corresponding digits
  • Essential for competitive math and number theory problems involving large combinations mod primes

Stirling's Approximation

  • n!2πn(ne)nn! \approx \sqrt{2\pi n} \left(\frac{n}{e}\right)^n—estimates factorials for large nn
  • Enables analysis of combination growth rates without computing exact (astronomically large) values
  • Key application: asymptotic bounds in probability, information theory, and algorithm analysis

Compare: Lucas' theorem vs. Stirling's approximation—both handle "large number" problems, but Lucas gives exact remainders mod primes while Stirling provides continuous approximations. Use Lucas for modular arithmetic; use Stirling for growth rate analysis.


Quick Reference Table

ConceptBest Examples
Basic selection (no repetition)C(n,r)C(n,r), complementary property
Selection with repetitionC(n+r1,r)C(n+r-1, r), multiset combinations
Symmetry propertiesC(n,r)=C(n,nr)C(n,r) = C(n, n-r), Pascal's Triangle
Polynomial connectionsBinomial theorem, Vandermonde's identity
Summation identitiesHockey-stick identity, Pascal's addition rule
Modular arithmeticLucas' theorem
Large-value approximationStirling's approximation

Self-Check Questions

  1. Which two formulas would you use for problems involving selection where items can be repeated, and what transformation connects them to basic combinations?

  2. A problem asks for C(50,47)C(50, 47). Which property lets you simplify this immediately, and what's the equivalent expression?

  3. Compare and contrast the binomial theorem and Vandermonde's identity: both involve sums of combination products, so when would you use each one?

  4. You need to compute C(1000,500)mod7C(1000, 500) \mod 7. Which technique applies here, and why would direct computation fail?

  5. An FRQ asks you to prove that C(n,k)=C(n1,k1)+C(n1,k)C(n,k) = C(n-1, k-1) + C(n-1, k). What visual tool demonstrates this, and how would you construct a combinatorial argument?