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



2 Answers | Add Yours

juniorsilvamath's profile pic

Posted on (Answer #1)


∫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


lfryerda's profile pic

Posted on (Answer #2)

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

We’ve answered 288,036 questions. We can answer yours, too.

Ask a question