The Anatomy of Smoothness
A Journey into h(x)=sin(x∣x∣)
Welcome, future engineer. Today, we are not just solving a problem; we are dissecting the very nature of 'smoothness' in calculus.
In the JEE Advanced arena, you will often encounter functions that look innocent but hide complex behaviors at the origin. Our function today, h(x)=sin(x∣x∣), is a perfect case study. Let us peel back the layers.
Phase 1
Deconstructing the Beast
We start with f(x)=x∣x∣. This is our foundation. Many students rush to differentiate this, but pause.
The absolute value ∣x∣ is a switch. It changes its nature at x=0. So, we define f(x) piecewise:
When we compose this with g(x)=sin(x), we get h(x)=sin(f(x)). Substituting our piecewise definition, we obtain:
h(x)={sin(x2)−sin(x2)x≥0x<0
Imagine the graph. For x≥0, it is a sine wave compressed by the square. For x<0, it is the reflection of that wave. It passes through the origin smoothly.
Phase 2
The First Derivative - The Smooth Transition
To check differentiability at x=0, we need the first derivative, h′(x). We differentiate our piecewise function using the chain rule:
For
x>0,
h′(x)=dxd(sin(x2))=2xcos(x2)
For
x<0,
h′(x)=dxd(−sin(x2))=−2xcos(x2)
Now, let us test the limit at x=0. The Left-Hand Derivative (LHD) is limx→0−(−2xcos(x2))=0. The Right-Hand Derivative (RHD) is limx→0+(2xcos(x2))=0.
Since LHD = RHD = 0, the derivative h′(0) exists and is equal to 0. Furthermore, because the limit of h′(x) as x→0 is 0, which equals h′(0), the derivative is continuous. Statement-1 is undeniably true!
Phase 3
The Second Derivative - The Hidden Trap
Now, we test Statement-2. Is it twice differentiable? We need h′′(x). We differentiate h′(x) again:
For
x>0,
h′′(x)=dxd(2xcos(x2))=2cos(x2)−4x2sin(x2)
For
x<0,
h′′(x)=dxd(−2xcos(x2))=−2cos(x2)+4x2sin(x2)
Here is where the magic—and the trap—lies. Let us find the limits of h′′(x) as x approaches 0:
As x→0+, h′′(x)→2cos(0)−0=2.
As x→0−, h′′(x)→−2cos(0)+0=−2.
Look at that! The limit from the right is 2, and the limit from the left is −2. There is a jump discontinuity in the second derivative at the origin.
Because the limits do not match, the second derivative h′′(0) does not exist. Statement-2 is false.
Conclusion
This problem teaches us a vital lesson: differentiability is a hierarchy. A function can be continuous, then differentiable, but fail to be twice differentiable.
Never assume smoothness just because the first derivative exists. Always check the limits of the derivative itself. You have navigated this complexity with precision. Keep this rigor in your toolkit, and no JEE problem will ever intimidate you again.