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

Question

Let f(x) = \left\{ {\matrix{ {{x^2}\sin \left( {{1 \over x}} \right)} & {,\,x \ne 0} \cr 0 & {,\,x = 0} \cr } } \right. Then at x=0x=0

Options

Solution

Key Concepts and Formulas

  • Continuity at a point x=ax=a: A function f(x)f(x) is continuous at x=ax=a if limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a).
  • Differentiability at a point x=ax=a: A function f(x)f(x) is differentiable at x=ax=a if the limit of the difference quotient exists: f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}.
  • Continuity of the derivative f(x)f'(x) at x=ax=a: The derivative f(x)f'(x) is continuous at x=ax=a if limxaf(x)=f(a)\lim_{x \to a} f'(x) = f'(a).
  • Limit of xnsin(1/x)x^n \sin(1/x) and xncos(1/x)x^n \cos(1/x) as x0x \to 0: For any n>0n > 0, limx0xnsin(1/x)=0\lim_{x \to 0} x^n \sin(1/x) = 0 and limx0xncos(1/x)=0\lim_{x \to 0} x^n \cos(1/x) = 0. This is because sin(1/x)1|\sin(1/x)| \le 1 and cos(1/x)1|\cos(1/x)| \le 1.

Step-by-Step Solution

Step 1: Check the continuity of f(x)f(x) at x=0x=0. To check for continuity at x=0x=0, we need to verify if limx0f(x)=f(0)\lim_{x \to 0} f(x) = f(0). Given f(0)=0f(0) = 0. Now, let's calculate the limit: limx0f(x)=limx0x2sin(1x)\lim_{x \to 0} f(x) = \lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) We know that 1sin(1x)1-1 \le \sin\left(\frac{1}{x}\right) \le 1 for all x0x \ne 0. Multiplying by x2x^2 (which is non-negative): x2x2sin(1x)x2-x^2 \le x^2 \sin\left(\frac{1}{x}\right) \le x^2 As x0x \to 0, we have limx0(x2)=0\lim_{x \to 0} (-x^2) = 0 and limx0x2=0\lim_{x \to 0} x^2 = 0. By the Squeeze Theorem, limx0x2sin(1x)=0\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0 Since limx0f(x)=0=f(0)\lim_{x \to 0} f(x) = 0 = f(0), the function f(x)f(x) is continuous at x=0x=0.

Step 2: Check the differentiability of f(x)f(x) at x=0x=0. To check for differentiability at x=0x=0, we need to evaluate the limit of the difference quotient: f(0)=limh0f(0+h)f(0)hf'(0) = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h} Substituting the function definition: f(0)=limh0f(h)0h=limh0h2sin(1h)hf'(0) = \lim_{h \to 0} \frac{f(h) - 0}{h} = \lim_{h \to 0} \frac{h^2 \sin\left(\frac{1}{h}\right)}{h} f(0)=limh0hsin(1h)f'(0) = \lim_{h \to 0} h \sin\left(\frac{1}{h}\right) Using the Squeeze Theorem again, since 1sin(1h)1-1 \le \sin\left(\frac{1}{h}\right) \le 1, we have: hhsin(1h)h-|h| \le h \sin\left(\frac{1}{h}\right) \le |h| As h0h \to 0, limh0(h)=0\lim_{h \to 0} (-|h|) = 0 and limh0h=0\lim_{h \to 0} |h| = 0. Therefore, by the Squeeze Theorem, f(0)=0f'(0) = 0 Since the limit exists, f(x)f(x) is differentiable at x=0x=0, and its derivative at x=0x=0 is 00.

Step 3: Find the derivative f(x)f'(x) for x0x \ne 0. For x0x \ne 0, f(x)=x2sin(1x)f(x) = x^2 \sin\left(\frac{1}{x}\right). We use the product rule and the chain rule to find f(x)f'(x). Let u=x2u = x^2 and v=sin(1x)v = \sin\left(\frac{1}{x}\right). Then dudx=2x\frac{du}{dx} = 2x. To find dvdx\frac{dv}{dx}, let w=1x=x1w = \frac{1}{x} = x^{-1}. Then dwdx=x2=1x2\frac{dw}{dx} = -x^{-2} = -\frac{1}{x^2}. So, dvdx=cos(w)dwdx=cos(1x)(1x2)=1x2cos(1x)\frac{dv}{dx} = \cos(w) \cdot \frac{dw}{dx} = \cos\left(\frac{1}{x}\right) \cdot \left(-\frac{1}{x^2}\right) = -\frac{1}{x^2}\cos\left(\frac{1}{x}\right). Using the product rule, f(x)=dudxv+udvdxf'(x) = \frac{du}{dx}v + u\frac{dv}{dx}: f(x)=(2x)sin(1x)+x2(1x2cos(1x))f'(x) = (2x) \sin\left(\frac{1}{x}\right) + x^2 \left(-\frac{1}{x^2}\cos\left(\frac{1}{x}\right)\right) f(x)=2xsin(1x)cos(1x)for x0f'(x) = 2x \sin\left(\frac{1}{x}\right) - \cos\left(\frac{1}{x}\right) \quad \text{for } x \ne 0

