List of Integrals of Trigonometric Functions: Full Table

#Calculus
TL;DR
Every row here reverses a derivative, an identity or a substitution. This list of integrals of trigonometric functions covers the six basics, squares, powers, products, reduction formulas and 1a+bsin⁡x\frac{1}{a + b\sin x} forms.
BT
Bhanzu TeamLast updated on October 11, 202621 min read

What Is The List Of Integrals Of Trigonometric Functions?

The list of integrals of trigonometric functions is a reference table of antiderivatives for integrands built from sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, cot⁡x\cot x, sec⁡x\sec x and csc⁡x\csc x, alone, raised to powers, multiplied together or placed in a denominator. Each row gives a function F(x)F(x) whose derivative is the integrand, so every entry can be checked by differentiating it back. Its anchor rows are

∫sin⁡x,dx=−cos⁡x+C,∫cos⁡x,dx=sin⁡x+C,\int \sin x,dx = -\cos x + C, \qquad \int \cos x,dx = \sin x + C,

where CC is the constant of integration, present on every indefinite row. An "integral" here always means an antiderivative unless limits are shown.

This page is the lookup table. The methods that produce the rows (u-substitution for odd powers, power-reduction for even powers, the secant derivation) are taught step by step on the companion page on integration of trigonometric functions, so the notes here stay short.

The symbols used in every table:

Symbol

Meaning

Condition

xx

variable of integration, in radians

the integrand must be defined on the interval used

aa, bb

real constants

a≠0a \neq 0 in linear-argument rows

mm, nn

integers

m2≠n2m^2 \neq n^2 in product-to-sum rows; n≥2n \geq 2 in reduction rows

CC

constant of integration

added to every indefinite integral

∣,⋅,∣\lvert,\cdot,\rvert

absolute value

keeps a logarithm defined where its argument is negative

How Do You Read A Table Of Trigonometric Integrals?

You read each row as "the derivative of the result is the integrand, on any interval where both are defined". Three habits keep table lookups honest.

  • Radians only. Every row assumes xx is measured in radians. In degrees, ddxsin⁡x\frac{d}{dx}\sin x picks up a factor of π180\frac{\pi}{180} and every row changes.

  • Absolute values stay. Rows such as ln⁡∣cos⁡x∣\ln\lvert\cos x\rvert keep the bars because cos⁡x\cos x is negative on half its domain.

  • Equivalent forms are common. ln⁡∣sec⁡x∣\ln\lvert\sec x\rvert and −ln⁡∣cos⁡x∣-\ln\lvert\cos x\rvert are the same function, and sin⁡2x2\frac{\sin^2 x}{2} and −cos⁡2x4-\frac{\cos 2x}{4} differ only by the constant 14\frac{1}{4}. Two tables can disagree on the look of a row and both be right.

What Are The Integrals Of The Six Basic Trigonometric Functions?

The six basic functions each have a one-line antiderivative. Sine and cosine reverse a derivative directly; the other four need a logarithm.

Integral

Result

Equivalent form

Valid where

∫sin⁡x,dx\int \sin x,dx

−cos⁡x+C-\cos x + C

all real xx

∫cos⁡x,dx\int \cos x,dx

sin⁡x+C\sin x + C

all real xx

∫tan⁡x,dx\int \tan x,dx

ln⁡∣sec⁡x∣+C\ln\lvert\sec x\rvert + C

−ln⁡∣cos⁡x∣+C-\ln\lvert\cos x\rvert + C

cos⁡x≠0\cos x \neq 0

∫cot⁡x,dx\int \cot x,dx

ln⁡∣sin⁡x∣+C\ln\lvert\sin x\rvert + C

−ln⁡∣csc⁡x∣+C-\ln\lvert\csc x\rvert + C

sin⁡x≠0\sin x \neq 0

∫sec⁡x,dx\int \sec x,dx

ln⁡∣sec⁡x+tan⁡x∣+C\ln\lvert\sec x + \tan x\rvert + C

ln⁡∣tan⁡(x2+π4)∣+C\ln\left\lvert\tan\left(\frac{x}{2} + \frac{\pi}{4}\right)\right\rvert + C

cos⁡x≠0\cos x \neq 0

∫csc⁡x,dx\int \csc x,dx

−ln⁡∣csc⁡x+cot⁡x∣+C-\ln\lvert\csc x + \cot x\rvert + C

ln⁡∣tan⁡x2∣+C\ln\left\lvert\tan\frac{x}{2}\right\rvert + C

sin⁡x≠0\sin x \neq 0

Four more rows come straight from reading the derivative table backwards:

Integral

Result

Because

∫sec⁡2x,dx\int \sec^2 x,dx

tan⁡x+C\tan x + C

ddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x = \sec^2 x

∫csc⁡2x,dx\int \csc^2 x,dx

−cot⁡x+C-\cot x + C

ddxcot⁡x=−csc⁡2x\frac{d}{dx}\cot x = -\csc^2 x

∫sec⁡xtan⁡x,dx\int \sec x\tan x,dx

sec⁡x+C\sec x + C

ddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x = \sec x\tan x

∫csc⁡xcot⁡x,dx\int \csc x\cot x,dx

−csc⁡x+C-\csc x + C

ddxcsc⁡x=−csc⁡xcot⁡x\frac{d}{dx}\csc x = -\csc x\cot x

A Quora user asked, "what is the integral of sec(x) tan(x) and why?" The answer is sec⁡x+C\sec x + C, and the "why" is the last table: the derivative of sec⁡x=(cos⁡x)−1\sec x = (\cos x)^{-1} is −(cos⁡x)−2⋅(−sin⁡x)=sin⁡xcos⁡2x-(\cos x)^{-2}\cdot(-\sin x) = \frac{\sin x}{\cos^2 x}, which is exactly sec⁡xtan⁡x\sec x\tan x. Reading a derivative backwards is the oldest way to fill an integral table.

What Happens When The Angle Is A Linear Expression?

