Integral of Secant with Partial Fractions∫sec(x)dx the integral of secant x d x∫1cosxdx the integral of 1 over cosine x d x∫cosxcos2xdx the integral of cosine x over cosine squared x d x∫cosx1-sin2xdx the integral of the fraction with numerator cosine x and denominator 1 minus sine squared x d x∫cosx(1+sinx)(1-sinx)dx the integral of cosine x over open paren 1 plus sine x close paren times open paren 1 minus sine x close paren d xu=sinx u equals sine x and du=cos(x)dx d u equals cosine x d x∫1(1+u)(1-u)du the integral of 1 over open paren 1 plus u close paren times open paren 1 minus u close paren d uA1+u+B1-u=1(1+u)(1-u) the fraction with numerator A and denominator 1 plus u plus the fraction with numerator B and denominator 1 minus u equals 1 over open paren 1 plus u close paren times open paren 1 minus u close parenA(1-u)+B(1+u)=1 A times open paren 1 minus u close paren plus B times open paren 1 plus u close paren equals 1u=1 u equals 1: 2B=1 2 B equals 1 so B=12 B equals one halfu=-1 u equals negative 1: 2A=1 2 A equals 1 so A=12 A equals one half∫121+udu+∫121-udu the integral of the fraction with numerator one half and denominator 1 plus u d u plus the integral of the fraction with numerator one half and denominator 1 minus u d u12ln(1+u)-12ln(1-u) one half l n of open paren 1 plus u close paren minus one half l n of open paren 1 minus u close paren12ln(1+u1-u) one half l n of open paren the fraction with numerator 1 plus u and denominator 1 minus u close parenln1+u1-u l n the square root of the fraction with numerator 1 plus u and denominator 1 minus uln1+sinx1-sinx l n the square root of the fraction with numerator 1 plus sine x and denominator 1 minus sine xln(1+sinx)21-sin2x l n the square root of the fraction with numerator open paren 1 plus sine x close paren squared and denominator 1 minus sine squared xln(1+sinx)2cos2x l n the square root of the fraction with numerator open paren 1 plus sine x close paren squared and denominator cosine squared xln|1+sinxcosx| l n of the absolute value of the fraction with numerator 1 plus sine x and denominator cosine xln|1cosx+sinxcosx| l n of the absolute value of 1 over cosine x plus sine x over cosine xln|secx+tanx|+C l n of the absolute value of secant x plus tangent x plus C