Problem 228
Easy Roots and Binomials

Evaluate the integral: I = integral dx/(x²+5x)

Evaluate the integral: $$ I = \int \frac{dx}{x^2+5x}. $$

Explanation of Method

Factoring the denominator and decomposing into partial fractions reduces the integral to two elementary logarithms.

  1. Factor $x^2+5x=x(x+5)$.
  2. Decompose into partial fractions.
  3. Integrate term by term and combine logs.

Step 1 · Factor and set up partial fractions

$$ x^2+5x = x(x+5), \qquad \frac{1}{x(x+5)} = \frac Ax + \frac{B}{x+5}. $$

Multiplying through: $1=A(x+5)+Bx$. Setting $x=0$: $A=\tfrac15$. Setting $x=-5$: $B=-\tfrac15$.

Step 2 · Integrate

$$ I = \frac15\int \frac{dx}{x} - \frac15\int \frac{dx}{x+5} = \frac15\ln|x| - \frac15\ln|x+5| + C. $$

Step 3 · Combine logarithms

$$ I = \frac15\ln\left|\frac{x}{x+5}\right| + C. $$


Summary Table

Coefficient Value
$A$$1/5$
$B$$-1/5$

Additional Notes

Result

The solution to the integral is:

$$ I = \frac15\ln\left|\frac{x}{x+5}\right| + C. $$