PrevNext

Overview

Intermediate counting problems demand structure. Learn to avoid overcounting by using systematic cases and complementary counting.

Key Ideas

  • Stars and bars counts nonnegative solutions to x1++xk=nx_1+\cdots+x_k=n.
  • Inclusion-exclusion fixes overlaps: AB=A+BAB|A\cup B|=|A|+|B|-|A\cap B|.
  • Symmetry reduces cases by grouping equivalent configurations.

Worked Example

How many nonnegative solutions to x+y+z=10x+y+z=10 with x2x\ge2?

Let x=x2x'=x-2. Then x+y+z=8x'+y+z=8 with nonnegative variables. The answer is (8+3131)=(102)=45\binom{8+3-1}{3-1}=\binom{10}{2}=45.

Practice Problems

StatusSourceProblem NameDifficultyTags
AMC 12Hard
Show TagsCasework, Combinatorics
AIMEHard
Show TagsInclusion-Exclusion

Module Progress:

Join the AoPS Community!

Stuck on a problem, or don't understand a module? Join the AoPS community and get help from other math contest students.

PrevNext