CALCULUS 1 • INTEGRATION: ACCUMULATION & FTC

Basic Trig Integrals — Basic Integrals of Trigonometric Functions

Learn how to reverse differentiation for sine, cosine, and four other trig functions to unlock powerful area calculations.

Historical Context & Motivation

Trigonometric functions appear everywhere—from the swinging of a pendulum to the oscillations of sound waves. When scientists and mathematicians wanted to find the accumulated area under curves described by sine and cosine, they needed a way to reverse the process of differentiation. This quest to "undo" derivatives of trig functions drove centuries of mathematical progress and ultimately gave us the basic trigonometric integrals you will learn in this lesson.

~250 BCE
Archimedes' Method of Exhaustion
Archimedes approximated areas under curves by inscribing polygons, foreshadowing the idea of integration centuries before calculus was formally invented.
1665–1676
Newton & Leibniz Develop Calculus
Isaac Newton and Gottfried Leibniz independently created the framework of calculus, establishing that differentiation and integration are inverse operations through the Fundamental Theorem of Calculus.
1700s
Euler Formalizes Trig Functions
Leonhard Euler defined trigonometric functions analytically and catalogued their derivatives and antiderivatives, making trig integrals routine tools for physicists and engineers.
1800s
Riemann Rigorizes Integration
Bernhard Riemann provided a rigorous definition of the integral using limits of sums, solidifying the theoretical foundation behind every trig integral formula.

The central question this lesson addresses is straightforward: if you already know that the derivative of sin x is cos x, can you reverse that relationship? In other words, what function has cos x as its derivative? Answering this for all six basic trig functions gives you a powerful toolkit for computing areas, solving differential equations, and modeling periodic phenomena.

Core Principles & Definitions

Before diving into formulas, you need to understand a few foundational ideas. An antiderivative of a function f(x) is any function F(x) whose derivative equals f(x). The indefinite integral symbol ∫ f(x) dx represents the family of all antiderivatives of f(x), differing only by a constant C. Every trig integral formula you learn is simply the reverse of a derivative rule you already know.

1

Antiderivative = Reverse Derivative

If d/dx [F(x)] = f(x), then ∫ f(x) dx = F(x) + C. You are simply asking: "What function did I differentiate to get this?"
2

The Constant of Integration

Since the derivative of any constant is zero, every antiderivative includes an unknown "+ C." This ensures you capture every possible vertical shift of the antiderivative.
3

Derivative–Integral Pairing

Each trig integral comes directly from a known derivative. For example, because d/dx [sin x] = cos x, you know that ∫ cos x dx = sin x + C.
4

Sign Sensitivity

Trig derivatives often involve sign changes. The derivative of cos x is −sin x, so the integral of sin x is −cos x + C. Watch the negative signs carefully!
KEY TAKEAWAY
Think of integration as playing a song in reverse. Differentiation is recording the song; integration is hitting "rewind." If you know the recording (the derivative), you can recover the original song (the antiderivative)—you just might not know the exact starting volume (the + C).

Visual Explanation — Derivative & Antiderivative Pairs

The solid cyan curve is sin x and the dashed pink curve is cos x. Notice how the peaks of sin x correspond to the zero crossings of cos x—this is the derivative relationship in action. Wherever sin x is increasing, cos x is positive, and wherever sin x is decreasing, cos x is negative.

This diagram captures the most fundamental idea behind trig integrals: the derivative and antiderivative are two sides of the same coin. If you see cos x under an integral sign, you should immediately think "the function whose slope graph is cos x is sin x." The graph confirms this visually—every slope of the cyan curve matches the height of the pink curve at the same x-value.

Mathematical Framework — The Six Basic Trig Integrals

Each of the six basic trig integrals follows directly from the derivative rules you learned in differential calculus. Below are the formulas with their derivative justifications.

