Skip to main content
Back to Limits, Continuity & Differentiability
JEE Main 2023
Limits, Continuity & Differentiability
Limits, Continuity and Differentiability
Hard

Question

Consider the function f:(0,)Rf:(0, \infty) \rightarrow \mathbb{R} defined by f(x)=elogexf(x)=e^{-\left|\log _e x\right|}. If mm and nn be respectively the number of points at which ff is not continuous and ff is not differentiable, then m+nm+n is

Options

Solution

Key Concepts and Formulas

  • Continuity of a function: A function f(x)f(x) is continuous at a point x=cx=c if limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c). For a function defined piecewise, continuity at the boundary points requires checking the left-hand limit, right-hand limit, and the function value at that point.
  • Differentiability of a function: A function f(x)f(x) is differentiable at a point x=cx=c if the limit of the difference quotient exists, i.e., limh0f(c+h)f(c)h\lim_{h \to 0} \frac{f(c+h) - f(c)}{h} exists. For piecewise functions, differentiability at boundary points requires checking if the left-hand derivative and the right-hand derivative are equal.
  • Properties of Logarithms and Exponentials:
    • logex=logex|\log_e x| = -\log_e x for 0<x<10 < x < 1
    • logex=logex|\log_e x| = \log_e x for x1x \geq 1
    • elogex=eloge(x1)=x1=1xe^{-\log_e x} = e^{\log_e (x^{-1})} = x^{-1} = \frac{1}{x}
    • elogex=xe^{\log_e x} = x

Step-by-Step Solution

Step 1: Analyze the function and rewrite it in a piecewise form. The given function is f(x)=elogexf(x) = e^{-|\log_e x|} for x(0,)x \in (0, \infty). We need to consider the definition of the absolute value of logex\log_e x.

  • If 0<x<10 < x < 1, then logex<0\log_e x < 0, so logex=logex|\log_e x| = -\log_e x.
  • If x1x \geq 1, then logex0\log_e x \geq 0, so logex=logex|\log_e x| = \log_e x.

Substituting these into the function definition: For 0<x<10 < x < 1: f(x)=e(logex)=elogex=xf(x) = e^{-(-\log_e x)} = e^{\log_e x} = x.

For x1x \geq 1: f(x)=e(logex)=eloge(x1)=x1=1xf(x) = e^{-(\log_e x)} = e^{\log_e (x^{-1})} = x^{-1} = \frac{1}{x}.

So, the piecewise definition of f(x)f(x) is: f(x)={xif 0<x<11xif x1f(x) = \begin{cases} x & \text{if } 0 < x < 1 \\ \frac{1}{x} & \text{if } x \geq 1 \end{cases}

Step 2: Determine points of discontinuity (find mm). A function is discontinuous at points where it is not defined, or where the limit does not exist, or where the limit does not equal the function value. The domain of f(x)f(x) is (0,)(0, \infty). The function is defined by elementary functions (xx and 1x\frac{1}{x}) over their respective intervals.

  • For 0<x<10 < x < 1, f(x)=xf(x) = x, which is a polynomial and is continuous everywhere.
  • For x>1x > 1, f(x)=1xf(x) = \frac{1}{x}, which is a rational function and is continuous everywhere except where the denominator is zero. Since x>1x > 1, the denominator is never zero.

We only need to check the continuity at the point where the definition of the function changes, which is x=1x=1. We need to check if limx1f(x)=limx1+f(x)=f(1)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1).

  • Left-hand limit: limx1f(x)=limx1x=1\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x = 1.
  • Right-hand limit: limx1+f(x)=limx1+1x=11=1\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} \frac{1}{x} = \frac{1}{1} = 1.
  • Function value at x=1x=1: f(1)=11=1f(1) = \frac{1}{1} = 1 (using the second case of the piecewise definition, x1x \geq 1).

Since the left-hand limit, the right-hand limit, and the function value at x=1x=1 are all equal to 1, the function f(x)f(x) is continuous at x=1x=1. Therefore, there are no points in the domain (0,)(0, \infty) where f(x)f(x) is not continuous. So, m=0m=0.

Step 3: Determine points of non-differentiability (find nn). A function is not differentiable at points where the left-hand derivative and the right-hand derivative are not equal, or where the function is not continuous. We already established that f(x)f(x) is continuous everywhere in its domain. So, we only need to check for differentiability at the point where the definition changes, x=1x=1.

