QlarIITy

MathematicsJEE Main 2022 · 26 JuneInteger

Letf(x)=max⁡{∣x+1∣,∣x+2∣,…,∣x+5∣}f(x) = \max\{|x + 1|, |x + 2|, \ldots, |x + 5|\}. Then ∫−60f(x)dx\int_{-6}^0 f(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. The greatest of several distances on a line is the distance to one of the two outer points.

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. The modulus ∣x+k∣|x + k| is the distance from xx to −k-k, for k=1,…,5k = 1, \ldots, 5. The farthest of these points from xx is −1-1 when x≤−3x \leq -3 and −5-5 when x≥−3x \geq -3. So f(x)=−x−1f(x) = -x - 1 on [−6,−3][-6, -3] and f(x)=x+5f(x) = x + 5 on [−3,0][-3, 0].

Graph of the function from x = −6 to x = 0: a V shape falling from the point (−6, 5) to the point (−3, 2) and rising to height 5 on the y-axis, with the region under it shaded.

Approach. Integrate the two straight pieces.

  1. Step 1: The left piece

    On [−6,−3][-6, -3] the function falls from 5 to 2, so its integral is the area of a trapezium, 5+22×3=212\dfrac{5 + 2}{2} \times 3 = \dfrac{21}{2}.

  2. Step 2: The value

    On [−3,0][-3, 0] the function rises from 2 to 5, giving 212\dfrac{21}{2} again. So the integral is 21.

Answer. 21

Sanity check. The graph is symmetric about x=−3x = -3, the midpoint of both the five points and the interval, so the two halves are equal.

Common wrong answers

  • 13: Using ∣x+5∣|x + 5| on the whole interval gives 12+252=13\dfrac{1}{2} + \dfrac{25}{2} = 13.
  • 9: Using the middle modulus ∣x+3∣|x + 3| alone gives 92+92=9\dfrac{9}{2} + \dfrac{9}{2} = 9.

Key takeaway

The trap. The change from one outer point to the other happens at the midpoint between them.

How toppers think. They sketch the V shape and read the integral as two trapeziums.

Remember. f(x)=max⁡(∣x+1∣,∣x+5∣)f(x) = \max(|x + 1|, |x + 5|)

More on Properties of Definite Integrals