RankRizz
JEE MAIN 2024 · 05 APR S2+4 / −1MEDIUMTRANSCRIBED

JEE Main 2024 Mathematics question — Composite functions

Let f,g:R→Rf, g : \mathbb{R} \rightarrow \mathbb{R} be defined as : f(x)=∣x−1∣f(x) = |x - 1| and g(x)={ex,x≥0x+1,x≤0g(x) = \begin{cases} e^x, & x \geq 0 \\ x + 1, & x \leq 0 \end{cases}. Then the function f(g(x))f(g(x)) is

SOLUTION

Given f(x)=∣x−1∣f(x) = |x - 1| and g(x)={ex,x≥0x+1,x≤0g(x) = \begin{cases} e^x, & x \geq 0 \\ x + 1, & x \leq 0 \end{cases}

We need to analyze f(g(x))=∣g(x)−1∣f(g(x)) = |g(x) - 1|.

Case 1: x≥0x \geq 0

g(x)=ex≥1g(x) = e^x \geq 1, so f(g(x))=∣ex−1∣=ex−1f(g(x)) = |e^x - 1| = e^x - 1.

Case 2: x≤0x \leq 0

g(x)=x+1g(x) = x + 1. When x=0x = 0, g(0)=1g(0) = 1. When x<0x < 0, g(x)<1g(x) < 1.

f(g(x))=∣x+1−1∣=∣x∣=−xf(g(x)) = |x + 1 - 1| = |x| = -x (since x≤0x \leq 0).

So f(g(x))={ex−1,x≥0−x,x≤0f(g(x)) = \begin{cases} e^x - 1, & x \geq 0 \\ -x, & x \leq 0 \end{cases}

At x=0x = 0: e0−1=0e^0 - 1 = 0 and −0=0-0 = 0. Continuous.

One-one check:

For x≥0x \geq 0: ex−1e^x - 1 is strictly increasing from 0 to ∞\infty.

For x≤0x \leq 0: −x-x is strictly decreasing (as a function of x) from ∞\infty to 0.

Both parts give non-negative outputs, and both give value 0 at x=0x = 0. For any c>0c > 0, there are two values of xx giving f(g(x))=cf(g(x)) = c: one positive (from ex−1=ce^x - 1 = c) and one negative (from −x=c-x = c, i.e., x=−cx = -c). So the function is not one-one.

Onto check:

The range of f(g(x))f(g(x)) is [0,∞)[0, \infty), but the codomain is R\mathbb{R}. Negative values are never attained. So it is not onto.

The correct answer is Option (1): neither one-one nor onto.

Tagged Composite functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.

ChapterFunctions
TopicComposite functions
TypeMultiple choice