As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$
$-\cot\left(x\right)+C_0$
Final answer to the problem
$-\cot\left(x\right)+C_0$
Explore different ways to solve this problem
Solving a math problem using different methods is important because it enhances understanding, encourages critical thinking, allows for multiple solutions, and develops problem-solving strategies. Read more