Rewrite as .
Rewrite as .
Rewrite in terms of sines and cosines.
Multiply by the reciprocal of the fraction to divide by .
Multiply by .
Use the half–angle formula to rewrite as .
Since is constant with respect to , move out of the integral.
Split the single integral into multiple integrals.
Since is constant with respect to , move out of the integral.
Let . Find .
Rewrite.
Divide by .
Rewrite the problem using and .
Combine and .
Since is constant with respect to , move out of the integral.
The integral of with respect to is .
Simplify.
Replace all occurrences of with .
Combine and .
Apply the distributive property.
Combine and .
Multiply .
Multiply and .
Multiply by .
Reorder terms.
Evaluate integral of 1/(sec(x)^2) with respect to x