INTEGRAL OF COSINE
∫ cos x dx = sin x + C
Because d/dx [sin x] = cos x, the antiderivative of cos x is sin x. The constant C accounts for any vertical shift.
INTEGRAL OF SINE
∫ sin x dx = −cos x + C
Because d/dx [cos x] = −sin x, reversing the sign gives d/dx [−cos x] = sin x. Watch the negative sign—it is the most common source of errors.
INTEGRAL OF SECANT SQUARED
∫ sec²x dx = tan x + C
Because d/dx [tan x] = sec²x. This comes up frequently when integrating expressions involving 1/cos²x.
INTEGRAL OF COSECANT SQUARED
∫ csc²x dx = −cot x + C
Because d/dx [cot x] = −csc²x, the antiderivative picks up a negative sign: −cot x.
INTEGRAL OF sec x tan x
∫ sec x tan x dx = sec x + C
Because d/dx [sec x] = sec x tan x. This integral appears when working with arc-length and surface-area problems.
INTEGRAL OF csc x cot x
∫ csc x cot x dx = −csc x + C
Because d/dx [csc x] = −csc x cot x. Again, notice the negative sign that appears when reversing the derivative.
💡 Sign-Check Tip
After you write down an antiderivative, always differentiate your answer to confirm it returns the original integrand. This 30-second check catches sign errors before they snowball into wrong final answers.

Detailed Breakdown — Complete Reference & Patterns

It helps to see all six integrals side by side, matched with the derivative facts that justify them. The table below also highlights which formulas carry a negative sign, since that is where most students make mistakes.

The six basic trigonometric integrals and their derivative origins
Derivative RuleCorresponding IntegralSign Change?
d/dx [sin x] = cos x∫ cos x dx = sin x + CNo
d/dx [cos x] = −sin x∫ sin x dx = −cos x + CYes — negative
d/dx [tan x] = sec²x∫ sec²x dx = tan x + CNo
d/dx [cot x] = −csc²x∫ csc²x dx = −cot x + CYes — negative
d/dx [sec x] = sec x tan x∫ sec x tan x dx = sec x + CNo
d/dx [csc x] = −csc x cot x∫ csc x cot x dx = −csc x + CYes — negative
This diagram groups the six basic trig integrals by sign. The left box (cyan border) shows the three integrals that remain positive, while the right box (pink border) shows the three that require a negative sign. The golden memory trick at the bottom helps you remember the pattern: "co-function results always carry a minus sign."

Here is the pattern to remember: the three integrals whose antiderivatives are co-functions (cos, cot, csc) all acquire a negative sign. The three integrals whose antiderivatives are non-co-functions (sin, tan, sec) stay positive. This simple observation cuts the memorization effort roughly in half.

Worked Example — Evaluating a Definite Trig Integral

Let's put the formulas to work by evaluating a definite integral that combines two trig functions. We will find the exact area under a curve over a specific interval.

Evaluate ∫₀^{π/4} (3 cos x + sec²x) dx
1
Step 1 — Split the IntegralUse the sum rule for integrals to break the expression into two simpler integrals: ∫₀^{π/4} 3 cos x dx + ∫₀^{π/4} sec²x dx. You can also factor out the constant 3 from the first integral.
3 ∫₀^{π/4} cos x dx + ∫₀^{π/4} sec²x dx
2
Step 2 — Find the AntiderivativesFrom the formula table: ∫ cos x dx = sin x and ∫ sec²x dx = tan x. For a definite integral, you do not need the + C because it cancels when you evaluate the upper limit minus the lower limit.
3 [sin x]₀^{π/4} + [tan x]₀^{π/4}
3
Step 3 — Evaluate at the LimitsPlug in the upper limit π/4 and subtract the value at the lower limit 0. Recall that sin(π/4) = √2/2, sin(0) = 0, tan(π/4) = 1, and tan(0) = 0.
3(√2/2 − 0) + (1 − 0) = 3√2/2 + 1
4
Step 4 — SimplifyThe exact value is 3√2/2 + 1. If you need a decimal approximation, 3(1.4142)/2 + 1 ≈ 2.121 + 1 = 3.121.
3√2/2 + 1 ≈ 3.121
Verification Check
Differentiate the antiderivative 3 sin x + tan x. You get 3 cos x + sec²x, which matches the original integrand. This confirms the solution is correct.

