All Exams Test series for 1 year @ ₹349 only
Question

If f(x) = e |x| , then which one of the following is correct?

This question was previously asked in
NDA I 2021 GAT Previous Year Paper (18-Apr-2021)
The correct answer is

f'(0) does not exist.

Analyzing the Differentiability of \(f(x) = e^{|x|}\) at \(x=0\)

The question asks about the differentiability of the function \(f(x) = e^{|x|}\) at the point \(x=0\). To determine if a function is differentiable at a point, we need to check if the left-hand derivative (LHD) and the right-hand derivative (RHD) at that point exist and are equal.

Understanding the Function \(f(x) = e^{|x|}\)

The absolute value function \(|x|\) is defined as:

  • \(|x| = x\) if \(x \ge 0\)
  • \(|x| = -x\) if \(x < 0\)

Therefore, we can rewrite the function \(f(x) = e^{|x|}\) as a piecewise function:

\[ f(x) = \begin{cases} e^x & \text{if } x \ge 0 \\ e^{-x} & \text{if } x < 0 \end{cases} \]

First, let's check the value of the function at \(x=0\):

\[f(0) = e^{|0|} = e^0 = 1\]

Checking Differentiability at \(x=0\)

A function \(f(x)\) is differentiable at a point \(a\) if the limit

\[f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\] exists. For the limit to exist, the left-hand limit (LHL) and the right-hand limit (RHL) must exist and be equal.

In this case, we need to check differentiability at \(a=0\), so we evaluate:

