Integral of csc(x)

∫csc⁡(x) dx\int \csc\left(x\right)\,dx = −ln⁡∣cot⁡(x)+csc⁡(x)∣+C- \ln\left|\cot{\left(x \right)} + \csc{\left(x \right)}\right| + C

Answer

Indefinite integral
−ln⁡∣cot⁡(x)+csc⁡(x)∣+C- \ln\left|\cot{\left(x \right)} + \csc{\left(x \right)}\right| + C

Checked numerically before it is shown

Step-by-step solution

  1. Rewrite the integrand

    csc⁡(x)=cot⁡(x)csc⁡(x)cot⁡(x)+csc⁡(x)+csc⁡2(x)cot⁡(x)+csc⁡(x)\csc{\left(x \right)} = \frac{\cot{\left(x \right)} \csc{\left(x \right)}}{\cot{\left(x \right)} + \csc{\left(x \right)}} + \frac{\csc^{2}{\left(x \right)}}{\cot{\left(x \right)} + \csc{\left(x \right)}}
  2. Substitution

    Substitute u=cot⁡(x)+csc⁡(x)u = \cot{\left(x \right)} + \csc{\left(x \right)}, so du=(−cot⁡2(x)−cot⁡(x)csc⁡(x)−1) dxdu = \left(- \cot^{2}{\left(x \right)} - \cot{\left(x \right)} \csc{\left(x \right)} - 1\right)\,dx.

  3. Change the variable

    Rewrite the integral in the new variable:

    ∫cot⁡(x)csc⁡(x)+csc⁡2(x)cot⁡(x)+csc⁡(x) dx=∫−1u du\int \frac{\cot{\left(x \right)} \csc{\left(x \right)} + \csc^{2}{\left(x \right)}}{\cot{\left(x \right)} + \csc{\left(x \right)}}\,dx = \int - \frac{1}{u}\,du
  4. Constant multiple rule

    Take the constant factor out of the integral:

    ∫−1u du=−∫1u du\int - \frac{1}{u}\,du = -\int \frac{1}{u}\,du
  5. Reciprocal rule

    The integral of 1/u is the natural logarithm:

    ∫1u du=ln⁡∣u∣\int \frac{1}{u}\,du = \ln\left|u\right|
  6. Substitute back

    Substitute back u=cot⁡(x)+csc⁡(x)u = \cot{\left(x \right)} + \csc{\left(x \right)}.

  7. Constant of integration

    Add the constant of integration:

    ∫csc⁡(x) dx=−ln⁡∣cot⁡(x)+csc⁡(x)∣+C\int \csc{\left(x \right)}\,dx = - \ln\left|\cot{\left(x \right)} + \csc{\left(x \right)}\right| + C

Change the problem in the solver Integral calculator

Related solved examples