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

Expert Answers

An illustration of the letter 'A' in a speech bubbles

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

Approved by eNotes Editorial Team
Soaring plane image

We’ll help your grades soar

Start your 48-hour free trial and unlock all the summaries, Q&A, and analyses you need to get better grades now.

  • 30,000+ book summaries
  • 20% study tools discount
  • Ad-free content
  • PDF downloads
  • 300,000+ answers
  • 5-star customer support
Start your 48-Hour Free Trial