Integrating Products and Powers of tanx and secx

Learning Outcomes

  • Solve integration problems involving products and powers of [latex]\tan{x}[/latex] and [latex]\sec{x}[/latex]
  • Use reduction formulas to solve trigonometric integrals

Before discussing the integration of products and powers of [latex]\tan{x}[/latex] and [latex]\sec{x}[/latex], it is useful to recall the integrals involving [latex]\tan{x}[/latex] and [latex]\sec{x}[/latex] we have already learned:

  1. [latex]{\displaystyle\int}{\sec}^{2}xdx=\tan{x}+C[/latex]
  2. [latex]{\displaystyle\int}\sec{x}\tan{x}dx=\sec{x}+C[/latex]
  3. [latex]{\displaystyle\int}\tan{x}dx=\text{ln}|\sec{x}|+C[/latex]
  4. [latex]{\displaystyle\int}\sec{x}dx=\text{ln}|\sec{x}+\tan{x}|+C[/latex].

For most integrals of products and powers of [latex]\tan{x}[/latex] and [latex]\sec{x}[/latex], we rewrite the expression we wish to integrate as the sum or difference of integrals of the form [latex]{\displaystyle\int}{\tan}^{j}x{\sec}^{2}xdx[/latex] or [latex]{\displaystyle\int}{\sec}^{j}x\tan{x}dx[/latex]. As we see in the following example, we can evaluate these new integrals by using u-substitution.  Before doing so, it is useful to note how the Pythagorean Identity implies relationships between other pairs of trigonometric functions.

Recall: The Pythagorean Identity

For any angle [latex]x[/latex]:

[latex]\sin^2 x + \cos^2 x = 1[/latex]

Dividing the original equation by [latex]\cos^2 x[/latex] and simplifying yields an expression for [latex]\sec^2 x[/latex] in terms of [latex]\tan^2 x[/latex]:

[latex]\tan^2 x + 1 = \sec^2 x[/latex]

Subtracting both sides of the equation by [latex]1[/latex] yields an expression for [latex]\tan^2 x[/latex] in terms of [latex]\sec^2 x[/latex]:

[latex]\tan^2 x = \sec^2 x - 1[/latex]

Example: Evaluating [latex]{\displaystyle\int}{\sec}^{j}x\tan{x}dx[/latex]

Evaluate [latex]{\displaystyle\int}{\sec}^{5}x\tan{x}dx[/latex].

Interactive

You can read some interesting information at this website to learn about a common integral involving the secant.

try it

Evaluate [latex]{\displaystyle\int}{\tan}^{5}x{\sec}^{2}xdx[/latex].

We now take a look at the various strategies for integrating products and powers of [latex]\sec{x}[/latex] and [latex]\tan{x}[/latex].

Problem-Solving Strategy: Integrating [latex]{\displaystyle\int}{\tan}^{k}x{\sec}^{j}xdx[/latex]


To integrate [latex]{\displaystyle\int}{\tan}^{k}x{\sec}^{j}xdx[/latex], use the following strategies:

  1. If [latex]j[/latex] is even and [latex]j\ge 2[/latex], rewrite [latex]{\sec}^{j}x={\sec}^{j - 2}x{\sec}^{2}x[/latex] and use [latex]{\sec}^{2}x={\tan}^{2}x+1[/latex] to rewrite [latex]{\sec}^{j - 2}x[/latex] in terms of [latex]\tan{x}[/latex]. Let [latex]u=\tan{x}[/latex] and [latex]du={\sec}^{2}x[/latex].
  2. If [latex]k[/latex] is odd and [latex]j\ge 1[/latex], rewrite [latex]{\tan}^{k}x{\sec}^{j}x={\tan}^{k - 1}x{\sec}^{j - 1}x\sec{x}\tan{x}[/latex] and use [latex]{\tan}^{2}x={\sec}^{2}x - 1[/latex] to rewrite [latex]{\tan}^{k - 1}x[/latex] in terms of [latex]\sec{x}[/latex]. Let [latex]u=\sec{x}[/latex] and [latex]du=\sec{x}\tan{x}dx[/latex]. (Note: If [latex]j[/latex] is even and [latex]k[/latex] is odd, then either strategy 1 or strategy 2 may be used.)
  3. If [latex]k[/latex] is odd where [latex]k\ge 3[/latex] and [latex]j=0[/latex], rewrite [latex]{\tan}^{k}x={\tan}^{k - 2}x{\tan}^{2}x={\tan}^{k - 2}x\left({\sec}^{2}x - 1\right)={\tan}^{k - 2}x{\sec}^{2}x-{\tan}^{k - 2}x[/latex]. It may be necessary to repeat this process on the [latex]{\tan}^{k - 2}x[/latex] term.
  4. If [latex]k[/latex] is even and [latex]j[/latex] is odd, then use [latex]{\tan}^{2}x={\sec}^{2}x - 1[/latex] to express [latex]{\tan}^{k}x[/latex] in terms of [latex]\sec{x}[/latex]. Use integration by parts to integrate odd powers of [latex]\sec{x}[/latex].

