# How to Integrate Problems with an Even, Positive Power of Tangent

Here’s how you integrate a trig integral that contains tangents (and no secant factors) where the tangent power is even and positive.

Convert one tan-squared (

*x*) factor to secants by using the Pythagorean identity.Distribute and split up the integral.

Solve the first integral using substitution, where

*u*= tan(*x*) and*du=sec*^{2}*(x)dx**.*For the second integral, repeat the process shown in Steps 1 and 2 above.

For this piece of the problem, you get

For the first integral immediately above, repeat Step 3.

For the second integral from Step 4, use the Pythagorean identity to convert the

into

Both of these integrals can be done with simple reverse differentiation rules.

After collecting all these pieces — piece 1 from Step 3, piece 2 from Step 5, and pieces 3 and 4 from Step 6 — your final answer should be

Piece of cake.