Discrete Mathematics

Discrete mathematics deals with distinct, separate values rather than continuous data. In Grade 6 you will learn to organise information using sets and Venn diagrams — essential tools for logical reasoning.

What You'll Learn

  • Understand what a set is and use correct notation
  • Identify elements, subsets, and the universal set
  • Draw and interpret Venn diagrams with two sets
  • Find the intersection, union, and complement of sets
  • Use Venn diagrams to solve counting problems
  • Apply set language to real-world classification tasks

IB Assessment Focus

Criterion A: Select and apply correct set notation and Venn diagram methods.

Criterion B: Discover patterns in set relationships and describe them as rules.

Criterion C: Use correct mathematical vocabulary (intersection, union, complement) and show clear diagrams.

Criterion D: Apply sets and Venn diagrams to organise and interpret real-world data (e.g., survey results, classifications).

Key Vocabulary

TermDefinitionExample
SetA collection of distinct objects, called elementsA = {2, 4, 6, 8}
Element (∈)A member of a set4 ∈ A means "4 is in set A"
Universal set (U)The set of ALL elements being consideredU = {1, 2, 3, … 10}
Empty set (∅)A set with no elements∅ = { }
Subset (⊆)A set whose elements all belong to another set{2, 4} ⊆ {1, 2, 3, 4, 5}
Intersection (∩)Elements in BOTH setsA ∩ B
Union (∪)Elements in EITHER or BOTH setsA ∪ B
Complement (A′)Elements NOT in set A but in the universal setIf U = {1…10}, A = {2,4,6,8,10}, then A′ = {1,3,5,7,9}
Venn diagramA diagram using overlapping circles to show relationships between setsTwo overlapping circles inside a rectangle (U)

Sets & Elements

A set is a well-defined collection of distinct objects. Learning the notation and terminology is the foundation for all set work.

Set Notation

Sets are written using curly braces { }. Each object inside is an element (or member).

  • A = {1, 3, 5, 7, 9} — the set of odd numbers from 1 to 9
  • B = {red, blue, green} — a set of colours
  • Elements are not repeated in a set: {1, 2, 2, 3} should be written as {1, 2, 3}
  • The order does not matter: {3, 1, 2} is the same set as {1, 2, 3}

Membership Notation

  • means "is an element of" — 5 ∈ A means "5 belongs to set A"
  • means "is NOT an element of" — 4 ∉ A means "4 does not belong to set A"

Types of Sets

Finite set: Has a countable number of elements. Example: A = {2, 4, 6} has 3 elements.

Empty set (null set): Written as ∅ or { }. It contains no elements at all. Example: the set of months with 32 days = ∅.

Universal set (U): Contains ALL elements under discussion. Every other set in the problem is a subset of U.

Subsets

Set A is a subset of set B (written A ⊆ B) if every element of A is also in B.

Example:

If B = {1, 2, 3, 4, 5}, then {1, 3} ⊆ B  ✓
{1, 6} is NOT a subset of B because 6 ∉ B.

Special cases: The empty set ∅ is a subset of every set. Every set is a subset of itself.

Counting Elements

The number of elements in a set is called its cardinality, written n(A).

If A = {2, 4, 6, 8, 10}, then n(A) = 5.
If B = ∅, then n(B) = 0.

Critical Rule: Elements in a set are distinct — no duplicates. If asked to list A = {1, 2, 2, 3, 3, 3}, write A = {1, 2, 3} with n(A) = 3.

Venn Diagrams

Venn diagrams use overlapping circles inside a rectangle to show how sets relate to each other visually.

U A B A only A ∩ B B only
Venn diagram: A ∩ B (amber) is the intersection of sets A and B inside universal set U

Drawing a Venn Diagram

  1. Draw a rectangle and label it U (universal set)
  2. Draw two overlapping circles inside the rectangle — label them A and B
  3. Place elements that belong to both A and B in the overlapping region
  4. Place elements that belong to only A in the left-only part of circle A
  5. Place elements that belong to only B in the right-only part of circle B
  6. Place elements that belong to neither A nor B outside both circles but inside the rectangle
