Skip to main content

Differentiation MCQ: If f(x)= x e^-((1)/(|x|)+1/x) &, x ≠ 0 0 &, x=0…

JEE · Mathematics · Differentiation

1 Medium +4 | -1 Analyzing
If f(x)={xe−(1∣x∣+1x),x≠00,x=0f(x)=\left\{\begin{array}{ll}x e^{-\left(\frac{1}{|x|}+\frac{1}{x}\right)} & , x \neq 0 \\ 0 & , x=0\end{array}\right. then f(x)\mathrm{f}(\mathrm{x}) is
View answer and explanation
Correct option: C
continuous for all xx but not differentiable at x=0x=0
Option C is correct because the function is continuous for all x but not differentiable at x=0 due to unequal left-hand and right-hand derivatives.
Solution approach
  1. Correct Answer + Core Reason: continuous for all xx but not differentiable at x=0x=0. The function is continuous everywhere, but the left and right-hand derivatives at x=0x=0 are not equal.

    Step-by-Step Solution:

    Step 1: Given f(x) = \begincases xe-(1|x| + 1x), & x ≠ 0 0, & x = 0 \endcases.

    Step 2: Rewrite f(x)f(x) as a piecewise function:\nFor x>0x > 0, ∣x∣=x|x| = x, so f(x)=xe−(1x+1x)=xe−2xf(x) = xe^{-\left(\frac{1}{x} + \frac{1}{x}\right)} = xe^{-\frac{2}{x}}.\nFor x<0x < 0, ∣x∣=−x|x| = -x, so f(x)=xe−(−1x+1x)=xe0=xf(x) = xe^{-\left(-\frac{1}{x} + \frac{1}{x}\right)} = xe^0 = x.\nThus, f(x) = \begincases xe-2x, & x > 0 0, & x = 0 x, & x < 0 \endcases.

    Step 3: Check continuity at x=0x = 0:\nRHL = lim⁡x→0+xe−2x=lim⁡x→0+xe2x=0\lim_{x \rightarrow 0^+} xe^{-\frac{2}{x}} = \lim_{x \rightarrow 0^+} \frac{x}{e^{\frac{2}{x}}} = 0\nLHL = lim⁡x→0−x=0\lim_{x \rightarrow 0^-} x = 0\nAlso, f(0)=0f(0) = 0. Since LHL = RHL = f(0)f(0), f(x)f(x) is continuous at x=0x = 0.

    Step 4: Check differentiability at x=0x = 0:\nRHD = lim⁡h→0+f(0+h)−f(0)h=lim⁡h→0+he−2h−0h=lim⁡h→0+e−2h=0\lim_{h \rightarrow 0^+} \frac{f(0 + h) - f(0)}{h} = \lim_{h \rightarrow 0^+} \frac{he^{-\frac{2}{h}} - 0}{h} = \lim_{h \rightarrow 0^+} e^{-\frac{2}{h}} = 0\nLHD = lim⁡h→0−f(0+h)−f(0)h=lim⁡h→0−h−0h=1\lim_{h \rightarrow 0^-} \frac{f(0 + h) - f(0)}{h} = \lim_{h \rightarrow 0^-} \frac{h - 0}{h} = 1\nSince LHD ≠\neq RHD, f(x)f(x) is not differentiable at x=0x = 0.

    Step 5: Therefore, f(x)f(x) is continuous for all xx but not differentiable at x=0x = 0.

    Why other options are wrong:
    - Option A: discontinuous every where is incorrect because f(x)f(x) is continuous at x=0x = 0.
    - Option B: continuous as well as differentiable for all xx is incorrect because f(x)f(x) is not differentiable at x=0x = 0.
    - Option D: neither differentiable nor continuous at x=0x=0 is incorrect because f(x)f(x) is continuous at x=0x = 0.

    Key Concepts:
    - Continuity
    - Differentiability
    - Limits

    Memory Aids:
    - Remember the definitions of continuity and differentiability.

    Quick Tips:
    - When dealing with exponential functions, consider the limits as xx approaches infinity.

More Questions from Differentiation

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.