Q. Let $f:\mathbb R\to\mathbb R$ and $g:\mathbb R\to\mathbb R$ be defined as $f(x)=\begin{cases}\log_ex,&x>0\\e^{-x},&x\le0\end{cases}$ and $g(x)=\begin{cases}x,&x\ge0\\e^x,&x<0\end{cases}$. Then, $g\circ f:\mathbb R\to\mathbb 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
Explanation

[Solution by Dr. Abubacker] For $x\le0$: $f=e^{-x}\ge1$, so $g\circ f=e^{-x}$ (range $[1,\infty)$). For $0<x<1$: $f=\ln x<0$, so $g\circ f=e^{\ln x}=x$ (range $(0,1)$). For $x\ge1$: $g\circ f=\ln x$ (range $[0,\infty)$). Values repeat (for example $\ln x=\frac12$ at $x=\sqrt e$ and $g\circ f=\frac12$ at $x=\frac12$), so it is not one-one. The range is $[0,\infty)\ne\mathbb R$, so it is not onto. Answer (2).

Dr. Abubacker
Reviewed by Dr. Abubacker

Physics Educator & NEET/JEE Specialist

Ph.D. in Physics with 19+ years of teaching experience.

Want to attempt the full paper?
View Full Paper Take Full Paper Online