GRADE 12 · A4 PRINT VIEW
Relations and Functions · Answer guide
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.
AnswersAnswers with the reason for each.
Let R = {(1, 1), (2, 2), (1, 2), (2, 1)} on A = {1, 2, 3}. Which statement is true?
Answer: R is symmetric and transitive but not reflexive. (3, 3) is missing, so R is not reflexive and therefore not an equivalence relation. The pairs (1, 2) and (2, 1) make it symmetric, and it is transitive.
On ℤ, a R b means a < b. Which statement is true?
Answer: R is transitive but neither reflexive nor symmetric. a < b and b < c give a < c, so R is transitive. It is not reflexive because a < a is false, and not symmetric because 1 < 2 does not give 2 < 1.
On A = {1, 2, …, 8}, a R b means 4 divides a − b. What is the equivalence class [3]?
Answer: {3, 7}. The elements that differ from 3 by a multiple of 4 are 3 and 7. {1, 3, 5, 7} would be the class if 2 divided the difference, and {3, 6} uses a gap of 3.
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.
Teaching note: Symmetric does not mean (a, a) must be present, and reflexive does not mean the relation is symmetric. Also a relation can be symmetric and transitive yet fail to be reflexive if some element has no pair at all, such as R = {(1, 1)} on {1, 2}.
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.
AnswersAnswers with the reason for each.
Which relation from A = {1, 2, 3} to B = {x, y} is a function?
Answer: {(1, x), (2, x), (3, y)}. Each of 1, 2, 3 has exactly one image, so it is a function; repeating x is allowed. {(1, x), (2, y)} leaves 3 without an image, and the other has 1 going to both x and y.
Which function f: ℝ → ℝ is one-one?
Answer: f(x) = x³ + 1. If x₁³ + 1 = x₂³ + 1 then x₁ = x₂, so x³ + 1 is one-one. |x| gives 2 for both 2 and −2, and x² − 4 gives 0 for both 2 and −2.
f: ℝ → ℝ is given by f(x) = x² + 1. Which statement is true?
Answer: f is neither one-one nor onto. f(1) = f(−1) = 2 so f is not one-one, and x² + 1 is always at least 1, so values such as 0 are never reached and f is not 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.
Teaching note: Checking a few values does not prove one-one. f(x) = x² gives different outputs for 1, 2 and 3, yet it is not one-one on ℝ because f(2) = f(−2). To prove one-one you need a general argument; to disprove you need one counter-example.
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.
AnswersAnswers with the reason for each.
Let f: {1, 2, 3} → {a, b, c} have f(1) = a, f(2) = a and f(3) = c. Which statement is true?
Answer: f is neither one-one nor onto. f(1) = f(2) = a, so f is not one-one, and b is never an output, so f is not onto. The outputs a, a, c are not all different, so f is not bijective either.
Which function f: ℝ → ℝ is bijective?
Answer: f(x) = 7x − 3. 7x − 3 is one-one, and for any y the input (y + 3)/7 gives y, so it is onto. x² and |x| + 1 give the same output for 2 and −2, so they are not one-one.
How many bijections are there from {1, 2, 3, 4, 5} to {a, b, c, d, e}?
Answer: 120. The first input has 5 choices, the next 4, then 3, 2 and 1, so 5 × 4 × 3 × 2 × 1 = 120. 3125 counts all functions and 25 is 5 × 5.
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.
Teaching note: One-one alone is not enough for a bijection. f(n) = 2n from ℤ to ℤ is one-one, but no odd number is an output, so it is not onto and not bijective. Always check both properties and name the domain and codomain.
Final check · form A
AnswersAnswers with the reason for each.
On A = {1, 2, 3, 4}, a R b means a + b ≤ 5. Which statement is true?
Answer: R is symmetric but neither reflexive nor transitive. a + b = b + a, so R is symmetric. (3, 3) fails since 6 > 5, so not reflexive; (3, 2) and (2, 3) are in R but (3, 3) is not, so not transitive.
Which relation on ℤ is an equivalence relation?
Answer: a R b if |a| = |b|. |a| = |a|, |a| = |b| gives |b| = |a|, and equal absolute values chain together, so all three properties hold. a ≤ b is not symmetric, and a − b = 1 is not even reflexive.
f: {1, 2, 3} → {1, 2, 3, 4} has f(1) = 2, f(2) = 4, f(3) = 1. Which statement is true?
Answer: f is one-one but not onto. The outputs 2, 4, 1 are all different, so f is one-one, but 3 is never an output, so f is not onto. A 3-element set cannot cover a 4-element codomain, so f cannot be onto or bijective.
How many one-one functions are there from {1, 2, 3} to {a, b, c, d}?
Answer: 24. The image of 1 has 4 choices, of 2 has 3 and of 3 has 2, so 4 × 3 × 2 = 24. 64 counts all functions, and 12 stops after two inputs.
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?
Answer: f is bijective. The outputs q, s, p, r are all different, so f is one-one, and all of p, q, r, s are used, so f is onto. Both hold, so f is bijective.
How many onto functions are there from {1, 2, 3} to {a, b}?
Answer: 6. There are 2³ = 8 functions in all. The 2 that send every input to a single element miss an output, so 8 − 2 = 6 are onto. 8 counts all functions and 2 counts only the constant ones.
Final check · form B
AnswersAnswers with the reason for each.
On A = {1, 2, 3}, R = {(1, 1), (2, 2), (3, 3), (1, 2)}. Which statement is true?
Answer: R is reflexive and transitive but not symmetric. All (a, a) are present, and (1, 2) with (2, 2) gives (1, 2), so R is transitive. But (1, 2) ∈ R and (2, 1) ∉ R, so R is not symmetric and so not an equivalence relation.
a R b means 5 divides a − b on A = {1, 2, …, 20}. How many equivalence classes does R have?
Answer: 5. Each element leaves remainder 0, 1, 2, 3 or 4 when divided by 5, giving 5 classes of 4 elements each. 4 forgets the class with remainder 0, and 20 counts every element as its own class.
Let f: ℝ → ℝ, f(x) = x² − 4x. Which statement is true?
Answer: f is not one-one. f(1) = f(3) = −3 with 1 ≠ 3, so f is not one-one. It is not onto either, because f(x) = (x − 2)² − 4 is never below −4.
How many functions are there from {1, 2} to {a, b, c, d}?
Answer: 16. Each of the 2 inputs can go to any of 4 outputs, so 4 × 4 = 16. 8 is 2 × 4 and 12 counts only one-one functions.
Which function is bijective?
Answer: f: ℤ → ℤ, f(n) = n + 4. n + 4 is one-one, and any integer m is the output for n = m − 4, so it is onto. 2n never gives an odd number, so it is not onto, and x² gives 4 for both 2 and −2, so it is not one-one.
How many one-one functions are there from {1, 2, 3} to {a, b, c, d, e}?
Answer: 60. The first input has 5 choices, the second 4 and the third 3, so 5 × 4 × 3 = 60. 125 counts all functions and 15 is only 5 × 3.
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.