When the angle is ax+bax + b instead of xx, the result keeps its shape and gains a factor of 1a\frac{1}{a}. That factor undoes the chain rule, which multiplies by aa when you differentiate.

Integral

Result

∫sin⁡(ax+b),dx\int \sin(ax+b),dx

−1acos⁡(ax+b)+C-\frac{1}{a}\cos(ax+b) + C

∫cos⁡(ax+b),dx\int \cos(ax+b),dx

1asin⁡(ax+b)+C\frac{1}{a}\sin(ax+b) + C

∫tan⁡(ax+b),dx\int \tan(ax+b),dx

−1aln⁡∣cos⁡(ax+b)∣+C-\frac{1}{a}\ln\lvert\cos(ax+b)\rvert + C

∫cot⁡(ax+b),dx\int \cot(ax+b),dx

1aln⁡∣sin⁡(ax+b)∣+C\frac{1}{a}\ln\lvert\sin(ax+b)\rvert + C

∫sec⁡(ax+b),dx\int \sec(ax+b),dx

1aln⁡∣sec⁡(ax+b)+tan⁡(ax+b)∣+C\frac{1}{a}\ln\lvert\sec(ax+b) + \tan(ax+b)\rvert + C

∫csc⁡(ax+b),dx\int \csc(ax+b),dx

−1aln⁡∣csc⁡(ax+b)+cot⁡(ax+b)∣+C-\frac{1}{a}\ln\lvert\csc(ax+b) + \cot(ax+b)\rvert + C

∫sec⁡2(ax+b),dx\int \sec^2(ax+b),dx

1atan⁡(ax+b)+C\frac{1}{a}\tan(ax+b) + C

∫csc⁡2(ax+b),dx\int \csc^2(ax+b),dx

−1acot⁡(ax+b)+C-\frac{1}{a}\cot(ax+b) + C

A Brainly question asks to "Evaluate ∫tan⁡(2x),dx\int \tan(2x),dx for −π2<x<π2-\frac{\pi}{2} < x < \frac{\pi}{2}". With a=2a = 2, b=0b = 0, the row gives −12ln⁡∣cos⁡2x∣+C-\frac{1}{2}\ln\lvert\cos 2x\rvert + C. The stated interval matters: cos⁡2x=0\cos 2x = 0 at x=±π4x = \pm\frac{\pi}{4}, so the formula holds on each piece between those points, not across them.

What Are The Integrals Of Squares Of Trigonometric Functions?

Squares need an identity before they integrate. Sine and cosine squared use the power-reduction forms of the double-angle formula, sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2} and cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}; tangent and cotangent squared use the Pythagorean identities tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1 and cot⁡2x=csc⁡2x−1\cot^2 x = \csc^2 x - 1.

Integral

Result

Identity used

∫sin⁡2x,dx\int \sin^2 x,dx

x2−sin⁡2x4+C\frac{x}{2} - \frac{\sin 2x}{4} + C

sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2}

∫cos⁡2x,dx\int \cos^2 x,dx

x2+sin⁡2x4+C\frac{x}{2} + \frac{\sin 2x}{4} + C

cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}

∫tan⁡2x,dx\int \tan^2 x,dx

tan⁡x−x+C\tan x - x + C

tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1

∫cot⁡2x,dx\int \cot^2 x,dx

−cot⁡x−x+C-\cot x - x + C

cot⁡2x=csc⁡2x−1\cot^2 x = \csc^2 x - 1

∫sec⁡2x,dx\int \sec^2 x,dx

tan⁡x+C\tan x + C

derivative of tan⁡x\tan x

∫csc⁡2x,dx\int \csc^2 x,dx

−cot⁡x+C-\cot x + C

derivative of cot⁡x\cot x

∫sin⁡2(ax),dx\int \sin^2(ax),dx

x2−sin⁡2ax4a+C\frac{x}{2} - \frac{\sin 2ax}{4a} + C

power reduction, then 1a\frac{1}{a}

∫cos⁡2(ax),dx\int \cos^2(ax),dx

x2+sin⁡2ax4a+C\frac{x}{2} + \frac{\sin 2ax}{4a} + C

power reduction, then 1a\frac{1}{a}

Look at the first two rows together. Their sum is x+Cx + C, which matches sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, and that one-line consistency check catches most sign slips in this table.

What Are The Integrals Of Higher Powers Of Trigonometric Functions?

Higher powers follow two patterns. Odd powers of sine or cosine split off one factor and substitute; even powers reduce with the double-angle identity again, and powers of tangent and secant borrow tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1.

Integral

Result

∫sin⁡3x,dx\int \sin^3 x,dx

−cos⁡x+cos⁡3x3+C-\cos x + \frac{\cos^3 x}{3} + C

∫cos⁡3x,dx\int \cos^3 x,dx

sin⁡x−sin⁡3x3+C\sin x - \frac{\sin^3 x}{3} + C

∫sin⁡4x,dx\int \sin^4 x,dx

3x8−sin⁡2x4+sin⁡4x32+C\frac{3x}{8} - \frac{\sin 2x}{4} + \frac{\sin 4x}{32} + C

∫cos⁡4x,dx\int \cos^4 x,dx

3x8+sin⁡2x4+sin⁡4x32+C\frac{3x}{8} + \frac{\sin 2x}{4} + \frac{\sin 4x}{32} + C

∫tan⁡3x,dx\int \tan^3 x,dx

tan⁡2x2+ln⁡∣cos⁡x∣+C\frac{\tan^2 x}{2} + \ln\lvert\cos x\rvert + C

∫cot⁡3x,dx\int \cot^3 x,dx

−cot⁡2x2−ln⁡∣sin⁡x∣+C-\frac{\cot^2 x}{2} - \ln\lvert\sin x\rvert + C

∫tan⁡4x,dx\int \tan^4 x,dx

tan⁡3x3−tan⁡x+x+C\frac{\tan^3 x}{3} - \tan x + x + C

∫sec⁡3x,dx\int \sec^3 x,dx

12(sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣)+C\frac{1}{2}\big(\sec x\tan x + \ln\lvert\sec x + \tan x\rvert\big) + C

