Question:

Let \(f:R\to R\) be defined as
\(f(x)=\begin{cases}x^5\sin\left(\frac{1}{x}\right)+5x^2, & x\lt 0\\ 0, & x=0\\ x^5\cos\left(\frac{1}{x}\right)+\lambda x^2, & x\gt 0\end{cases}\)
The value of \(\lambda\) for which \(f''(0)\) exists, is _______.

Show Hint

Find \(f'(0)\) first, then compare the left and right limits of \(\frac{f'(x)-f'(0)}{x}\) at 0.
Updated On: Nov 5, 2026
Show Solution
collegedunia
Verified By Collegedunia

Correct Answer: 5

Solution and Explanation

\(f'(0)\): left \(\lim_{x\to0^-}\frac{f(x)}{x}=\lim\left(x^4\sin\frac{1}{x}+5x\right)=0\); right \(\lim_{x\to0^+}\left(x^4\cos\frac{1}{x}+\lambda x\right)=0\). So \(f'(0)=0\).
For \(x\lt0\): \(f'(x)=5x^4\sin\frac{1}{x}-x^3\cos\frac{1}{x}+10x\). For \(x\gt0\): \(f'(x)=5x^4\cos\frac{1}{x}+x^3\sin\frac{1}{x}+2\lambda x\).
\(f''(0^-)=\lim_{x\to0^-}\frac{f'(x)}{x}=\lim\left(5x^3\sin\frac{1}{x}-x^2\cos\frac{1}{x}+10\right)=10\).
\(f''(0^+)=\lim_{x\to0^+}\frac{f'(x)}{x}=\lim\left(5x^3\cos\frac{1}{x}+x^2\sin\frac{1}{x}+2\lambda\right)=2\lambda\).
\(f''(0)\) exists iff \(2\lambda=10\), so \(\lambda=5\).
Answer: 5
Was this answer helpful?
0
0