SOLVER7 Study. Nothing Else.
2024 Board Paper Q32(a)

Show that a function \(f:R\rightarrow R\) defined by \(f(x)=\dfrac{2x}{1+x^2}\) is neither one-one nor onto. Further, find set A so that the given function \(f : R\rightarrow A\) becomes an onto function.

CBSE Class 12 Maths · Relations and Functions

Solution

👶 Simple Explanation

Simple Explanation

Imagine a machine that takes a number and gives back a result. If two different numbers go in but the same result comes out, the machine is not one-one. For our machine \( f(x) = \dfrac{2x}{1+x^2} \), putting in 2 and putting in \( \tfrac{1}{2} \) both give \( \tfrac{4}{5} \). Also, the machine can never produce every real number — it is stuck between \( -1 \) and \( 1 \). Shrinking the target set to \( [-1, 1] \) fixes the onto problem perfectly.

Answer: The function \( f(x) = \dfrac{2x}{1+x^2} \) is not one-one (since \( f(2) = f\left(\tfrac{1}{2}\right) = \tfrac{4}{5} \)) and not onto (its range is \( [-1,1] \), not all of \( \mathbb{R} \)). Taking \( A = [-1, 1] \) makes \( f:\mathbb{R} \to A \) an onto function.

📖 Showing f(x) = 2x/(1+x²) is Neither One-One Nor Onto

Detailed Explanation

A function \( f:A \to B \) is one-one (injective) if different inputs always give different outputs, that is \( f(a) = f(b) \Rightarrow a = b \). It is onto (surjective) if every element of the codomain \( B \) is the image of at least some element of \( A \), i.e. the range equals the codomain. To disprove one-one we just need two different inputs giving the same output. To disprove onto we find at least one value in the codomain that is never attained. Finally, to make a function onto without changing the rule, we simply take the codomain \( A \) equal to the range of \( f \).

Formula Used

\( f(x) = \dfrac{2x}{1+x^2} \); one-one means \( f(a)=f(b) \Rightarrow a=b \); onto means range = codomain.

Solution

  1. Step 1: Test for one-one: Take two convenient inputs and check their images. Compute \( f(2) \) and \( f\left(\tfrac{1}{2}\right) \). \[ f(2) = \frac{2(2)}{1+2^2} = \frac{4}{5} \] \[ f\left(\tfrac{1}{2}\right) = \frac{2\left(\tfrac{1}{2}\right)}{1+\left(\tfrac{1}{2}\right)^2} = \frac{1}{1+\tfrac{1}{4}} = \frac{1}{\tfrac{5}{4}} = \frac{4}{5} \]
  2. Step 2: Conclude not one-one: We have \( f(2) = f\left(\tfrac{1}{2}\right) = \dfrac{4}{5} \) but \( 2 \ne \tfrac{1}{2} \). Two different inputs give the same output. Hence \( f \) is not one-one.
  3. Step 3: Find the range to test onto: Let \( y = \dfrac{2x}{1+x^2} \) and solve for \( x \). Cross-multiplying, \[ y(1+x^2) = 2x \] which rearranges to \[ y x^2 - 2x + y = 0 \] This is a quadratic in \( x \).
  4. Step 4: Apply the real-root condition: For \( x \) to be real (with \( y \ne 0 \)), the discriminant must be \( \ge 0 \). \[ (-2)^2 - 4(y)(y) \ge 0 \] \[ 4 - 4y^2 \ge 0 \] \[ 1 - y^2 \ge 0 \Rightarrow -1 \le y \le 1 \] When \( y = 0 \), \( x = 0 \) gives \( f(0)=0 \), so \( y=0 \) is also attained. Thus the range is \( [-1, 1] \).
  5. Step 5: Conclude not onto: The codomain is \( \mathbb{R} \), but the range is only \( [-1,1] \). For example, \( y = 2 \) is in the codomain but is never obtained, since \( 2 \notin [-1,1] \). Hence \( f \) is not onto.
  6. Step 6: Choose set A to make f onto: A function becomes onto when its codomain equals its range. Since the range of \( f \) is \( [-1,1] \), take \[ A = [-1, 1] \] Then \( f:\mathbb{R} \to [-1,1] \) is onto.

Final Answer