∫csc⁡3x,dx\int \csc^3 x,dx

−12csc⁡xcot⁡x+12ln⁡∣csc⁡x−cot⁡x∣+C-\frac{1}{2}\csc x\cot x + \frac{1}{2}\ln\lvert\csc x - \cot x\rvert + C

∫sec⁡4x,dx\int \sec^4 x,dx

tan⁡x+tan⁡3x3+C\tan x + \frac{\tan^3 x}{3} + C

∫csc⁡4x,dx\int \csc^4 x,dx

−cot⁡x−cot⁡3x3+C-\cot x - \frac{\cot^3 x}{3} + C

The sec⁡3x\sec^3 x row is the one textbooks single out, and it appears verbatim in a Shaalaa question bank: "Evaluate the following: ∫sec⁡3x,dx\int \sec^3 x,dx". It needs integration by parts with u=sec⁡xu = \sec x and dv=sec⁡2x,dxdv = \sec^2 x,dx:

∫sec⁡3x,dx=sec⁡xtan⁡x−∫sec⁡xtan⁡2x,dx\int \sec^3 x,dx = \sec x\tan x - \int \sec x\tan^2 x,dx

=sec⁡xtan⁡x−∫sec⁡3x,dx+∫sec⁡x,dx= \sec x\tan x - \int \sec^3 x,dx + \int \sec x,dx

The unknown integral appears on both sides, so move it left and divide by 22:

∫sec⁡3x,dx=12(sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣)+C\int \sec^3 x,dx = \frac{1}{2}\big(\sec x\tan x + \ln\lvert\sec x + \tan x\rvert\big) + C

What Are The Reduction Formulas For Trigonometric Integrals?

A reduction formula writes the integral of an nnth power in terms of the integral of a lower power, so any power can be reached by repeating it. Each one comes from integration by parts, and each can be checked by differentiating its boundary term.

Integral

Reduction formula

Condition

∫sin⁡nx,dx\int \sin^n x,dx

−sin⁡n−1xcos⁡xn+n−1n∫sin⁡n−2x,dx-\frac{\sin^{n-1}x\cos x}{n} + \frac{n-1}{n}\int \sin^{n-2}x,dx

n≥2n \geq 2

∫cos⁡nx,dx\int \cos^n x,dx

cos⁡n−1xsin⁡xn+n−1n∫cos⁡n−2x,dx\frac{\cos^{n-1}x\sin x}{n} + \frac{n-1}{n}\int \cos^{n-2}x,dx

n≥2n \geq 2

∫tan⁡nx,dx\int \tan^n x,dx

tan⁡n−1xn−1−∫tan⁡n−2x,dx\frac{\tan^{n-1}x}{n-1} - \int \tan^{n-2}x,dx

n≥2n \geq 2

∫cot⁡nx,dx\int \cot^n x,dx

−cot⁡n−1xn−1−∫cot⁡n−2x,dx-\frac{\cot^{n-1}x}{n-1} - \int \cot^{n-2}x,dx

n≥2n \geq 2

∫sec⁡nx,dx\int \sec^n x,dx

sec⁡n−2xtan⁡xn−1+n−2n−1∫sec⁡n−2x,dx\frac{\sec^{n-2}x\tan x}{n-1} + \frac{n-2}{n-1}\int \sec^{n-2}x,dx

n≥2n \geq 2

∫csc⁡nx,dx\int \csc^n x,dx

−csc⁡n−2xcot⁡xn−1+n−2n−1∫csc⁡n−2x,dx-\frac{\csc^{n-2}x\cot x}{n-1} + \frac{n-2}{n-1}\int \csc^{n-2}x,dx

n≥2n \geq 2

Each formula steps down by 22, so it ends at a power of 00 or 11, both of which sit in the basic tables. The sec⁡n\sec^n row with n=3n = 3 reproduces the sec⁡3x\sec^3 x result above in one line, which is a quick way to trust the general formula.

On [0,π2]\left[0, \frac{\pi}{2}\right] the boundary term vanishes, and the sine and cosine formulas collapse into Wallis's formula:

∫0π/2sin⁡nx,dx=∫0π/2cos⁡nx,dx=n−1n⋅n−3n−2⋯×{π2n even 1n odd\int_{0}^{\pi/2} \sin^n x,dx = \int_{0}^{\pi/2} \cos^n x,dx = \frac{n-1}{n}\cdot\frac{n-3}{n-2}\cdots \times \begin{cases} \frac{\pi}{2} & n \text{ even} \ 1 & n \text{ odd} \end{cases}

So ∫0π/2sin⁡4x,dx=34⋅12⋅π2=3π16\int_{0}^{\pi/2} \sin^4 x,dx = \frac{3}{4}\cdot\frac{1}{2}\cdot\frac{\pi}{2} = \frac{3\pi}{16} and ∫0π/2sin⁡5x,dx=45⋅23=815\int_{0}^{\pi/2} \sin^5 x,dx = \frac{4}{5}\cdot\frac{2}{3} = \frac{8}{15}.

What Are The Integrals Of Products Of Trigonometric Functions?

Products split into three families: powers of sine times powers of cosine, products of sines and cosines with different frequencies, and powers of tangent times powers of secant. A Brainly question puts the first family plainly: "Which identity is most useful in evaluating ∫sin⁡3xcos⁡2x,dx\int \sin^3 x\cos^2 x,dx?" The answer is sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x, applied after saving one sin⁡x\sin x for dudu. Then integration by substitution with u=cos⁡xu = \cos x gives −cos⁡3x3+cos⁡5x5+C-\frac{\cos^3 x}{3} + \frac{\cos^5 x}{5} + C.

That choice generalises into a decision table for ∫sin⁡mxcos⁡nx,dx\int \sin^m x\cos^n x,dx:

Case

Strategy

Substitution

mm odd

save one sin⁡x\sin x, convert the rest with sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x

u=cos⁡xu = \cos x

nn odd

save one cos⁡x\cos x, convert the rest with cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x

u=sin⁡xu = \sin x

both even

reduce with sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2}, cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}

