If $\displaystyle I_n =\int \cot^nx\ dx$ then find :
$I_0 +I_1 +2(I_2+I_3+ \cdots I_8) +I_9+I_{10} $ = ?
My approach :
$I_n = \displaystyle\int \cot^{n-2} \cot^2x dx$ $\Rightarrow I_n = \displaystyle\int \cot^{n-2} (\csc^2x -1)dx$
$\Rightarrow I_n = \displaystyle\int (\cot^{n-2} \csc^2x -\cot^{n-2} )dx$
$\Rightarrow I_n =\displaystyle \int( \cot^{n-2} \csc^2x) dx- I_{n-2} $
$\Rightarrow I_n +I_{n-2} =\displaystyle \int( \cot^{n-2} \csc^2x) dx$
I am not getting how to integrate the RHS. now please guide thanks.
$\displaystyle \int \cot^{n - 2} x\csc^2 x \,dx = -\displaystyle\int \cot^{n - 2} x \,d(\cot x) = -\dfrac{\cot^{n-1} x}{n - 1}$.
Or explicitly use the substitution $t = \cot x \Rightarrow dt = -\csc^2 x \cot x$.