We need to find the left-hand derivative (f(1)f'_-(1)) and the right-hand derivative (f+(1)f'_+(1)) at x=1x=1.

  • For 0<x<10 < x < 1, f(x)=xf(x) = x. The derivative is f(x)=ddx(x)=1f'(x) = \frac{d}{dx}(x) = 1. So, the left-hand derivative at x=1x=1 is f(1)=limx1f(x)=1f'_-(1) = \lim_{x \to 1^-} f'(x) = 1. Alternatively, using the definition of the derivative: f(1)=limh0f(1+h)f(1)hf'_-(1) = \lim_{h \to 0^-} \frac{f(1+h) - f(1)}{h}. For h<0h < 0 and small, 1+h1+h is in the interval (0,1)(0, 1). f(1+h)=1+hf(1+h) = 1+h. f(1)=1f(1) = 1. f(1)=limh0(1+h)1h=limh0hh=1f'_-(1) = \lim_{h \to 0^-} \frac{(1+h) - 1}{h} = \lim_{h \to 0^-} \frac{h}{h} = 1.

  • For x>1x > 1, f(x)=1xf(x) = \frac{1}{x}. The derivative is f(x)=ddx(x1)=x2=1x2f'(x) = \frac{d}{dx}(x^{-1}) = -x^{-2} = -\frac{1}{x^2}. So, the right-hand derivative at x=1x=1 is f+(1)=limx1+f(x)=112=1f'_+(1) = \lim_{x \to 1^+} f'(x) = -\frac{1}{1^2} = -1. Alternatively, using the definition of the derivative: f+(1)=limh0+f(1+h)f(1)hf'_+(1) = \lim_{h \to 0^+} \frac{f(1+h) - f(1)}{h}. For h>0h > 0 and small, 1+h1+h is in the interval (1,)(1, \infty). f(1+h)=11+hf(1+h) = \frac{1}{1+h}. f(1)=1f(1) = 1. f+(1)=limh0+11+h1h=limh0+1(1+h)1+hh=limh0+hh(1+h)=limh0+11+h=1f'_+(1) = \lim_{h \to 0^+} \frac{\frac{1}{1+h} - 1}{h} = \lim_{h \to 0^+} \frac{\frac{1 - (1+h)}{1+h}}{h} = \lim_{h \to 0^+} \frac{-h}{h(1+h)} = \lim_{h \to 0^+} \frac{-1}{1+h} = -1.

Since f(1)=1f'_-(1) = 1 and f+(1)=1f'_+(1) = -1, the left-hand derivative and the right-hand derivative are not equal at x=1x=1. Therefore, the function f(x)f(x) is not differentiable at x=1x=1. There is exactly one point (x=1x=1) where f(x)f(x) is not differentiable. So, n=1n=1.

Step 4: Calculate m+nm+n. We found m=0m=0 and n=1n=1. Therefore, m+n=0+1=1m+n = 0 + 1 = 1.

Common Mistakes & Tips

  • Incorrectly simplifying the absolute value: Ensure the conditions for logex|\log_e x| are correctly applied based on whether xx is less than 1 or greater than or equal to 1.
  • Forgetting to check continuity/differentiability at boundary points: For piecewise functions, the points where the definition changes are critical for checking continuity and differentiability.
  • Confusing continuity and differentiability: A function can be continuous at a point but not differentiable there (e.g., corners or cusps). Differentiability implies continuity, but continuity does not imply differentiability.

Summary

The function f(x)=elogexf(x) = e^{-|\log_e x|} was rewritten as a piecewise function: f(x)=xf(x) = x for 0<x<10 < x < 1 and f(x)=1xf(x) = \frac{1}{x} for x1x \geq 1. We analyzed the continuity by checking the limits at the boundary point x=1x=1. Since the left-hand limit, right-hand limit, and function value all matched, the function is continuous everywhere in its domain, so m=0m=0. We then analyzed differentiability by comparing the left-hand and right-hand derivatives at x=1x=1. The left-hand derivative was 1, and the right-hand derivative was -1. Since they are not equal, the function is not differentiable at x=1x=1, so n=1n=1. The sum m+nm+n is 0+1=10+1=1.

The final answer is 1\boxed{1}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions