QlarIITy

MathematicsJEE Main 2023 · 24 JanuaryInteger

The value of 8π∫0π2(cos⁡x)2023(sin⁡x)2023+(cos⁡x)2023dx\frac{8}{\pi}\int_0^{\frac{\pi}{2}}\frac{(\cos x)^{2023}}{(\sin x)^{2023} + (\cos x)^{2023}}dx is ______.

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. A power of the cosine over the sum of the same powers of sine and cosine integrates to a quarter of pi on the first quadrant.

Concept refresher. For a function ff that is continuous on [a,b][a, b],

∫abf(x)dx=∫abf(a+b−x)dx\int_a^b f(x)dx = \int_a^b f(a + b - x)dx

Picture the situation. Call the integral without the factor II. Replacing xx by π2−x\dfrac{\pi}{2} - x interchanges sin⁡x\sin x and cos⁡x\cos x, so I=∫0π/2(sin⁡x)2023(cos⁡x)2023+(sin⁡x)2023dxI = \int_0^{\pi/2}\dfrac{(\sin x)^{2023}}{(\cos x)^{2023} + (\sin x)^{2023}}dx.

Approach. Add the two forms of the integral.

  1. Step 1: Adding

    Adding the two forms, the numerators add up to the common denominator, so 2I=∫0π/21dx=π22I = \int_0^{\pi/2}1dx = \dfrac{\pi}{2} and I=π4I = \dfrac{\pi}{4}.

  2. Step 2: The value

    Multiplying by the factor in front gives 8π×π4=2\dfrac{8}{\pi} \times \dfrac{\pi}{4} = 2.

Answer. 2

Sanity check. The integrand lies between 0 and 1 on an interval of length π2\dfrac{\pi}{2}, and by the symmetry it averages 12\dfrac{1}{2}, which gives π4\dfrac{\pi}{4}.

Common wrong answers

  • 4: Stopping at 2I=π22I = \dfrac{\pi}{2} and using it as II gives 8π×π2=4\dfrac{8}{\pi} \times \dfrac{\pi}{2} = 4.
  • 1: Halving once too often, with I=π8I = \dfrac{\pi}{8}, gives 1.

Key takeaway

The trap. The size of the exponent plays no part in the answer.

How toppers think. They write the value at once, whatever the exponent.

Remember. ∫0π/2cos⁡nxsin⁡nx+cos⁡nxdx=π4\int_0^{\pi/2}\dfrac{\cos^n x}{\sin^n x + \cos^n x}dx = \dfrac{\pi}{4}

More on Properties of Definite Integrals