Welcome, my dear students, to a journey through the elegant world of composite functions. Today, we are not just solving a problem; we are peeling back the layers of a mathematical onion.
We have two functions, f(x)=∣2x−1∣+∣2x+1∣ and g(x)=x−[x], and we are tasked with analyzing their composition, f(g(x)), over the interval (−1,1). This is a classic JEE Advanced problem that tests your ability to handle piecewise definitions, absolute values, and the subtle interplay between continuity and differentiability.
Phase 1
Decoding the Fractional Part
The first step is to understand our inner function, g(x)=x−[x]. This is the fractional part function, often denoted as {x}.
For x∈(−1,0), the greatest integer [x] is −1, so g(x)=x−(−1)=x+1.
For x∈[0,1), the greatest integer [x] is 0, so g(x)=x−0=x. Notice the range of g(x) here: it is always in the interval [0,1). This is a crucial observation that will simplify our lives immensely in the next step.
Phase 2
The Modulus Simplification
Now, we look at the composite function:
f(g(x))=∣2g(x)−1∣+∣2g(x)+1∣
Since 0≤g(x)<1, multiplying by 2 gives 0≤2g(x)<2. Adding 1 to this inequality, we get 1≤2g(x)+1<3.
This means the expression inside the second absolute value,
2g(x)+1, is always positive. We can drop those absolute value bars without a second thought. Our function becomes:
f(g(x))=∣2g(x)−1∣+2g(x)+1
The critical point for the first modulus is where 2g(x)−1=0, which means g(x)=1/2. This splits our analysis into two cases: 0≤g(x)≤1/2 and 1/2<g(x)<1.
Phase 3
The Piecewise Construction
In Case 1 (0≤g(x)≤1/2), the expression 2g(x)−1 is non-positive. Thus, ∣2g(x)−1∣=−(2g(x)−1)=−2g(x)+1.
Adding the rest of our function, we get:
f(g(x))=(−2g(x)+1)+(2g(x)+1)=2
In Case 2 (1/2<g(x)<1), the expression 2g(x)−1 is positive. Thus, ∣2g(x)−1∣=2g(x)−1.
Adding the rest, we get:
f(g(x))=(2g(x)−1)+(2g(x)+1)=4g(x)
Phase 4
Mapping Back to x
Now, we must translate these conditions back to our original variable x.
For x∈(−1,0), g(x)=x+1. The condition g(x)≤1/2 becomes x+1≤1/2, or x≤−1/2.
- For x∈(−1,−1/2], f(g(x))=2.
- For x∈(−1/2,0), f(g(x))=4(x+1)=4x+4.
For x∈[0,1), g(x)=x. The condition g(x)≤1/2 becomes x≤1/2.
- For x∈[0,1/2], f(g(x))=2.
- For x∈(1/2,1), f(g(x))=4x.
Phase 5
The Final Analysis
We have our piecewise function. Now, let us check for continuity and differentiability.
At x=−1/2, the left limit is 2 and the right limit is 4(−1/2)+4=2. It is continuous.
At x=1/2, the left limit is 2 and the right limit is 4(1/2)=2. It is continuous.
At x=0, the left limit is 4(0)+4=4, but the function value is 2. This is a jump discontinuity. Thus, c=1.
The function is non-differentiable at x=0 because it is discontinuous. At x=−1/2, the slope on the left is 0 and the slope on the right is 4, creating a sharp corner. Similarly, at x=1/2, the slope on the left is 0 and the slope on the right is 4, creating another sharp corner.
Therefore, the function is non-differentiable at x=0,−1/2,1/2. That gives us d=3.
The final sum is c+d=1+3=4.