Using the method of replacing show that ∫tan(x)=dx=In|sec(x)|+constantSee correction

Expert Answers
lfryerda eNotes educator| Certified Educator

To evaluate this integral, it is best to remember that `tanx=sinx/cosx` , which suggests the substitution `u=cosx` .  This means that `du=-sinxdx` , so the integral becomes:

`int tanxdx`

`=int sinx/cosx dx`

`=-int 1/udu`   now integrate using logarithm rule

`=-ln|u|+C`  where C is a constant of integration

`=-ln|cosx|+C`   now switch negative 1 to exponent

`=ln|cosx|^{-1}+C`   use trig definition of `secx` .


The integral evaluates to `ln|secx|+C` .

juniorsilvamath | Student


∫tan x dx = ∫(sin x/cos x)dx
u = cos x.
then we find
du = - sin x dx

substitute du = -sin x, u = cos x
dx = - ∫(-1) sin x dx/cos x

= -∫du/u

Solve the integral

= - ln |u| + C

substitute back u=cos x

= - ln |cos x| + C

2. Alternate Form of Result

∫tan x dx = - ln |cos x| + C
= ln | (cos x)-1 | + C
= ln |sec x| + C
∫tan x dx = - ln |cos x| + C = ln |sec x| + C


Access hundreds of thousands of answers with a free trial.

Start Free Trial
Ask a Question