QlarIITy

MathematicsJEE Main 2020 · 2 SeptemberNumerical

The integral ∫02∣∣x−1∣−x∣dx\int_0^2||x - 1| - x|dx 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. Nested moduli are removed from the inside outwards, each at its own change point.

Concept refresher. A modulus is removed by splitting the interval at the point cc where the inside changes sign:

∫ab∣u(x)∣dx=∫ac(−u)dx+∫cbudx\int_a^b|u(x)|dx = \int_a^c(-u)dx + \int_c^b udx

when u<0u < 0 before cc and u>0u > 0 after it.

Picture the situation. On [0,1][0, 1], ∣x−1∣=1−x|x - 1| = 1 - x, so the integrand is ∣1−2x∣|1 - 2x|. On [1,2][1, 2], ∣x−1∣=x−1|x - 1| = x - 1, so the integrand is ∣−1∣=1|-1| = 1.

Graph of the integrand from 0 to 2: a V shape falling from height 1 at x = 0 to the x-axis at x = 1/2 and rising to height 1 at x = 1, then a horizontal line at height 1 up to x = 2. The region under it is shaded.

Approach. Read the integral as areas.

  1. Step 1: The first half

    The graph of ∣1−2x∣|1 - 2x| on [0,1][0, 1] is two triangles of base 12\dfrac{1}{2} and height 1, each of area 14\dfrac{1}{4}, so this part is 12\dfrac{1}{2}.

  2. Step 2: The value

    The second half is a rectangle of area 1, so the integral is 12+1=1.5\dfrac{1}{2} + 1 = 1.5.

Answer. 1.5

Sanity check. The integrand lies between 0 and 1 on an interval of length 2, so a value of 1.5 is within range.

Common wrong answers

  • 1: Treating ∣1−2x∣|1 - 2x| as 1−2x1 - 2x on all of [0,1][0, 1] gives 0 for the first half and a total of 1.
  • -1: Dropping the outer modulus altogether gives 0+(−1)=−10 + (-1) = -1.

Key takeaway

The trap. An outer modulus can create a new change point that the inner one does not have.

How toppers think. They sketch the graph and add two triangles and a rectangle.

Remember. ∫01∣1−2x∣dx=12\int_0^1|1 - 2x|dx = \dfrac{1}{2}

More on Properties of Definite Integrals