In [1]: (f(x)*x).diff(x) Out[1]: d x*──(f(x)) + f(x) dx In [2]: Integral(exp(-x**2),x) Out[2]: ⌠ ⎮ 2 ⎮ -x ⎮ ℯ dx ⌡