I am not a pure mathematician, so I would appreciate some help from people who have done analysis! Can we have some function which is analytic (which I believe just means expressible as a power series) but the term by term integral does not converge or somehow goes wrong? If so, what are the requirements for the function so that this does not happen?
Also, suppose we don't do the integration term by term, then would it always be true that an integral is well-defined/exists where the power series of the function "works"?