# Evaluating A series in a closed form

Evaluate the series in closed form:

f(x) = 1+x+x^2/2!-x^3/3!-x^4/4!-x^5/5!+x^6/6!+x^7/7!+x^8/8!........

https://brainmass.com/math/calculus-and-analysis/evaluating-series-closed-form-530965

#### Solution Preview

The series is similar to that of exp(x), except for the signs which have a period of 6 in the series. We can fix this by considering the functions

f_k(x) = exp(s_k x)

where the s_k are the 6th roots of unity:

s_k = exp(pi i k/3)

for k in {0,1,2,3,4,5}.

To compute the series, we need to find that linear combination of the fk(x) that yields to correct series. This amounts to solving the following discrete Fourier problem. On the set {0,1,2,3,4,5} we have a function g(n) = 1 for 0<=n<=2 and g(n) = -1 for 3<=n<=5. We want to decompose g(n) as:

g(n) = sum from k = 0 to 5 of c_k s_k(n)

where the functions s_k(n) are defined as:

s_k(n) = s_k^(n) = exp(pi i k n/3)

To ...

#### Solution Summary

I explain in detail how the series can be summed in closed form.