Example 1
Question: Show that the function \( f : \mathbb{R} \rightarrow \mathbb{R} \) defined by \( f(x) = \dfrac{3x}{1 + x^2} \) is neither one-one nor onto. Also, find the set A so that \( f : \mathbb{R} \rightarrow A \) becomes an onto function.
Solution: Step 1: Check whether f is one-one. Suppose \( f(a) = f(b) \) for some \( a, b \in \mathbb{R} \). Then: \[ \frac{3a}{1+a^2} = \frac{3b}{1+b^2} \] Cross-multiplying: \[ 3a(1+b^2) = 3b(1+a^2) \] \[ 3a + 3ab^2 = 3b + 3ba^2 \] \[ 3a - 3b = 3ba^2 - 3ab^2 \] \[ 3(a - b) = 3ab(a - b) \] \[ 3(a-b)(1 - ab) = 0 \] So either \( a = b \) or \( ab = 1 \). If \( ab = 1 \), then \( b = \dfrac{1}{a} \) (with \( a \ne 0 \)), and \( a \ne b \) in general. For example, take \( a = 2 \) and \( b = \dfrac{1}{2} \): \[ f(2) = \frac{3 \cdot 2}{1 + 4} = \frac{6}{5}, \quad f\!\left(\frac{1}{2}\right) = \frac{3 \cdot \frac{1}{2}}{1 + \frac{1}{4}} = \frac{\frac{3}{2}}{\frac{5}{4}} = \frac{3}{2} \times \frac{4}{5} = \frac{6}{5} \] Since \( 2 \ne \dfrac{1}{2} \) but \( f(2) = f\!\left(\dfrac{1}{2}\right) \), f is NOT one-one. Step 2: Check whether f is onto. Let \( y = \dfrac{3x}{1+x^2} \). Solving for x: \[ y(1+x^2) = 3x \] \[ yx^2 - 3x + y = 0 \] For real x, the discriminant must be non-negative: \[ \Delta = 9 - 4y^2 \ge 0 \] \[ 4y^2 \le 9 \] \[ y^2 \le \frac{9}{4} \] \[ -\frac{3}{2} \le y \le \frac{3}{2} \] So the range of f is \( \left[-\dfrac{3}{2},\, \dfrac{3}{2}\right] \), which is a proper subset of \( \mathbb{R} \). For example, \( y = 2 \in \mathbb{R} \) has no pre-image. Hence f is NOT onto as a function from \( \mathbb{R} \) to \( \mathbb{R} \). Step 3: Find A so that f becomes onto. For \( f : \mathbb{R} \rightarrow A \) to be onto, the codomain A must equal the range of f: \[ A = \left[-\frac{3}{2},\, \frac{3}{2}\right] \]
Answer: f is neither one-one nor onto on \( \mathbb{R} \). For \( f : \mathbb{R} \rightarrow A \) to be onto, \( A = \left[-\dfrac{3}{2},\, \dfrac{3}{2}\right] \).
Example 2
Question: Show that the function \( f : \mathbb{R} \rightarrow \mathbb{R} \) defined by \( f(x) = \dfrac{x}{1 + x^2} \) is neither one-one nor onto. Also, determine the set A so that \( f : \mathbb{R} \rightarrow A \) is an onto function.
Solution: Step 1: Check whether f is one-one. Let \( f(a) = f(b) \) for \( a, b \in \mathbb{R} \). Then: \[ \frac{a}{1+a^2} = \frac{b}{1+b^2} \] \[ a(1+b^2) = b(1+a^2) \] \[ a + ab^2 = b + ba^2 \] \[ a - b = ba^2 - ab^2 = ab(a-b) \] \[ (a-b)(1 - ab) = 0 \] So either \( a = b \) or \( ab = 1 \). If \( ab = 1 \), we can have \( a \ne b \). For example, take \( a = 3 \) and \( b = \dfrac{1}{3} \): \[ f(3) = \frac{3}{1+9} = \frac{3}{10}, \quad f\!\left(\frac{1}{3}\right) = \frac{\frac{1}{3}}{1+\frac{1}{9}} = \frac{\frac{1}{3}}{\frac{10}{9}} = \frac{1}{3} \times \frac{9}{10} = \frac{3}{10} \] Since \( 3 \ne \dfrac{1}{3} \) yet \( f(3) = f\!\left(\dfrac{1}{3}\right) = \dfrac{3}{10} \), f is NOT one-one. Step 2: Check whether f is onto. Let \( y = \dfrac{x}{1+x^2} \). Rearranging: \[ y(1+x^2) = x \] \[ yx^2 - x + y = 0 \] For real solutions in x (with \( y \ne 0 \)), the discriminant must be non-negative: \[ \Delta = 1 - 4y^2 \ge 0 \] \[ 4y^2 \le 1 \] \[ y^2 \le \frac{1}{4} \] \[ -\frac{1}{2} \le y \le \frac{1}{2} \] At \( y = 0 \), clearly \( x = 0 \) is a solution, so \( 0 \) is in the range. Thus the range of f is \( \left[-\dfrac{1}{2},\, \dfrac{1}{2}\right] \), which is strictly smaller than \( \mathbb{R} \). For instance, \( y = 1 \) is in \( \mathbb{R} \) but has no pre-image. Hence f is NOT onto as a map to \( \mathbb{R} \). Step 3: Find A so that f becomes onto. For \( f : \mathbb{R} \rightarrow A \) to be onto, we set A equal to the range of f: \[ A = \left[-\frac{1}{2},\, \frac{1}{2}\right] \]
Answer: f is neither one-one nor onto on \( \mathbb{R} \). For \( f : \mathbb{R} \rightarrow A \) to be onto, \( A = \left[-\dfrac{1}{2},\, \dfrac{1}{2}\right] \).