Skip to content
dronacharya.ai
JEE Main 2024MathematicsSingle correct+4 / -1

JEE Main 2024 Maths Q4: Types of functions

From the JEE Main 2024 · 5 Apr · Shift 2 paper. Try it, check your answer, then read the worked solution below.

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

Choose one option

Answer and worked solution

Try it yourself first, then check your working against this.

Answer (worked out; no official key)D

Worked solution

For x≥0x\ge0, g(x)=ex≥1g(x)=e^x\ge1, so f(g(x))=ex−1f(g(x))=e^x-1, which runs over [0,∞)[0,\infty).

For x≤0x\le0, g(x)=x+1g(x)=x+1, so f(g(x))=∣x∣=−xf(g(x))=|x|=-x, which also runs over [0,∞)[0,\infty).

Both branches have range [0,∞)[0,\infty), so f∘gf\circ g is not onto R\mathbb R; and values are repeated between the branches (for example f(g(0))=0=f(g(0))f(g(0))=0=f(g(0)) and f(g(ln⁡2))=1=f(g(−1))f(g(\ln2))=1=f(g(-1))), so it is not one-one.

(D) neither one-one nor onto.

Concepts used: composition of piecewise functions

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (Types of functions), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.