TeX source:
f(x)=\dfrac{x^2+1}{x^3-1}