Analyzing the Concept of Differentiability
When we ask if a function is differentiable at a point, we are essentially asking: "Is this path smooth?" Imagine driving a car along a road defined by a function. If the road has a sharp, sudden turn—a cusp or a corner—you would have to stop instantly to change direction. That is non-differentiability.
Mathematically, this means the slope from the left (the Left-Hand Derivative, or LHD) must perfectly match the slope from the right (the Right-Hand Derivative, or RHD). If they do not match, the function is not differentiable.
The Cosine Trap
Let us look at the options involving the term cos(∣x∣). Many students panic when they see the absolute value sign, fearing a sharp corner. However, the cosine function is an even function, meaning cos(−x)=cos(x).
Because of this symmetry, the absolute value sign is essentially invisible. Since cos(x) is a smooth, oscillating wave, cos(∣x∣) is perfectly differentiable everywhere.
However, when we add or subtract ∣x∣ from it, we combine a smooth function with a sharp one. A theorem in calculus states that the sum or difference of a differentiable function and a non-differentiable function is always non-differentiable. Thus, options involving cos(∣x∣)±∣x∣ are sharp at the origin and are eliminated.
The Sine Struggle
Now, we turn our attention to options involving sin(∣x∣). Unlike cosine, sine is an odd function, so sin(∣x∣) is not simply sin(x). We must use the piecewise definition.
Let us analyze the function f(x)=sin(∣x∣)−∣x∣. For x≥0, the function is f(x)=sin(x)−x. The derivative is:
At x=0, the RHD is:
Now, for x<0, the function is f(x)=sin(−x)−(−x)=−sin(x)+x. The derivative is:
At x=0, the LHD is:
Because the LHD equals the RHD (both are zero), the function is perfectly smooth at x=0.
The Taylor Series Revelation
Why did the subtraction work so perfectly? Let us look at the Taylor series expansion of sin(x) near x=0:
When we calculate sin(x)−x, we get:
The linear term x—the very term that causes the sharp corner in ∣x∣—is completely cancelled out. We are left with a cubic term, which is incredibly smooth.
This is the beauty of mathematics: when two "sharp" functions interact in just the right way, they can cancel each other's flaws to create something perfectly smooth. Option 4 is our winner.