none, repeat until linear

Standard product rows:

Integral

Result

∫sin⁡xcos⁡x,dx\int \sin x\cos x,dx

sin⁡2x2+C\frac{\sin^2 x}{2} + C (or −cos⁡2x4+C-\frac{\cos 2x}{4} + C)

∫sin⁡nxcos⁡x,dx\int \sin^n x\cos x,dx

sin⁡n+1xn+1+C\frac{\sin^{n+1}x}{n+1} + C, n≠−1n \neq -1

∫cos⁡nxsin⁡x,dx\int \cos^n x\sin x,dx

−cos⁡n+1xn+1+C-\frac{\cos^{n+1}x}{n+1} + C, n≠−1n \neq -1

∫sin⁡2xcos⁡2x,dx\int \sin^2 x\cos^2 x,dx

x8−sin⁡4x32+C\frac{x}{8} - \frac{\sin 4x}{32} + C

∫sin⁡mxcos⁡nx,dx\int \sin mx\cos nx,dx

−cos⁡(m−n)x2(m−n)−cos⁡(m+n)x2(m+n)+C-\frac{\cos(m-n)x}{2(m-n)} - \frac{\cos(m+n)x}{2(m+n)} + C

∫sin⁡mxsin⁡nx,dx\int \sin mx\sin nx,dx

sin⁡(m−n)x2(m−n)−sin⁡(m+n)x2(m+n)+C\frac{\sin(m-n)x}{2(m-n)} - \frac{\sin(m+n)x}{2(m+n)} + C

∫cos⁡mxcos⁡nx,dx\int \cos mx\cos nx,dx

sin⁡(m−n)x2(m−n)+sin⁡(m+n)x2(m+n)+C\frac{\sin(m-n)x}{2(m-n)} + \frac{\sin(m+n)x}{2(m+n)} + C

∫tan⁡xsec⁡2x,dx\int \tan x\sec^2 x,dx

tan⁡2x2+C\frac{\tan^2 x}{2} + C

∫sec⁡nxtan⁡x,dx\int \sec^n x\tan x,dx

sec⁡nxn+C\frac{\sec^n x}{n} + C, n≠0n \neq 0

The three frequency rows require m2≠n2m^2 \neq n^2; when m=nm = n, use the square rows instead. They come from the product-to-sum identities, such as sin⁡Acos⁡B=12[sin⁡(A−B)+sin⁡(A+B)]\sin A\cos B = \frac{1}{2}\big[\sin(A-B) + \sin(A+B)\big], and they are the reason Fourier series work.

For ∫tan⁡mxsec⁡nx,dx\int \tan^m x\sec^n x,dx the rule mirrors the sine-cosine table: with nn even, save sec⁡2x\sec^2 x and set u=tan⁡xu = \tan x; with mm odd, save sec⁡xtan⁡x\sec x\tan x and set u=sec⁡xu = \sec x.

How Do You Integrate 1a+bsin⁡x\frac{1}{a + b\sin x} And 1a+bcos⁡x\frac{1}{a + b\cos x}?

These denominators fall to the Weierstrass substitution t=tan⁡x2t = \tan\frac{x}{2}, which turns any rational function of sin⁡x\sin x and cos⁡x\cos x into a rational function of tt. It rests on the half-angle formulas:

sin⁡x=2t1+t2,cos⁡x=1−t21+t2,dx=2,dt1+t2\sin x = \frac{2t}{1+t^2}, \qquad \cos x = \frac{1-t^2}{1+t^2}, \qquad dx = \frac{2,dt}{1+t^2}

After the swap, the integral becomes ∫2,dt(a+b)+(a−b)t2\int \frac{2,dt}{(a+b) + (a-b)t^2} for the cosine case, and the sign of a2−b2a^2 - b^2 decides whether the answer is an arctangent or a logarithm. This is the row that takes longest to trust: the case split looks arbitrary until you see it is the discriminant of a quadratic in tt.

Integral

Result

Condition

∫dxa+bcos⁡x\int \frac{dx}{a + b\cos x}

2a2−b2arctan⁡(a−ba+btan⁡x2)+C\frac{2}{\sqrt{a^2-b^2}}\arctan\left(\sqrt{\frac{a-b}{a+b}}\tan\frac{x}{2}\right) + C

a2>b2a^2 > b^2, a>0a > 0

∫dxa+bcos⁡x\int \frac{dx}{a + b\cos x}

1b2−a2ln⁡∣b+a+b−atan⁡x2b+a−b−atan⁡x2∣+C\frac{1}{\sqrt{b^2-a^2}}\ln\left\lvert\frac{\sqrt{b+a} + \sqrt{b-a}\tan\frac{x}{2}}{\sqrt{b+a} - \sqrt{b-a}\tan\frac{x}{2}}\right\rvert + C

b>∣a∣b > \lvert a\rvert

∫dxa+bsin⁡x\int \frac{dx}{a + b\sin x}

2a2−b2arctan⁡(atan⁡x2+ba2−b2)+C\frac{2}{\sqrt{a^2-b^2}}\arctan\left(\frac{a\tan\frac{x}{2} + b}{\sqrt{a^2-b^2}}\right) + C

a2>b2a^2 > b^2

∫dxa+bsin⁡x\int \frac{dx}{a + b\sin x}

1b2−a2ln⁡∣atan⁡x2+b−b2−a2atan⁡x2+b+b2−a2∣+C\frac{1}{\sqrt{b^2-a^2}}\ln\left\lvert\frac{a\tan\frac{x}{2} + b - \sqrt{b^2-a^2}}{a\tan\frac{x}{2} + b + \sqrt{b^2-a^2}}\right\rvert + C

b2>a2b^2 > a^2

∫dx1+cos⁡x\int \frac{dx}{1 + \cos x}

tan⁡x2+C\tan\frac{x}{2} + C

cos⁡x≠−1\cos x \neq -1

∫dx1−cos⁡x\int \frac{dx}{1 - \cos x}

