Factor the Gaussian function as . Multiplying the two exponential series gives
For , its first three nonzero terms are
Vanishing coefficients require separate treatment in this Taylor expansion of a translated Gaussian. If , the first three nonzero terms are . If , they are
The latter expression retains the cubic term because the quadratic coefficient is zero.