QlarIITy

MathematicsJEE Main 2020 · 4 SeptemberSingle correct

Let f(x)=∣x−2∣f(x) = |x - 2| and g(x)=f(f(x)),x∈[0,4]g(x) = f(f(x)), x \in [0, 4]. Then ∫03(g(x)−f(x))dx\int_0^3(g(x) - f(x))dx is equal to

  1. Option A: 1
  2. Option B: 0
  3. Option C: 12\frac{1}{2}
  4. Option D: 32\frac{3}{2}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A composite of modulus functions is unfolded piece by piece from the inside.

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. For 0≤x≤20 \leq x \leq 2, f(x)=2−xf(x) = 2 - x, so g(x)=∣2−x−2∣=xg(x) = |2 - x - 2| = x. For 2≤x≤42 \leq x \leq 4, f(x)=x−2f(x) = x - 2, so g(x)=∣x−4∣=4−xg(x) = |x - 4| = 4 - x.

Graphs of f and g from x = 0 to x = 4. The graph of f is a solid V: from (0, 2) down to (2, 0) and up to (4, 2). The graph of g is a dashed inverted V: from the origin up to (2, 2) and down to (4, 0). A dotted vertical line marks x = 3.

Approach. Integrate each function from 0 to 3 and subtract.

  1. Step 1: The composite

    Using the two forms of the composite on the two stretches,

    ∫03g(x)dx=∫02xdx+∫23(4−x)dx=2+32=72\begin{aligned} \int_0^3 g(x)dx &= \int_0^2 xdx + \int_2^3(4 - x)dx \\[4pt] &= 2 + \dfrac{3}{2} = \dfrac{7}{2} \end{aligned}
  2. Step 2: The difference

    Similarly

    ∫03f(x)dx=∫02(2−x)dx+∫23(x−2)dx=2+12=52\begin{aligned} &\int_0^3 f(x)dx \\[4pt] &= \int_0^2(2 - x)dx + \int_2^3(x - 2)dx \\[4pt] &= 2 + \dfrac{1}{2} = \dfrac{5}{2} \end{aligned}

    so the required integral is 72−52=1\dfrac{7}{2} - \dfrac{5}{2} = 1.

Answer. (A) 1

Sanity check. On [0,2][0, 2], g−f=2x−2g - f = 2x - 2 has the integral 0, and on [2,3][2, 3], g−f=6−2xg - f = 6 - 2x has the integral 6−5=16 - 5 = 1.

Why the other options are wrong

  • (B) The value 0 is the part from 0 to 2 only, where the two areas are equal; the stretch from 2 to 3 adds 1.
  • (C) The value 12\dfrac{1}{2} is ∫23f(x)dx\int_2^3 f(x)dx alone, not the difference of the two integrals.
  • (D) The value 32\dfrac{3}{2} is ∫23g(x)dx\int_2^3 g(x)dx alone, before ∫23f(x)dx=12\int_2^3 f(x)dx = \dfrac{1}{2} is subtracted.

Key takeaway

The trap. The inner modulus changes form at 2, and that changes the composite too.

How toppers think. They sketch the two graphs and compare areas directly.

Remember. g(x)=xg(x) = x on [0,2][0, 2], g(x)=4−xg(x) = 4 - x on [2,4][2, 4]

More on Properties of Definite Integrals