Q1Multiple choice, easy, 1 mark
Let \(A = \{p, q, r\}\) and let \(R = \{(p, p), (q, q), (r, r), (p, q)\}\) be a relation in \(A\). Then \(R\) is:
- (a)an equivalence relation
- (b)reflexive and transitive but not symmetric
- (c)symmetric and transitive but not reflexive
- (d)reflexive and symmetric but not transitive
Show answer
Answer: (b)
\((p, p), (q, q), (r, r)\) are all in \(R\), so \(R\) is reflexive. \((p, q) \in R\) but \((q, p) \notin R\), so it is not symmetric. Every chain in \(R\), such as \((p, p), (p, q)\) or \((p, q), (q, q)\), gives a pair already in \(R\), so \(R\) is transitive.
Q2Multiple choice, easy, 1 mark
The function \(f: \mathbb{Z} \to \mathbb{Z}\) given by \(f(x) = x + 3\) is:
- (a)one-one and onto
- (b)one-one but not onto
- (c)onto but not one-one
- (d)neither one-one nor onto
Show answer
Answer: (a)
\(f(x_{1}) = f(x_{2}) \Rightarrow x_{1} + 3 = x_{2} + 3 \Rightarrow x_{1} = x_{2}\), so \(f\) is one-one. Every integer \(y\) is the image of the integer \(y - 3\), since \(f(y - 3) = y\), so \(f\) is onto.
Q3Fill in the blank, easy, 1 mark
Both the empty relation and the universal relation in a set are sometimes called ______ relations.
Show answer
Answer: trivial
The empty relation \(R = \phi\) and the universal relation \(R = A \times A\) are the two extreme relations in a set \(A\); both are called trivial relations.
Q4True or false, easy, 1 mark
Let \(A\) be the set of all students of a girls' school. The relation \(R\) in \(A\) given by \(R = \{(a, b) : a \text{ is brother of } b\}\) is the universal relation.
Show answer
Answer: False
No student of a girls' school can be the brother of any student of the school, so no pair lies in \(R\) and \(R = \phi\). Corrected statement: \(R\) is the empty relation in \(A\).
Q5Very short answer, easy, 1 mark
How many different relations can be defined in a set \(A\) that has 3 elements?
Show answer
Answer: A relation in \(A\) is any subset of \(A \times A\), which has \(3 \times 3 = 9\) elements, so there are \(2^{9} = 512\) relations.
Q6Fill in the blank, easy, 1 mark
The general adoption of symbols like \(f\), \(F\), \(\phi\), \(\psi\) to represent functions was made by ______ in 1734.
Show answer
Answer: Leonhard Euler
The Historical Note says Leonhard Euler (1707-1783) brought these symbols into general use in 1734, in the first part of his manuscript 'Analysis Infinitorium'.
Q7Multiple choice, medium, 1 mark
Let \(A = \{1, 2, 3, \ldots, 15\}\) and let \(R = \{(a, b) : 5 \text{ divides } a - b\}\), which is an equivalence relation in \(A\). The equivalence class \([3]\) is:
- (a)\(\{3, 6, 9, 12, 15\}\)
- (b)\(\{3, 8, 13, 18\}\)
- (c)\(\{3, 8, 13\}\)
- (d)\(\{-2, 3, 8, 13\}\)
Show answer
Answer: (c)
\([3]\) is the set of all \(b \in A\) for which 5 divides \(3 - b\), that is \(b = 3, 8, 13\). The numbers 18 and \(-2\) also differ from 3 by multiples of 5, but they are not in \(A\).
Q8Multiple choice, medium, 1 mark
Let \(f, g: \mathbb{R} \to \mathbb{R}\) be given by \(f(x) = 2x + 1\) and \(g(x) = x^{2} - 3\). Then \((fog)(x)\) is:
- (a)\(4x^{2} + 4x - 2\)
- (b)\(2x^{2} - 2\)
- (c)\(4x^{2} - 2\)
- (d)\(2x^{2} - 5\)
Show answer
Answer: (d)
\((fog)(x) = f(g(x)) = f(x^{2} - 3) = 2(x^{2} - 3) + 1 = 2x^{2} - 5\). The first option is \((gof)(x) = (2x + 1)^{2} - 3\), the composition in the other order.
Q9Assertion and reason, medium, 1 mark
Assertion (A): Every one-one function \(f: X \to X\), where \(X = \{1, 2, 3, 4, 5\}\), is onto.
Reason (R): For a finite set \(X\), a function \(f: X \to X\) is one-one if and only if it is onto.
- (a)Both A and R are true, and R is the correct explanation for A
- (b)Both A and R are true, but R is NOT the correct explanation for A
- (c)A is true, but R is false
- (d)A is false, but R is true
Show answer
Answer: (a)
A one-one \(f\) sends the 5 elements of \(X\) to 5 different elements of \(X\), so its range is the whole of \(X\). This is exactly the characteristic property of a finite set stated in R, so R explains A.
Q10Assertion and reason, medium, 1 mark
Assertion (A): The relation \(R = \{(a, b) : a \text{ divides } b\}\) in \(\mathbb{N}\) is an equivalence relation.
Reason (R): The relation \(R = \{(a, b) : a \text{ divides } b\}\) in \(\mathbb{N}\) is reflexive and transitive.
- (a)Both A and R are true, and R is the correct explanation for A
- (b)Both A and R are true, but R is NOT the correct explanation for A
- (c)A is true, but R is false
- (d)A is false, but R is true
Show answer
Answer: (d)
R is true: \(a\) divides \(a\), and if \(a\) divides \(b\) and \(b\) divides \(c\), then \(a\) divides \(c\). A is false: \((2, 4) \in R\) but \((4, 2) \notin R\), so \(R\) is not symmetric and hence not an equivalence relation.
Q11Match the columns, medium, 2 marks
Match each function in Column A with its type in Column B.
| Column A | Column B |
|---|
| (i) \(f: \mathbb{N} \to \mathbb{N}\), \(f(x) = 3x + 1\) | (P) one-one and onto |
| (ii) \(f: \mathbb{R} \to \mathbb{R}\), \(f(x) = 5 - 2x\) | (Q) one-one but not onto |
| (iii) \(f: \mathbb{R} \to \mathbb{R}\), \(f(x) = x^{2} + 4\) | (R) onto but not one-one |
| (iv) \(f: \mathbb{R} \to [0, \infty)\), \(f(x) = x^{2}\) | (S) neither one-one nor onto |
Show answer
Answer: (i)-Q, (ii)-P, (iii)-S, (iv)-R
(i) \(3x + 1\) is one-one, but 1 is not an image, as it would need \(x = 0 \notin \mathbb{N}\). (ii) Distinct \(x\) give distinct images and every \(y\) is the image of \(\frac{5 - y}{2}\). (iii) \(f(1) = f(-1)\), and 0 is not an image since \(x^{2} + 4 \ge 4\). (iv) \(f(1) = f(-1)\), but every \(y \ge 0\) is the image of \(\sqrt{y}\).
Q12Very short answer, medium, 1 mark
In a class of 30 students, each student is given a different locker from 30 lockers numbered 1 to 30. Is the function \(f\) that assigns each student a locker invertible? Give a reason.
Show answer
Answer: Yes. \(f\) is one-one, as no two students share a locker, and onto, as 30 students use 30 different lockers, so every locker is an image; a one-one and onto function is invertible.
Q13Short answer, medium, 3 marks
Let \(f, g: \mathbb{R} \to \mathbb{R}\) be given by \(f(x) = x + 2\) and \(g(x) = x^{2}\). Find \(gof\) and \(fog\), and find the real number \(x\) for which \((gof)(x) = (fog)(x)\).
Show answer
Answer: \((gof)(x) = g(f(x)) = g(x + 2) = (x + 2)^{2} = x^{2} + 4x + 4\).
\((fog)(x) = f(g(x)) = f(x^{2}) = x^{2} + 2\). So \(gof \ne fog\).
Setting them equal: \(x^{2} + 4x + 4 = x^{2} + 2 \Rightarrow 4x = -2 \Rightarrow x = -\dfrac{1}{2}\).
Check: at \(x = -\dfrac{1}{2}\) both give \(\dfrac{9}{4}\).
Q14Short answer, medium, 3 marks
Show that the relation \(R\) in the set \(A = \{1, 2, 3, 4, 5, 6\}\) given by \(R = \{(a, b) : b = 2a\}\) is neither reflexive nor symmetric nor transitive.
Show answer
Answer: Listing the pairs: \(R = \{(1, 2), (2, 4), (3, 6)\}\), since for \(a = 4, 5, 6\) the number \(2a\) is not in \(A\).
Not reflexive: \((1, 1) \notin R\), as \(1 \ne 2 \times 1\).
Not symmetric: \((1, 2) \in R\) but \((2, 1) \notin R\).
Not transitive: \((1, 2) \in R\) and \((2, 4) \in R\), but \((1, 4) \notin R\), as \(4 \ne 2 \times 1\).
Q15Multiple choice, hard, 1 mark
Let \(A = \{1, 2, 3, 4\}\). How many equivalence relations in \(A\) divide \(A\) into exactly two equivalence classes with two elements each?
- (a)3
- (b)4
- (c)6
- (d)7
Show answer
Answer: (a)
An equivalence relation divides \(A\) into disjoint equivalence classes, and each such division gives exactly one equivalence relation. The element 1 can share its class with 2, 3 or 4, and the other two elements form the second class: \(\{1, 2\}, \{3, 4\}\); \(\{1, 3\}, \{2, 4\}\); \(\{1, 4\}, \{2, 3\}\). So there are 3 (choosing 2 of the 4 elements gives 6, which counts each division twice).
Q16Short answer, hard, 3 marks
Let \(R\) be the relation in \(\mathbb{N} \times \mathbb{N}\) given by \((a, b)\,R\,(c, d)\) if and only if \(a + d = b + c\). Show that \(R\) is an equivalence relation, and write the equivalence class of \((1, 3)\).
Show answer
Answer: Reflexive: \(a + b = b + a\), so \((a, b)\,R\,(a, b)\).
Symmetric: \(a + d = b + c \Rightarrow c + b = d + a\), so \((c, d)\,R\,(a, b)\).
Transitive: if \(a + d = b + c\) and \(c + f = d + e\), adding gives \(a + d + c + f = b + c + d + e\), so \(a + f = b + e\) and \((a, b)\,R\,(e, f)\). Hence \(R\) is an equivalence relation.
\([(1, 3)] = \{(x, y) : x + 3 = y + 1\} = \{(x, x + 2) : x \in \mathbb{N}\} = \{(1, 3), (2, 4), (3, 5), \ldots\}\).
Q17Short answer, hard, 3 marks
Show that the function \(f: \mathbb{R} \to \mathbb{R}\) given by \(f(x) = x|x|\) is one-one and onto.
Show answer
Answer: For \(x \ge 0\), \(f(x) = x^{2}\); for \(x < 0\), \(f(x) = -x^{2}\). So \(f(x) > 0\) when \(x > 0\), \(f(0) = 0\) and \(f(x) < 0\) when \(x < 0\): \(f(x)\) has the same sign as \(x\).
One-one: let \(f(x_{1}) = f(x_{2})\). Then \(x_{1}\) and \(x_{2}\) have the same sign. If both are \(\ge 0\), \(x_{1}^{2} = x_{2}^{2}\) gives \(x_{1} = x_{2}\); if both are negative, \(-x_{1}^{2} = -x_{2}^{2}\) again gives \(x_{1} = x_{2}\).
Onto: for \(y \ge 0\), take \(x = \sqrt{y}\); then \(f(x) = \sqrt{y} \cdot \sqrt{y} = y\). For \(y < 0\), take \(x = -\sqrt{-y}\); then \(f(x) = -\sqrt{-y} \cdot \sqrt{-y} = -(-y) = y\). Hence \(f\) is one-one and onto.
Q18Long answer, hard, 5 marks
The rule \(f(x) = 4x^{2} + 4x - 3\) does not define an invertible function from \(\mathbb{R}\) to \(\mathbb{R}\). (a) Show why. (b) Let \(\mathbb{R}_{+}\) be the set of all non-negative real numbers. Find the set \(B\) for which \(f: \mathbb{R}_{+} \to B\) is onto, and show that \(f: \mathbb{R}_{+} \to B\) is invertible. (c) Find \(f^{-1}\) and the value of \(f^{-1}(21)\).
Show answer
Answer: (a) \(f(0) = -3\) and \(f(-1) = 4 - 4 - 3 = -3\), so \(f\) is not one-one. Also \(f(x) = (2x + 1)^{2} - 4 \ge -4\), so a value such as \(-5\) has no pre-image and \(f\) is not onto. Hence \(f: \mathbb{R} \to \mathbb{R}\) is not invertible.
(b) For \(x \ge 0\), \(2x + 1 \ge 1\), so \(f(x) = (2x + 1)^{2} - 4 \ge 1 - 4 = -3\), and \(f(0) = -3\). Every \(y \ge -3\) is reached (shown below), so \(B = [-3, \infty)\).
One-one: \(f(x_{1}) = f(x_{2})\) gives \((2x_{1} + 1)^{2} = (2x_{2} + 1)^{2}\). Both \(2x_{1} + 1\) and \(2x_{2} + 1\) are positive, so \(2x_{1} + 1 = 2x_{2} + 1\) and \(x_{1} = x_{2}\).
Onto: for \(y \ge -3\), \(y + 4 \ge 1\). Solving \(y = (2x + 1)^{2} - 4\) gives \(2x + 1 = \sqrt{y + 4}\) (the positive root, since \(2x + 1 > 0\)), so \(x = \dfrac{\sqrt{y + 4} - 1}{2} \ge \dfrac{1 - 1}{2} = 0\), that is \(x \in \mathbb{R}_{+}\), and \(f(x) = \left(\sqrt{y + 4}\right)^{2} - 4 = y\).
So \(f: \mathbb{R}_{+} \to [-3, \infty)\) is one-one and onto, hence invertible.
(c) \(f^{-1}: [-3, \infty) \to \mathbb{R}_{+}\), \(f^{-1}(y) = \dfrac{\sqrt{y + 4} - 1}{2}\). Check: for \(x \ge 0\), \(f^{-1}(f(x)) = \dfrac{(2x + 1) - 1}{2} = x\).
\(f^{-1}(21) = \dfrac{\sqrt{25} - 1}{2} = \dfrac{5 - 1}{2} = 2\). Check: \(f(2) = 16 + 8 - 3 = 21\).
Q19Long answer, hard, 5 marks
Let \(A = \{1, 2, 3, \ldots, 10\}\) and \(R = \{(a, b) : a^{2} - b^{2} \text{ is divisible by } 5\}\). Show that \(R\) is an equivalence relation in \(A\). Find the equivalence class \([1]\), and write all the equivalence classes of \(R\).
Show answer
Answer: Reflexive: \(a^{2} - a^{2} = 0\) is divisible by 5, so \((a, a) \in R\) for every \(a \in A\).
Symmetric: if 5 divides \(a^{2} - b^{2}\), it divides \(b^{2} - a^{2} = -(a^{2} - b^{2})\), so \((b, a) \in R\).
Transitive: if 5 divides \(a^{2} - b^{2}\) and \(b^{2} - c^{2}\), it divides their sum \(a^{2} - c^{2}\), so \((a, c) \in R\). Hence \(R\) is an equivalence relation.
The squares 1, 4, 9, 16, 25, 36, 49, 64, 81, 100 leave remainders 1, 4, 4, 1, 0, 1, 4, 4, 1, 0 on division by 5, and \((a, b) \in R\) exactly when \(a^{2}\) and \(b^{2}\) leave the same remainder.
So \([1] = \{1, 4, 6, 9\}\).
The equivalence classes are \([1] = \{1, 4, 6, 9\}\), \([2] = \{2, 3, 7, 8\}\) and \([5] = \{5, 10\}\): three disjoint classes whose union is \(A\).
Q20Case-based, hard, 5 marks
A housing society has one building with 4 floors and 10 flats on each floor. The flats are numbered 1 to 40: flats 1 to 10 are on the first floor, 11 to 20 on the second, 21 to 30 on the third and 31 to 40 on the fourth. Let \(F\) be the set of these 40 flats. The secretary keeps two records. In the first, a relation \(R\) in \(F\) is defined by: \((x, y) \in R\) if flats \(x\) and \(y\) are on the same floor. In the second, a function \(f: F \to \{1, 2, 3, 4\}\) gives the floor number of each flat. For parking, the society has 40 slots numbered P1 to P40, and a function \(g\) gives each flat its own slot, so that no two flats share a slot. Next year the society will build 5 more slots, P41 to P45, without changing the slot of any flat.
- (i)Write the equivalence class of flat 13 under \(R\). How many equivalence classes does \(R\) have? [1]
- (ii)Is \(f\) one-one? Is \(f\) onto? Give a reason. [1]
- (iii)Is \(g\), from \(F\) to the 40 slots P1 to P40, invertible? Give a reason. [1]
- (iv)After the 5 new slots are built, \(g\) is taken as a function from \(F\) to the 45 slots P1 to P45. Is \(g\) still invertible? Can any function from \(F\) to these 45 slots be onto? Justify both answers. [2]
Show answers
- (i)\([13] = \{11, 12, 13, \ldots, 20\}\), the flats on the second floor. \(R\) has 4 equivalence classes, one for each floor.
- (ii)\(f\) is not one-one, since \(f(1) = f(2) = 1\). It is onto, since each of the floors 1, 2, 3, 4 has flats, so each is the image of some flat.
- (iii)Yes. \(g\) is one-one, as no two flats share a slot, and onto, as 40 flats use 40 different slots, so every slot is the image of a flat. Being one-one and onto, \(g\) is invertible; \(g^{-1}\) tells which flat owns a given slot.
- (iv)\(g\) is still one-one, since no flat's slot changes, but it is not onto: P41 to P45 are not the image of any flat. So \(g\) is no longer invertible. No function from \(F\) to the 45 slots can be onto, because 40 flats have at most 40 different images, so at least 5 slots are always left out.