Final Answer
$-x-\cot\left(x\right)+C_0$
Got another answer? Verify it here!
Step-by-step Solution
Specify the solving method
1
Apply the formula: $\int\cot\left(\theta \right)^2dx$$=-\theta -\cot\left(\theta \right)+C$
$-x-\cot\left(x\right)$
2
As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$
$-x-\cot\left(x\right)+C_0$
Final Answer
$-x-\cot\left(x\right)+C_0$