I have a function of $r$ which I expand at $\infty$ using Series
. It is a complicated and messy function, with a parameter $0 \leq \epsilon < 1$. After expansion, the total series consists of terms like
$$ \left(\frac{r}{M}\right)^{2 + 2\epsilon} \left(\frac{a}{r^2} + r^{2 \epsilon} + ..... \right) $$
I want to collect the coefficients of $r$ from this series expansion which is denoted by serinf
in the following code block. (I have not copied the entire expansion here, since it is too big. I have uploaded a Mathematica notebook here, and the series has been saved - it might take a minute or two to evaluate. When I use SeriesCoefficient
I get back terms with the variable $r$ even though the series was obtained using Series[f[r], {r,∞, 4}]
which is not what I want.
How do I get the coefficients of different powers of $r$, even those that include real but non-integral symbolic exponents?
f[r]
before being expanded into an asymptotic series. And there are new(er)Asymptotic
functions that might be better thanSeries
for your problem. $\endgroup$