kill(all)$

u(x):= x^4+1;

v(x):= (x^3 - 9*x);

u(x)/v(x);

integrate(u(x)/v(x),x);

ratsimp(%);