diff (f(x)/g(x))

diff(f(x)/g(x), x)

solve(f(x)/g(x), x)

series(f(x)/g(x), x, 0, 10)

Want a full Python shell? Use SymPy Live.