QlarIITy

MathematicsJEE Main 2020 · 6 SeptemberInteger

Let f:R→Rf : R \to R be defined as f(x)={x5sin⁡(1x)+5x2,x<00,x=0x5cos⁡(1x)+λx2,x>0f(x) = \begin{cases} x^5\sin\left(\frac{1}{x}\right) + 5x^2, & x < 0 \\ 0, & x = 0 \\ x^5\cos\left(\frac{1}{x}\right) + \lambda x^2, & x > 0 \end{cases}. The value of λ\lambda for which f′′(0)f^{\prime\prime}(0) exists, is ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A second derivative at a point is the limit of the quotient of the first derivative.

Concept refresher. The second derivative at a point is the derivative of the first derivative:

f′′(0)=lim⁡x→0f′(x)−f′(0)xf^{\prime\prime}(0) = \lim_{x \to 0}\dfrac{f^{\prime}(x) - f^{\prime}(0)}{x}

Picture the situation. Since every term of f(x)f(x) is at most a multiple of x2x^2 in size, f(x)−f(0)x\dfrac{f(x) - f(0)}{x} tends to 0, so f′(0)=0f^{\prime}(0) = 0. For x<0x < 0, f′(x)=5x4sin⁡1x−x3cos⁡1x+10xf^{\prime}(x) = 5x^4\sin\dfrac{1}{x} - x^3\cos\dfrac{1}{x} + 10x. For x>0x > 0, f′(x)=5x4cos⁡1x+x3sin⁡1x+2λxf^{\prime}(x) = 5x^4\cos\dfrac{1}{x} + x^3\sin\dfrac{1}{x} + 2\lambda x.

Approach. Take the limit of the quotient of the first derivative by the variable on each side.

  1. Step 1: The one-sided limits

    Dividing by xx, the terms with x3x^3 and x2x^2 times a bounded factor tend to 0. So f′(x)x\dfrac{f^{\prime}(x)}{x} tends to 10 from the left and to 2λ2\lambda from the right.

  2. Step 2: The constant

    The second derivative at 0 exists only if these limits agree, so 2λ=102\lambda = 10 and λ=5\lambda = 5.

Answer. 5

Sanity check. With λ=5\lambda = 5 both formulas have the same leading term 5x25x^2 near 0, and the remaining terms are of fifth order with bounded factors.

Common wrong answers

  • 10: Comparing λ\lambda directly with the left-hand value 10, without the factor 2 from differentiating λx2\lambda x^2, gives 10.

Key takeaway

The trap. Differentiating a square brings a factor 2 that must be kept on both sides.

How toppers think. They compare the leading terms of the two formulas near 0 directly.

Remember. 2λ=102\lambda = 10

More on Differentiability