How do you find the antiderivative of ∫tanxdx?
1 Answer
Oct 10, 2016
Explanation:
Rewrite
∫tanxdx=∫sinxcosxdx
Now, we can use the substitution
∫sinxcosx=−∫−sinxcosxdx=−∫duu
This is a common and valuable integral to recognize:
−∫duu=−ln|u|+C
Back-substituting with
−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
−ln|cosx|+C=ln∣∣(cosx)−1∣∣+C=ln|secx|+C