Critical Rule: Always fill in the intersection first (the middle). If you place elements in the wrong region, your entire diagram will be incorrect. Start with A ∩ B, then fill the rest.

Reading a Venn Diagram

A Venn diagram divides elements into four regions:

RegionDescriptionNotation
Only in AIn A but NOT in BA ∩ B′
Both A and BIn the overlapA ∩ B
Only in BIn B but NOT in AA′ ∩ B
NeitherOutside both circlesA′ ∩ B′ (or (A ∪ B)′)

Example: Building a Venn Diagram

Given: U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {1, 2, 3, 4, 5}, B = {3, 4, 5, 6, 7}

Step 1 — Intersection: A ∩ B = {3, 4, 5} → place in the overlap.
Step 2 — Only A: {1, 2} → place in the A-only region.
Step 3 — Only B: {6, 7} → place in the B-only region.
Step 4 — Neither: {8, 9, 10} → place outside both circles.

Set Operations

The three key operations — intersection, union, and complement — let you combine, compare, and exclude elements from sets.

Intersection (∩)

Definition
A ∩ B = the set of elements that belong to BOTH A and B
Example: A = {1, 2, 3, 4, 5}, B = {3, 5, 7, 9}
A ∩ B = {3, 5} — only these appear in both sets.

Union (∪)

Definition
A ∪ B = the set of elements that belong to A OR B (or both)
Example: A = {1, 2, 3, 4, 5}, B = {3, 5, 7, 9}
A ∪ B = {1, 2, 3, 4, 5, 7, 9} — list every element from both sets (no repeats).

Complement (A′)

Definition
A′ = the set of elements in U that are NOT in A
Example: U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {2, 4, 6, 8, 10}
A′ = {1, 3, 5, 7, 9} — all elements in U that are not in A.

Key Relationships

  • n(A ∪ B) = n(A) + n(B) − n(A ∩ B) — the addition principle
  • If A ∩ B = ∅, then A and B are disjoint (no common elements)
  • n(A′) = n(U) − n(A)
Common Mistake: When finding A ∪ B, do NOT count shared elements twice. If 3 is in both A and B, it appears once in A ∪ B.

Problem Solving with Sets

Venn diagrams are powerful tools for solving real-world counting problems, especially when items belong to more than one category.

Survey Problems

A common type of question gives you totals for two groups and asks you to find the overlap, or the number in neither group.

Strategy for survey problems:
  1. Draw a Venn diagram with two circles (one for each category)
  2. If given, fill in the intersection first
  3. Subtract the intersection from each group’s total to fill the "only" regions
  4. Add up all regions inside the circles; subtract from the total to find "neither"
Example: In a class of 30 students, 18 play football, 12 play basketball, and 5 play both.

Step 1: Both = 5 → place 5 in the overlap.
Step 2: Only football = 18 − 5 = 13. Only basketball = 12 − 5 = 7.
Step 3: Total in at least one sport = 13 + 5 + 7 = 25.
Step 4: Neither = 30 − 25 = 5 students play neither sport.

The Addition Principle

Formula
n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
Using the example above:
n(Football ∪ Basketball) = 18 + 12 − 5 = 25
Neither = 30 − 25 = 5

Classification Problems

Sets can also classify objects by properties. For example, sorting numbers into "Even" and "Greater than 5" helps identify which numbers have both properties, only one, or neither.

Example: U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. A = Even numbers, B = Numbers greater than 5.

A = {2, 4, 6, 8, 10},   B = {6, 7, 8, 9, 10}
A ∩ B = {6, 8, 10} — even AND greater than 5
Only A = {2, 4} — even but NOT greater than 5
Only B = {7, 9} — greater than 5 but NOT even
Neither = {1, 3, 5} — odd AND 5 or less

Useful Tip: Always check that your four regions add up to n(U). In the example above: 2 + 3 + 2 + 3 = 10 = n(U) ✓

Worked Examples

These examples show the step-by-step reasoning expected in your assessments. Notice how each step uses correct set notation.

EXAMPLE 1Given A = {2, 4, 6, 8, 10} and B = {4, 8, 12, 16}, find A ∩ B and A ∪ B.
+
Full Solution
A ∩ B = elements in BOTH sets = {4, 8}.

