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 $f(x)=e^{-|x|}$ is
MathematicsContinuity and DifferentiabilityMHT CETMHT CET 2007
Options:
  • A continuous everywhere but not differentiable at $x=0$
  • B continuous and differentiable everywhere
  • C not continuous at $x=0$
  • D None of the above
Solution:
1921 Upvotes Verified Answer
The correct answer is: continuous everywhere but not differentiable at $x=0$
Given, $f(x)=\left\{\begin{array}{r}e^{-x}, x \geq 0 \\ e^{x}, x < 0\end{array}\right.$
$$
\begin{array}{l}
\text { LHL }=\lim _{x \rightarrow 0^{-}} f(x)=\lim _{x \rightarrow 0} e^{x}=1 \\
\text { RHL }=\lim _{x \rightarrow 0^{+}} f(x)=\lim _{x \rightarrow 0} e^{-x}=1 \\
\text { Also, } \quad f(0)=e^{0}=1
\end{array}
$$
$\because$
$$
\mathrm{LHL}=\mathrm{RHL}=f(0)
$$
$\therefore$ It is continuous for every value of $x$.
Now, LHD at $x=0$
$$
\left(\frac{d}{d x} e^{x}\right)_{x=0}=\left[e^{x}\right]_{x=0}=e^{0}=1
$$
RHD at $x=0$
$$
\left(\frac{d}{d x} e^{-x}\right)_{x=0}=\left[-e^{-x}\right]_{x=0}=-1
$$
So, $f(x)$ is not differentiable at $x=0$. Hence, $f(x)=e^{-\dashv x \mid}$ is continuous everywhere but not differentiable at $x=0$.
Alternative

Hence, it is clear from the figure that $f(x)$ is continuous everywhere and 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.