In Herbert Wilfs' book gfology, the generating function is defined "formally" as
If $\displaystyle f = \sum_{i \geq 0} a_i x^i$, and $\displaystyle g = \sum_{i \geq 0} b_i x^i $, we define
- $\displaystyle f+g := \sum_{i \geq 0} (a_i + b_i) x^i$
- $\displaystyle fg := \sum_{i \geq 0}(\sum_{m+n = i} a_mb_n)x^i$.
- $\displaystyle f' := \sum_{i \geq 0} ia_{i+1} x^i$ (Call this $\star$)
This is fine and I understand this and have no problem with this. But when we say something like this in a formal setting:
$\displaystyle e^x = \sum_{i \geq 0} \frac{x^n}{n!}$
Or,
$\displaystyle \frac{1}{\sqrt{1-4x}} = \sum_{k \geq 0} \binom{2k}{k} x^k $ (Call this equation $\spadesuit$)
My question is: How is $e^x$ or $\displaystyle \frac{1}{\sqrt{1-4x}}$ defined in a formal setting ?
Are they defined as the generating functions of the sequences I mentioned ?
If it's defined like that, then how can you proceed to "differentiate" both sides of $\spadesuit$ to obtain
$\displaystyle \frac{2}{\sqrt{(1-4x)^3}} = \sum_{k \geq 0} k \binom{2(k+1)}{k+1} x^k $
I understand how you formally differntiate the right hand side of $\spadesuit$ since that's defined in $\star$, but how the formal differentiation of $\frac{1}{\sqrt{1-4x}}$ defined (especially when limits may not make much sense working on some rings)?
The exponential function, $e^x$ is defined formally as $$e^x = \sum_{n\ge 0} \frac{x^n}{n!}. $$ One can easily show that the formal derivative of $e^x$ is itself and that $e^{x + y} = e^xe^y$ and other properties a formal exponential should have.
On the other hand, $f(x)=\frac{1}{\sqrt{1-4x}}$ is a bit more subtle. Whatever this power series is, we would like it to satisfy
$$ f(x)^2 = \sum_{n \ge 0} 4^n x^n = \frac{1}{1-4x}, \; f(0) = 1. \tag{1}$$
That is, we define $f(x)$ as the unique root of $(1 - 4x)y^2 - 1$ with positive constant term.
There are now two ways to proceed. First, using complex analysis where we can speak about Taylor series and where $f(x)$ will be a power series defined in some neighbourhood of zero. With this approach, we already know what the derivative should be and then we can make use of a theorem which says that the derivative of a power series can be computed term-by-term.
The second approach is to take $(1)$ as the definition. Then, one shows that the formal derivative satisfies the usual rules:
In particular, if we let $g(x) = 1 - 4x$ and differentiate both sides of
$$ f(x)^2 = \frac{1}{g(x)}, $$
using the second and third bullet points, we get
$$ 2f(x)f'(x) = -\frac{g'(x)}{g(x)^2}. $$
Now squaring both sides and using $(1)$, we have
\begin{align} 4f(x)^2f'(x)^2 &= \frac{g'(x)^2}{g(x)^4} \\ 4\frac{f'(x)^2}{g(x)} &= \frac{g'(x)^2}{g(x)^4} \\ f'(x)^2 &= \frac{g'(x)^2}{4g(x)^3} = \frac{4}{(1 - 4x)^3}. \end{align}
Therefore $f'(x)$ is the root of $(1 - 4x)^3y^2 - 4$ with positive constant term.
The point being, if you have a power series that satisfies some algebraic relation, then the derivative will satisfy another algebraic relation.