QlarIITy

MathematicsJEE Main 2026 · 23 JanuaryInteger

Let the area of the region bounded by the curvey=max⁡{sin⁡x,cos⁡x}y = \max\{\sin x, \cos x\}, lines x=0,x=3π2x = 0, x = \frac{3\pi}{2}, and the xx-axis be AA. Then, A+A2A + A^2 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. For the maximum of two functions, split where they cross, then split again where the result changes sign.

Concept refresher. The area between y=g(x)y = g(x) and the xx-axis from x=ax = a to x=bx = b is

Area=∫ab∣g(x)∣ dx\text{Area} = \int_a^b |g(x)|\ dx

so the interval is split at every zero of gg, and a piece where g<0g < 0 contributes −∫g dx-\int g\ dx. For y=max⁡{u(x),v(x)}y = \max\{u(x), v(x)\} the formula switches between uu and vv where they cross.

Picture the situation. The solid curve is the larger of sin⁡x\sin x and cos⁡x\cos x (both dashed). It is cos⁡x\cos x up to π4\frac{\pi}{4}, then sin⁡x\sin x up to 5π4\frac{5\pi}{4}, then cos⁡x\cos x; the shaded region lies above the axis up to π\pi and below it after.

The larger of the sine and cosine curves from 0 to three pi over two, with the region between it and the x-axis shaded above and below the axis.

Approach. Find where the larger function switches, split also at x=πx = \pi where it changes sign, and add the absolute value of each integral.

  1. Step 1: Where the maximum switches

    On [0,3π2]\left[0, \frac{3\pi}{2}\right], sin⁡x=cos⁡x\sin x = \cos x at π4\frac{\pi}{4} and 5π4\frac{5\pi}{4}, so

    y={cos⁡x,0≤x≤π4sin⁡x,π4≤x≤5π4cos⁡x,5π4≤x≤3π2y = \begin{cases} \cos x, & 0 \leq x \leq \frac{\pi}{4} \\ \sin x, & \frac{\pi}{4} \leq x \leq \frac{5\pi}{4} \\ \cos x, & \frac{5\pi}{4} \leq x \leq \frac{3\pi}{2} \end{cases}

    and y<0y < 0 for π<x<3π2\pi < x < \frac{3\pi}{2}.

  2. Step 2: Area above the axis

    On [0,π][0, \pi] the curve is above the axis, so the area is the integral itself:

    ∫0π/4cos⁡x dx=22∫π/4πsin⁡x dx=1+22\begin{aligned} \int_0^{\pi/4} \cos x\ dx &= \frac{\sqrt{2}}{2} \\[4pt] \int_{\pi/4}^{\pi} \sin x\ dx &= 1 + \frac{\sqrt{2}}{2} \end{aligned}
  3. Step 3: Area below the axis

    On [π,3π2]\left[\pi, \frac{3\pi}{2}\right] the curve is below the axis, so each piece counts with a minus sign:

    −∫π5π/4sin⁡x dx=1−22−∫5π/43π/2cos⁡x dx=1−22\begin{aligned} -\int_{\pi}^{5\pi/4} \sin x\ dx &= 1 - \frac{\sqrt{2}}{2} \\[4pt] -\int_{5\pi/4}^{3\pi/2} \cos x\ dx &= 1 - \frac{\sqrt{2}}{2} \end{aligned}
  4. Step 4: Add and finish

    The terms in 2\sqrt{2} cancel in the total, which leaves a whole number:

    A=22+1+22+2−2=3A = \frac{\sqrt{2}}{2} + 1 + \frac{\sqrt{2}}{2} + 2 - \sqrt{2} = 3

    so A+A2=3+9=12A + A^2 = 3 + 9 = 12.

Answer. 12

Sanity check. The region is about 3π2≈4.7\frac{3\pi}{2} \approx 4.7 units wide with heights mostly between 0.70.7 and 11, so an area of 33 is reasonable; numerical integration of ∣y∣|y| also gives 3.0003.000.

Common wrong answers

  • 3: 33 is the area AA itself; the question asks for A+A2=3+9=12A + A^2 = 3 + 9 = 12.
  • 6: Taking only the part above the axis under sin⁡x\sin x on [0,π][0, \pi] gives A=2A = 2 and 2+4=62 + 4 = 6; the region also includes the parts below the axis and the stretch where cos⁡x\cos x is larger.
  • 9: 99 adds A+2AA + 2A instead of A+A2A + A^2; with A=3A = 3 the value is 3+9=123 + 9 = 12.

Key takeaway

The trap. Adding signed integrals, so that the region below the axis subtracts instead of adding.

How toppers think. They sketch both curves first, which shows every split point at once.

Remember. Area =∫ab∣g(x)∣ dx= \int_a^b |g(x)|\ dx, split at every zero of gg.

More on Area with Coordinate Axes