4

As asked in the title, I am trying to arrive at the generating function

$\displaystyle\sum_{k=0}^{\infty}k!x^k$

just by starting with the generating function with constant 1 sequence $f(x) = \displaystyle\sum_{k=0}^{\infty}x^k$ and using the operation of differentiating $f(x)$ and shifting the terms in the sequence by multiplying $f(x)$ by $x$.

My attempt of the problem (which I believe is wrong).

Start with the following:

$f(x) = \displaystyle\sum_{k=0}^{\infty}x^k$

We differentiating it $k$ times and get

$f^{(k)} = \displaystyle\sum_{k=0}^{\infty}k!x^0 = \displaystyle\sum_{k=0}^{\infty}k!$

Then we shift the terms in the sequence by multiplying $x^k$ to $f^{(k)}$ and we get

$x^kf^{(k)} = \displaystyle\sum_{k=0}^{\infty}k!x^k$. This I believe is wrong because if we look at the $k^{\mathrm{th}}$ partial sum of $f(x)$, then differentiating the $k^{\mathrm{th}}$ partial term $k$ times gives us $k!$ and multiplying this by $x^k$ gives us $k!x^k$, not $\displaystyle\sum_{k=0}^{k}k!x^k$.

I understand the example of how to get from $f(x)$ to getting a generating function of sequence of squares or cubes by differentiating $f(x)$ and multiplying the result by $x$ and repeating this process once more.

If anyone can give me a perspective of how to see this problem or maybe a misunderstanding on my part, I would appreciate it.

MathNewbie
  • 1,583
  • 14
  • 29
  • 1
    You can't differentiate "$k$ times" because the index $k$ takes on an infinite number of values, namely the nonnegative integers $1,2,\cdots$. In reality, what you're doing is differentiating the first term once, the second term twice, the third term three times, and so forth, which seems useless. – anon Apr 01 '12 at 08:06
  • 1
    I've been at this question for a good time now trying different arithmetic to $f(x)$ to arrive at the desired factorial generating function, but I have no lead. I am just thinking if I am misunderstanding the question. Any help is appreciated. – MathNewbie Apr 01 '12 at 08:18
  • 4
    Since your series diverges everywhere, you'll have trouble deriving it from a series that converges for $|x|<1$ by operations that preserve the radius of convergence. – Robert Israel Apr 01 '12 at 08:25
  • Try a (term-by-term) Laplace transform. – Robert Israel Apr 01 '12 at 08:29
  • Do you mean that the series $\sum_{k=0}^{\infty}k!x^k$ diverges everywhere? I'm only allowed to use differentiating and shifting operator on $f(x)$ for this homework question. Or maybe $f(x) = \displaystyle\sum_{k=0}^{\infty}\frac{x^k}{k!}$. Not too sure at the moment. – MathNewbie Apr 01 '12 at 08:38
  • The sequence of factorials is a typical use case for exponential generating functions. – Raphael Apr 01 '12 at 09:33
  • 3
    The fact that $\sum\limits_{k=0}^k$ appears in any proof should ring a (loud) bell that something is (very) wrong with the proof. – Did Apr 01 '12 at 09:41

5 Answers5

6

