JEE Main 2024 · 1 February · morning · Single correct · +4 / −1
Let f: R → R and g: R → R be defined as
f(x)={log ₑ x,, x>0; e⁻ˣ,, x ≤ 0 and
g(x)={x,, x ≥ 0; eˣ,, x<0. Then, gof : R → R is :
- (a) one-one but not onto
- (b) neither one-one nor onto
- (c) onto but not one-one
- (d) both one-one and onto
Answer and solution
Answer (b) neither one-one nor onto
Solution
Maths sir · 4 steps
Split x into three ranges, work out gof on each, then put the outputs side by side.
- Where f lands. For x ≤ 0, f(x) = e⁻ˣ ≥ 1. For x > 0, f(x) = ln x, which is negative when 0 < x < 1 and non-negative when x ≥ 1. This sign decides which rule of g applies.
Range of x f(x) Rule of g used g(f(x)) and its values x ≤ 0 e⁻ˣ ≥ 1 g(y) = y e⁻ˣ, takes values in [1, ∞) 0 < x < 1 ln x < 0 g(y) = eʸ eˡⁿˣ = x, takes values in (0, 1) x ≥ 1 ln x ≥ 0 g(y) = y ln x, takes values in [0, ∞) - Not one-one. The first and third rows overlap on [1, ∞). For example, x = 0 gives e⁰ = 1 and x = e gives ln e = 1. Two different inputs give the same output 1.
- Not onto. Together the outputs cover only [0, ∞). No negative real number is ever reached, so the range is not all of R.
- So. g ° f is neither one-one nor onto, which is option (b).
The idea to keep. For a composition of piecewise functions, split the domain so that each piece of f sends x into a single piece of g. Then compare the ranges of all the pieces for overlaps and gaps.
Answer from the NTA final answer key. Solution by PrepWiser.