The calculator will find the integral/antiderivative of
cot(x), with steps shown.
Related calculator:
Definite and Improper Integral Calculator
Solution
Rewrite the cotangent as cot(x)=sin(x)cos(x):
∫cot(x)dx=∫sin(x)cos(x)dx
Let u=sin(x).
Then du=(sin(x))′dx=cos(x)dx (steps can be seen »), and we have that cos(x)dx=du.
Thus,
∫sin(x)cos(x)dx=∫u1du
The integral of u1 is ∫u1du=ln(∣u∣):
∫u1du=ln(∣u∣)
Recall that u=sin(x):
ln(∣u∣)=ln(∣sin(x)∣)
Therefore,
∫cot(x)dx=ln(∣sin(x)∣)
Add the constant of integration:
∫cot(x)dx=ln(∣sin(x)∣)+C
Answer
∫cot(x)dx=ln(∣sin(x)∣)+CA