I have a simple question. Let $ S = \sum\limits_{k = 1}^n {e^{ikx} } $ using the typical trick , we also have $ S\left( {e^{ix} - 1} \right) = e^{i\left( {n + 1} \right)x} - e^{ix} $ and if $ \left( {e^{ix} - 1} \right) \ne 0 $ we divide by it and we have: $ S=\left( {1 - e^{inx} } \right)\frac{{e^{ix} }} {{1 - e^{ix} }} $ And I see that this limit if n goes to infinity does not exist, but Wolfram|Alpha says that it converges. The problem clearly is in the factor $ \left( {1 - e^{inx} } \right) $ it goes to 0 :S? or something
|
|
When evaluating the sum, Wolfram Alpha makes the necessary assumptions so that the series converges. For example Similarly,
Unfortunately this doesn't work in Alpha. In Mathematica it evaluates to: $$ \mbox{ConditionalExpression} \left[-\frac{e^{i x}}{-1 + e^{i x}}, e^{\mbox{Re}[i x]} < 1 \ \ \&\& \ \ e^{i x} \ne 1 \right] $$ Since you didn't specify that $x$ must be real, it is assumed to be possibly complex. Alternatively, one can specify that $x$ is real with a statement like this:
As expected, this gives the error So, why doesn't Mathematica give the convergence conditions by default? Probably just because it results in a simpler output. (If one is really interested in finding the analytic continuation of a function, the convergence conditions don't matter.) |
|||
|
|