Problem 188
Easy Hyperbolic Integrals and Integration by Parts

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

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

Explanation of Method

Factoring the denominator as $x(x+3)$ and decomposing into partial fractions reduces the integral to two elementary logarithms, exactly as in Problem 187.

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

Step 1 · Factor and set up partial fractions

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

Multiplying by $x(x+3)$: $1=A(x+3)+Bx$. Setting $x=0$ gives $A=\tfrac13$; setting $x=-3$ gives $B=-\tfrac13$.

Step 2 · Integrate

$$ I = \int \left(\frac{1}{3x} - \frac{1}{3(x+3)}\right) dx = \frac13\ln|x| - \frac13\ln|x+3| + C. $$

Step 3 · Combine logarithms

$$ I = \frac13\ln\left|\frac{x}{x+3}\right| + C. $$


Summary Table

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

Additional Notes

Result

The solution to the integral is:

$$ I = \frac13\ln\left|\frac{x}{x+3}\right| + C. $$