If we have a function like:
$$\text{f[x$\_$]:=}\sum _{i=0}^{\infty } a_ix^i$$
where we can find / know the $a_i$ coefficients, but not really for which function it will converge.
How can we find $f[x]$ but using the inverse of $x$ instead? Something like this?
$$\text{f[x$\_$]:=}\sum _{i=0}^{\infty } \frac{b_i}{x^i}$$
The main problem is that the first form of $f[x]$ does not converge properly for positive values greater than one, since it comes from a Taylor series.
Edit:
I've seen an interesting strategy that we could use to find the inverse of $f[x]$, but not really the other form of $f[x]$ that I'm looking for, but maybe this could help us to find an strategy:
Attempts:
Using Mathematica I tried:
$$\text{CoefficientGenerator[i$\_$]:=...}$$
$$\text{f[x$\_$]:=}\sum _{i=0}^{\infty } \text{CoefficientGenerator[i]}x^i$$
$$\text{Series[f[x], $\{$x, $\infty $, 5$\}$]}$$
but this doesn't work, I receive my input as an output. If the CoefficientGenerator function is something that it already knows (like the expansion of $e^x$), it works:
$$\text{CoefficientGenerator[i$\_$]:=}\frac{1}{\text{Gamma}[i+1]}$$
The result for this case is:
$$\exp \left(\log (e) x+O\left(\left(\frac{1}{x}\right)^4\right)\right)$$
This is an unfinished answer.
It looks like we can do something like this:
Define
f1as:$$f1(x, order) = \sum _{i=0}^{order} a_ix^i$$
(where we know the $a_i$s from the CoefficientGenerator function).
Define
f2as:$$f1(x, order) = \sum _{i=0}^{order} \frac{b_i}{x^i}$$
(where the $b_i$s are the coefficients that we want to find).
Since, $f1(x, order)=f2(x, order)$, when order tends to $\infty$, by definition, we could do:
$$f1(1-x, order)=f2(1-x, order) \implies \sum _{i=0}^{order} a_i(1-x)^i = \sum _{i=0}^{order} \frac{b_i}{(1-x)^i}$$.
Then we can expand the left and the right side and using a system of equations find the $b_i$s (since we can expand $\frac{1}{(1-x)^i}$ more easily).
But the difficulty now is, how can we implement this using Mathematica?
One attempt of mine, a bit ugly for now, is this one, I'd like to simplify it or rewrite it in a better form.