QlarIITy

MathematicsJEE Main 2023 · 1 FebruaryInteger

If∫0π5cos⁡x(1+cos⁡xcos⁡3x+cos⁡2x+cos⁡3xcos⁡3x)dx1+5cos⁡x=kπ16\int_0^\pi\frac{5^{\cos x}\left(1 + \cos x\cos 3x + \cos^2 x + \cos^3 x\cos 3x\right)dx}{1 + 5^{\cos x}} = \frac{k\pi}{16}, then kk 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. A factor that turns into its complement under reflection is replaced by one half.

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. The bracket is G(x)=(1+cos⁡2x)(1+cos⁡xcos⁡3x)G(x) = (1 + \cos^2 x)(1 + \cos x\cos 3x). Under x→π−xx \to \pi - x both cos⁡x\cos x and cos⁡3x\cos 3x change sign, so GG is unchanged, while 5cos⁡x1+5cos⁡x\dfrac{5^{\cos x}}{1 + 5^{\cos x}} becomes 11+5cos⁡x\dfrac{1}{1 + 5^{\cos x}}. The two fractions add to 1.

Approach. Add the two forms, then integrate the bracket term by term.

  1. Step 1: Adding

    By the refresher, adding the integral II to its reflected form gives 2I=∫0πG(x)dx2I = \int_0^\pi G(x)dx, the integral of the four terms 1, cos⁡2x\cos^2 x, cos⁡xcos⁡3x\cos x\cos 3x and cos⁡3xcos⁡3x\cos^3 x\cos 3x.

  2. Step 2: The four terms

    The first two give π\pi and π2\dfrac{\pi}{2}, and ∫0πcos⁡xcos⁡3xdx=0\int_0^\pi\cos x\cos 3xdx = 0. With cos⁡3x=3cos⁡x+cos⁡3x4\cos^3 x = \dfrac{3\cos x + \cos 3x}{4}, the last gives 14∫0πcos⁡23xdx=π8\dfrac{1}{4}\int_0^\pi\cos^2 3xdx = \dfrac{\pi}{8}. So 2I=π+π2+π8=13π82I = \pi + \dfrac{\pi}{2} + \dfrac{\pi}{8} = \dfrac{13\pi}{8} and I=13π16I = \dfrac{13\pi}{16}, which gives k=13k = 13.

Answer. 13

Sanity check. The bracket averages 138\dfrac{13}{8} over the half turn and the fraction with the power averages 12\dfrac{1}{2}, which gives 1316\dfrac{13}{16} of π\pi.

Common wrong answers

  • 26: Forgetting to halve 2I=13π82I = \dfrac{13\pi}{8} gives k=26k = 26.
  • 12: Taking ∫0πcos⁡3xcos⁡3xdx\int_0^\pi\cos^3 x\cos 3xdx as 0 gives 2I=3π22I = \dfrac{3\pi}{2} and k=12k = 12.

Key takeaway

The trap. Products of cosines of different multiples integrate to 0 over the half turn, but a square does not.

How toppers think. They factorise the bracket first to see its symmetry at a glance.

Remember. cos⁡3x=3cos⁡x+cos⁡3x4\cos^3 x = \dfrac{3\cos x + \cos 3x}{4}

More on Properties of Definite Integrals