from sympy import * x = symbols('x') expr = 6*x/(exp(4*x)-exp(2*x)); # Use sympy.limit() method limit(expr, x, 0)