How do you find the antiderivative of #int tanx dx#?
1 Answer
Oct 10, 2016
Explanation:
Rewrite
#inttanxdx=intsinx/cosxdx#
Now, we can use the substitution
#intsinx/cosx=-int(-sinx)/cosxdx=-int(du)/u#
This is a common and valuable integral to recognize:
#-int(du)/u=-lnabs(u)+C#
Back-substituting with
#-lnabsu+C=-lnabscosx+C#
Note that this can be rewritten using logarithm rules, with the negative on the outside being brought into the logarithm as a
#-lnabscosx+C=lnabs((cosx)^-1)+C=lnabssecx+C#