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)

Experiment with SymPy at SymPy Live.