Analyzing the Setup
Imagine you are standing on a coordinate plane, looking at the function f(x)=x∣x∣. At first glance, it looks like a simple, harmless curve.
In the world of JEE Advanced, appearances can be deceiving. This function is a classic trap, a beautiful example of how a function can be smooth enough to be differentiated once, yet fail the test of second-order differentiability.
The Piecewise Breakdown
To truly understand f(x)=x∣x∣, we must strip away the absolute value. The absolute value function ∣x∣ is a chameleon; it changes its identity based on the sign of x.
For
x≥0,
∣x∣=x, so our function becomes:
f(x)=x(x)=x2
For
x<0,
∣x∣=−x, so our function becomes:
f(x)=x(−x)=−x2
We have effectively stitched two parabolas together at the origin. One opens upward for positive x, and one opens downward for negative x.
The First Derivative
Now, let us find the first derivative, f′(x). For x>0, the derivative of x2 is 2x. For x<0, the derivative of −x2 is −2x.
If we combine these, we get
f′(x)=2∣x∣. But what happens at the origin? We cannot just assume it is differentiable; we must use the limit definition:
f′(0)=h→0limhf(0+h)−f(0)
Calculating the left-hand derivative (LHD) and right-hand derivative (RHD), we find that both approach 0. Since LHD=RHD=0, the function is indeed differentiable at x=0, and f′(0)=0.
The graph of f′(x)=2∣x∣ is a sharp 'V' shape, perfectly smooth at the origin.
The Second Derivative Trap
Now, we reach the climax of our story. We want to find the second derivative, f′′(x). We differentiate f′(x)=2∣x∣.
For x>0, the derivative of 2x is 2. For x<0, the derivative of −2x is −2. So, f′′(x) is 2 for x>0 and −2 for x<0.
But what about
x=0? Let us check the limit of
f′′(x) as we approach zero:
x→0+limf′′(x)=2,x→0−limf′′(x)=−2
Because the left-hand limit and right-hand limit of the second derivative do not match, f′′(0) does not exist. The first derivative f′(x)=2∣x∣ has a 'kink' or a sharp corner at the origin.
Just as a sharp corner in a function prevents the first derivative from existing, a sharp corner in the first derivative prevents the second derivative from existing.
The Final Verdict
We have discovered that f(x)=x∣x∣ is differentiable everywhere, but it is only twice differentiable on the set R−{0}. The origin is the point of failure.
This problem teaches us that differentiability is a layered concept. A function can be smooth, but its derivative might not be. Keep this in mind as you tackle more complex calculus problems; always respect the limit definition, especially at the points where the function's behavior changes.