The value of $\int_{-\pi}^\pi \frac{\cos ^2 x}{1+\alpha^x} \mathrm{~d} x, \alpha>0$ is

The value of $\int_{-\pi}^\pi \frac{\cos ^2 x}{1+\alpha^x} \mathrm{~d} x, \alpha>0$ is
  1. $2 \pi$
  2. $\pi$
  3. $\alpha \pi$
  4. $\frac{\pi}{2}$

Solution

from (i)+(ii) $\begin{aligned} & 2 I=\int_{-\pi}^\pi \frac{\left(1+\alpha^x\right) \cos ^2 x}{\left(1+\alpha^x\right)} \mathrm{d} x=\int_{-\pi}^\pi \cos ^2 x \mathrm{~d} x \\ & \Rightarrow 2 I=2 \int_0^\pi \cos ^2 x \mathrm{~d} x \quad\left[\because \cos ^2(\pi-x)=\cos ^2 x\right] \\ & \Rightarrow I=\int_0^\pi \frac{1+\cos 2 x}{2} \mathrm{~d} x\left[\frac{x}{2}+\frac{\sin 2 x}{4}\right]_0^\pi=\frac{\pi}{2}\end{aligned}$

Asked in: MHT CET 2022 (10 Aug Shift 1)

Practice more Definite Integration questions on Aicharya