Basic Trig
Integrals
Learn to evaluate the fundamental integrals of sine, cosine, and other trigonometric functions: the building blocks of every calculus toolkit.
What Is an Antiderivative?
An antiderivative of a function \( f(x) \) is any function \( F(x) \) whose derivative equals \( f(x) \). In symbols:
The constant \( C \) appears because differentiation destroys constants. Integration reverses differentiation, so there is always a family of solutions.
Why Trig Integrals Matter
Derivatives and Integrals: Mirror Images
Every basic trig integral comes from reversing a known derivative. If you know that \(\frac{d}{dx}[\sin x] = \cos x\), you instantly know that \(\int \cos x\,dx = \sin x + C\).
The Six Core Formulas
| Integral | Result |
|---|---|
| \(\displaystyle\int \sin x\,dx\) | \(-\cos x + C\) |
| \(\displaystyle\int \cos x\,dx\) | \(\sin x + C\) |
| \(\displaystyle\int \sec^2 x\,dx\) | \(\tan x + C\) |
| \(\displaystyle\int \csc^2 x\,dx\) | \(-\cot x + C\) |
| \(\displaystyle\int \sec x\tan x\,dx\) | \(\sec x + C\) |
| \(\displaystyle\int \csc x\cot x\,dx\) | \(-\csc x + C\) |
Visualizing \(\int \sin x\,dx\)
Watch the Negative Signs
Three of the six formulas produce a negative result. The pattern is easy to remember: if the antiderivative is a "co-" function (cosine, cotangent, cosecant), a negative sign appears.
\(\int \sec^2 x\,dx = \tan x + C\)
\(\int \sec x\tan x\,dx = \sec x + C\)
\(\int \csc^2 x\,dx = -\cot x + C\)
\(\int \csc x\cot x\,dx = -\csc x + C\)
\(\sec^2 x\) vs \(\sec x \tan x\)
Students often confuse these two integrals because both involve \(\sec x\). The key distinction:
| \(\sec^2 x\) | \(\sec x \tan x\) | |
|---|---|---|
| Integrand | A squared trig function | A product of two trig functions |
| Result | \(\tan x + C\) | \(\sec x + C\) |
| Comes from differentiating | \(\tan x\) | \(\sec x\) |
How to Evaluate a Trig Integral
Example 1: \(\int 5\cos x\,dx\)
Example 2: \(\int (3\sin x - 2\sec^2 x)\,dx\)
When a sum (or difference) of trig functions appears, integrate term by term:
Example 3: \(\displaystyle\int_0^{\pi/2}\!\cos x\,dx\)
For a definite integral, find the antiderivative, then evaluate at the bounds:
Example 4: \(\displaystyle\int_0^{\pi/4}\!\sec x\tan x\,dx\)
Common Mistakes
Summary Reference Table
| Derivative | Integral | Sign |
|---|---|---|
| \(\frac{d}{dx}[-\cos x] = \sin x\) | \(\int \sin x\,dx = -\cos x + C\) | negative |
| \(\frac{d}{dx}[\sin x] = \cos x\) | \(\int \cos x\,dx = \sin x + C\) | positive |
| \(\frac{d}{dx}[\tan x] = \sec^2 x\) | \(\int \sec^2 x\,dx = \tan x + C\) | positive |
| \(\frac{d}{dx}[-\cot x] = \csc^2 x\) | \(\int \csc^2 x\,dx = -\cot x + C\) | negative |
| \(\frac{d}{dx}[\sec x] = \sec x\tan x\) | \(\int \sec x\tan x\,dx = \sec x + C\) | positive |
| \(\frac{d}{dx}[-\csc x] = \csc x\cot x\) | \(\int \csc x\cot x\,dx = -\csc x + C\) | negative |
Question 1 of 5
Evaluate: \(\displaystyle\int \sin x\,dx\)
Question 2 of 5
Evaluate: \(\displaystyle\int 4\sec^2 x\,dx\)
Question 3 of 5
Evaluate: \(\displaystyle\int_0^{\pi}\!\sin x\,dx\)
Question 4 of 5
Which integral equals \(\sec x + C\)?
Question 5 of 5
Evaluate: \(\displaystyle\int (2\cos x + \csc^2 x)\,dx\)