−cot⁡x2+C-\cot\frac{x}{2} + C

cos⁡x≠1\cos x \neq 1

∫dx1+sin⁡x\int \frac{dx}{1 + \sin x}

tan⁡x−sec⁡x+C\tan x - \sec x + C

sin⁡x≠−1\sin x \neq -1

∫dx1−sin⁡x\int \frac{dx}{1 - \sin x}

tan⁡x+sec⁡x+C\tan x + \sec x + C

sin⁡x≠1\sin x \neq 1

∫dxa2sin⁡2x+b2cos⁡2x\int \frac{dx}{a^2\sin^2 x + b^2\cos^2 x}

1abarctan⁡(atan⁡xb)+C\frac{1}{ab}\arctan\left(\frac{a\tan x}{b}\right) + C

a,b>0a, b > 0

∫dxacos⁡x+bsin⁡x\int \frac{dx}{a\cos x + b\sin x}

1Rln⁡∣tan⁡x+φ2∣+C\frac{1}{R}\ln\left\lvert\tan\frac{x + \varphi}{2}\right\rvert + C

R=a2+b2R = \sqrt{a^2+b^2}, sin⁡φ=aR\sin\varphi = \frac{a}{R}, cos⁡φ=bR\cos\varphi = \frac{b}{R}

For a negative bb in the cosine rows, factor out −1-1 first. Every one of these antiderivatives contains tan⁡x2\tan\frac{x}{2}, which jumps at x=πx = \pi, so each formula holds on one interval between those jumps; Mistake 4 below shows what happens when a definite integral crosses one.

What Are The Integrals Of Trigonometric Functions Multiplied By Other Functions?

When a trig function multiplies a power of xx or an exponential, integration by parts produces the result; for exponentials it runs twice and the original integral reappears, the same trick as the sec⁡3x\sec^3 x row.

Integral

Result

∫xsin⁡x,dx\int x\sin x,dx

sin⁡x−xcos⁡x+C\sin x - x\cos x + C

∫xcos⁡x,dx\int x\cos x,dx

cos⁡x+xsin⁡x+C\cos x + x\sin x + C

∫x2sin⁡x,dx\int x^2\sin x,dx

−x2cos⁡x+2xsin⁡x+2cos⁡x+C-x^2\cos x + 2x\sin x + 2\cos x + C

∫x2cos⁡x,dx\int x^2\cos x,dx

x2sin⁡x+2xcos⁡x−2sin⁡x+Cx^2\sin x + 2x\cos x - 2\sin x + C

∫xsec⁡2x,dx\int x\sec^2 x,dx

xtan⁡x+ln⁡∣cos⁡x∣+Cx\tan x + \ln\lvert\cos x\rvert + C

∫eaxsin⁡bx,dx\int e^{ax}\sin bx,dx

eax(asin⁡bx−bcos⁡bx)a2+b2+C\frac{e^{ax}\big(a\sin bx - b\cos bx\big)}{a^2+b^2} + C

∫eaxcos⁡bx,dx\int e^{ax}\cos bx,dx

eax(acos⁡bx+bsin⁡bx)a2+b2+C\frac{e^{ax}\big(a\cos bx + b\sin bx\big)}{a^2+b^2} + C

The last two rows connect this list to integration of exponential functions: they model damped oscillations, a spring or a circuit whose swing shrinks by a factor of eaxe^{ax} with a<0a < 0.

Which Trigonometric Integrals Have No Elementary Formula?

Some short-looking trigonometric integrands have no antiderivative made of finitely many elementary functions. Their integrals exist, but they are named as new special functions instead of formulas.

Integral

Result

Name and value

∫sin⁡xx,dx\int \frac{\sin x}{x},dx

Si⁡(x)+C\operatorname{Si}(x) + C

sine integral; Si⁡(1)≈0.9461\operatorname{Si}(1) \approx 0.9461

∫cos⁡xx,dx\int \frac{\cos x}{x},dx

Ci⁡(x)+C\operatorname{Ci}(x) + C

cosine integral, x>0x > 0; Ci⁡(1)≈0.3374\operatorname{Ci}(1) \approx 0.3374

∫sin⁡(x2),dx\int \sin(x^2),dx

Fresnel integral

∫0∞sin⁡(x2),dx=2π4≈0.6267\int_{0}^{\infty} \sin(x^2),dx = \frac{\sqrt{2\pi}}{4} \approx 0.6267

The NIST Digital Library of Mathematical Functions defines Si⁡(z)=∫0zsin⁡tt,dt\operatorname{Si}(z) = \int_{0}^{z} \frac{\sin t}{t},dt (equation 6.2.9) and Ci⁡(z)=−∫z∞cos⁡tt,dt\operatorname{Ci}(z) = -\int_{z}^{\infty} \frac{\cos t}{t},dt (equation 6.2.11). The proof that no elementary formula exists comes from Liouville's theory of integration in finite terms, which sits well beyond a first calculus course.

What Are The Standard Definite Integrals Of Trigonometric Functions?

Many definite trig integrals have exact values even when the indefinite form is long. Symmetry and periodicity do most of the work, including the property ∫0af(x),dx=∫0af(a−x),dx\int_{0}^{a} f(x),dx = \int_{0}^{a} f(a-x),dx from the properties of definite integrals, which shows at once that sine and cosine powers share the same value on [0,π2]\left[0, \frac{\pi}{2}\right].

Definite integral

Exact value

Approximate

∫0πsin⁡x,dx\int_{0}^{\pi} \sin x,dx

22

22

∫02πsin⁡x,dx\int_{0}^{2\pi} \sin x,dx

00

00

∫0π/2sin⁡2x,dx\int_{0}^{\pi/2} \sin^2 x,dx

π4\frac{\pi}{4}

0.78540.7854

∫02πsin⁡2x,dx\int_{0}^{2\pi} \sin^2 x,dx

π\pi

3.14163.1416

∫0π/2sin⁡3x,dx\int_{0}^{\pi/2} \sin^3 x,dx

23\frac{2}{3}

0.66670.6667

