integrate (x+18)/(x^2-4) with partial fractions
- User
integrate (x+18)/(x^2-4) with partial fractions
- Assistant
To evaluate the integral
[ \int \frac{x + 18}{x^2 - 4} , dx ]
using partial fractions, follow these steps:
1. Factor the Denominator
First, factor the denominator:
[ x^2 - 4 = (x - 2)(x + 2) ]
2. Set Up Partial Fractions
Express the integrand as a sum of partial fractions:
[ \frac{x + 18}{(x - 2)(x + 2)} = \frac{A}{x - 2} + \frac{B}{x + 2} ]
3. Determine Constants ( A ) and ( B )
Multiply both sides by ((x - 2)(x + 2)) to eliminate the denominators:
[ x + 18 = A(x + 2) + B(x - 2) ]
Expand and collect like terms:
[ x + 18 = (A + B)x + (2A - 2B) ]
Now, equate the coefficients of corresponding terms:
[ \begin{cases} A + B = 1 \quad &\text{(coefficient of } x\text{)} \ 2A - 2B = 18 \quad &\text{(constant term)} \end{cases} ]