Integrate 2cotx
To integrate 2cotx, also written as ∫2cotx dx, we focus on the constant 2 and how it impacts the integration.
A constant can be brought outside of the integral sign to simplify the integration.
We use a standard proof from formula booklet, as shown above, and therefore ∫cotx dx = ln|sinx| + C.
Hence we substitute that into the equation and reintroduce the constant.
After simplifying, the answer is ∫2cotx dx = 2ln|sinx| + C.