∫0π/2sin⁡4x,dx\int_{0}^{\pi/2} \sin^4 x,dx

3π16\frac{3\pi}{16}

0.58900.5890

∫0π/4tan⁡x,dx\int_{0}^{\pi/4} \tan x,dx

ln⁡22\frac{\ln 2}{2}

0.34660.3466

∫0π/3sec⁡x,dx\int_{0}^{\pi/3} \sec x,dx

ln⁡(2+3)\ln\big(2 + \sqrt{3}\big)

1.31701.3170

∫−ππsin⁡mxsin⁡nx,dx\int_{-\pi}^{\pi} \sin mx\sin nx,dx

00 if m≠nm \neq n; π\pi if m=n≥1m = n \geq 1

∫−ππsin⁡mxcos⁡nx,dx\int_{-\pi}^{\pi} \sin mx\cos nx,dx

00 for all integers mm, nn

∫0∞sin⁡xx,dx\int_{0}^{\infty} \frac{\sin x}{x},dx

π2\frac{\pi}{2}

1.57081.5708

The last row is an improper integral known as the Dirichlet integral; it equals lim⁡x→∞Si⁡(x)\lim_{x \to \infty}\operatorname{Si}(x). The two orthogonality rows are the reason a sound wave can be split into separate frequencies: integrating against sin⁡nx\sin nx picks out one frequency and sends every other one to zero.

Examples Of Integrals Of Trigonometric Functions

Example 1

Use the list to find ∫(4cos⁡3x−sec⁡2x),dx\int \big(4\cos 3x - \sec^2 x\big),dx.

Split the integral and use the linear-argument row with a=3a = 3:

∫4cos⁡3x,dx=4⋅13sin⁡3x=43sin⁡3x\int 4\cos 3x,dx = 4\cdot\frac{1}{3}\sin 3x = \frac{4}{3}\sin 3x

∫sec⁡2x,dx=tan⁡x\int \sec^2 x,dx = \tan x

∫(4cos⁡3x−sec⁡2x),dx=43sin⁡3x−tan⁡x+C\int \big(4\cos 3x - \sec^2 x\big),dx = \frac{4}{3}\sin 3x - \tan x + C

Final answer: 43sin⁡3x−tan⁡x+C\frac{4}{3}\sin 3x - \tan x + C

Example 2

Find ∫sin⁡2x,dx\int \sin^2 x,dx.

The power rule looks tempting, treating sin⁡x\sin x like xx:

Attempt: ∫sin⁡2x,dx=sin⁡3x3+C\text{Attempt: } \int \sin^2 x,dx = \frac{\sin^3 x}{3} + C

Differentiate the attempt to check it. The chain rule gives

ddx[sin⁡3x3]=sin⁡2xcos⁡x\frac{d}{dx}\left[\frac{\sin^3 x}{3}\right] = \sin^2 x\cos x

That has an extra factor of cos⁡x\cos x, so the attempt is wrong. The power rule only reverses when the derivative of the inside is already present. Use power reduction instead:

sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1 - \cos 2x}{2}

∫sin⁡2x,dx=∫12,dx−∫cos⁡2x2,dx\int \sin^2 x,dx = \int \frac{1}{2},dx - \int \frac{\cos 2x}{2},dx

=x2−sin⁡2x4+C= \frac{x}{2} - \frac{\sin 2x}{4} + C

Check: ddx[x2−sin⁡2x4]=12−cos⁡2x2=sin⁡2x\frac{d}{dx}\left[\frac{x}{2} - \frac{\sin 2x}{4}\right] = \frac{1}{2} - \frac{\cos 2x}{2} = \sin^2 x.

Final answer: x2−sin⁡2x4+C\frac{x}{2} - \frac{\sin 2x}{4} + C

Example 3

Find ∫sin⁡3xcos⁡4x,dx\int \sin^3 x\cos^4 x,dx.

The sine power is odd, so save one sin⁡x\sin x and convert sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x. Let u=cos⁡xu = \cos x, so du=−sin⁡x,dxdu = -\sin x,dx:

∫sin⁡3xcos⁡4x,dx=∫(1−cos⁡2x)cos⁡4xsin⁡x,dx\int \sin^3 x\cos^4 x,dx = \int \big(1 - \cos^2 x\big)\cos^4 x\sin x,dx

=−∫(1−u2)u4,du= -\int \big(1 - u^2\big)u^4,du

=−u55+u77+C= -\frac{u^5}{5} + \frac{u^7}{7} + C

=−cos⁡5x5+cos⁡7x7+C= -\frac{\cos^5 x}{5} + \frac{\cos^7 x}{7} + C

The step that looks skippable is saving the single sin⁡x\sin x before converting; convert all three powers and no dudu is left to absorb.

Final answer: −cos⁡5x5+cos⁡7x7+C-\frac{\cos^5 x}{5} + \frac{\cos^7 x}{7} + C

Example 4

Evaluate ∫0π/2sin⁡6x,dx\int_{0}^{\pi/2} \sin^6 x,dx.

Use Wallis's formula with n=6n = 6 (even, so the last factor is π2\frac{\pi}{2}):

∫0π/2sin⁡6x,dx=56⋅34⋅12⋅π2\int_{0}^{\pi/2} \sin^6 x,dx = \frac{5}{6}\cdot\frac{3}{4}\cdot\frac{1}{2}\cdot\frac{\pi}{2}

=15π96=5π32= \frac{15\pi}{96} = \frac{5\pi}{32}

Final answer: 5π32≈0.4909\frac{5\pi}{32} \approx 0.4909

Example 5

Evaluate ∫0π/2dx5+3cos⁡x\int_{0}^{\pi/2} \frac{dx}{5 + 3\cos x}.

Here a=5a = 5, b=3b = 3 and a2>b2a^2 > b^2, so use the arctangent row with a2−b2=4\sqrt{a^2 - b^2} = 4 and a−ba+b=28=12\sqrt{\frac{a-b}{a+b}} = \sqrt{\frac{2}{8}} = \frac{1}{2}:

