The problem asks us to evaluate the indefinite integral $\int \frac{x+5}{x^2+x-2} \, dx$. The problem also provides a partial fraction decomposition, so we just need to evaluate the integral of the decomposed expression: $\int (\frac{2}{x-1} - \frac{1}{x+2}) \, dx$.
2025/5/20
1. Problem Description
The problem asks us to evaluate the indefinite integral . The problem also provides a partial fraction decomposition, so we just need to evaluate the integral of the decomposed expression: .
2. Solution Steps
First, we observe that . Thus, we can write
The given partial fraction decomposition is
Now we integrate both sides with respect to :
We can split the integral:
Now we can take out the constant 2 from the first integral:
We know that . Let , then . Let , then . Thus,
\int \frac{1}{x-1} \, dx = \int \frac{1}{u} \, du = \ln |u| + C_1 = \ln |x-1| + C_
1. $$
\int \frac{1}{x+2} \, dx = \int \frac{1}{v} \, dv = \ln |v| + C_2 = \ln |x+2| + C_
2. $$
Substituting these results back into the original expression, we get
where is the constant of integration. Using logarithm properties, we can write