GRADE 12 · A4 PRINT VIEW
Relations and Functions · Learner pages
Use your browser Print command and select A4. Questions and answers have separate pages.
Lesson 1 · Relations and their types
Describe a relation as a set of ordered pairs, test it for reflexive, symmetric and transitive, and find equivalence classes.
Name or initials: Date:

An ordered pair (a, b) is a pair where the order matters, so (1, 2) and (2, 1) are different pairs. Divisibility such as 2 divides 4 is a relation between numbers.
A relation is a set of pairs
On A = {1, 2, 3, 4} let a R b mean a divides b. Then R = {(1, 1), (1, 2), (1, 3), (1, 4), (2, 2), (2, 4), (3, 3), (4, 4)}, a set of 8 ordered pairs. The pair (2, 4) is in R but (4, 2) is not.
Test the three properties
Reflexive: every a divides itself, so (a, a) ∈ R for all a. Symmetric: (1, 2) ∈ R but (2, 1) ∉ R, so R is not symmetric. Transitive: if a divides b and b divides c, then a divides c, so R is transitive. One counter-example is enough to disprove a property.
Prove an equivalence relation
On A = {1, 2, …, 7} let a R b mean 3 divides a − b. Reflexive: a − a = 0 = 3 × 0. Symmetric: if a − b = 3m then b − a = 3(−m). Transitive: a − b = 3m and b − c = 3n give a − c = 3(m + n). All three hold, so R is an equivalence relation.
Equivalence classes split the set
For the same R, [1] = {1, 4, 7}, [2] = {2, 5} and [3] = {3, 6}. Elements in one class leave the same remainder when divided by 3. The classes do not overlap and together make all of A, so they split A into parts.
Worked example: On {1, 2, 3} test R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)}. Reflexive: all three (a, a) are present. Symmetric: (1, 2) and (2, 1) both present. Transitive: (1, 2), (2, 1) force (1, 1), and (2, 1), (1, 2) force (2, 2); both are in R. So R is an equivalence relation with classes {1, 2} and {3}.
PracticeChoose the correct answer and show your working in the space.
Let R = {(1, 1), (2, 2), (1, 2), (2, 1)} on A = {1, 2, 3}. Which statement is true?
○ R is reflexive○ R is an equivalence relation○ R is symmetric and transitive but not reflexive
On ℤ, a R b means a < b. Which statement is true?
○ R is reflexive and symmetric○ R is transitive but neither reflexive nor symmetric○ R is an equivalence relation
On A = {1, 2, …, 8}, a R b means 4 divides a − b. What is the equivalence class [3]?
○ {3, 7}○ {3, 6}○ {1, 3, 5, 7}
Discuss: Let a R b mean a and b have the same number of letters in your first name's spelling, across a group of friends. Check the three properties and describe the equivalence classes in words.
Lesson 2 · Types of functions: one-one, onto, bijective
Say whether a function is one-one, onto or bijective, with a proof or a counter-example.
Name or initials: Date:

A function f: A → B gives each element of A exactly one element of B. A is the domain and B the codomain; the values actually taken form the range.
What makes a function
Let f: {1, 2, 3, 4} → ℤ, f(x) = 2x − 1. The domain is {1, 2, 3, 4}, the codomain is ℤ and the range is {1, 3, 5, 7}. Each input has exactly one output. A rule that sent 2 to both 3 and 4 would not be a function.
One-one: no two inputs share an output
To prove f is one-one, assume f(x₁) = f(x₂) and show x₁ = x₂. For f(x) = 3x + 2: 3x₁ + 2 = 3x₂ + 2 gives x₁ = x₂, so f is one-one. To disprove, find one pair: for g(x) = x² we have g(2) = g(−2) = 4, so g is not one-one.
Onto: every codomain element is hit
For f: ℝ → ℝ, f(x) = 3x + 2, take any y in ℝ. Solving 3x + 2 = y gives x = (y − 2)/3, which is a real number with f(x) = y. So every y is an output and f is onto. For x²: ℝ → ℝ the value −1 is never reached, so it is not onto.
Bijective and the role of the codomain
A bijective function is one-one and onto. Changing domain or codomain can change the type: x² is not onto ℝ but is onto [0, ∞). For finite sets with the same size, one-one and onto go together; for infinite sets they may not, as n + 1 on ℕ is one-one but misses 1.
Worked example: Decide whether f: ℝ → ℝ, f(x) = 5 − 2x is bijective. One-one: 5 − 2x₁ = 5 − 2x₂ gives x₁ = x₂. Onto: for any y, solve 5 − 2x = y to get x = (5 − y)/2, which is real. So f is one-one and onto, hence bijective.
PracticeChoose the correct answer and show your working in the space.
Which relation from A = {1, 2, 3} to B = {x, y} is a function?
○ {(1, x), (2, y)}○ {(1, x), (2, x), (3, y)}○ {(1, x), (1, y), (2, x), (3, y)}
Which function f: ℝ → ℝ is one-one?
○ f(x) = |x|○ f(x) = x³ + 1○ f(x) = x² − 4
f: ℝ → ℝ is given by f(x) = x² + 1. Which statement is true?
○ f is one-one but not onto○ f is onto but not one-one○ f is neither one-one nor onto
Discuss: A hall has 30 seats and 30 guests, and each guest picks a seat. Explain why if no two guests share a seat, every seat is taken. Then say why this fails for infinitely many guests and seats.
Lesson 3 · Bijective functions and counting maps
Test a function for one-one and onto together, and count one-one, onto and bijective maps between small finite sets.
Name or initials: Date:

