Integral of $$$\cot{\left(v \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \cot{\left(v \right)}\, dv$$$.
Solution
Rewrite the cotangent as $$$\cot\left(v\right)=\frac{\cos\left(v\right)}{\sin\left(v\right)}$$$:
$${\color{red}{\int{\cot{\left(v \right)} d v}}} = {\color{red}{\int{\frac{\cos{\left(v \right)}}{\sin{\left(v \right)}} d v}}}$$
Let $$$u=\sin{\left(v \right)}$$$.
Then $$$du=\left(\sin{\left(v \right)}\right)^{\prime }dv = \cos{\left(v \right)} dv$$$ (steps can be seen »), and we have that $$$\cos{\left(v \right)} dv = du$$$.
The integral can be rewritten as
$${\color{red}{\int{\frac{\cos{\left(v \right)}}{\sin{\left(v \right)}} d v}}} = {\color{red}{\int{\frac{1}{u} d u}}}$$
The integral of $$$\frac{1}{u}$$$ is $$$\int{\frac{1}{u} d u} = \ln{\left(\left|{u}\right| \right)}$$$:
$${\color{red}{\int{\frac{1}{u} d u}}} = {\color{red}{\ln{\left(\left|{u}\right| \right)}}}$$
Recall that $$$u=\sin{\left(v \right)}$$$:
$$\ln{\left(\left|{{\color{red}{u}}}\right| \right)} = \ln{\left(\left|{{\color{red}{\sin{\left(v \right)}}}}\right| \right)}$$
Therefore,
$$\int{\cot{\left(v \right)} d v} = \ln{\left(\left|{\sin{\left(v \right)}}\right| \right)}$$
Add the constant of integration:
$$\int{\cot{\left(v \right)} d v} = \ln{\left(\left|{\sin{\left(v \right)}}\right| \right)}+C$$
Answer
$$$\int \cot{\left(v \right)}\, dv = \ln\left(\left|{\sin{\left(v \right)}}\right|\right) + C$$$A