For a set A = {1, 2, 3}, the following functions are defined from A to A. Which of these functions has an inverse?
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(f_1\) = {(1, 1), (2, 2), (3, 3)}
A function has an inverse if and only if it is one-one and onto (a bijection).
\(f_1\) sends 1, 2, 3 to 1, 2, 3 respectively. Different elements have different images, and every element of A is an image. So \(f_1\) is a bijection (the identity function), and it has an inverse.
Why the other options are incorrect
Option (2) \(f_2\) = {(1, 1), (1, 2), (3, 3)} — Incorrect. It is not even a function: 1 has two images, 1 and 2, and 2 has no image.
Option (3) \(f_3\) = {(1, 2), (2, 3), (3, 2)} — Incorrect. 1 and 3 both go to 2, so it is not one-one; 1 is not an image, so it is not onto.
Option (4) \(f_4\) = {(1, 3), (2, 3), (3, 1)} — Incorrect. 1 and 2 both go to 3, so it is not one-one; 2 is not an image, so it is not onto.