Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
The function $y=e^{-|x|}$ is
MathematicsContinuity and DifferentiabilityJEE Main
Options:
  • A Continuous and differentiable at $x=0$
  • B Neither continuous nor differentiable at $x=0$
  • C Continuous but not differentiable at $x=0$
  • D Not continuous but differentiable at $x=0$
Solution:
2940 Upvotes Verified Answer
The correct answer is: Continuous but not differentiable at $x=0$
We have,
$f(x)= \begin{cases}e^{-x}, & x \geq 0 \\ e^x, & x \lt 0\end{cases}$
Clearly, $f(x)$ is continuous and differentiable for all non zero $x$.
Now $\lim _{x \rightarrow 0-} f(x)=\lim _{x \rightarrow 0} e^x=1 \quad \lim _{x \rightarrow 0^{+}} f(x)=\lim _{x \rightarrow 0^{+}} f(x) e^{-x}=1$
Also, $f(0)=e^0=1$. So, $f(x)$ is continuous for all $x$.
$($ LHD at $x=0)=\left(\frac{d}{d x}\left(e^x\right)\right)_{x=0}=1$
(RHD at $x=0)=\left(\frac{d}{d x}\left(e^{-x}\right)\right)_{x=0}=-1$
So, $f(x)$ is not differentiable at $x=0$.
Hence $f(x)=e^{-|x|}$ is everywhere continuous but not differentiable at $x=0$.

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.