Math Questions and Answers

Start Your Free Trial

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

Expert Answers info

lfryerda eNotes educator | Certified Educator

calendarEducator since 2012

write738 answers

starTop subjects are Math and Science

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` .

check Approved by eNotes Editorial

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