∫dx5+3cos⁡x=24arctan⁡(12tan⁡x2)+C\int \frac{dx}{5 + 3\cos x} = \frac{2}{4}\arctan\left(\frac{1}{2}\tan\frac{x}{2}\right) + C

The interval [0,π2]\left[0, \frac{\pi}{2}\right] does not reach x=πx = \pi, so the antiderivative is continuous there:

[12arctan⁡(12tan⁡x2)]0π/2=12arctan⁡12−0\left[\frac{1}{2}\arctan\left(\frac{1}{2}\tan\frac{x}{2}\right)\right]_{0}^{\pi/2} = \frac{1}{2}\arctan\frac{1}{2} - 0

Final answer: 12arctan⁡12≈0.2318\frac{1}{2}\arctan\frac{1}{2} \approx 0.2318

Example 6

A mains voltage follows V(t)=325sin⁡(100πt)V(t) = 325\sin(100\pi t) volts. Find its root-mean-square (RMS) value over one cycle.

One cycle lasts T=150T = \frac{1}{50} second. RMS is the square root of the mean of V2V^2 over that cycle:

Vrms2=1T∫0T3252sin⁡2(100πt),dtV_{\text{rms}}^2 = \frac{1}{T}\int_{0}^{T} 325^2\sin^2(100\pi t),dt

The sin⁡2\sin^2 row says sin⁡2\sin^2 averages to 12\frac{1}{2} over a whole period, so

Vrms2=32522V_{\text{rms}}^2 = \frac{325^2}{2}

Vrms=3252≈229.81,VV_{\text{rms}} = \frac{325}{\sqrt{2}} \approx 229.81,\text{V}

Final answer: about 229.81,V229.81,\text{V}, which is why a supply with a 325,V325,\text{V} peak is labelled as roughly 230,V230,\text{V}.

Why Does A List Of Trigonometric Integrals Exist?

A list of trigonometric integrals exists because periodic motion needs areas under periodic curves, and those areas come up too often to rederive each time. The secant row is the clearest case of a table arriving before the theory.

  • Maps needed it first. Mercator's 1569 projection spaces each latitude line by the integral of sec⁡x\sec x from the equator. Edward Wright computed that integral by adding many small values in 1599; Henry Bond noticed in the 1640s that the totals matched ln⁡tan⁡(x2+π4)\ln\tan\left(\frac{x}{2} + \frac{\pi}{4}\right); and James Gregory proved the match in 1668, as told in the history of the integral of the secant function.

  • Waves and power need it now. Every RMS value, every energy-in-a-signal calculation and every Fourier coefficient is a definite trig integral like Example 6.

  • The table shows where formulas stop. ∫sin⁡xx,dx\int \frac{\sin x}{x},dx looks as simple as ∫xsin⁡x,dx\int x\sin x,dx, yet only the second has a closed form, and knowing which is which saves hours.

Where Do Students Trip Up On Trigonometric Integrals?

Mistake 1: Losing The Minus Sign On The Integral Of Sine

Where it slips in: Integrating sin⁡x\sin x quickly, especially inside a longer expression.

Don't do this: Writing ∫sin⁡x,dx=cos⁡x+C\int \sin x,dx = \cos x + C.

The correct way: Write −cos⁡x+C-\cos x + C, because ddx(−cos⁡x)=sin⁡x\frac{d}{dx}(-\cos x) = \sin x.

The memorizer stores "sine goes to cosine" from the derivative table and runs it backwards without the sign. Students who differentiate every table answer before moving on stop losing this sign, because the check takes five seconds and the error never survives it.

Mistake 2: Dropping The Factor Of One Over A

Where it slips in: Integrals with a multiplied angle, such as ∫cos⁡4x,dx\int \cos 4x,dx.

Don't do this: Writing sin⁡4x+C\sin 4x + C.

The correct way: Write 14sin⁡4x+C\frac{1}{4}\sin 4x + C, since differentiating sin⁡4x\sin 4x produces an extra 44 that must be cancelled.

The rusher matches the shape of the basic row and skips the chain-rule factor. Ask what the derivative of the answer would be before writing it down.

Mistake 3: Using Degrees Instead Of Radians

Where it slips in: Problems stated with angles in degrees, or calculators left in degree mode for a definite integral.

Don't do this: Using ∫sin⁡x,dx=−cos⁡x+C\int \sin x,dx = -\cos x + C when xx is in degrees.

The correct way: Convert first, or use the degree version ∫sin⁡(x∘),dx=−180πcos⁡(x∘)+C\int \sin(x^{\circ}),dx = -\frac{180}{\pi}\cos(x^{\circ}) + C, which carries the factor 180π≈57.3\frac{180}{\pi} \approx 57.3.

Mistake 4: Evaluating A Weierstrass Answer Across X Equals Pi

Where it slips in: Definite integrals of 1a+bcos⁡x\frac{1}{a + b\cos x} over a full period.

Don't do this: Plugging 00 and 2π2\pi into 12arctan⁡(12tan⁡x2)\frac{1}{2}\arctan\left(\frac{1}{2}\tan\frac{x}{2}\right) and getting 00 for ∫02πdx5+3cos⁡x\int_{0}^{2\pi} \frac{dx}{5 + 3\cos x}, even though the integrand is positive everywhere.

The correct way: Split at x=πx = \pi, where tan⁡x2\tan\frac{x}{2} jumps, or use the full-period result 2πa2−b2\frac{2\pi}{\sqrt{a^2 - b^2}}. Here that gives 2π4=π2≈1.5708\frac{2\pi}{4} = \frac{\pi}{2} \approx 1.5708.

Practice Problems On The List Of Integrals Of Trigonometric Functions

  1. Find ∫cos⁡5x,dx\int \cos 5x,dx.

  2. Find ∫cos⁡23x,dx\int \cos^2 3x,dx.

  3. Find ∫sin⁡xcos⁡3x,dx\int \sin x\cos^3 x,dx.

  4. Find ∫tan⁡5x,dx\int \tan^5 x,dx using the reduction formula.

  5. Evaluate ∫0πsin⁡2x,dx\int_{0}^{\pi} \sin^2 x,dx.

  6. Find ∫dx2+sin⁡x\int \frac{dx}{2 + \sin x}.

