The intuition for the Risch algorithm comes from the behavior of the exponential and logarithm functions under differentiation.
\left(f \cdot e^g\right)' = \left(f^\prime + f\cdot g^\prime\right) \cdot e^g, \, .