JEE Main 2024 · 8 April · evening · Single correct · +4 / −1

Let f(x)={-a, if, -a ≤ x ≤ 0; x+a, if, 0< x ≤ a where a> 0 and g(x)=(f(|x|)-|f(x)|) / 2. Then the function g:[-a, a] →[-a, a] is

  1. (a) neither one-one nor onto.
  2. (b) both one-one and onto.
  3. (c) one-one.
  4. (d) onto
Answer and solution

Answer (a) neither one-one nor onto.

Solution

Maths sir · 4 steps

Split at x = 0 and find g piece by piece; once you see where it is flat, both answers fall out.

  1. Work out the pieces. Take each part of [-a, a] separately. On it, write down f(|x|) and |f(x)|, then halve their difference. Be careful at x = 0: there f(0) = -a, which is not 0 + a.
    Intervalf(|x|)|f(x)|g(x)
    -a ≤ x < 0|x| + a = -x + a|-a| = a-x/2, takes values in (0, a/2]
    x = 0f(0) = -aa-a
    0 < x ≤ ax + ax + a0 for every such x
  2. Not one-one. g(x) = 0 for every x in (0, a]. For example, g(a/2) = g(a) = 0. Different inputs give the same output, so g is not one-one.
  3. Not onto. The range of g is {-a} ∪ {0} ∪ (0, a/2]. Values such as a or -a/2 are never reached, so the range is not all of [-a, a] and g is not onto.
  4. So. g is neither one-one nor onto, which is option (a).

The idea to keep. For a piecewise function, write it out explicitly on each interval first. A flat piece kills one-one at once, and the union of the piece ranges tells you about onto.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Relations & Functions (Basic)

Asked about 140 times in JEE Main since 2020. This question is from 2024.