# Partial Fractions

1. Nov 16, 2004

### tangur

Hi I need some help getting started with this integral

$$\int \frac {x^2+5x+2}{{x^4+x^2+1}}dx$$

2. Nov 16, 2004

### Astronuc

Staff Emeritus
Try working the denominator -

$$x^4+x^2+1 = (x^4+2x^2+1)-x^2$$

then use the identity

$$x^2-y^2 = (x+y)(x-y)$$

3. Nov 16, 2004

### Astronuc

Staff Emeritus
You were on the right track.

To eliminate the $$x^3$$ term, C=-A.

Then find 3 equations in three unknowns A, B, D.