Analyzing the Setup
Welcome, future engineer. Today, we are not just solving a problem; we are peeling back the layers of a function. When you see f(x)=∣x−2∣, I want you to immediately visualize a sharp, elegant 'V' shape.
The vertex of this 'V' sits firmly at x=2. It is a simple, beautiful geometric object. But the problem asks us to go deeper. We are looking at a composite function, g(x)=f(f(x)), and we are restricted to a very specific, high-value domain: x>20.
The Power of the Domain Constraint
Many students see the absolute value and immediately panic, thinking about piecewise definitions and case-by-case analysis. But look at the domain! We are told x>20. This is not just a number; it is a safety zone.
Let us analyze the inner function f(x)=∣x−2∣. If x>20, then x−2 is clearly greater than 18. Since 18 is positive, the expression x−2 is strictly positive.
By the very definition of the modulus, ∣a∣=a when a>0. Therefore, in our region of interest, the modulus brackets are essentially invisible. We can write:
This is our first victory. We have tamed the modulus. We have turned a potentially complex piecewise function into a simple, linear equation.
Constructing the Composite Function
Now, let us build the composite function g(x)=f(f(x)). This is where the magic happens. We take our definition of f(x) and feed it into itself.
Substitute our simplified f(x)=x−2 into this expression:
Look at the algebra inside the modulus. It is just a simple subtraction of constants. We have −2−2, which gives us −4. So, our composite function simplifies to:
The Final Simplification
We are almost there, but we must be careful. We have g(x)=∣x−4∣. Do we need to worry about the modulus here? Again, look at our domain. We are still operating under the condition x>20.
If x>20, then x−4 is definitely greater than 16. Since 16 is positive, the expression x−4 is guaranteed to be positive. Once again, the modulus brackets vanish, leaving us with a beautiful, linear function:
The Final Differentiation
Now, the calculus becomes trivial. We are asked to find g′(x). Since we have established that g(x)=x−4 for all x>20, we simply differentiate this linear expression with respect to x:
Using the linearity of the derivative, we have:
We know that the derivative of x is 1, and the derivative of any constant like 4 is 0. Thus:
The Takeaway
Think about what we just did. We took a nested, potentially confusing function and, by respecting the domain, we stripped away the complexity layer by layer. Geometrically, this makes perfect sense.
For x>20, the function g(x) is just a straight line with a slope of 1. The derivative, which represents the slope, must be constant.
Never let the notation intimidate you. Whether it is ∣x−2∣ or a complex composition, always look for the domain, simplify the expression, and let the calculus follow naturally. You have mastered the logic. Keep this clarity, and you will conquer any problem the JEE throws at you.