QlarIITy

MathematicsJEE Main 2024 · 4 AprilSingle correct

Letf(x)={−2,−2≤x≤0x−2,0<x≤2f(x) = \begin{cases} -2, & -2 \leq x \leq 0 \\ x - 2, & 0 < x \leq 2 \end{cases}and h(x)=f(∣x∣)+∣f(x)∣h(x) = f(|x|) + |f(x)|. Then ∫−22h(x)dx\int_{-2}^2 h(x)dx is equal to :

  1. Option A: 1
  2. Option B: 6
  3. Option C: 4
  4. Option D: 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 function of a modulus is evaluated with the piece that fits the modulus, not the original number.

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 −2≤x<0-2 \leq x < 0, ∣x∣=−x|x| = -x lies in (0,2](0, 2], so f(∣x∣)=−x−2f(|x|) = -x - 2, while ∣f(x)∣=∣−2∣=2|f(x)| = |-2| = 2; together h(x)=−xh(x) = -x. For 0<x≤20 < x \leq 2, f(∣x∣)=x−2f(|x|) = x - 2 and ∣f(x)∣=2−x|f(x)| = 2 - x, so h(x)=0h(x) = 0.

Approach. Integrate over the left half only.

  1. Step 1: The right half

    Since h(x)=0h(x) = 0 for 0<x≤20 < x \leq 2, this half contributes nothing to the integral. The remaining part is ∫−20(−x)dx=[−x22]−20=2\int_{-2}^0(-x)dx = \left[-\dfrac{x^2}{2}\right]_{-2}^0 = 2.

Answer. (D) 2

Sanity check. On the left half h(x)=−xh(x) = -x is a line falling from 2 to 0, and the triangle under it has area 12×2×2=2\dfrac{1}{2} \times 2 \times 2 = 2.

Why the other options are wrong

  • (A) The value 1 is half the area of the triangle of base 2 and height 2 under h(x)=−xh(x) = -x.
  • (B) The value 6 is ∫−22∣f(x)∣dx=4+2\int_{-2}^2|f(x)|dx = 4 + 2, the second part alone; the first part f(∣x∣)f(|x|) contributes −4-4.
  • (C) The value 4 is ∫−202dx\int_{-2}^0 2dx, which keeps ∣f(x)∣=2|f(x)| = 2 but leaves out f(∣x∣)=−x−2f(|x|) = -x - 2.

Key takeaway

The trap. The modulus of a negative number is positive and belongs to the second piece.

How toppers think. They tabulate the two parts on each half before integrating.

Remember. h(x)=−xh(x) = -x for x<0x < 0, h(x)=0h(x) = 0 for x>0x > 0

More on Properties of Definite Integrals