In = ∫π2π4(cotn x)dxIn+2 = ∫π2π4(cotn+2 x)dx⇒In+In+2 = ∫π2π4(cotn x)dx+∫π2π4(cotn+2 x)dx⇒In+In+2 = ∫π2π4(cotn x)(1+cot2x)dx⇒In+In+2 = ∫π2π4(cotn x)×cosec2x dx
Let cotx = t
Then −(cosec2x)dx = dt
Now replacing cotx with t
We have
In+In+2 = −∫01(tn)dt⇒In+In+2 = ∫10(tn)dt⇒In+In+2 = [tn+1n+1]10 = [1n+1−0]⇒In+In+2 = 1n+1 (proved)