Counting Foundations: Problem Types, Sets, Partitions and the Pigeonhole Principle | OCR A Level Further Maths notes

Free preview: Counting Foundations: Problem Types, Sets, Partitions and the Pigeonhole Principle

What Kind of Question Is It? Problem Types and Sets

Year 1 (AS) for OCR A, which lists counting in its AS Discrete Mathematics content (7.01). Some parts may be A level only, so check your own specification.

Let's start with a school timetable. Before we try to build the best timetable, it is worth knowing what kind of question we are asking, because each kind needs a different sort of answer.

Four types of problem

TypeThe questionWhat a full answer needs
ExistenceIs there at least one solution? "Can every exam be timetabled with no clashes?"Yes (with a reason or an example) or no (with a proof).
ConstructionFind a solution. "Write down a timetable with no clashes."One actual solution, checked.
EnumerationHow many solutions are there? "How many clash-free timetables are there?"A number, with the counting argument.
OptimisationWhich solution is best? "Which timetable uses the fewest days?"A solution and a reason no other does better.
  • One example is enough to show existence.
  • To show that something does not exist you need an argument that covers every case, such as the pigeonhole principle on page 3.

✏️ YOUR TURN 1

Try this first:

Classify each question as existence, construction, enumeration or optimisation.

  1. How many ways can 5 books be arranged on a shelf?
  2. Is it possible to tile this board with dominoes?
  3. Find a route that visits every town once.
  4. What is the cheapest way to connect all the houses to the network?

Answer:

  1. Enumeration.
  2. Existence.
  3. Construction.
  4. Optimisation.

Set notation

Counting arguments are written in the language of sets, so let's make sure the symbols are solid. A set is a collection of distinct objects, called its elements.

SymbolMeaningExample with A={1,2,3}
x∈A, x∉Ax is (is not) an element of A2∈A, 5∉A
A⊆Bevery element of A is in B{1,3}⊆A
∅the empty sethas no elements
A∪Bunion: in A or B or bothA∪{3,4}={1,2,3,4}
A∩Bintersection: in bothA∩{3,4}={3}
A′complement: in the universal set E but not in Aif E={1,…,5}, A′={4,5}
|A| or n(A)the number of elements of A|A|=3

✏️ YOUR TURN 2

Try this first:

Let E={1,2,…,10}, A the even numbers and B the multiples of 3 in E. Find A∩B, A∪B and |A′|.

Answer:

  • A={2,4,6,8,10}, B={3,6,9}.
  • A∩B={6}.
  • A∪B={2,3,4,6,8,9,10}.
  • A′={1,3,5,7,9}, so |A′|=5.

Counting Subsets and Partitions

How many subsets?

How many different pizzas can you make from 3 toppings, if each topping is either on or off? Let's count the subsets of {a,b,c}.

A set with n elements has 2n subsets

  • Each element is either in or out of a subset: 2 choices, n times. So {a,b,c} has 23=8 subsets, including ∅ and the whole set.

Diagram: Go along the tree from left to right: one in-or-out choice for a, then for b, then for c.

What the picture shows

  • Go along the tree from left to right: one in-or-out choice for a, then for b, then for c.
  • Each path ends at a different subset, from {a,b,c} at the top to the empty set at the bottom.
  • There are 2×2×2=8 paths, so 8 subsets.
  • With n elements there are n choices of 2, which gives 2n.

Partitions

  • A partition of a set splits it into non-empty subsets (called blocks or parts) so that every element is in exactly one block.
  • The order of the blocks does not matter, and nor does the order inside a block.
  • Example: {1,2},{3},{4} is a partition of {1,2,3,4} into 3 blocks.
  • Think of splitting a class into teams with no names: who is with whom is all that matters.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Counting and Combinatorial Preliminaries

  1. Counting Foundations: Problem Types, Sets, Partitions and the Pigeonhole Principle
  2. Counting with Restrictions and the Inclusion-Exclusion Principle

What's inside for this topic

2 teacher notes, 76 practice questions, 50 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Counting with Restrictions and the Inclusion-Exclusion Principle

All OCR A Level Further Maths topics · A Level Further Maths