Example: Integrating [latex]{\displaystyle\int}{\tan}^{k}x{\sec}^{j}xdx[/latex] when [latex]j[/latex] is Even

Evaluate [latex]{\displaystyle\int}{\tan}^{6}x{\sec}^{4}xdx[/latex].

Example: Integrating [latex]{\displaystyle\int}{\tan}^{k}x{\sec}^{j}xdx[/latex] when [latex]k[/latex] is Odd

Evaluate [latex]{\displaystyle\int}{\tan}^{5}x{\sec}^{3}xdx[/latex].

Example: Integrating [latex]{\displaystyle\int}{\tan}^{k}xdx[/latex] where [latex]k[/latex] is Odd and [latex]k\ge 3[/latex]

Evaluate [latex]{\displaystyle\int}{\tan}^{3}xdx[/latex].

Example: Integrating [latex]{\displaystyle\int}{\sec}^{3}xdx[/latex]

Integrate [latex]{\displaystyle\int}{\sec}^{3}xdx[/latex].

try it

Evaluate [latex]{\displaystyle\int}{\tan}^{3}x{\sec}^{7}xdx[/latex].

Watch the following video to see the worked solution to the above Try It

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “3.2 Trigonometric Integrals” here (opens in new window).

Try It

Reduction Formulas

Evaluating [latex]{\displaystyle\int}{\sec}^{n}xdx[/latex] for values of [latex]n[/latex] where [latex]n[/latex] is odd requires integration by parts. In addition, we must also know the value of [latex]{\displaystyle\int}{\sec}^{n - 2}xdx[/latex] to evaluate [latex]{\displaystyle\int}{\sec}^{n}xdx[/latex]. The evaluation of [latex]{\displaystyle\int}{\tan}^{n}xdx[/latex] also requires being able to integrate [latex]{\displaystyle\int}{\tan}^{n - 2}xdx[/latex]. To make the process easier, we can derive and apply the following power reduction formulas. These rules allow us to replace the integral of a power of [latex]\sec{x}[/latex] or [latex]\tan{x}[/latex] with the integral of a lower power of [latex]\sec{x}[/latex] or [latex]\tan{x}[/latex].

Rule: Reduction Formulas for [latex]{\displaystyle\int}{\sec}^{n}xdx[/latex] and [latex]{\displaystyle\int}{\tan}^{n}xdx[/latex]


[latex]{\displaystyle\int}{\sec}^{n}xdx=\frac{1}{n - 1}{\sec}^{n - 2}x\tan{x}+\frac{n - 2}{n - 1}{\displaystyle\int}{\sec}^{n - 2}xdx[/latex]

 

[latex]{\displaystyle\int}{\tan}^{n}xdx=\frac{1}{n - 1}{\tan}^{n - 1}x-{\displaystyle\int}{\tan}^{n - 2}xdx[/latex]

 

The first power reduction rule may be verified by applying integration by parts. The second may be verified by following the strategy outlined for integrating odd powers of [latex]\tan{x}[/latex].

Example: Revisiting [latex]{\displaystyle\int}{\sec}^{3}xdx[/latex]

Apply a reduction formula to evaluate [latex]{\displaystyle\int}{\sec}^{3}xdx[/latex].

Example: Using a Reduction Formula

Evaluate [latex]{\displaystyle\int}{\tan}^{4}xdx[/latex].

try it

Apply the reduction formula to [latex]{\displaystyle\int}{\sec}^{5}xdx[/latex].

Watch the following video to see the worked solution to the above Try It

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “3.2 Trigonometric Integrals” here (opens in new window).

Try It