The following problem appeared in Volume 96, Issue 3 (2023) of Mathematics Magazine.
Evaluate the following sums in closed form:
and
.
By using the Taylor series expansions of and
and flipping the order of a double sum, I was able to show that
.
I immediately got to thinking: there’s nothing particularly special about and
for this analysis. Is there a way of generalizing this result to all functions with a Taylor series expansion?
Suppose
,
and let’s use the same technique to evaluate
.
To see why this matches our above results, let’s start with and write out the full Taylor series expansion, including zero coefficients:
,
so that
or
After dropping the zero terms and collecting, we obtain
.
A similar calculation would apply to any even function .
We repeat for
,
so that
,
or
or
.
A similar argument applies for any odd function .


Part 1