The function \( f(x) = \dfrac{2x}{1+x^2} \) is not one-one (since \( f(2) = f\left(\tfrac{1}{2}\right) = \tfrac{4}{5} \)) and not onto (its range is \( [-1,1] \), not all of \( \mathbb{R} \)). Taking \( A = [-1, 1] \) makes \( f:\mathbb{R} \to A \) an onto function.

Common Mistake

A common mistake is forgetting to check the case \( y = 0 \) separately when solving \( y x^2 - 2x + y = 0 \), since dividing by \( y \) or applying the discriminant assumes \( y \ne 0 \). Also, students often write \( A = (-1,1) \) with open brackets, but the endpoints \( \pm 1 \) are attained (at \( x = \pm 1 \)), so the range is the closed interval \( [-1,1] \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Choose two test inputs to check one-one: Pick \( x = 2 \) and \( x = \dfrac{1}{2} \), which are clearly different values. Reason: To disprove one-one, we only need to exhibit a single pair of distinct inputs that share the same output.
  2. Step 2: Compute f(2): Substitute \( x = 2 \) into the formula: \[ f(2) = \frac{2 \times 2}{1 + 2^2} = \frac{4}{1 + 4} = \frac{4}{5} \] Reason: Evaluating the function at the chosen input gives a concrete output to compare.
  3. Step 3: Compute f(1/2): Substitute \( x = \dfrac{1}{2} \) into the formula: \[ f\!\left(\frac{1}{2}\right) = \frac{2 \times \dfrac{1}{2}}{1 + \left(\dfrac{1}{2}\right)^2} = \frac{1}{1 + \dfrac{1}{4}} = \frac{1}{\dfrac{5}{4}} = \frac{4}{5} \] Reason: The two outputs are identical even though the inputs differ, which is enough to conclude the function is not one-one.
  4. Step 4: Conclude not one-one: We found \( f(2) = f\!\left(\dfrac{1}{2}\right) = \dfrac{4}{5} \) yet \( 2 \ne \dfrac{1}{2} \). Reason: By definition, a function fails to be injective whenever two distinct domain elements map to the same image, which is exactly what happened here.
  5. Step 5: Set up the equation to find the range: Let \( y = \dfrac{2x}{1 + x^2} \) and cross-multiply to get \[ y(1 + x^2) = 2x \] Rearranging gives the quadratic \[ y x^2 - 2x + y = 0 \] Reason: Treating \( x \) as an unknown and \( y \) as a parameter lets us determine which values of \( y \) are actually attainable.
  6. Step 6: Apply the discriminant condition: For a real solution in \( x \) to exist, the discriminant of the quadratic must be non-negative: \[ \Delta = (-2)^2 - 4(y)(y) \ge 0 \] \[ 4 - 4y^2 \ge 0 \] \[ y^2 \le 1 \] \[ -1 \le y \le 1 \] Reason: A real value \( y \) belongs to the range of \( f \) if and only if the corresponding equation in \( x \) has at least one real solution.
  7. Step 7: Conclude not onto and identify the correct codomain: The range of \( f \) is \( [-1, 1] \), which is strictly smaller than the declared codomain \( \mathbb{R} \). For example, \( y = 2 \) is never achieved. Hence \( f : \mathbb{R} \to \mathbb{R} \) is not onto. However, if we redefine the codomain as \( A = [-1, 1] \), then every element of \( A \) is hit by some real \( x \), so \( f : \mathbb{R} \to [-1, 1] \) becomes an onto function. Reason: Making the codomain equal to the range is the standard way to turn a non-surjective function into a surjective one without altering the rule.

Final Answer

The function \( f(x) = \dfrac{2x}{1+x^2} \) is not one-one (since \( f(2) = f\left(\tfrac{1}{2}\right) = \tfrac{4}{5} \)) and not onto (its range is \( [-1,1] \), not all of \( \mathbb{R} \)). Taking \( A = [-1, 1] \) makes \( f:\mathbb{R} \to A \) an onto function.

Common Mistake

One common mistake: students sometimes try to prove a function is not one-one by setting f(a) = f(b) and then doing algebra — but if you cannot derive a contradiction, you must also check whether the algebra itself admits extra solutions (like a = 1/b here), rather than assuming the absence of a contradiction proves one-one.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Check one-one: \[ f(2) = \frac{2(2)}{1+4} = \frac{4}{5}, \qquad f\!\left(\frac{1}{2}\right) = \frac{2 \cdot \frac{1}{2}}{1+\frac{1}{4}} = \frac{1}{\frac{5}{4}} = \frac{4}{5} \] Since \( f(2) = f\!\left(\dfrac{1}{2}\right) \) but \( 2 \ne \dfrac{1}{2} \), \( f \) is not one-one.
  2. Step 2: Find the range: Set \( y = \dfrac{2x}{1+x^2} \), giving the quadratic \[ y x^2 - 2x + y = 0 \] For real \( x \), discriminant \( \ge 0 \): \[ 4 - 4y^2 \ge 0 \implies y^2 \le 1 \implies y \in [-1,1] \] Range of \( f \) is \( [-1,1] \ne \mathbb{R} \), so \( f \) is not onto.
  3. Step 3: Make \( f \) onto: Take \( A = [-1,1] \). Then \( f:\mathbb{R} \to A \) is onto, since range \( = A \).

Answer: The function \( f(x) = \dfrac{2x}{1+x^2} \) is not one-one (since \( f(2) = f\left(\tfrac{1}{2}\right) = \tfrac{4}{5} \)) and not onto (its range is \( [-1,1] \), not all of \( \mathbb{R} \)). Taking \( A = [-1, 1] \) makes \( f:\mathbb{R} \to A \) an onto function.

➕ More Examples

More Examples

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] \).

