Evaluate the following integrals:

Let


On multiplying and dividing (1 + cos x), we can write the integral as





[ sin2θ + cos2θ = 1]





[ cosec2θ – cot2θ = 1]



Recall and


We also have


I = –cosec x – cot x – x + c


Thus,


27