How do you find the antiderivative of tanxdx?

1 Answer
Oct 10, 2016

ln|secx|+C or ln|cosx|+C

Explanation:

Rewrite tanx using its form in sinx and cosx:

tanxdx=sinxcosxdx

Now, we can use the substitution u=cosx. This implies that du=sinxdx.

sinxcosx=sinxcosxdx=duu

This is a common and valuable integral to recognize:

duu=ln|u|+C

Back-substituting with u=cosx:

ln|u|+C=ln|cosx|+C

Note that this can be rewritten using logarithm rules, with the negative on the outside being brought into the logarithm as a 1 power.

ln|cosx|+C=ln(cosx)1+C=ln|secx|+C