QlarIITy

MathematicsJEE Main 2025 · 3 AprilInteger

The area of the region bounded by the curve y=max⁡{∣x∣,x∣x−2∣}y = \max\{|x|, x|x - 2|\}, then xx-axis and the lines x=−2x = -2 and x=4x = 4 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 larger of two curves is traced piece by piece between their meeting points.

Concept refresher. The larger of two functions is written piece by piece:

max⁡{p(x),q(x)}=p(x)\max\{p(x), q(x)\} = p(x)

wherever p(x)≥q(x)p(x) \geq q(x), and it equals q(x)q(x) elsewhere, so the interval is split where the two are equal.

Picture the situation. On [−2,0][-2, 0], x∣x−2∣≤0≤∣x∣x|x - 2| \leq 0 \leq |x|, so y=−xy = -x. On [0,2][0, 2], x(2−x)≥xx(2 - x) \geq x exactly when x≤1x \leq 1; on [2,4][2, 4], x(x−2)≥xx(x - 2) \geq x exactly when x≥3x \geq 3. So y=x(2−x)y = x(2 - x) on [0,1][0, 1], y=xy = x on [1,3][1, 3] and y=x(x−2)y = x(x - 2) on [3,4][3, 4].

The graphs of y = |x| and y = x|x − 2| from x = −2 to x = 4, with the larger of the two drawn solid: the line y = −x from −2 to 0, a small arch from 0 to 1, the line y = x from 1 to 3, and a rising curve from (3, 3) to (4, 8). The region under the solid graph is shaded and the lower parts are dashed.

Approach. Integrate the four pieces and add.

  1. Step 1: The pieces

    The curve is above the axis throughout, and the four pieces give ∫−20(−x)dx=2\int_{-2}^0(-x)dx = 2, ∫01(2x−x2)dx=23\int_0^1(2x - x^2)dx = \dfrac{2}{3}, ∫13xdx=4\int_1^3 xdx = 4 and ∫34(x2−2x)dx=163\int_3^4(x^2 - 2x)dx = \dfrac{16}{3}.

  2. Step 2: The value

    Adding the four pieces, the area is 2+23+4+163=122 + \dfrac{2}{3} + 4 + \dfrac{16}{3} = 12.

Answer. 12

Sanity check. Under y=∣x∣y = |x| alone the area would be 2+8=102 + 8 = 10; the other curve rises above it on [0,1][0, 1] and on [3,4][3, 4] and adds 16+116=2\dfrac{1}{6} + \dfrac{11}{6} = 2.

Common wrong answers

  • 10: Using ∣x∣|x| on the whole interval gives 2+8=102 + 8 = 10.

Key takeaway

The trap. The two curves meet again at 3, where the second overtakes the first.

How toppers think. They compute the area under the simpler curve and add the two small excesses.

Remember. x∣x−2∣=xx|x - 2| = x at x=1x = 1 and x=3x = 3

More on Area with Coordinate Axes