Check whether \(f : R –\{3\}\rightarrow R\) defined as \(f(x)=\dfrac{x-2}{x-3}\) is onto or not.
CBSE Class 12 Maths · Relations and Functions
CBSE Class 12 Maths · Relations and Functions
Imagine a vending machine where every button must give you a snack. If one button never gives anything, the machine is broken. A function works the same way: every output value in the codomain must be reachable from some input. Here, the function is \( f(x) = \frac{x-2}{x-3} \). When we try to get the output \( y = 1 \), no input works. So the value \( 1 \) is like a broken button. Because one output is unreachable, the function is NOT onto.
Answer: The range of \( f \) is \( \mathbb{R} - \{1\} \), while the codomain is \( \mathbb{R} \). Since these are not equal (the value \( y = 1 \) has no pre-image), the function \( f \) is NOT onto.
A function \( f : A \to B \) is called onto (or surjective) if every element of the codomain \( B \) has at least one pre-image in the domain \( A \). In other words, the range of \( f \) must equal the codomain \( B \). Here the codomain is \( \mathbb{R} \). To test whether \( f \) is onto, we take any element \( y \) in the codomain and try to solve \( f(x) = y \) for \( x \) in the domain \( \mathbb{R} - \{3\} \). If for some value of \( y \) there is no valid \( x \), then that \( y \) has no pre-image, and \( f \) is not onto.
\( f \) is onto \( \iff \) Range of \( f = \) Codomain. Given \( f(x) = \dfrac{x-2}{x-3} \).
The range of \( f \) is \( \mathbb{R} - \{1\} \), while the codomain is \( \mathbb{R} \). Since these are not equal (the value \( y = 1 \) has no pre-image), the function \( f \) is NOT onto.
A common mistake is to conclude \( f \) is onto just because we can solve for \( x \) in terms of \( y \), while forgetting to check the excluded value where the denominator \( 1 - y = 0 \). Missing \( y = 1 \) leads to the wrong conclusion.
The range of \( f \) is \( \mathbb{R} - \{1\} \), while the codomain is \( \mathbb{R} \). Since these are not equal (the value \( y = 1 \) has no pre-image), the function \( f \) is NOT onto.
One common mistake: students check only that the formula for \( x \) exists (denominator \( \ne 0 \)) but forget to verify whether the resulting \( x \) truly belongs to the domain \( \mathbb{R} - \\{3\\} \). Always confirm the pre-image satisfies every domain restriction before concluding the function is onto.
Answer: The range of \( f \) is \( \mathbb{R} - \{1\} \), while the codomain is \( \mathbb{R} \). Since these are not equal (the value \( y = 1 \) has no pre-image), the function \( f \) is NOT onto.
Question: Check whether the function \( f : \mathbb{R} - \{2\} \to \mathbb{R} \) defined as \( f(x) = \dfrac{x + 1}{x - 2} \) is onto or not.
Solution: We check whether every real number \( y \in \mathbb{R} \) has a pre-image in the domain \( \mathbb{R} - \{2\} \). Let \( y = f(x) \), i.e., \( y = \dfrac{x + 1}{x - 2} \). Solving for \( x \): \[ y(x - 2) = x + 1 \] \[ xy - 2y = x + 1 \] \[ xy - x = 2y + 1 \] \[ x(y - 1) = 2y + 1 \] \[ x = \frac{2y + 1}{y - 1}, \quad y \ne 1 \] Now, \( x \) is not defined when \( y = 1 \). That is, for \( y = 1 \in \mathbb{R} \), there is no \( x \in \mathbb{R} - \{2\} \) such that \( f(x) = 1 \). To verify: \[ \frac{x + 1}{x - 2} = 1 \Rightarrow x + 1 = x - 2 \Rightarrow 1 = -2 \] which is a contradiction. Since \( y = 1 \) in the codomain \( \mathbb{R} \) has no pre-image in the domain, the function is NOT onto.
Answer: f is NOT onto, since y = 1 has no pre-image in the domain.
Question: Check whether the function \( f : \mathbb{R} - \{-4\} \to \mathbb{R} \) defined as \( f(x) = \dfrac{2x + 3}{x + 4} \) is onto or not.
Solution: We check whether every real number \( y \in \mathbb{R} \) has a pre-image in the domain \( \mathbb{R} - \{-4\} \). Let \( y = f(x) \), i.e., \( y = \dfrac{2x + 3}{x + 4} \). Solving for \( x \): \[ y(x + 4) = 2x + 3 \] \[ xy + 4y = 2x + 3 \] \[ xy - 2x = 3 - 4y \] \[ x(y - 2) = 3 - 4y \] \[ x = \frac{3 - 4y}{y - 2}, \quad y \ne 2 \] Now, \( x \) is not defined when \( y = 2 \). That is, for \( y = 2 \in \mathbb{R} \), there is no \( x \in \mathbb{R} - \{-4\} \) such that \( f(x) = 2 \). To verify: \[ \frac{2x + 3}{x + 4} = 2 \Rightarrow 2x + 3 = 2x + 8 \Rightarrow 3 = 8 \] which is a contradiction. We should also verify that for all \( y \ne 2 \), the solution \( x = \dfrac{3 - 4y}{y - 2} \) lies in the domain, i.e., \( x \ne -4 \). Suppose \( x = -4 \): \[ \frac{3 - 4y}{y - 2} = -4 \Rightarrow 3 - 4y = -4(y - 2) = -4y + 8 \Rightarrow 3 = 8 \] which is again a contradiction, so \( x \) never equals \( -4 \). Thus for every \( y \ne 2 \), the pre-image exists in the domain. Since \( y = 2 \) in the codomain \( \mathbb{R} \) has no pre-image in the domain, the function is NOT onto.
Answer: f is NOT onto, since y = 2 has no pre-image in the domain.
Question: Check whether \( f : \mathbb{R} - \{5\} \to \mathbb{R} \) defined as \( f(x) = \dfrac{2x + 1}{x - 5} \) is onto or not.
Answer: The range of \( f \) is \( \mathbb{R} - \{2\} \), while the codomain is \( \mathbb{R} \). Since these are not equal (the value \( y = 2 \) has no pre-image in \( \mathbb{R} - \{5\} \)), the function \( f \) is NOT onto.