Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 1996 / Problems / Day 1, P2

IMC 1996 · Day 1 · P2

Evaluate the definite integral ∫−ππsin⁡nx(1+2x)sin⁡x dx,\int_{-\pi}^{\pi} \frac{\sin nx}{(1 + 2^x) \sin x}\,dx, where nn is a natural number.

Solution (official)

We have In=∫−ππsin⁡nx(1+2x)sin⁡x dx=∫0πsin⁡nx(1+2x)sin⁡x dx+∫−π0sin⁡nx(1+2x)sin⁡x dx.\begin{align*} I_n &= \int_{-\pi}^{\pi} \frac{\sin nx}{(1 + 2^x) \sin x}\,dx \\ &= \int_0^{\pi} \frac{\sin nx}{(1 + 2^x) \sin x}\,dx + \int_{-\pi}^{0} \frac{\sin nx}{(1 + 2^x) \sin x}\,dx. \end{align*} In the second integral we make the change of variable x=−xx = -x and obtain In=∫0πsin⁡nx(1+2x)sin⁡x dx+∫0πsin⁡nx(1+2−x)sin⁡x dx=∫0π(1+2x)sin⁡nx(1+2x)sin⁡x dx=∫0πsin⁡nxsin⁡x dx.\begin{align*} I_n &= \int_0^{\pi} \frac{\sin nx}{(1 + 2^x) \sin x}\,dx + \int_0^{\pi} \frac{\sin nx}{(1 + 2^{-x}) \sin x}\,dx \\ &= \int_0^{\pi} \frac{(1 + 2^x) \sin nx}{(1 + 2^x) \sin x}\,dx \\ &= \int_0^{\pi} \frac{\sin nx}{\sin x}\,dx. \end{align*} For n≥2n \ge 2 we have In−In−2=∫0πsin⁡nx−sin⁡(n−2)xsin⁡x dx=2∫0πcos⁡(n−1)x dx=0.\begin{align*} I_n - I_{n-2} &= \int_0^{\pi} \frac{\sin nx - \sin{(n-2)x}}{\sin x}\,dx \\ &= 2 \int_0^{\pi} \cos{(n-1)x}\,dx = 0. \end{align*} The answer In={0if n is even,πif n is oddI_n = \begin{cases} 0 & \text{if $n$ is even,} \\ \pi & \text{if $n$ is odd} \end{cases} follows from the above formula and I0=0I_0 = 0, I1=πI_1 = \pi.

Similar problems