Mathematics · Functions

JEE Main 2024 — 1 Feb — Morning Shift — Question 11

Let f:R→Rf:\mathbb{R}\to\mathbb{R} and g:R→Rg:\mathbb{R}\to\mathbb{R} be defined by

f(x)={log⁡ex,x>0,e−x,x≤0,g(x)={x,x≥0,ex,x<0.f(x)=\begin{cases}\log_e x, & x>0,\\ e^{-x}, & x\le 0,\end{cases}\qquad g(x)=\begin{cases}x, & x\ge 0,\\ e^x, & x<0.\end{cases}

Then g∘f:R→Rg\circ f:\mathbb{R}\to\mathbb{R} is:

  1. Option A:

    one-one but not onto

  2. Option B:

    neither one-one nor onto

    Correct
  3. Option C:

    onto but not one-one

  4. Option D:

    both one-one and onto

Answer: B

Step-by-step solution

figure

For x>0x>0, f(x)=ln⁡xf(x)=\ln x.

If 0000, so g(f(x))=e−xg(f(x))=e^{-x}.

Thus g(f(x))=e−xg(f(x))=e^{-x} for x≤0x\le0, xx for 0<x<10<x<1, and ln⁡x\ln x for x≥1x\ge1.

Range is [0,∞)[0,\infty), so it is not onto; values in (0,1)(0,1) and [1,∞)[1,\infty) are hit more than once, so it is not one-one.

Answer: B

Answer key and solution verified before publishing.

Practise Functions

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2024
Subject
Mathematics
Chapter
Functions
Topic
One-One, many-one, onto, into, bijective functions