1. Relations
A relation from to is a subset of ; a relation on is a subset of . We write for .
- Empty relation: no pairs ().
- Universal relation: every pair ().
- Identity relation: .
If , then has pairs and there are relations on .
| Relation on | Pairs | Number of pairs |
|---|---|---|
| Empty relation | ||
| Universal relation | ||
| Identity relation |
Formulas
- Counting relations
Key terms
- Relation on A
Any subset of .
- Empty relation
The relation with no ordered pairs.
- Universal relation
The relation , containing every pair.
2. Reflexive, symmetric and transitive relations
- Reflexive: for every .
- Symmetric: .
- Transitive: and .
The three properties are independent: any combination can occur. The empty relation on a non-empty set is symmetric and transitive (vacuously) but not reflexive. "Is perpendicular to" on lines is symmetric only; "divides" on is reflexive and transitive but not symmetric.
To show a property fails, give one counterexample. To show it holds, argue with general elements.
| Relation on | Reflexive | Symmetric | Transitive |
|---|---|---|---|
| ✓ | ✓ | ✓ | |
| ✓ | ✗ | ✓ | |
| ✗ | ✓ | ✗ | |
| ✗ | ✗ | ✓ | |
| ✓ | ✓ | ✗ | |
| ✗ | ✓ | ✓ |
Formulas
- Transitive
Key terms
- Reflexive
Every element is related to itself.
- Symmetric
Every pair comes with its reverse.
- Transitive
and force .
3. Equivalence relations and classes
A relation that is reflexive, symmetric and transitive is an equivalence relation. The equivalence class of is .
Facts: ; if ; otherwise . The classes form a partition of : disjoint, non-empty, and covering .
Shortcut: a relation of the form " and have the same value of some property" (same remainder, same digit sum, same room, same birth year) is always an equivalence relation, because equality is.
Example: on , "same remainder on division by " has classes , , .
To make a relation an equivalence relation with the fewest additions: add all , the reverses, then whatever transitivity forces.
| Remainder on division by | Equivalence class |
|---|---|
Formulas
- Equivalence class
Key terms
- Equivalence relation
Reflexive, symmetric and transitive.
- Equivalence class
: all elements related to .
- Partition
Splitting a set into non-empty, non-overlapping pieces that cover it.
4. Writing an equivalence proof
Model: on , .
- Reflexive: , divisible by .
- Symmetric: if , then .
- Transitive: if and , then .
Write each condition as " integer", rearrange, and finish each line with the conclusion (, , ). Use general letters, never only numbers.
Key terms
- Counterexample
One specific case showing that a general statement is false.
5. One-one, onto and bijective functions
A function gives each exactly one image . Range .
- One-one (injective): (no element of gets two arrows).
- Onto (surjective): for every there is with (range ).
- Bijective: one-one and onto.
Not one-one: give with . Not onto: give with no pre-image. For real functions, the horizontal line test is a guide: a line meeting the graph twice means not one-one.
Formulas
- One-one
Key terms
- One-one (injective)
Different inputs give different outputs.
- Onto (surjective)
Every element of the codomain is an output.
- Bijective
Both one-one and onto.
6. Proving properties of real functions
One-one: assume and simplify to (for rational functions, cross-multiply).
Onto: take any in the codomain, solve , and check that is in the domain (real, not an excluded value, a natural number or integer where required).
The domain and codomain matter: is neither one-one nor onto on , onto for , and bijective for . Linear () and are bijections of . On , and are one-one but not onto.
Example: on has pre-image , so it is a bijection.
- (never reached)
| Function | One-one? | Onto? |
|---|---|---|
| ✗ () | ✗ ( missed) | |
| ✗ | ✓ | |
| ✓ | ✓ |
Formulas
- Onto proof
Key terms
- Pre-image
An with .
- Codomain
The set B in f : A → B; the range may be smaller.
7. Counting functions on finite sets
Let and .
- All functions : .
- One-one: if ; none if .
- Onto: none if . To elements: . To elements: .
- Bijections with : . Between finite sets of equal size, one-one onto.
Examples: : functions, one-one, onto. : functions, onto.
| , | All functions | One-one | Onto |
|---|---|---|---|
| , | |||
| , | |||
| , | |||
| , |
Formulas
- All and one-one functions
- Onto a 3-element set
Key terms
- Bijection on a finite set
An arrangement of its elements; there are .
Exam tips
How marks are awarded
- Equivalence relation (3–5 marks): reflexive 1 + symmetric 1 + transitive 1, each with general letters; classes 1–2 if asked.
- Property fails (1–2 marks): one explicit counterexample, stated as pairs.
- One-one / onto (2–5 marks): one-one argument 1–2 + onto with pre-image and domain check 1–2 + conclusion.
- Counting (1 mark): , one-one, onto counts, with the reason in written answers.
Common mistakes
- Checking reflexivity for some elements only.
- Proving symmetry or transitivity with numbers instead of general elements.
- Forgetting that the empty relation is symmetric and transitive.
- Assuming a symmetric, transitive relation must be reflexive.
- Claiming onto after solving without checking is in the domain (, , excluded values).
- Ignoring the codomain: is onto but not onto .
- Writing instead of for the number of functions from to elements.
- Using composition or inverse functions: not in the 2026–27 syllabus.