How can an expression of the form exp(a * x) * exp(b * x) be transformed to exp(a * x +b * x) using sympy?
The starting point would be something like:
from sympy import symbols, exp
from sympy import exp
x, a, b = symbols('x, a, b', real=True)
f = exp(a*x)*exp(b*x)
The inverse transformation has been explained in [1]
[1] Sympy: Multiplications of exponential rather than exponential of sum