Help with Integration

1. Apr 14, 2008

elitespart

1. How would I do this: $$\int$$$$\frac{x^{2} - 1}{x}$$

I don't need the answer, only the method I need to use (integration by parts, partial fractions etc.)

Thanks.

2. Apr 14, 2008

quasar987

Just observe that

$$\frac{x^2-1}{x}=\frac{x^2}{x}-\frac{1}{x}$$

3. Apr 15, 2008

elitespart

ahh now i feel dumb. Thanks man.