Quick explanation

Write sec3x\sec^3x as secxsec2x\sec x\cdot\sec^2x. That gives us a factor whose antiderivative is tanx\tan x, while the remaining secant differentiates into secxtanx\sec x\tan x. The resulting integral contains sec3xdx\int\sec^3x\,dx again—not a failure, but the useful trick.

Full derivation

Let I=sec3xdxI=\int\sec^3x\,dx. Choose u=secxu=\sec x and dv=sec2xdxdv=\sec^2x\,dx.

du=secxtanxdxdu=\sec x\tan x\,dxv=tanxv=\tan x
I=secxtanxsecxtan2xdxI=\sec x\tan x-\int\sec x\tan^2x\,dx=secxtanxsecx(sec2x1)dx=\sec x\tan x-\int\sec x(\sec^2x-1)\,dx=secxtanxI+secxdx=\sec x\tan x-I+\int\sec x\,dx2I=secxtanx+ln ⁣secx+tanx2I=\sec x\tan x+\ln\!\left|\sec x+\tan x\right|I=12secxtanx+12ln ⁣secx+tanx+C\boxed{I=\frac12\sec x\tan x+\frac12\ln\!\left|\sec x+\tan x\right|+C}

Verification

Differentiate the result. The first term contributes 12(secxtan2x+sec3x)\frac12(\sec x\tan^2x+\sec^3x). The logarithmic term differentiates to 12secx\frac12\sec x. Using tan2x+1=sec2x\tan^2x+1=\sec^2x, everything combines to sec3x\sec^3x.

Derivative of proposed answer12secxtan2x+12sec3x+12secx=sec3x\frac12\sec x\tan^2x+\frac12\sec^3x+\frac12\sec x=\sec^3x Verified

Common mistakes

  1. Stopping when the integral returns.That is the moment to solve for II, not abandon ship.
  2. Forgetting the factor of 12\frac12.You get 2I2I before the final division.
  3. Dropping the absolute-value bars.The logarithmic term is ln ⁣secx+tanx\ln\!\left|\sec x+\tan x\right| on its valid intervals.

What to do next