When I first encountered Taylor series in an AP calculus textbook, I could use the formula without understanding where its coefficients came from. Thinking about position, velocity, and acceleration helped me see the pattern. The physical argument leads naturally to a finite Taylor formula; passing to an infinite series requires one further condition.
Repeated integration
Consider motion along a line, with position , velocity , and acceleration . Write and . The fundamental theorem of calculus gives
The inner integral ends at , not at : it describes the velocity at each intermediate time. Substitution gives
If acceleration is constant, the last term is . This is a special case of motion, not an assumption of the principle of stationary action. For example, a harmonic oscillator satisfies that principle while its acceleration changes with position.
If the jerk exists and is continuous, integrate once more. The result is
In particular, constant jerk contributes . Each integration raises the power by one and divides by the new exponent. That is where the factorials come from.
The finite formula and its remainder
The same calculation applies to any on an interval containing and :
where
Repeated integration by parts verifies this identity. If between the endpoints, it also gives a useful error bound:
A Taylor polynomial is therefore an approximation with a specific remainder, even when no infinite expansion has been justified.
When does the series equal the function?
We may write
at a particular only if . Having derivatives of every order is not sufficient. For example,
is smooth, and every derivative at zero is zero. Its Taylor series at zero is identically zero, although for every nonzero .
For an analytic function, the Taylor series does recover the function in a neighborhood of the expansion point. The motion analogy explains the coefficients; the remainder determines whether the infinite expansion is valid.