Tutorials › Calculus I › Antiderivatives Of Secant-Tangent And Cosecant-Cotangent

Antiderivatives and Basic Integrals · Tutorial 1073 of 1495

Antiderivatives Of Secant-Tangent And Cosecant-Cotangent

Use the derivative rules for secant and cosecant to integrate their associated products, with careful attention to signs, constant factors, and where the formulas apply.

Beginner 8 min read

What You'll Learn

  • Recognize the derivative patterns in secant-tangent and cosecant-cotangent products.
  • State the corresponding antiderivative formulas with their correct signs.
  • Account for constant factors inside a trigonometric function using the chain rule.
  • Identify where the formulas are defined and why an antiderivative is considered on an interval.
  • Check an answer by differentiating it and correct a common sign error.

Recognizing the Derivative Patterns

Some trigonometric integrals can be found by recognizing that the integrand is already the derivative of a familiar function. In this tutorial, the two patterns are \(\sec x\tan x\) and \(\csc x\cot x\). The first is the derivative of secant; the second is the negative of the derivative of cosecant.

The sign in the cosecant rule is important. Secant and cosecant look similar, but their derivative rules do not give the same sign. A reliable way to remember the antiderivatives is to write the derivative rule first, then reverse it.

Key formulas: On any interval where the expressions are defined, an antiderivative of \(\sec x\tan x\) is \(\sec x\), and an antiderivative of \(\csc x\cot x\) is \(-\csc x\). Thus,
$$ \int \sec x\tan x\,dx=\sec x+C, \qquad \int \csc x\cot x\,dx=-\csc x+C. $$
Here \(C\) is an arbitrary constant.

Why These Formulas Work

