I have an expression $e^{x-a}(e^{bx}+c)$. I just want it multiplied throughout to get $e^{(b+1)x-a}+ce^{x-a}$. To achieve this I have tried Expand
, Simplify
, Collect
(using pattern Exp[q_*x]
). The best output I could get is
Expand[Exp[x-a]*(Exp[b*x]+c)]
(* Exp[-a+x+b*x]+c*Exp[-a+x] *)
I have tried Evaluate
after this step to obtain proper exponent, but to no avail. How do I make it come with $e^{(b+1)x-a}$ in the first term?