$$(x^2 -1) \frac{dy}{dx} + 2xy = x$$
First I divided both sides by $(x^2 - 1)$ $$ \frac{dy}{dx} + {2x \over x^2 - 1}y = {x \over x^2 - 1} $$
and then I found the integrating factor $x^2 - 1$ and multiples both sides with this and that leads me to the initial question... How do I solve this? Thanks
The fact that the integrating factor lead you right back to the original equation should show you that it's already in the form of the product rule. Observe that
$$ (x^2-1)\frac{dy}{dx} + 2xy = \frac{d}{dx}\big((x^2-1)y\big) $$
Therefore
$$ \frac{d}{dx}\big((x^2-1)y\big) = x $$
And you can integrate throughout to get
$$ (x^2-1)y = \frac{x^2}{2} + c $$
Does this make sense?