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