Find the Taylor expansion about , up to the term, of
Scale the parameter out first. Setting gives and , and the inside the exponential cancels completely:
Now only one parameter-free series has to be expanded - this is what keeps the algebra manageable.
Expand the exponent as a geometric series. Writing and using with :
The leading factors out as the constant , which is why appears in every coefficient of the final answer.
Exponentiate the remainder. With , use and collect powers:
The coefficient cancels exactly: .
Multiply by the geometric factor . With , the Cauchy product gives coefficients , , , , and :
Both the and terms vanish - the function is unusually flat at the origin.
Substitute back .
Verify the coefficients numerically. Least-squares fitting a degree-8 polynomial to on returns coefficients , , , , after dividing by - matching ✓. Also ✓.
Need to solve a different problem like this? Open the solver →