If $$I_n=\int_0^{\frac {\pi}{2}} \frac {\sin ((2n+1)x)dx}{\sin x}$$ then evaluate $$\lim_{n\to \infty} 2I_n$$
My try: $$I_n=\int_0^{\frac {\pi}{2}} \frac {\sin ((2n+1)x)dx}{\sin x}$$ $$=\int_0^{\frac {\pi}{2}} \frac {(\sin 2nx\cos x+\cos 2nx\sin x)dx}{\sin x}$$ $$=\int_0^{\frac {\pi}{2}} \sin (2nx)\cot (x) dx+\int_0^{\frac {\pi}{2}} \cos (2nx) dx$$
$$=\left(\int_0^{\frac {\pi}{2}} \sin (2nx)\cot (x) dx\right)+ \frac {\sin n\pi}{2n}$$
In the first integral I tried to use integration by parts and could reach up-to $$\left(\int_0^{\frac {\pi}{2}} \sin (2nx)\cot x dx\right)=\sin 2nx\ln (\sin x) -2n\int_0^{\frac {\pi}{2}} \cos 2nx\ln (\sin x) dx$$
But now I am stuck up here. Any help would be very beneficial.
Apologies for this first part being rather unintuitive.
$$ \begin{aligned} I_n-I_{n-1} &= \int_0^{\frac\pi 2} \frac{\sin(2nx+x)-\sin(2nx-x)}{\sin x}\,dx \\ &= \int_0^{\frac\pi 2} \frac{2 \cos2nx \sin x}{\sin x}\,dx \\ &=\left[\frac{\sin 2nx}{n}\right]^{\frac \pi 2}_0 = 0\,\,\mathrm{(for\, all\,} n\neq0) \end{aligned} $$
Therefore, $I_n = I_{n-1}$ for all $n\neq 0$.
i.e. $I_1=I_2=I_3= \,\,...$
Now, evaluating $I_1$, $$ \begin{aligned} I_1 &=\int_0^{\frac \pi 2}\frac {\sin(3x)}{\sin x}\,dx \\ &=\int_0^{\frac \pi 2}\frac{\sin 2x\cos x+\cos 2x\sin x}{\sin x}\,dx \\ &=\int_0^{\frac \pi 2}\frac{2 \sin x\cos^2 x+\cos^2x\sin x-\sin^3x}{\sin x} \,dx\\&=\int_0^{\frac \pi 2}3 \cos^2x-\sin^2x\,dx\\ &=\int_0^{\frac \pi 2}2 \cos^2x+\cos2x\,dx \\ &=\int_0^{\frac \pi 2}2 \cos 2x+1\,dx \\ &= \frac \pi 2 \end{aligned} $$
From above, we conclude that $I_n=\frac \pi 2$ for all non-negative $n$.
Therefore, $$\lim_{n\to\infty} 2I_n = \pi$$