Answer to Question 1: sin⁡5x5+C\frac{\sin 5x}{5} + C

Answer to Question 2: x2+sin⁡6x12+C\frac{x}{2} + \frac{\sin 6x}{12} + C

Answer to Question 3: −cos⁡4x4+C-\frac{\cos^4 x}{4} + C

Answer to Question 4: tan⁡4x4−tan⁡2x2−ln⁡∣cos⁡x∣+C\frac{\tan^4 x}{4} - \frac{\tan^2 x}{2} - \ln\lvert\cos x\rvert + C

Answer to Question 5: π2\frac{\pi}{2}

Answer to Question 6: 23arctan⁡(2tan⁡x2+13)+C\frac{2}{\sqrt{3}}\arctan\left(\frac{2\tan\frac{x}{2} + 1}{\sqrt{3}}\right) + C

The Short Version

  • The list of integrals of trigonometric functions rests on six basic rows, with ∫sin⁡x,dx=−cos⁡x+C\int \sin x,dx = -\cos x + C the one most often mis-signed.

  • A linear angle ax+bax + b keeps each row's shape and adds a factor of 1a\frac{1}{a}.

  • Squares and even powers use power reduction; odd powers save one factor and substitute.

  • Reduction formulas step any power down by two, and Wallis's formula gives the [0,π2]\left[0, \frac{\pi}{2}\right] values directly.

  • Denominators like a+bcos⁡xa + b\cos x use t=tan⁡x2t = \tan\frac{x}{2}, valid only between the jumps at x=πx = \pi.

Your Next Move

Work through practice problems 1 to 6; if Problem 4 or 6 trips you up, return to the reduction-formula table or the Weierstrass section and match the row before integrating. Want a live Bhanzu trainer to build that row-matching speed with you? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

How do you integrate tan(x)sec^3(x) with the list of integrals of trigonometric functions?
Write it as sec⁡2x⋅(sec⁡xtan⁡x)\sec^2 x\cdot(\sec x\tan x) and let u=sec⁡xu = \sec x, so du=sec⁡xtan⁡x,dxdu = \sec x\tan x,dx. The integral becomes ∫u2,du=sec⁡3x3+C\int u^2,du = \frac{\sec^3 x}{3} + C, which is the sec⁡nxtan⁡x\sec^n x\tan x row with n=3n = 3.
How do you evaluate ∫3cos⁡2xtan⁡3x,dx\int 3\cos^2 x\tan^3 x,dx?
Simplify first: 3cos⁡2xtan⁡3x=3sin⁡3xcos⁡x3\cos^2 x\tan^3 x = \frac{3\sin^3 x}{\cos x}. Write sin⁡3x=(1−cos⁡2x)sin⁡x\sin^3 x = \big(1 - \cos^2 x\big)\sin x and let u=cos⁡xu = \cos x. The result is 32cos⁡2x−3ln⁡∣cos⁡x∣+C\frac{3}{2}\cos^2 x - 3\ln\lvert\cos x\rvert + C.
How do you evaluate ∫sin⁡2(2x)cos⁡3(2x),dx\int \sin^2(2x)\cos^3(2x),dx?
The cosine power is odd, so save one cos⁡2x\cos 2x and let u=sin⁡2xu = \sin 2x, with du=2cos⁡2x,dxdu = 2\cos 2x,dx. That gives 12∫u2(1−u2),du=sin⁡32x6−sin⁡52x10+C\frac{1}{2}\int u^2\big(1 - u^2\big),du = \frac{\sin^3 2x}{6} - \frac{\sin^5 2x}{10} + C.
What is ∫8sin⁡2xcos⁡3x,dx\int 8\sin^2 x\cos^3 x,dx?
8sin⁡3x3−8sin⁡5x5+C\frac{8\sin^3 x}{3} - \frac{8\sin^5 x}{5} + C, using the odd-cosine strategy with u=sin⁡xu = \sin x.
What is the integration of sin^4 x dx by reduction formula?
Apply the sine reduction formula twice: ∫sin⁡4x,dx=−sin⁡3xcos⁡x4+34(−sin⁡xcos⁡x2+x2)+C\int \sin^4 x,dx = -\frac{\sin^3 x\cos x}{4} + \frac{3}{4}\left(-\frac{\sin x\cos x}{2} + \frac{x}{2}\right) + C This equals 3x8−sin⁡2x4+sin⁡4x32+C\frac{3x}{8} - \frac{\sin 2x}{4} + \frac{\sin 4x}{32} + C, the table row, once the double-angle identities are applied.
Is there any easy way to memorize reduction formulae in the list of integrals of trigonometric functions?
Yes. Memorise one shape and derive the rest: every sine, cosine, secant and cosecant formula is "boundary term over the power, plus power−1power\frac{\text{power} - 1}{\text{power}} (or n−2n−1\frac{n-2}{n-1} for secant and cosecant) times the integral two powers down". Tangent and cotangent are simpler still, since tan⁡nx=tan⁡n−2xsec⁡2x−tan⁡n−2x\tan^n x = \tan^{n-2}x\sec^2 x - \tan^{n-2}x gives their formula in one line.
How do you find a reduction formula for ∫(acos⁡x+bsin⁡x)n,dx\int (a\cos x + b\sin x)^n,dx?
Let u=acos⁡x+bsin⁡xu = a\cos x + b\sin x. Then u′′=−uu'' = -u and (u′)2=a2+b2−u2(u')^2 = a^2 + b^2 - u^2, and integrating by parts gives ∫un,dx=un−1(asin⁡x−bcos⁡x)n+(n−1)(a2+b2)n∫un−2,dx.\int u^n,dx = \frac{u^{n-1}\big(a\sin x - b\cos x\big)}{n} + \frac{(n-1)\big(a^2 + b^2\big)}{n}\int u^{n-2},dx.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →