3. Trigonometric Integrals and Trigonometric Substitution

Secant And Tangent Integrals

Secant and Tangent Integrals

students, in Calculus 2, some trig integrals are designed to look difficult at first but become manageable once you spot a pattern. Secant and tangent integrals are a major example of this idea 📘✨. In this lesson, you will learn how to recognize integrals involving powers of $\sec x$ and $\tan x$, why certain powers are special, and how to use identities and substitution to solve them.

What makes secant and tangent integrals special?

The functions $\sec x$ and $\tan x$ are closely linked by the identity $\sec^2 x = 1 + \tan^2 x$. This identity is the key reason these integrals are useful in Calculus 2. When an integral contains powers of $\sec x$ and $\tan x$, that identity often lets us rewrite part of the integrand into something easier to integrate.

A basic fact to remember is that the derivatives of these trig functions are also connected:

$$\frac{d}{dx}(\tan x) = \sec^2 x$$

and

$$\frac{d}{dx}(\sec x) = \sec x \tan x.$$

These derivatives explain why expressions with $\sec^2 x$ or $\sec x\tan x$ often become easy after substitution. The goal is usually to transform the integral into one involving a simpler power of one trig function, or into a standard algebraic form.

For example, if you see an integral like

$$\int \sec^2 x\,dx,$$

you can immediately recognize it as the derivative pattern of $\tan x$. So the answer is

$$\tan x + C.$$

If you see

$$\int \sec x\tan x\,dx,$$

you should think of the derivative of $\sec x$, giving

$$\sec x + C.$$

These are the two “base patterns” of secant and tangent integrals. Many harder problems are built from these patterns. 🌟

The main strategy for powers of $\sec x$ and $\tan x$

Most secant and tangent integrals involve powers such as $\sec^m x\tan^n x$. The main job is to decide which identity or substitution will simplify the expression.

Here are the two most common strategies:

  1. If $n$ is odd, save one factor of $\sec x\tan x$ and use $u = \sec x$.
  2. If $m$ is even, save one factor of $\sec^2 x$ and use $u = \tan x$.

Why do these strategies work? Because of the derivative relationships:

$$\frac{d}{dx}(\sec x) = \sec x\tan x$$

and

$$\frac{d}{dx}(\tan x) = \sec^2 x.$$

So if the integrand contains an odd power of $\tan x$, you can usually peel off one $\sec x\tan x$ and rewrite the remaining $\tan^2 x$ using the identity

$$\tan^2 x = \sec^2 x - 1.$$

If the integrand contains an even power of $\sec x$, you can usually peel off one $\sec^2 x$ and rewrite the remaining $\sec^2 x$ terms using

$$\sec^2 x = 1 + \tan^2 x.$$

This method is not random. It is a systematic way to create a substitution that matches a derivative pattern. ✅

Example 1: an even power of secant

Consider

$$\int \sec^4 x\,dx.$$

Since the power of $\sec x$ is even, we use the identity

$$\sec^2 x = 1 + \tan^2 x.$$

Rewrite the integrand as

$$\int \sec^2 x\,\sec^2 x\,dx.$$

Now let

$$u = \tan x,$$

so that

$$du = \sec^2 x\,dx.$$

This turns the integral into

$$\int \sec^2 x\,du.$$

Use $\sec^2 x = 1 + \tan^2 x = 1 + u^2$, so the integral becomes

$$\int (1+u^2)\,du.$$

Now integrate term by term:

$$u + \frac{u^3}{3} + C.$$

Substitute back $u = \tan x$:

$$\tan x + \frac{\tan^3 x}{3} + C.$$

This example shows the general pattern: when the power of $\sec x$ is even, isolate a $\sec^2 x$ factor and use $u = \tan x$.

Example 2: an odd power of tangent

Now consider

$$\int \sec^3 x\tan x\,dx.$$

Here the power of $\tan x$ is odd, so we save one factor of $\sec x\tan x$ and use

$$u = \sec x,$$

which gives

$$du = \sec x\tan x\,dx.$$

Rewrite the integral as

$$\int \sec^2 x\,\sec x\tan x\,dx.$$

Now use $u = \sec x$, so the integral becomes

$$\int u^2\,du.$$

Integrating gives

$$\frac{u^3}{3} + C.$$

Substitute back:

$$\frac{\sec^3 x}{3} + C.$$

This works because the factor $\sec x\tan x\,dx$ matches $du$, while the leftover $\sec^2 x$ becomes $u^2$.

What if the powers do not fit the usual pattern?

Not every integral fits neatly into the “odd tangent” or “even secant” rule. Sometimes you need another identity or algebraic rearrangement.

For example, consider

$$\int \sec x\,dx.$$

This is one of the classic Calculus 2 trig integrals. It does not match a simple derivative pattern at first glance. The standard technique is to multiply by a clever form of $1$:

$$\int \sec x\,dx = \int \sec x\cdot \frac{\sec x + \tan x}{\sec x + \tan x}\,dx.$$

This gives

$$\int \frac{\sec^2 x + \sec x\tan x}{\sec x + \tan x}\,dx.$$

Now let

$$u = \sec x + \tan x.$$

Then

$$du = (\sec x\tan x + \sec^2 x)\,dx.$$

So the integral becomes

$$\int \frac{du}{u}$$

which equals

$$\ln|u| + C.$$

Substituting back gives

$$\ln|\sec x + \tan x| + C.$$

This is a famous result and an important example of how algebra and derivatives work together in trig integration. 🔍

Example 3: using identities to simplify before integrating

Take the integral

$$\int \sec^2 x\tan^3 x\,dx.$$

The power of $\tan x$ is odd, so save one factor of $\tan x$ and use the identity

$$\tan^2 x = \sec^2 x - 1.$$

Rewrite the integral as

$$\int \sec^2 x\tan^2 x\tan x\,dx.$$

Now replace $\tan^2 x$:

$$\int \sec^2 x(\sec^2 x - 1)\tan x\,dx.$$

At this point, using $u = \sec x$ is tempting because $du = \sec x\tan x\,dx$, but we only have one $\tan x$ and two factors of $\sec x$ hidden in $\sec^2 x$. So first rewrite one $\sec^2 x$ as $\sec x\cdot \sec x$:

$$\int \sec x(\sec x\tan x)(\sec^2 x - 1)\,dx.$$

Now let

$$u = \sec x,$$

so

$$du = \sec x\tan x\,dx.$$

The integral becomes

$$\int u(u^2 - 1)\,du = \int (u^3 - u)\,du.$$

Integrating gives

$$\frac{u^4}{4} - \frac{u^2}{2} + C,$$

so the final answer is

$$\frac{\sec^4 x}{4} - \frac{\sec^2 x}{2} + C.$$

This example shows that the main idea is not just memorizing a rule. It is learning how to reshape the expression until a substitution becomes visible.

How secant and tangent integrals connect to the big topic

Secant and tangent integrals are part of the larger chapter on trigonometric integrals and trigonometric substitution. They are related to the same core idea: use trig identities and derivative patterns to turn hard integrals into easier ones.

In the bigger topic, you may also study powers of sine and cosine, or integrals involving square roots like $\sqrt{a^2-x^2}$, $\sqrt{x^2-a^2}$, and $\sqrt{x^2+a^2}$. Those problems often use substitutions like $x = a\sin\theta$, $x = a\sec\theta$, or $x = a\tan\theta$.

The secant and tangent integrals you see here build the same skills:

  • recognizing patterns,
  • choosing a useful substitution,
  • using trig identities correctly,
  • and simplifying step by step.

That is why this lesson matters even beyond its own section. It trains you to think like a problem solver in Calculus 2 🧠📐.

Conclusion

students, secant and tangent integrals are an important part of Calculus 2 because they show how trig identities and derivatives work together. The most important facts are the derivative patterns

$$\frac{d}{dx}(\tan x) = \sec^2 x$$

and

$$\frac{d}{dx}(\sec x) = \sec x\tan x,$$

along with the identity

$$\sec^2 x = 1 + \tan^2 x.$$

These three formulas guide almost every problem in this lesson. If the power of $\tan x$ is odd, save one $\sec x\tan x$ factor and use $u = \sec x$. If the power of $\sec x$ is even, save one $\sec^2 x$ factor and use $u = \tan x$. For special cases like $\int \sec x\,dx$, algebraic tricks make the substitution work. With practice, these integrals become familiar patterns instead of surprises ✅.

Study Notes

  • The key identity is $$\sec^2 x = 1 + \tan^2 x.$$
  • The derivative patterns to remember are $\frac{d}{dx}(\tan x) = \sec^2 x$ and $$\frac{d}{dx}(\sec x) = \sec x\tan x.$$
  • If the power of $\tan x$ is odd, usually save one factor of $\sec x\tan x$ and use $$u = \sec x.$$
  • If the power of $\sec x$ is even, usually save one factor of $\sec^2 x$ and use $$u = \tan x.$$
  • Use identities like $\tan^2 x = \sec^2 x - 1$ and $\sec^2 x = 1 + \tan^2 x$ to rewrite leftover powers.
  • A classic result is $$\int \sec x\,dx = \ln|\sec x + \tan x| + C.$$
  • Secant and tangent integrals are part of the larger Calculus 2 toolkit for trigonometric integrals and trigonometric substitution.

Practice Quiz

5 questions to test your understanding

Secant And Tangent Integrals — Calculus 2 | A-Warded