QlarIITy

MathematicsJEE Main 2024 · 8 AprilSingle correct

Letf(x)={−a,if −a≤x≤0x+a,if 0<x≤af(x) = \begin{cases} -a, & \text{if } -a \leq x \leq 0 \\ x + a, & \text{if } 0 < x \leq a \end{cases}where a>0a > 0 and g(x)=(f(∣x∣)−∣f(x)∣)/2g(x) = (f(|x|) - |f(x)|)/2. Then the function g:[−a,a]→[−a,a]g : [-a, a] \to [-a, a] is

  1. Option A: neither one-one nor onto.
  2. Option B: onto.
  3. Option C: both one-one and onto.
  4. Option D: one-one.
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A function built from moduli is written out on each part of its domain before it is tested.

Concept refresher. A function f:A→Bf : A \to B is one-one when

f(x1)=f(x2)f(x_1) = f(x_2)

forces x1=x2x_1 = x_2, and onto when its range is the whole of BB.

Picture the situation. For 0<x≤a0 < x \leq a, f(∣x∣)=f(x)=x+af(|x|) = f(x) = x + a, which is positive, so g(x)=0g(x) = 0. At x=0x = 0, f(0)=−af(0) = -a and ∣f(0)∣=a|f(0)| = a, so g(0)=−ag(0) = -a. For −a≤x<0-a \leq x < 0, f(∣x∣)=−x+af(|x|) = -x + a and ∣f(x)∣=a|f(x)| = a, so g(x)=−x2g(x) = -\dfrac{x}{2}.

The graph of g on the x and y axes for x from −a to a. A straight segment falls from the filled point (−a, a/2) to a hollow dot at the origin. At x = 0 the value is the separate filled point (0, −a) on the y-axis. For positive x the graph lies along the x-axis, from the hollow dot at the origin to the filled point (a, 0).

Approach. Write the function piece by piece, then test for repeated values and for missing values.

  1. Step 1: Not one-one

    Every xx in (0,a](0, a] gives g(x)=0g(x) = 0, so many inputs share one value and gg is not one-one.

  2. Step 2: Not onto

    The values are 0, −a-a and the numbers −x2-\dfrac{x}{2} for −a≤x<0-a \leq x < 0, which fill (0,a2]\left(0, \dfrac{a}{2}\right]. So the range is {−a}∪[0,a2]\{-a\} \cup \left[0, \dfrac{a}{2}\right], which is not all of [−a,a][-a, a].

Answer. (A) neither one-one nor onto.

Sanity check. With a=2a = 2: g(1)=g(2)=0g(1) = g(2) = 0, g(0)=−2g(0) = -2 and g(−2)=1g(-2) = 1, so the largest value is 1, not 2.

Why the other options are wrong

  • (B) It is not onto: values between a2\dfrac{a}{2} and aa, and between −a-a and 0, are never taken.
  • (C) It fails both tests: all positive inputs give 0, and the value aa is never taken.
  • (D) It is not one-one, since every xx in (0,a](0, a] gives the same value 0.

Key takeaway

The trap. A single point of the domain can carry a value that no other point has.

How toppers think. They sketch the three pieces to see the range at a glance.

Remember. Range of gg: {−a}∪[0,a2]\{-a\} \cup \left[0, \dfrac{a}{2}\right]

More on Types of Functions