\[f'(0) = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0} \frac{f(h) - 1}{h}\]

Calculating the Left-Hand Derivative (LHD) at \(x=0\)

The LHD is the limit as \(h\) approaches 0 from the left side (\(h < 0\)):

\[f'(0^-) = \lim_{h \to 0^-} \frac{f(h) - 1}{h}\]

Since \(h < 0\), we use the definition \(f(x) = e^{-x}\) for \(x < 0\). So, \(f(h) = e^{-h}\).

\[f'(0^-) = \lim_{h \to 0^-} \frac{e^{-h} - 1}{h}\]

Let \(k = -h\). As \(h \to 0^-\), \(k \to 0^+\). The limit becomes:

\[f'(0^-) = \lim_{k \to 0^+} \frac{e^{k} - 1}{-k} = - \lim_{k \to 0^+} \frac{e^k - 1}{k}\]

We know the standard limit \(\lim_{x \to 0} \frac{e^x - 1}{x} = 1\). Using this, we get:

\[f'(0^-) = - (1) = -1\]

Calculating the Right-Hand Derivative (RHD) at \(x=0\)

The RHD is the limit as \(h\) approaches 0 from the right side (\(h > 0\)):

\[f'(0^+) = \lim_{h \to 0^+} \frac{f(h) - 1}{h}\]

Since \(h > 0\), we use the definition \(f(x) = e^{x}\) for \(x \ge 0\). So, \(f(h) = e^{h}\).

\[f'(0^+) = \lim_{h \to 0^+} \frac{e^{h} - 1}{h}\]

This is the standard limit \(\lim_{x \to 0} \frac{e^x - 1}{x} = 1\). Using this, we get:

\[f'(0^+) = 1\]

Comparing LHD and RHD

For the derivative to exist at \(x=0\), the LHD must be equal to the RHD.

  • Left-Hand Derivative at \(x=0\) is \(-1\).
  • Right-Hand Derivative at \(x=0\) is \(1\).

Since \(f'(0^-) = -1\) and \(f'(0^+) = 1\), we have \(f'(0^-) \ne f'(0^+)\).

Because the left-hand derivative and the right-hand derivative at \(x=0\) are not equal, the derivative of \(f(x) = e^{|x|}\) at \(x=0\) does not exist.

Conclusion on Differentiability at \(x=0\)

Based on the calculations, the derivative \(f'(0)\) does not exist.

Let's examine the given options:

  • Option 1: \(f'(0) = 1\). This is incorrect, as the LHD is -1 and RHD is 1.
  • Option 2: \(f'(0) = -1\). This is incorrect, as the LHD is -1 and RHD is 1.
  • Option 3: \(f'(0) = 0\). This is incorrect.
  • Option 4: \(f'(0)\) does not exist. This matches our conclusion.

Revision Table: Key Concepts for Differentiability

Concept Definition Condition for Differentiability at \(a\)
Differentiability at a point Existence of the derivative \(f'(a)\) \(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\) exists
Left-Hand Derivative (LHD) \(\lim_{h \to 0^-} \frac{f(a+h) - f(a)}{h}\) LHD must exist
Right-Hand Derivative (RHD) \(\lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h}\) RHD must exist
Derivative Existence \(f'(a)\) exists LHD = RHD

Additional Information: Continuity and Differentiability

It is important to note the relationship between continuity and differentiability.

  • If a function is differentiable at a point, then it must be continuous at that point.
  • However, the converse is not true: a function can be continuous at a point but not differentiable at that point.

In this case, the function \(f(x) = e^{|x|}\) is continuous at \(x=0\).

  • \(\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} e^{-x} = e^0 = 1\)
  • \(\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} e^{x} = e^0 = 1\)
  • \(f(0) = e^{|0|} = e^0 = 1\)

Since \(\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0)\), the function is continuous at \(x=0\). However, as shown by the different LHD and RHD, the function is not differentiable at \(x=0\).

Points where the derivative does not exist, but the function is continuous, often correspond to 'sharp corners' or 'cusps' on the graph of the function. The graph of \(f(x) = e^{|x|}\) has a sharp point at \(x=0\).

Was this answer helpful?

Similar Questions

  1. If \({\rm{y}} = {\cos ^{ - 1}}\left( {\frac{{2{\rm{x}}}}{{1 + {{\rm{x}}^2}}}} \right)\) , then \(\frac{{{\rm{dy}}}}{{{\rm{dx}}}}\) is equal to

  2. What is the derivative of log 10 (5x 2+ 3) with respect to x?

  3. The derivative of In(x + sin x) with respect to (x + cos x) is

  4. If y = \(\frac{x \sqrt{x^2−16}}{2} − 8 \ln\left|x + \sqrt{x^2−16}\right|\) , then what is  \(\frac{\text{dy}}{\text{dx}}\)  equal to ?

  5. If e θϕ = c + 4θϕ, where c is an arbitrary constant and ϕ is a function of θ, then what is ϕ dθ equal to?     

  6. If \(\rm x^m y^n =a^{m+n}\) , then what is  \(\rm \dfrac{dy}{dx}\)  equal to?

  7. What is the derivative of sec 2(tan -1 x) with respect to x?

  8. A function is defined in (0, ∞) by \( f(x) = \begin{cases} 1-x^2 & for& , 0 < x \leq 1 \quad \\ In \ x & for &, 1 < x \leq 2 \\ In \ 2 - 1 + 0.5x & for &, 2 < x < \infty \end{cases} \)

    Which one of the following is correct in respect of the derivative of the function, i.e. f’(x)?
  9. Let f(x + y) = f(x) f(y) for all x and y. Then what is f’(5) equal to [where f’(x) is the derivative of f(x)]?

  10. Which of the following statements are not correct?

    1. y as a function of x is not defined for all real x.

    2. y as a function of x is not continuous at x = 0

    3. y as a function of x is differentiable for all x.

    Select the correct answer using the code given below


Important Questions from Evaluation of derivatives

  1. Differentiate {-log (log x), x > 1} with respect to x

  2. Find the derivation of f(x) = 1/x2

  3. The derivative of the function f(x) = -3x2 + 6x - 4 is given by:
  4. Differential coefficient of log10 x with respect to logx 10 is

  5. The derivatives of (x3 + ex + 3x + cot x) with respect to x is

Need Expert Advice?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
501 Tests 1 Tests Free
749 Attempts
4.7(128)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App