Analyzing the Setup
Welcome, students. Today, we are diving into a function that is a rite of passage for every serious JEE aspirant. We are looking at f(x)=x2sin(x1) for $x
eq 0$, and f(0)=0.
This is not just a function; it is a lesson in humility. It teaches us that our intuition about continuity and differentiability can be deceptive. Let us peel back the layers of this problem together.
The Squeeze Theorem
First, we must establish continuity at x=0. You might be tempted to just plug in x=0, but the term sin(x1) is undefined there.
As x gets closer to zero, x1 explodes to infinity, and the sine function oscillates wildly between −1 and 1. How do we tame this chaos? We use the Squeeze Theorem.
We know that −1≤sin(x1)≤1. If we multiply this entire inequality by x2, we get:
As x→0, both −x2 and x2 collapse to zero. Thus, our function is squeezed into the origin. Since the limit is 0 and f(0)=0, the function is continuous. We have survived the first hurdle.
The First Principle
Now, is it differentiable? Many students try to differentiate x2sin(x1) using the product rule and then plug in x=0. Do not do this!
The product rule assumes the derivative exists in a neighborhood. At x=0, we must use the definition:
Substituting our function, we get:
h→0limhh2sin(h1)−0=h→0limhsin(h1)
Again, the Squeeze Theorem comes to our rescue. Since ∣hsin(h1)∣≤∣h∣, as h→0, the limit is 0. So, f′(0)=0. The function is differentiable at the origin!
The Derivative Function
Now, let us find the derivative for $x
eq 0$. Here, we are on safe ground to use the Product Rule: dxd[u⋅v]=u′v+uv′.
Let u=x2 and v=sin(x1). The derivative is:
f′(x)=2xsin(x1)+x2⋅cos(x1)⋅(−x21)
Simplifying this, the x2 terms cancel, leaving us with:
f′(x)=2xsin(x1)−cos(x1)
The Final Twist
Finally, we ask: is f′(x) continuous at x=0? We need to check if limx→0f′(x)=f′(0).
We know f′(0)=0. Let us evaluate:
x→0lim[2xsin(x1)−cos(x1)]
The first term, 2xsin(x1), goes to 0 by the Squeeze Theorem. But look at the second term: −cos(x1).
As x→0, x1→∞, and cos(x1) oscillates forever. It never approaches a single value. Therefore, the limit of the derivative does not exist.
We have proven that while the function is differentiable, its derivative is not continuous. This is the beauty of calculus—a function can be smooth enough to have a tangent, but its slope can be too erratic to be continuous. Keep this example in your toolkit; it is a classic JEE trap!