VerityPrep School Support

Olympiad Discrete Mathematics: Book 5

Explore olympiad discrete maths: graph theory and Hall's marriage theorem, Nim-type games, generating functions, Ramsey theory and the probabilistic method.

  • School Support
  • Olympics
  • Olympics
Book 5 — Discrete Mathematics cover

About this book

This is Book 5 of the Math Olympiad series and covers discrete mathematics for competition students. It begins with sets, relations and partial orders as the language for the rest of the book.

The graph theory chapter is the largest, covering degree sequences and the handshaking lemma, Euler and Hamiltonian paths and cycles, trees and spanning trees, bipartite graphs, matchings and Hall's marriage theorem, vertex and edge colouring, Euler's formula, tournaments and extremal graph theory.

Further chapters cover combinatorial games such as Nim-type and recursive games, generating functions and partition problems, extremal combinatorics and Ramsey theory, and discrete probability up to expected value and the probabilistic method. The last chapter deals with discrete geometry and lattices, including lattice points, grid problems, tilings and geometric graphs.

Look inside

Preview this book

Browse the full contents and read the opening topic.

Sample · 14-Sets, Relations and Discrete Structures

Chapter 14 Overview

Book 5 — Discrete Mathematics · CHAPTER 14: Sets, Relations and Discrete Structures

"A set is a Many that allows itself to be thought of as a One." — Georg Cantor, the founder of set theory

A B A∩B |A∪B| = |A| + |B| − |A∩B| Count the shared middle only once.

Welcome to Book 5. Discrete mathematics is the study of structures that are counted rather than measured — and it all begins with the set, a collection of distinct objects. From sets we build everything else: relations (which objects are connected) and orders (how objects rank). These three ideas are the grammar of the entire book.

The Venn diagram above captures the first essential skill: combining sets and counting them correctly. The inclusion-exclusion formula \( |A\cup B|=|A|+|B|-|A\cap B| \) fixes the most common counting error — double-counting the overlap. From there we climb to relations, where properties like reflexive, symmetric, and transitive decide whether a relation partitions a set into equivalence classes; and to partial orders, where the notions of chain and antichain measure how much a structure can be ordered.

Three sections build the foundation: the algebra and counting of sets (14.1), the theory of relations and equivalence (14.2), and partial orders with their chains and antichains (14.3). Use the map to place a problem — and note how each layer is built from the one before.

What structure are you studying?combining and countingsetsSETS 14.1operations, power setsproperties of a relationRELATIONS 14.2equivalence classesordering and comparabilityPARTIAL ORDERS 14.3chains and antichains

📋 How this chapter works

The usual rhythm, tuned for discrete structures.

SectionWhat it gives you
📋 Strategy Cornerthe definitions, the key counting formula, and the standard method
Decision flowchartthe method as a procedure, with the self-check that validates the answer
🌍 Math in the Real Worldwhere these structures power databases, logic, and computing
⚠️ Common Trapthe specific way strong students lose the mark
Worked Examplea full solution, with the check that confirms the count or property
🚀 Challenge Yourselfa harder problem with a hint but no solution

The golden rule of this chapter: to count a combined set, never add blindly — account for overlaps. And to classify a relation, check the three properties one at a time. Discrete mathematics rewards careful bookkeeping over cleverness.


14.1 Sets

14.1 Sets

A set is an unordered collection of distinct objects, its elements. From two sets \( A,B \) we form the union \( A\cup B \) (in either), the intersection \( A\cap B \) (in both), the difference \( A\setminus B \), and the complement \( A^c \) (everything in the universe not in \( A \)). Counting combined sets is governed by inclusion-exclusion.

Three constructions build richer objects. The Cartesian product \( A\times B \) is the set of ordered pairs \( (a,b) \), with \( |A\times B|=|A|\,|B| \). The power set \( \mathcal{P}(A) \) is the set of all subsets, with \( |\mathcal{P}(A)|=2^{|A|} \). And the set identities — De Morgan’s laws, distributivity, and their kin — let you manipulate set expressions like algebra.

Continue reading — 7 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