Common Errors & How to Avoid Them

Trig integrals are conceptually simple, but a few recurring mistakes can trip you up. The table below compares the most common errors with the correct approaches so you can avoid pitfalls on exams.

Common errors vs. correct methods for basic trig integrals
Common ErrorCorrect ApproachWhy It Matters
Writing ∫ sin x dx = cos x + C (forgetting the negative)∫ sin x dx = −cos x + Cd/dx [cos x] = −sin x, not sin x. The sign flip is essential.
Omitting + C on indefinite integralsAlways include + C unless it is a definite integralMissing + C loses a family of solutions and costs points.
Confusing ∫ tan x dx with tan x + C∫ tan x dx = −ln |cos x| + C (not a basic formula)Only sec²x, not tan x itself, is among the six basic integrals.
Swapping sine and cosine antiderivativesAlways verify by differentiating your answerA quick derivative check catches this instantly.
KEY TAKEAWAY
Treat the derivative check like spell-check for math. After writing any antiderivative, differentiate it. If you get back the original integrand, your answer is correct. If not, you have a sign error or a wrong formula—and now you can fix it before moving on.

Connection to Advanced Integration Techniques

The six basic trig integrals serve as building blocks for more advanced techniques you will encounter later in your calculus journey. Understanding them fluently makes techniques like u-substitution, trigonometric substitution, and integration by parts much easier to learn.

How basic trig integrals connect to future calculus techniques
Basic Trig Integrals (This Lesson)Advanced Techniques (Future Topics)
Direct antiderivatives of sin x, cos x, sec²x, etc.Integrals of sin²x, cos²x using power-reduction identities
No algebraic manipulation neededU-substitution rewrites complicated integrands into basic forms
Argument is simply xTrig substitution replaces x with sin θ, tan θ, or sec θ
Constant coefficient can be factored outIntegration by parts handles products like x sin x

For example, when you encounter ∫ sin(3x) dx in a future lesson, you will use u-substitution with u = 3x to transform it into (1/3) ∫ sin u du, which reduces to a basic trig integral. The foundation you build here makes those advanced steps feel natural rather than mysterious.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why ∫ sin x dx = −cos x + C includes a negative sign while ∫ cos x dx = sin x + C does not. What derivative fact accounts for the difference?
PROBLEM 2BASIC CALCULATION
Evaluate: ∫ 5 sin x dx.
PROBLEM 3INTERMEDIATE
Evaluate: ∫ (4 sec²x − 2 csc x cot x) dx.
PROBLEM 4APPLIED
A particle's velocity is given by v(t) = 3 cos t − sin t (in meters per second). Find the displacement of the particle from t = 0 to t = π/2.
PROBLEM 5CRITICAL THINKING
Show that ∫₀^{π} sin x dx = 2 and explain geometrically why this result makes sense by relating it to the graph of sin x over [0, π].

Lesson Summary

The six basic trigonometric integrals are direct reversals of the six trig derivative rules. ∫ cos x dx = sin x + C and ∫ sin x dx = −cos x + C are the two most commonly used formulas. The integrals of sec²x, csc²x, sec x tan x, and csc x cot x complete the set and yield tan x, −cot x, sec x, and −csc x, respectively. The key pattern to remember is that co-function results (cos, cot, csc) always carry a negative sign.

Always include the constant of integration C for indefinite integrals, and always verify your answer by differentiating back to the original integrand. These basic integrals form the foundation for more advanced techniques such as u-substitution and trigonometric substitution that you will study next.

Varsity Tutors • Calculus 1 • Basic Trig Integrals — Basic Integrals of Trigonometric Functions