Integrate 2tanx
To integrate 2tanx, also written as ∫2tanx 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 ∫tanx dx = -ln|cosx| + C.
Hence we substitute that into the equation and reintroduce the constant.
After simplifying, the answer is ∫2tanx dx = -2ln|cosx| + C.