Problem 58
Hard Rational and Quadratic

Evaluate the integral: I = integral dx/(1 - cos(x))

Evaluate the integral: $$ I = \int \frac{dx}{1 - \cos(x)}. $$

Explanation of Method

The companion half-angle identity $1-\cos x = 2\sin^2(x/2)$ plays the same role as in Problem 57, but with sine instead of cosine, leading to a $\csc^2(x/2)$ integrand and a cotangent antiderivative.

  1. Rewrite $1-\cos x$ using the half-angle identity.
  2. Recognize the reciprocal as $\csc^2(x/2)$.
  3. Substitute $u=x/2$ and integrate.
  4. Substitute back and add the constant of integration.

Step 1 · Apply the half-angle identity

To solve this integral, we start by simplifying the integrand. The denominator contains $1-\cos(x)$, which suggests using a trigonometric identity. We use the following identity:

$$ 1-\cos(x) = 2\sin^2\left(\frac{x}{2}\right). $$

Thus, the integral becomes:

$$ I = \int \frac{dx}{2\sin^2\left(\frac{x}{2}\right)}. $$

We can factor out the constant $\dfrac12$ from the integral:

$$ I = \frac{1}{2}\int \frac{dx}{\sin^2\left(\frac{x}{2}\right)}. $$

Next, we recognize that $\dfrac{1}{\sin^2\left(\frac{x}{2}\right)}=\csc^2\left(\dfrac{x}{2}\right)$, so the integral becomes:

$$ I = \frac{1}{2}\int \csc^2\left(\frac{x}{2}\right)\,dx. $$

Step 2 · Substitute

To simplify further, we make a substitution. Let:

$$ u = \frac{x}{2}. $$

Then:

$$ du = \frac{dx}{2}, \quad dx = 2\,du. $$

Step 3 · Transform and integrate

Substituting into the integral:

$$ I = \frac{1}{2}\int \csc^2(u)\cdot 2\,du = \int \csc^2(u)\,du. $$

The integral of $\csc^2(u)$ is a standard result:

$$ \int \csc^2(u)\,du = -\cot(u). $$

Thus, the integral becomes:

$$ I = -\cot(u) + C, $$

where $C$ is the constant of integration.

Step 4 · Substitute back

Finally, substituting back $u = \dfrac{x}{2}$, we obtain the solution:

$$ I = -\cot\left(\frac{x}{2}\right) + C. $$


Summary Table

Quantity Value
Half-angle identity$1-\cos x = 2\sin^2(x/2)$
Substitution$u = x/2$
Antiderivative$-\cot(x/2)$

Additional Notes

Result

The solution to the integral is:

$$ I = -\cot\left(\frac{x}{2}\right) + C. $$