∫secxdx
=∫1/cosxdx
=∫cosx/cos^2xdx
=∫1/(1-sin^2x)dsinx
=1/2∫[1/(1-sinx)+1/(1+sinx)]dsinx
=1/2ln(1+sinx)-1/2ln(1-sinx)+C