A function is one-one when different inputs give different outputs, and onto when every element of the codomain is an output.
Check both properties together
Let f: {1, 2, 3} → {a, b, c} with f(1) = b, f(2) = c and f(3) = a. The outputs b, c, a are all different, so f is one-one. Each of a, b, c is an output, so f is onto. Both hold, so f is bijective.
Sizes decide on finite sets
With 3 inputs and 4 possible outputs, the 3 inputs give at most 3 different outputs, so one output is always missed: f can be one-one but never onto. With 4 inputs and 3 outputs, two inputs must share an output: f can be onto but never one-one. A bijection needs equal sizes.
Bijective functions on ℝ
For f: ℝ → ℝ, f(x) = 4x − 7, if 4x₁ − 7 = 4x₂ − 7 then x₁ = x₂, so f is one-one. For any y, x = (y + 7)/4 is real and f(x) = y, so f is onto. Hence f is bijective. By contrast x² on ℝ is neither: 2 and −2 share the output 4 and −1 is never reached.
Counting maps between small sets
Let A = {1, 2, 3}. With a 3-element codomain there are 3 × 3 × 3 = 27 functions, 3 × 2 × 1 = 6 one-one ones, and these 6 are also onto, so there are 6 bijections. With 2 elements: 2³ = 8 functions, none one-one, and 8 − 2 = 6 onto (leave out the 2 constant maps). With 4 elements: 64 functions, 4 × 3 × 2 = 24 one-one, none onto.
Worked example: Decide whether f: ℝ → ℝ, f(x) = 6 − 5x is bijective. One-one: 6 − 5x₁ = 6 − 5x₂ gives x₁ = x₂. Onto: for any y, x = (6 − y)/5 is real and f(x) = y. So f is bijective. Next, count the bijections from {1, 2, 3, 4} to {p, q, r, s}: 4 × 3 × 2 × 1 = 24.
PracticeChoose the correct answer and show your working in the space.
Let f: {1, 2, 3} → {a, b, c} have f(1) = a, f(2) = a and f(3) = c. Which statement is true?
○ f is neither one-one nor onto○ f is bijective○ f is one-one but not onto
Which function f: ℝ → ℝ is bijective?
○ f(x) = x²○ f(x) = |x| + 1○ f(x) = 7x − 3
How many bijections are there from {1, 2, 3, 4, 5} to {a, b, c, d, e}?
○ 3125○ 120○ 25
Discuss: Six students each pick a different locker from a row. First there are exactly 6 lockers, then 8 lockers. Count the ways in each case, say which case gives bijections, and explain why some lockers stay empty in the second case.
Final check · form A
Final checkWork on your own. Choose one answer for each question.
On A = {1, 2, 3, 4}, a R b means a + b ≤ 5. Which statement is true?
○ R is reflexive and symmetric○ R is symmetric but neither reflexive nor transitive○ R is transitive but not symmetric
Which relation on ℤ is an equivalence relation?
○ a R b if |a| = |b|○ a R b if a ≤ b○ a R b if a − b = 1
f: {1, 2, 3} → {1, 2, 3, 4} has f(1) = 2, f(2) = 4, f(3) = 1. Which statement is true?
○ f is onto but not one-one○ f is bijective○ f is one-one but not onto
How many one-one functions are there from {1, 2, 3} to {a, b, c, d}?
○ 64○ 12○ 24
f: {1, 2, 3, 4} → {p, q, r, s} has f(1) = q, f(2) = s, f(3) = p and f(4) = r. Which statement is true?
○ f is onto but not one-one○ f is bijective○ f is one-one but not onto
How many onto functions are there from {1, 2, 3} to {a, b}?
○ 6○ 8○ 2
Final check · form B
Final checkWork on your own. Choose one answer for each question.
On A = {1, 2, 3}, R = {(1, 1), (2, 2), (3, 3), (1, 2)}. Which statement is true?
○ R is reflexive and transitive but not symmetric○ R is an equivalence relation○ R is symmetric but not reflexive
a R b means 5 divides a − b on A = {1, 2, …, 20}. How many equivalence classes does R have?
○ 4○ 20○ 5
Let f: ℝ → ℝ, f(x) = x² − 4x. Which statement is true?
○ f is one-one○ f is not one-one○ f is onto
How many functions are there from {1, 2} to {a, b, c, d}?
○ 8○ 16○ 12
Which function is bijective?
○ f: ℤ → ℤ, f(n) = n + 4○ f: ℤ → ℤ, f(n) = 2n○ f: ℝ → ℝ, f(x) = x²
How many one-one functions are there from {1, 2, 3} to {a, b, c, d, e}?
○ 125○ 15○ 60
Original learning companion for selected outcomes of this chapter: types of relations and equivalence classes, one-one and onto functions with proofs, and bijective functions on finite sets and ℝ with counting of maps. It does not reproduce the textbook, its activities or its exercise solutions.