You should ask what it means to "arrive at the generation function". Since your series cannot be interpreted as one defining a analytic function $f(x)$ for $x$ in some neighbourhood of $0$ (for that the series would have to have a positive radius of convergence, which it doesn't), you should not expect to find an expression that describes such a function and which is somehow "equal" to your formal power series. It is a general fact that any formal power series in $x$ occurs as the Taylor series of some smooth real function of $x$, but the behaviour of such a function, which is far from unique, away from $x=0$ is entirely unrelated to your formal power series, so you won't find such an $f$ easily either.

What you can do is find a formal differential equation that is satisfied by your power series, and I think this is what your professor is asking for. Here is how you can do it: the coefficients $c_k=k!$ of your series, which I shall call $S$, clearly satisfy the recurrence $c_{k+1}=(k+1)c_k$ for all $k\in\mathbf N$. If you multiply a formal power series $\sum_{k\in\mathbf N}c_kx^k$ by $x$ and then differentiate, you get $\sum_{k\in\mathbf N}(k+1)c_kx^k$, and multiplying once more by $x$ gives $\sum_{k\in\mathbf N}(k+1)c_kx^{k+1}$. In the case of $S$, the result is almost identical to the original series, only the constant term $1$ has disappeared. So denoting by $D_x$ formal differentiation with respect to $x$, your series satisfies $$ S=1+xD_x(xS), $$ or after some simple rewriting $$ (1-x)S=1+x^2D_x(S). $$ For the reasons indicated above you should not expect this differential equation to have any solutions in the neighbourhood of $x=0$, and any solutions it has away from $0$ bear little relation to your series. But your series does satisfy the equation. Note that unlike the ordinary handling of differential equations, this one needs no "initial condition": the equation itself makes it clear that the constant term of $S$ is $1$.

  • I worked it out and before looking at what you have wrote, I got what you've got, and it seems that is what my professor meant. What you wrote totally makes sense. Thanks, Marc! – MathNewbie Apr 02 '12 at 04:13
  • What about the generating function of the finite increasing sequence? or the (finte?) generating function for $k<n$ of $\frac{\gamma(n)}{\gamma(k)}$ – Dr Potato Jun 19 '20 at 04:07
4

Euler considered the (alternate) series $$f(x)=1-1!x+2!x^2-3!x^3+\cdots$$ and used $\phi(x)=x\cdot f(x)$ and term-by-term differentiation to get $$x^2\phi'(x)+\phi(x)=x$$

Try to solve this ODE before consulting Hardy's derivation (and yes the series is divergent everywhere except at $0$).

Fine continuation!

  • Thanks for the alternative perspective on how to view this problem. But for this problem, apparently, my professor insists that I come up with a formula consisting of differentiating and shifting of $f(x)$ to arrive at the generating function that I desire. I'm just wondering how I'm about to approach that. At the moment, I'm still working on this problem. Thanks though. – MathNewbie Apr 01 '12 at 09:07
  • @MathNewbie: if by $f(x)$ you mean $\frac 1{1-x}$ then you should read again Robert Israel's comment. This won't work nor for your function ($0$ radius) nor for the $e^x$ function (infinite radius). Perhaps that a third function is wanted... – Raymond Manzoni Apr 01 '12 at 09:13
2

Well, formally $$\begin{align} f(x) &= \sum_{k=0}^\infty k!x^k \\ x f(x) &= \sum_{k=0}^\infty k!x^{k+1} = \sum_{k=1}^\infty (k-1)! x^k \\ \frac{d}{dx}\big(xf(x)\big) &= \sum_{k=!}^\infty (k-1)! k x^{k-1} = \sum_{k=1}^\infty k!x^{k-1} \\ 1+x\frac{d}{dx}\big(xf(x)\big) &= \sum_{k=0}^\infty k!x^k = f(x) \end{align}$$ so you get a differential equation for $f(x)$. Despite its divergence everywhere.

GEdgar
  • 117,296
1

Repeating my response to this post:

More generally, Borel-regularized sums of these the (formal, initially) ordinary generating functions of any integer-valued multi-factorial function can be given in terms of the incomplete gamma function. See pages 9 and 10 of this article for specifics. The resulting generating functions in this case are highly non-elementary and can be a pain to work with. However, we can always define these generating functions formally and work with the generating function within the ring of formal power series.

In particular, formal infinite Jacobi-type continued fractions for the generating function you requested can be defined (see this article by Flajolet for examples), and moreover, the rational $h^{th}$ convergents to these infinite continued fractions (which are always convergent functions of $z$) approximate the terms up to order $2h$. In the second article properties of a more general class of factorial functions are considered by generalizing Flajolet's result for the rising factorial function $r^{\bar{n}}$ specialized to particular values of $r = r(n)$ which then generates the single factorial function as a special case. The rational convergents to these generating functions are easy to work with and lead to new identities and expansions of $n!$ including exact formulas in terms of the special zeros of the (associated) Laguerre polynomials.

mds
  • 761
1

Not sure if this kind of elaboration is also along the lines of what you were after, but one can try to implement the framework of resurgence here and just see what comes out.

It boils down to taking a borel transform of more or less your (divergent, exactly factorial) series $\phi=\frac{1}{x}\psi[x]$, in particular taking $\psi[x]=\sum_{k=0}^{\infty}x^{n+1} n!$ to the series $B[\psi][s]=f[s]=\sum_{n=0}^{\infty}s^n$. The latter we can analytically continue on the borel plane to the function $\frac{1}{1-s}$

Then using laplace resummation (see definition here https://en.wikipedia.org/wiki/Laplace_transform) on any ray other than the positive real axis we can obtain a formal resummation of this borel transform. Doing this and remembering to include the missing factor of x one obtains a formal solution along a ray $\Phi[x]=\frac{\exp^{-\frac{1}{x}}Ei[\frac{1}{x}]}{x}$, where $Ei[x]$ is the exponential integral function given by a principal value integral (see https://en.wikipedia.org/wiki/Exponential_integral).

One can then check that $\Phi[x]$ satisfies the differential equation mentioned in the other answers- and also evaluating the above series near x=0 on mathematica produces the factorial sequence as you mentioned.

There's probably more to say about this (or its validity) from a resurgence point of view, and I haven't look at it more deeply that the above- but still it is cute that one obtains this formal solution so easily that it seemed like it may still be relevant for your query.

EDIT: I've just noticed that, as it turns out, in this post

Generating function for gamma function (or factorial) ,

it is mentioned that the alternating version of this series was considered by Euler and Hardy and they obtained exactly solution above (with the sign of x naturally switched). It would be interesting to see how they did it, since it arises above in a very natural and simplistic procedure (which is partially the power of the resurgence framework, for which I cannot link a wiki page as there isn't one, but one can try the very nice book https://link.springer.com/book/10.1007/978-88-7642-613-1 or the primer on resurgence https://arxiv.org/abs/1802.10441)

Noam
  • 67