A ∪ B = elements in EITHER or BOTH = {2, 4, 6, 8, 10, 12, 16}.
Note: 4 and 8 appear in both sets but are listed only once in the union.
EXAMPLE 2U = {1, 2, 3, … 12}. A = {multiples of 3}. Find A and A′.
+
Full Solution
A = multiples of 3 in U = {3, 6, 9, 12}. So n(A) = 4.

A′ = elements in U but NOT in A = {1, 2, 4, 5, 7, 8, 10, 11}. So n(A′) = 8.
Check: n(A) + n(A′) = 4 + 8 = 12 = n(U) ✓
EXAMPLE 3In a class of 28, 15 like maths, 10 like science, and 4 like both. How many like neither?
+
Full Solution
Step 1: Both = 4 (place in overlap).
Step 2: Only maths = 15 − 4 = 11. Only science = 10 − 4 = 6.
Step 3: Total who like at least one = 11 + 4 + 6 = 21.
Step 4: Neither = 28 − 21 = 7 students.

Using the formula: n(M ∪ S) = 15 + 10 − 4 = 21. Neither = 28 − 21 = 7 ✓
EXAMPLE 4Draw a Venn diagram: U = {1…10}, A = {even numbers}, B = {prime numbers}.
+
Full Solution
A = {2, 4, 6, 8, 10}, B = {2, 3, 5, 7}.
A ∩ B = {2} — the only even prime. Place 2 in the overlap.
Only A: {4, 6, 8, 10} — even but not prime.
Only B: {3, 5, 7} — prime but not even.
Neither: {1, 9} — not even and not prime.
Check: 4 + 1 + 3 + 2 = 10 = n(U) ✓
EXAMPLE 5Is {3, 5} a subset of {1, 3, 5, 7, 9}? Explain.
+
Full Solution
Yes, {3, 5} ⊆ {1, 3, 5, 7, 9} because every element of {3, 5} (i.e., 3 and 5) is also an element of {1, 3, 5, 7, 9}. Both 3 ∈ {1,3,5,7,9} and 5 ∈ {1,3,5,7,9}, so the subset condition is satisfied.
EXAMPLE 6A survey of 40 people found 22 own a cat, 16 own a dog, and 6 own both. Find n(cat only), n(dog only), and n(neither).
+
Full Solution
Both = 6.
Cat only = 22 − 6 = 16.
Dog only = 16 − 6 = 10.
At least one pet = 16 + 6 + 10 = 32.
Neither = 40 − 32 = 8 people own neither.
Check: 16 + 6 + 10 + 8 = 40 ✓

Practice Q&A

Attempt each question before revealing the model answer. Focus on using correct set notation.

