What is the antiderivative of #(sinx + cosx)/tanx#?
1 Answer
Aug 21, 2016
Explanation:
We have:
#int(sinx+cosx)/tanxdx=int(sinx+cosx)/(sinx/cosx)dx=int(cosx(sinx+cosx))/sinxdx#
#=intcosxdx+intcos^2x/sinxdx#
The first is a well known integral. For the second term, rewrite
#=sinx+int(1-sin^2x)/sinxdx=sinx+intcscxdx-intsinxdx#
Again, these are both well-known integrals:
#=sinx-ln(abs(cotx+cscx))+cosx+C#