VerityPrep School Support

Math Olympiad Combinatorics: Book 4

Master olympiad combinatorics: stars and bars, bijections, inclusion-exclusion, the pigeonhole principle, invariants and the extremal principle.

  • School Support
  • Olympics
  • Olympics
Book 4 — Olympiad Combinatorics cover

About this book

This is Book 4 of the Math Olympiad series, dedicated to combinatorics. It is aimed at students preparing for competitions where counting arguments and clever combinatorial ideas decide the hardest problems.

It begins with counting principles: permutations, combinations, multisets, stars and bars, complementary counting and bijections. The next chapter covers inclusion-exclusion, derangements, double counting and combinatorial identities. The pigeonhole principle chapter goes beyond the basic version to generalised, geometric, number-theoretic and extremal forms.

The final chapters cover invariants and monovariants, including parity, modular invariants, colouring and weighted invariants, and monovariants built on increasing and decreasing quantities and state changes, and the extremal principle, from maximum and minimum elements and longest paths to minimal counterexamples. Each chapter ends with a revision section.

Look inside

Preview this book

Browse the full contents and read the opening topic.

Sample · 15-Counting Principles

Chapter 15 Overview

Book 4 — Olympiad Combinatorics · CHAPTER 15: Counting Principles

"God made the integers; all else is the work of man." — Leopold Kronecker (as quoted by Heinrich Weber, 1893)

go S1S2S3 3 shirts × 2 trousers = 6 outfits Choices at each stage multiply.

Welcome to Book 4. Combinatorics is the mathematics of counting — and counting well is a genuine skill, because the same problem can be trivial or impossible depending on how you set it up. This chapter builds the complete toolkit, from the two principles that everything rests on to the clever bijections that make hard counts easy.

Everything grows from two rules pictured in the choice tree above. The addition principle: if a task splits into disjoint cases, add the counts. The multiplication principle: if a task is a sequence of independent choices, multiply. From these come permutations (order matters), combinations (order does not), multisets (repetition allowed), stars and bars (counting integer solutions), complementary counting (count the opposite), and bijections (count one thing by matching it to another).

The single most important question in every counting problem is: does order matter, and is repetition allowed? Those two yes/no answers select the tool. The seven sections below, mapped in the menu, are organised exactly so you can find the right method fast — and the hardest olympiad problems simply combine two or three of them.

How should you count it?Basic Counting · 15.1add or multiplyPermutations · 15.2order mattersCombinations · 15.3order irrelevantMultisets · 15.4repetition allowedStars and Bars · 15.5integer solutionsComplementary · 15.6count the oppositeBijections · 15.7count via a match

📋 How this chapter works

The usual rhythm, tuned for counting.

SectionWhat it gives you
📋 Strategy Cornerthe definition, the counting formula, and the standard setup
Decision flowchartthe method as a procedure, with the self-check that validates the count
🛠️ In Practice / 📊 Applications Spotlightwhere the counting shows up in real life — marketing, IT, games, logistics
⚠️ Common Trapthe specific way a good count goes wrong (usually order or repetition)
Worked Examplea full solution, with the check that the setup matches the question
🚀 Challenge Yourselfa harder problem with a hint but no solution

The golden rule of this chapter: before computing anything, decide whether order matters and whether repetition is allowed. Almost every wrong answer in counting comes from confusing a permutation with a combination, or from counting the same outcome twice. Set up first; compute second.


15.1 Basic Counting

15.1 Basic Counting

Two principles underlie all of counting. The addition principle says that if a task can be done in one of several mutually exclusive ways — case 1 or case 2 or ... — the total number of ways is the sum of the counts. The multiplication principle says that if a task is a sequence of independent steps — do step 1 then step 2 then ... — the total number of ways is the product of the counts.

The trigger words tell you which to use. An "or" between exclusive alternatives means add; an "and then" chain of choices means multiply. The two subtleties that cause most errors: for addition the cases must be genuinely disjoint (or you double-count the overlap, and must correct with inclusion-exclusion), and for multiplication the number of choices at each step must not depend on the earlier choices in a way you have not accounted for.

Continue reading — 5 chapters, worked examples and practice.

Sign in to buy

Built for Olympics preparation

Topics follow the Olympics syllabus with visual explanations and worked solutions close to the lesson content.

Readable in the portal

The book opens in the VerityPrep reader with chapter navigation, search and reading controls.

Share-ready link