Step 4: Check the continuity of f(x)f'(x) at x=0x=0. For f(x)f'(x) to be continuous at x=0x=0, we need limx0f(x)=f(0)\lim_{x \to 0} f'(x) = f'(0). We found f(0)=0f'(0) = 0 in Step 2. Now, let's evaluate the limit of f(x)f'(x) as x0x \to 0: limx0f(x)=limx0(2xsin(1x)cos(1x))\lim_{x \to 0} f'(x) = \lim_{x \to 0} \left( 2x \sin\left(\frac{1}{x}\right) - \cos\left(\frac{1}{x}\right) \right) We can split this into two limits: limx02xsin(1x)limx0cos(1x)\lim_{x \to 0} 2x \sin\left(\frac{1}{x}\right) - \lim_{x \to 0} \cos\left(\frac{1}{x}\right) For the first limit, using the Squeeze Theorem as in Step 1: limx02xsin(1x)=0\lim_{x \to 0} 2x \sin\left(\frac{1}{x}\right) = 0 For the second limit, limx0cos(1x)\lim_{x \to 0} \cos\left(\frac{1}{x}\right): As xx approaches 00, 1x\frac{1}{x} approaches ±\pm \infty. The cosine function oscillates infinitely between 1-1 and 11 as its argument goes to infinity. Therefore, the limit limx0cos(1x)\lim_{x \to 0} \cos\left(\frac{1}{x}\right) does not exist. Since one part of the limit does not exist, the entire limit limx0f(x)\lim_{x \to 0} f'(x) does not exist.

Step 5: Conclude the continuity of f(x)f(x) and f(x)f'(x) at x=0x=0. From Step 1, we concluded that f(x)f(x) is continuous at x=0x=0. From Step 2, we concluded that f(x)f(x) is differentiable at x=0x=0, and f(0)=0f'(0)=0. From Step 4, we concluded that limx0f(x)\lim_{x \to 0} f'(x) does not exist. For f(x)f'(x) to be continuous at x=0x=0, we need limx0f(x)=f(0)\lim_{x \to 0} f'(x) = f'(0). Since the limit does not exist, f(x)f'(x) is not continuous at x=0x=0.

Common Mistakes & Tips

  • Confusing differentiability with the existence of the derivative formula: While the formula f(x)=2xsin(1/x)cos(1/x)f'(x) = 2x \sin(1/x) - \cos(1/x) is valid for x0x \ne 0, applying it directly to find the limit as x0x \to 0 without checking the differentiability at x=0x=0 can lead to errors. Always check differentiability at the specific point using the definition of the derivative.
  • Assuming continuity of f(x)f'(x) from differentiability of f(x)f(x): A function can be differentiable at a point, but its derivative may not be continuous at that point, as demonstrated in this problem. The existence of f(a)f'(a) does not guarantee the continuity of f(x)f'(x) at x=ax=a.
  • Misinterpreting limits involving sin(1/x)\sin(1/x) or cos(1/x)\cos(1/x): The limits of sin(1/x)\sin(1/x) and cos(1/x)\cos(1/x) as x0x \to 0 do not exist. However, when multiplied by a term that goes to zero faster than 1/x1/x (like xx or x2x^2), the limit can exist (and is often 0), as shown by the Squeeze Theorem.

Summary

We first established that the function f(x)f(x) is continuous at x=0x=0 by verifying that limx0f(x)=f(0)\lim_{x \to 0} f(x) = f(0). Next, we found that f(x)f(x) is differentiable at x=0x=0 using the definition of the derivative, yielding f(0)=0f'(0) = 0. We then derived the expression for f(x)f'(x) for x0x \ne 0. Upon examining the limit of f(x)f'(x) as x0x \to 0, we found that limx0f(x)\lim_{x \to 0} f'(x) does not exist due to the cos(1/x)\cos(1/x) term. Since limx0f(x)\lim_{x \to 0} f'(x) does not exist, f(x)f'(x) is not continuous at x=0x=0. Therefore, f(x)f(x) is continuous at x=0x=0, but its derivative f(x)f'(x) is not continuous at x=0x=0.

The final answer is \boxed{A}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions