Integrals of Powers of Tangent and Cotangent

Rarely Tested

$$\int \tan x \, dx = \ln|\sec x| + C$$
For $$n\neq1$$:
$$\int \tan^n x \, dx = \frac{\tan^{n-1}x}{n-1} - \int \tan^{n-2}x \, dx + C$$
$$\int \cot x \, dx = \ln|\sin x| + C$$
For $$n\neq1$$:
$$\int \cot^n x \, dx = -\frac{\cot^{n-1}x}{n-1} + \int \cot^{n-2}x \, dx + C$$
No related questions available for this formula yet.

Go back to topics

Join CAT 2026 course by 5-Time CAT 100%iler

Start your IIM journey with the right preparation and crack CAT 2026.