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
- (a) neither one-one nor onto.
- (b) both one-one and onto.
- (c) one-one.
- (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.
- 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.
Interval f(|x|) |f(x)| g(x) -a ≤ x < 0 |x| + a = -x + a |-a| = a -x/2, takes values in (0, a/2] x = 0 f(0) = -a a -a 0 < x ≤ a x + a x + a 0 for every such x - 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.
- 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.
- 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.