DESCRIBESet P = {1, 3, 5, 7, 9} and Set Q = {2, 3, 5, 8}. Describe P ∩ Q and P ∪ Q.
+
Model Answer
P ∩ Q = elements in BOTH sets = {3, 5}. These are the only numbers that appear in both P and Q.
P ∪ Q = elements in either or both = {1, 2, 3, 5, 7, 8, 9}. We list every element from both sets without repeating.
CALCULATEU = {1, 2, 3, … 15}. A = {multiples of 5 in U}. Find A and A′.
+
Model Answer
A = {5, 10, 15}. n(A) = 3.
A′ = all elements in U not in A = {1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14}. n(A′) = 12.
Check: 3 + 12 = 15 = n(U) ✓
CALCULATEIn a group of 35 students, 20 study French, 18 study Spanish, and 8 study both. How many study neither?
+
Model Answer
Using the formula: n(F ∪ S) = n(F) + n(S) − n(F ∩ S) = 20 + 18 − 8 = 30.
Neither = 35 − 30 = 5 students study neither language.
IDENTIFYIs {2, 4} a subset of {1, 2, 3, 4, 5}? Explain your reasoning.
+
Model Answer
Yes, {2, 4} ⊆ {1, 2, 3, 4, 5} because every element of {2, 4} is also in {1, 2, 3, 4, 5}. Specifically, 2 ∈ {1,2,3,4,5} and 4 ∈ {1,2,3,4,5}.
DESCRIBEDescribe how to place elements in a Venn diagram for A = {1,2,3,4} and B = {3,4,5,6} with U = {1,2,3,4,5,6,7,8}.
+
Model Answer
Step 1 — Intersection: A ∩ B = {3, 4}. Place 3 and 4 in the overlap.
Step 2 — Only A: {1, 2}. Place in the A-only region.
Step 3 — Only B: {5, 6}. Place in the B-only region.
Step 4 — Neither: {7, 8}. Place outside both circles but inside the rectangle.
Check: 2 + 2 + 2 + 2 = 8 = n(U) ✓
EXPLAINExplain what it means for two sets to be disjoint. Give an example.
+
Model Answer
Two sets are disjoint when they have no elements in common — their intersection is the empty set (A ∩ B = ∅). Example: A = {1, 3, 5} and B = {2, 4, 6}. No element appears in both, so A ∩ B = ∅ and the sets are disjoint. In a Venn diagram, disjoint sets would be drawn as non-overlapping circles.
CALCULATEA = {factors of 12}, B = {factors of 18}. Find A ∩ B (the common factors).
+
Model Answer
A = {1, 2, 3, 4, 6, 12}. B = {1, 2, 3, 6, 9, 18}.
A ∩ B = {1, 2, 3, 6}. These are the common factors of 12 and 18. Notice the largest is 6, which is the HCF — connecting sets to number theory.
CALCULATEn(A) = 14, n(B) = 11, n(A ∩ B) = 5, n(U) = 30. Find n(A ∪ B) and the number in neither set.
+
Model Answer
n(A ∪ B) = n(A) + n(B) − n(A ∩ B) = 14 + 11 − 5 = 20.
Neither = n(U) − n(A ∪ B) = 30 − 20 = 10.

Flashcard Review

Tap each card to reveal the answer. Try to answer from memory first.

What is a set?
A collection of distinct objects (elements), written in curly braces. Example: A = {1, 2, 3}.
Tap to reveal
What does ∈ mean?
"Is an element of." 5 ∈ A means 5 belongs to set A.
Tap to reveal
What is the universal set?
The set of ALL elements being considered in a problem. Written as U. Every other set is a subset of U.
Tap to reveal
What is A ∩ B?
The intersection — elements in BOTH A and B. Example: {1,2,3} ∩ {2,3,4} = {2,3}.
Tap to reveal
What is A ∪ B?
The union — elements in A OR B (or both). Example: {1,2,3} ∪ {2,3,4} = {1,2,3,4}.
Tap to reveal
What is A′ (A complement)?
All elements in U that are NOT in A. If U = {1…10} and A = {2,4,6,8,10}, then A′ = {1,3,5,7,9}.
Tap to reveal
What is the empty set?
A set with no elements, written ∅ or { }. Example: the set of even numbers that are also odd = ∅.
Tap to reveal
What does subset (⊆) mean?
A ⊆ B means every element of A is also in B. Example: {2,4} ⊆ {1,2,3,4,5}.
Tap to reveal
The addition principle formula?
n(A ∪ B) = n(A) + n(B) − n(A ∩ B). Subtract the overlap to avoid double-counting.
Tap to reveal
Where do you start when filling a Venn diagram?
Always fill the INTERSECTION (overlap) first. Then fill only-A, only-B, and finally neither.
Tap to reveal
What are disjoint sets?
Sets with no common elements: A ∩ B = ∅. Example: {1,3,5} and {2,4,6} are disjoint.
Tap to reveal
How do you find "neither" in a Venn diagram?
Neither = n(U) − n(A ∪ B). It is the count outside both circles.
Tap to reveal
Can elements repeat in a set?
No. Sets contain only DISTINCT elements. {1, 2, 2, 3} is written as {1, 2, 3}.
Tap to reveal
What is cardinality?
The number of elements in a set, written n(A). If A = {3,6,9}, then n(A) = 3.
Tap to reveal
Is the empty set a subset of every set?
Yes. ∅ ⊆ A for any set A. This is true by definition since there are no elements in ∅ to violate the subset condition.
Tap to reveal

Practice Test — 20 Questions

0Score / 20
Q 1 / 20
Correct
Wrong
Score