Find the indefinite integral `int (tan(x))(ln(cos(x))) dx`

1 Answer

lemjay's profile pic

lemjay | High School Teacher | (Level 3) Senior Educator

Posted on

To solve, apply u-substitution method.


`u= ln (cosx)`

Then, differentiate u.

`du=1/cosx * (-sinx) dx`

`du=-tanx dx`

`-du=tanx dx`

So, expressing the integrand in terms of u, it becomes:

`int tanx (ln(cosx)) dx`

`= int (ln (cosx)) tanxdx`

`=int u (-du)`

`=- int u du`

`=-u^2/2 + C`

Substituting back x = ln (cosx), it becomes:


Therefore,` int tanx (ln(cosx)) dx=-(ln(cosx))^2/2+C` .