🎯 Try a Similar Question

Try a Similar Question

Question: Let \( f : \mathbb{R} \to \mathbb{R} \) be defined by \( f(x) = \dfrac{3x}{1 + x^2} \). Show that \( f \) is neither one-one nor onto. Also, determine a set \( A \subseteq \mathbb{R} \) such that \( f : \mathbb{R} \to A \) becomes an onto function.

Solution

  1. Step 1: Check whether f is one-one: We test whether \( f(x_1) = f(x_2) \) necessarily implies \( x_1 = x_2 \). Consider \( x_1 = 3 \) and \( x_2 = \dfrac{1}{3} \). Then: \[ f(3) = \frac{3 \times 3}{1 + 9} = \frac{9}{10} \] and \[ f\!\left(\frac{1}{3}\right) = \frac{3 \times \dfrac{1}{3}}{1 + \dfrac{1}{9}} = \frac{1}{\dfrac{10}{9}} = \frac{9}{10}. \] Since \( f(3) = f\!\left(\dfrac{1}{3}\right) = \dfrac{9}{10} \) but \( 3 \ne \dfrac{1}{3} \), the function is NOT one-one.
  2. Step 2: Find the range of f: Set \( y = \dfrac{3x}{1 + x^2} \). Then \( y(1 + x^2) = 3x \), which gives the quadratic in \( x \): \[ yx^2 - 3x + y = 0. \] For \( y \ne 0 \), the discriminant must be non-negative for real \( x \): \[ \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}. \] For \( y = 0 \), \( x = 0 \) works. Therefore the range of \( f \) is \( \left[-\dfrac{3}{2},\, \dfrac{3}{2}\right] \).
  3. Step 3: Check whether f is onto: The codomain of \( f \) is \( \mathbb{R} \), but the range is only \( \left[-\dfrac{3}{2},\, \dfrac{3}{2}\right] \). Since \( \left[-\dfrac{3}{2},\, \dfrac{3}{2}\right] \subsetneq \mathbb{R} \), the function is NOT onto. For example, \( y = 2 \) has no pre-image in \( \mathbb{R} \).
  4. Step 4: Determine A so that f becomes onto: A function is onto if its codomain equals its range. Since the range of \( f \) is \( \left[-\dfrac{3}{2},\, \dfrac{3}{2}\right] \), we set \[ A = \left[-\frac{3}{2},\, \frac{3}{2}\right]. \] With this choice, every element of \( A \) has at least one pre-image in \( \mathbb{R} \), so \( f : \mathbb{R} \to A \) is an onto function.

Answer: The function \( f(x) = \dfrac{3x}{1+x^2} \) is not one-one (since \( f(3) = f\!\left(\dfrac{1}{3}\right) = \dfrac{9}{10} \)) and not onto (its range is \( \left[-\dfrac{3}{2}, \dfrac{3}{2}\right] \), not all of \( \mathbb{R} \)). Taking \( A = \left[-\dfrac{3}{2}, \dfrac{3}{2}\right] \) makes \( f : \mathbb{R} \to A \) an onto function.

Everything you get with Solver7

More questions in Relations and Functions