QlarIITy

MathematicsJEE Main 2024 · 29 JanuarySingle correct

If the value of the integral∫−π2π2(x2cos⁡x1+πx+1+sin⁡2x1+e(sin⁡x)2023)dx=π4(π+a)−2\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\left(\frac{x^2\cos x}{1 + \pi^x} + \frac{1 + \sin^2 x}{1 + e^{(\sin x)^{2023}}}\right)dx = \frac{\pi}{4}(\pi + a) - 2, then the value of aa is

  1. Option A: 3
  2. Option B: −32-\frac{3}{2}
  3. Option C: 2
  4. Option D: 32\frac{3}{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. One over one plus an exponential of an odd function turns a symmetric integral into the right half of the numerator.

Concept refresher. For an even function gg and an odd function hh,

∫−aag(x)1+eh(x)dx=∫0ag(x)dx\int_{-a}^{a}\dfrac{g(x)}{1 + e^{h(x)}}dx = \int_0^a g(x)dx

because the integrand and its reflection add up to g(x)g(x).

Picture the situation. In the first term x2cos⁡xx^2\cos x is even and πx\pi^x has an odd exponent; in the second 1+sin⁡2x1 + \sin^2 x is even and (sin⁡x)2023(\sin x)^{2023} is odd. So the integral is ∫0π/2x2cos⁡xdx+∫0π/2(1+sin⁡2x)dx\int_0^{\pi/2}x^2\cos xdx + \int_0^{\pi/2}(1 + \sin^2 x)dx.

Approach. Evaluate the two integrals and match the given form.

  1. Step 1: The first integral

    Integrating by parts twice, an antiderivative of x2cos⁡xx^2\cos x is x2sin⁡x+2xcos⁡x−2sin⁡xx^2\sin x + 2x\cos x - 2\sin x, which between 0 and π2\dfrac{\pi}{2} gives π24−2\dfrac{\pi^2}{4} - 2.

  2. Step 2: The second integral

    Since sin⁡2x\sin^2 x averages 12\dfrac{1}{2} over the quarter turn, ∫0π/2(1+sin⁡2x)dx=π2+π4=3π4\int_0^{\pi/2}(1 + \sin^2 x)dx = \dfrac{\pi}{2} + \dfrac{\pi}{4} = \dfrac{3\pi}{4}. The total is π24+3π4−2=π4(π+3)−2\dfrac{\pi^2}{4} + \dfrac{3\pi}{4} - 2 = \dfrac{\pi}{4}(\pi + 3) - 2, so a=3a = 3.

Answer. (A) 3

Sanity check. The constant −2-2 in the given form matches the −2-2 from the integration by parts, which confirms the structure.

Why the other options are wrong

  • (B) The value −32-\dfrac{3}{2} has the wrong sign and size: the second integral contributes +3π4+\dfrac{3\pi}{4}.
  • (C) The value 2 would need the second integral to be π2\dfrac{\pi}{2}, which leaves out ∫0π/2sin⁡2xdx=π4\int_0^{\pi/2}\sin^2 xdx = \dfrac{\pi}{4}.
  • (D) The value 32\dfrac{3}{2} halves the second integral, as if the factor π4\dfrac{\pi}{4} outside were π2\dfrac{\pi}{2}.

Key takeaway

The trap. The base of the power and the size of the odd exponent play no part.

How toppers think. They strip both denominators at once and integrate two easy pieces.

Remember. ∫0π/2x2cos⁡xdx=π24−2\int_0^{\pi/2}x^2\cos xdx = \dfrac{\pi^2}{4} - 2

More on Symmetry & Periodicity