Question
Mathematics Question on integral
Integrate the function: 1+cot x1
Answer
Let I=∫1+cot x1dx
I=∫1+sin xcos x1dx
I=∫sin x+cos xsin x dx
I=21∫sin x+cos x2sin x dx
I=21∫(sin x+cos x)(sin x+cos x)+(sin x−cos x)dx
I=21∫1dx+21∫/sin x+cos xsin x−cos xdx
I=21(x)+21∫/sin x+cos xsin x−cos xdx
Let sin x+cos x=t⇒(cos x−sin x)dx=dt
∴I=2x+21∫t−(dt)
I=2x−21 log ∣t∣+C
I=2x−21 log ∣sin x+cos x∣+C