I have a function that I'm trying to find an explicit form for the coefficients in its power series expansion. On paper, it is a long calculation so I decided to write up the formula in mathematica. One of the issues that I'm having is below. In the expression I have $$\sum_{k=0}^{n}e^{kx}$$ Since I'm trying to extract the coefficients (using Normal Series commands), I rewrite the exponential as a series: $$\sum_{k=0}^{n}\sum_{j=0}^\infty{k^j}\frac{x^j}{j!}$$ The codes are below (using n=10)
Sum[E^(k*x), {k, 0, 10}]
1 + E^x + E^(2 x) + E^(3 x) + E^(4 x) + E^(5 x) + E^(6 x) + E^(7 x) + E^(8 x) + E^(9 x) + E^(10 x)
Now if I rewrite it using the power series representation
Sum[Sum[(k^j) (x^j)/j!, {j, 0, \[Infinity]}], {k, 0, 10}]
Power::indet: Indeterminate expression 0^0 encountered. >>
E^x + E^(2 x) + E^(3 x) + E^(4 x) + E^(5 x) + E^(6 x) + E^(7 x) + E^(8 x) + E^(9 x) + E^(10 x) + \!\(\*UnderoverscriptBox[\(\[Sum]\),\(j = 0),\(\[Infinity]\)]\*FractionBox[\(\*SuperscriptBox[\(0\), \(j\)]\SuperscriptBox[\(x\), \(j\)]\), \(j!\)]\)
You can see that the calculation is suppressed because it is identifying $k^j$ as $0^0$. But this is not a problem when I leave the exponential as is. How can I fix this?
SeriesCoefficient[]not work for your function? – J. M.'s missing motivation Jun 06 '15 at 04:1011 + Sum[(k x)^j/j!, {k, 0, 10}, {j, 1, ∞}]… – J. M.'s missing motivation Jun 06 '15 at 04:20