QlarIITy

MathematicsIIT-JEE 2001Single correct

The value of ∫−ππcos⁡2x1+axdx\int_{-\pi}^{\pi}\frac{\cos^{2}x}{1+a^{x}}dx, a>0a>0 is

  1. Option A: π\pi
  2. Option B: aπa\pi
  3. Option C: π/2\pi/2
  4. Option D: 2π2\pi
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. Replacing xx by −x-x turns 11+ax\frac{1}{1+a^{x}} into ax1+ax\frac{a^{x}}{1+a^{x}}, so adding the two forms of the integral removes aa completely.

Concept refresher. ∫−cch(x)dx=∫−cch(−x)dx\int_{-c}^{c}h(x)dx=\int_{-c}^{c}h(-x)dx. Also 11+a−x=ax1+ax\frac{1}{1+a^{-x}}=\frac{a^{x}}{1+a^{x}}, so 11+ax+11+a−x=1\frac{1}{1+a^{x}}+\frac{1}{1+a^{-x}}=1.

Approach. Write II again with x→−xx\to-x, add the two forms so that axa^{x} disappears, and evaluate.

  1. Step 1: Replace xx by −x-x

    Since cos⁡2(−x)=cos⁡2x\cos^{2}(-x)=\cos^{2}x,

    I=∫−ππcos⁡2x1+a−xdx=∫−ππaxcos⁡2x1+axdxI=\int_{-\pi}^{\pi}\frac{\cos^{2}x}{1+a^{-x}}dx=\int_{-\pi}^{\pi}\frac{a^{x}\cos^{2}x}{1+a^{x}}dx
  2. Step 2: Add the two forms

    2I=∫−ππ(1+ax)cos⁡2x1+axdx=∫−ππcos⁡2xdx2I=\int_{-\pi}^{\pi}\frac{(1+a^{x})\cos^{2}x}{1+a^{x}}dx=\int_{-\pi}^{\pi}\cos^{2}x dx
  3. Step 3: Evaluate

    ∫−ππcos⁡2xdx=∫−ππ1+cos⁡2x2dx=[x2+sin⁡2x4]−ππ=π\int_{-\pi}^{\pi}\cos^{2}x dx=\int_{-\pi}^{\pi}\frac{1+\cos2x}{2}dx=\left[\frac{x}{2}+\frac{\sin2x}{4}\right]_{-\pi}^{\pi}=\pi

    So 2I=π2I=\pi and I=π2I=\frac{\pi}{2}.

Answer. (C)

Smart method. The answer must hold for every a>0a>0, so test a=1a=1: I=12∫−ππcos⁡2xdx=π2I=\frac{1}{2}\int_{-\pi}^{\pi}\cos^{2}x dx=\frac{\pi}{2}. At a=1a=1 the options give π,π,π2,2π\pi,\pi,\frac{\pi}{2},2\pi, so only (C) survives.

Why the other options are wrong

  • (A) is the value of 2I2I; the final halving step is missing.
  • (B) The value does not depend on aa: the x→−xx\to-x step cancels axa^{x} completely.
  • (D) Since cos⁡2x1+ax<cos⁡2x\frac{\cos^{2}x}{1+a^{x}}<\cos^{2}x, the integral is less than ∫−ππcos⁡2xdx=π\int_{-\pi}^{\pi}\cos^{2}x dx=\pi, so 2π2\pi is impossible.

Key takeaway

The trap. Students stop at 2I=∫−ππcos⁡2xdx=π2I=\int_{-\pi}^{\pi}\cos^{2}x dx=\pi and report π\pi, forgetting to halve.

How toppers think. They see an even numerator over 1+ax1+a^{x} on symmetric limits and write the answer as ∫0πcos⁡2xdx=π2\int_{0}^{\pi}\cos^{2}x dx=\frac{\pi}{2} directly.

Remember. For even gg, ∫−ccg(x)1+axdx=∫0cg(x)dx\int_{-c}^{c}\frac{g(x)}{1+a^{x}}dx=\int_{0}^{c}g(x)dx for every a>0a>0.

More on Symmetry & Periodicity