QlarIITy

MathematicsJEE Main 2020 · 7 JanuaryInteger

Let SS be the set of points where the function, f(x)=∣2−∣x−3∣∣,x∈Rf(x) = |2 - |x - 3||, x \in R, is not differentiable. Then ∑x∈Sf(f(x))\sum_{x \in S}f(f(x)) is equal to

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A nested modulus has corners from the inner modulus and from the zeros of the outer expression.

Concept refresher. The modulus ∣u∣|u| equals uu when u≥0u \geq 0 and −u-u when u<0u < 0, so an equation with moduli is solved separately on each interval where the signs are fixed; always

∣u∣≥0|u| \geq 0

Picture the situation. The inner modulus ∣x−3∣|x - 3| has a corner at x=3x = 3, where 2−∣x−3∣=22 - |x - 3| = 2, not zero, so the corner remains. The outer modulus has corners where 2−∣x−3∣=02 - |x - 3| = 0, that is at x=1x = 1 and x=5x = 5. So S={1,3,5}S = \{1, 3, 5\}.

Graph of the function in the shape of a letter W: falling to the point (1, 0), rising to the peak (3, 2), falling to the point (5, 0) and rising again, with dots at the three corners.

Approach. Evaluate the function at the three points and then at those values.

  1. Step 1: First values

    At the three corners the function gives f(1)=0f(1) = 0, f(3)=2f(3) = 2 and f(5)=0f(5) = 0.

  2. Step 2: Second values

    Now f(0)=∣2−3∣=1f(0) = |2 - 3| = 1 and f(2)=∣2−1∣=1f(2) = |2 - 1| = 1. So f(f(1))=f(0)=1f(f(1)) = f(0) = 1, f(f(3))=f(2)=1f(f(3)) = f(2) = 1 and f(f(5))=f(0)=1f(f(5)) = f(0) = 1, and the sum is 3.

Answer. 3

Sanity check. The graph is a letter W with its lowest points at x=1x = 1 and x=5x = 5 and its middle peak at (3,2)(3, 2).

Common wrong answers

  • 2: Missing the corner at x=3x = 3 from the inner modulus leaves only two terms and gives 2.
  • 4: Taking f(f(3))f(f(3)) as f(3)=2f(3) = 2 in place of f(2)=1f(2) = 1 gives 1+2+1=41 + 2 + 1 = 4.

Key takeaway

The trap. The inner corner survives when the outer expression is not zero there.

How toppers think. They sketch the letter W formed by the graph and read the three corners from it.

Remember. S={1,3,5}S = \{1, 3, 5\} and f(0)=f(2)=1f(0) = f(2) = 1

More on Differentiability