Recall that an antiderivative of a function \(f\) on an interval \(I\) is a function \(F\) defined on \(I\) such that \(F'(x)=f(x)\) for every \(x\in I\). The derivative rules for secant and cosecant show why the two formulas above are valid.

Where \(\cos x\ne 0\), secant is the reciprocal of cosine. Using the derivative of a reciprocal and \((\cos x)'=-\sin x\), we obtain

$$ \frac{d}{dx}(\sec x) = \frac{d}{dx}\left(\frac{1}{\cos x}\right) = -\frac{-\sin x}{\cos^2 x} = \frac{\sin x}{\cos^2 x} = \frac{1}{\cos x}\frac{\sin x}{\cos x} = \sec x\tan x. $$

Where \(\sin x\ne 0\), cosecant is the reciprocal of sine. Since \((\sin x)'=\cos x\), its derivative is

$$ \frac{d}{dx}(\csc x) = \frac{d}{dx}\left(\frac{1}{\sin x}\right) = -\frac{\cos x}{\sin^2 x} = -\frac{1}{\sin x}\frac{\cos x}{\sin x} = -\csc x\cot x. $$

To integrate one of these products, we look for a function whose derivative is the integrand. The first calculation directly identifies \(\sec x\) as an antiderivative of \(\sec x\tan x\). The second identifies \(-\csc x\) as an antiderivative of \(\csc x\cot x\), because

$$ \frac{d}{dx}(-\csc x) = -(-\csc x\cot x) = \csc x\cot x. $$

This is the central reasoning: integration reverses differentiation when we already know a function with the required derivative. The constant \(C\) is included because the derivative of any constant is zero, so adding a constant does not change the derivative.

The Antiderivative Formulas

The formulas apply only where the trigonometric functions in the integrand are defined. Secant and tangent require \(\cos x\ne 0\), while cosecant and cotangent require \(\sin x\ne 0\). Therefore, the secant-tangent formula applies on any interval that contains no point \(x=\frac{\pi}{2}+k\pi\), and the cosecant-cotangent formula applies on any interval that contains no point \(x=k\pi\), where \(k\) is an integer.

On such an interval, the antiderivatives can be written in integral notation as follows:

$$ \int \sec x\tan x\,dx=\sec x+C, \qquad \cos x\ne 0, $$
$$ \int \csc x\cot x\,dx=-\csc x+C, \qquad \sin x\ne 0. $$

Each formula describes a family of antiderivatives on the interval under consideration. The constant may differ if a problem considers a different interval. The formulas cannot be used across a point where the integrand is undefined, because an antiderivative on an interval must be defined throughout that interval.

When an argument is a multiple of \(x\), the chain rule introduces another factor. For example, differentiating \(\sec(3x)\) gives \(3\sec(3x)\tan(3x)\), not just \(\sec(3x)\tan(3x)\). Consequently, a matching integral must account for the factor of \(3\).

Worked Examples

Worked Example: Integrating Secant Times Tangent

Find \(\int \sec x\tan x\,dx\).

Step 1: Match the integrand to a derivative. The derivative rule is \(\frac{d}{dx}(\sec x)=\sec x\tan x\). Therefore, secant is an antiderivative of the given integrand.

Step 2: Include the arbitrary constant.

$$ \int \sec x\tan x\,dx=\sec x+C. $$

Check: Differentiate the proposed antiderivative:

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

The derivative matches the integrand, so the result is correct wherever \(\cos x\ne 0\).

Worked Example: Integrating Cosecant Times Cotangent

Find \(\int \csc x\cot x\,dx\).

Step 1: Write the derivative rule with its sign. We have \(\frac{d}{dx}(\csc x)=-\csc x\cot x\). The integrand is the negative of this derivative.

Step 2: Reverse the sign. The derivative of \(-\csc x\) is \(\csc x\cot x\), so

$$ \int \csc x\cot x\,dx=-\csc x+C. $$

Check:

$$ \frac{d}{dx}(-\csc x+C) = -(-\csc x\cot x)+0 = \csc x\cot x. $$

The sign is therefore correct. This formula applies where \(\sin x\ne 0\).

Worked Example: Accounting for a Constant Inside the Argument

Find \(\int 6\sec(2x)\tan(2x)\,dx\).

Step 1: Differentiate a candidate with the composed argument. By the chain rule,

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

Step 2: Adjust the coefficient. The derivative above has coefficient \(2\), while the integrand has coefficient \(6\). Multiplying the candidate by \(3\) makes its derivative coefficient \(6\):

$$ \frac{d}{dx}\bigl(3\sec(2x)\bigr) = 3\cdot 2\sec(2x)\tan(2x) = 6\sec(2x)\tan(2x). $$

Therefore,

$$ \int 6\sec(2x)\tan(2x)\,dx = 3\sec(2x)+C. $$

Check: Differentiating \(3\sec(2x)+C\) gives \(3\cdot 2\sec(2x)\tan(2x)+0=6\sec(2x)\tan(2x)\), exactly the original integrand. The formula is valid on any interval where \(\cos(2x)\ne 0\).

Worked Example: Accounting for a Constant in the Cosecant Pattern

Find \(\int 8\csc(4x)\cot(4x)\,dx\).

Step 1: Use the chain rule for cosecant.

$$ \frac{d}{dx}(\csc(4x)) = -4\csc(4x)\cot(4x). $$

Step 2: Choose a coefficient that produces \(8\). Since the derivative of \(\csc(4x)\) has coefficient \(-4\), multiplying by \(-2\) gives coefficient \(8\):

$$ \frac{d}{dx}\bigl(-2\csc(4x)\bigr) = -2\bigl(-4\csc(4x)\cot(4x)\bigr) = 8\csc(4x)\cot(4x). $$

Thus,

$$ \int 8\csc(4x)\cot(4x)\,dx = -2\csc(4x)+C. $$

Check: The differentiation above returns the original integrand. The formula applies where \(\sin(4x)\ne 0\).

Why the Constant Is the Only Difference

Finding one antiderivative gives a whole family by adding \(C\). On an interval, any two antiderivatives of the same function differ by a constant. The argument uses the Mean Value Theorem.

Justification: Suppose \(F\) and \(G\) are differentiable on an interval \(I\) and both satisfy \(F'(x)=G'(x)\) for every \(x\in I\). Define \(H(x)=F(x)-G(x)\). Then \(H'(x)=F'(x)-G'(x)=0\) throughout \(I\). For any \(a,b\in I\) with \(a<b\), the Mean Value Theorem gives a point \(c\in(a,b)\) such that \(H(b)-H(a)=H'(c)(b-a)=0\). Thus \(H(a)=H(b)\). Since this holds for any two points in \(I\), \(H\) is constant on \(I\), so \(F=G+C\) there.

This explains why the notation includes \(+C\): it records all functions with the required derivative on the interval, not only one particular antiderivative.

A Common Sign Mistake

A frequent error is to write \(\int \csc x\cot x\,dx=\csc x+C\), treating the cosecant pattern like the secant pattern. Differentiation exposes the problem:

$$ \frac{d}{dx}(\csc x+C) = -\csc x\cot x, $$

which is the negative of the integrand, not the integrand itself. The correction is to place a negative sign in front of cosecant:

$$ \frac{d}{dx}(-\csc x+C) = \csc x\cot x. $$

Checking by differentiation is especially useful for this pair of formulas because the sign is easy to overlook. It also catches missing chain-rule factors when the argument is, for example, \(2x\) or \(4x\).

Summary

The secant-tangent and cosecant-cotangent products are direct derivative patterns. Their antiderivatives follow by reversing the corresponding derivative rules:

$$ \int \sec x\tan x\,dx=\sec x+C, \qquad \int \csc x\cot x\,dx=-\csc x+C. $$

When the argument is a multiple of \(x\), include the chain-rule factor in the calculation. In every case, check the proposed antiderivative by differentiating it, and apply the formula only on an interval where the trigonometric expressions are defined.

Check Your Understanding

Try each question, then check your reasoning by differentiating any proposed antiderivative.

  1. What is an antiderivative of \(\sec x\tan x\), and what is its domain restriction?
  2. Why does an antiderivative of \(\csc x\cot x\) require a negative sign?
  3. Find \(\int 10\sec(5x)\tan(5x)\,dx\).
  4. Find \(\int 3\csc(2x)\cot(2x)\,dx\).
  5. Why do two antiderivatives of the same function on an interval differ by a constant?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon