Problem 139
Hard Trigonometric Integrals

Evaluate the integral: I = integral dx/(sin²x cos x)

Evaluate the integral: $$ I = \int \frac{dx}{\sin^2x\,\cos x}. $$

Explanation of Method

Multiplying and dividing by $\cos x$ prepares the integrand for the substitution $u=\sin x$; the leftover $\cos^2x=1-u^2$ in the denominator then requires a partial fraction decomposition to finish the integration.

  1. Multiply by $\cos x/\cos x$ and substitute $u=\sin x$.
  2. Decompose the resulting rational function via partial fractions.
  3. Integrate each term.
  4. Substitute back and add the constant of integration.

Step 1 · Set up the substitution

Multiplying numerator and denominator by $\cos x$:

$$ I = \int \frac{\cos x\,dx}{\sin^2x\cos^2x} = \int \frac{\cos x\,dx}{\sin^2x\,(1-\sin^2x)}. $$

Let $u=\sin x$, so $du=\cos x\,dx$:

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

Step 2 · Partial fraction decomposition

Write $1-u^2=(1-u)(1+u)$ and decompose:

$$ \frac{1}{u^2(1-u)(1+u)} = \frac{A}{u} + \frac{B}{u^2} + \frac{C}{1-u} + \frac{D}{1+u}. $$

Clearing denominators and matching coefficients (or evaluating at $u=0,\,1,\,-1$) gives $A=0$, $B=1$, $C=\tfrac12$, $D=\tfrac12$. Thus:

$$ \frac{1}{u^2(1-u^2)} = \frac{1}{u^2} + \frac{1/2}{1-u} + \frac{1/2}{1+u}. $$

Step 3 · Integrate each term

$$ I = \int \left(\frac{1}{u^2} + \frac{1/2}{1-u} + \frac{1/2}{1+u}\right) du = -\frac1u - \frac12\ln|1-u| + \frac12\ln|1+u| + C. $$

Step 4 · Simplify and substitute back

Combining the logarithms:

$$ I = -\frac1u + \frac12\ln\left|\frac{1+u}{1-u}\right| + C. $$

Substituting back $u=\sin x$:

$$ I = -\frac{1}{\sin x} + \frac12\ln\left|\frac{1+\sin x}{1-\sin x}\right| + C. $$


Summary Table

Coefficient Value
$A$$0$
$B$$1$
$C$$1/2$
$D$$1/2$

Additional Notes

Result

The solution to the integral is:

$$ I = \frac12\ln\left|\frac{1+\sin x}{1-\sin x}\right| - \frac{1}{\sin x} + C. $$