[ Background required: basic combinatorics, including combinations and permutations. Thus, you should know the formulae and
and what they mean. Also, some examples / problems may require calculus. ]
Note: this post is still highly relevant to competition-mathematics. 🙂
To begin, for a given finite series , one can write the polynomial
in x. We shall call this polynomial the generating function for the sequence. This is useful when one needs to evaluate certain identities based on the
‘s.
For example, for a fixed positive integer n, consider the series:
The fact that there’s a nice closed form for the generating function allows us to evaluate a large number of identities.
Example 1. Let x = 1/2. We obtain the equality:
.
Example 2. We can differentiate the polynomial identity (with respect to x) to obtain:
Since we also know the RHS is we get the following combinatorial identity by looking at the coefficient of
:
.
Not entirely impressive I know, but read on.
Example 3. From the identity , we thus obtain, by looking at the coefficient of
on both sides:
where is defined to be zero whenever i is not in the range 0, 1, …, n. In particular, if m = n = r, then using the equality
we obtain:
Exercises.
- Find the value of
.
- Find the value of
;
, if you know complex numbers.
- Find the value of
.
- For a given
, simplify the sum:
.
But why stop at finite series? Can we not do this for an infinite series ? Answer is yes! We can, at least, define the power series:
Once again, this is called the generating function of the infinite sequence . Whether this series is meaningful, however, is an entirely different story. There’re two ways to approach this:
- we explicitly refrain from substituting values into x, and just manipulate the power series;
- if we insist on substituting values, however, we’d better make sure the series converges.
Let’s look at the second approach first. The following theorem is helpful:
Theorem. For any power series
, there is a unique non-negative real number R (or possibly +∞) such that:
- if
, then the series converges for x;
- if
, then the series does not converge for x.
We call R the radius of convergence for the power series.
The proof of this is another story for another day, so we’ll skip it for now. The theorem, in fact, works for the complex domain as well, i.e. if the ‘s and x are complex. Two questions immediate skip to one’s mind:
- What happens at the boundary case where |x|=R? Answer: it may or may not converge. One can only decide on a case-by-case basis.
- How do we calculate R? Answer: there’s a nice formula for this:
if the limit exists. Actually, there’s a nicer formula which replaces lim with limsup – the advantage of this new formula is that the limsup of a sequence is guaranteed to exist. But since that’s beyond the syllabus, let’s stick to the above formula for now.
Example 1. Consider the case . Then by the above formula R = 0. So the only value of x for which
converges is x = 0.
Example 2. Let . By the above formula R = 1, so the series
converges for all x < 1. In fact, you should know that this is
.
Example 3. Let . We can apply l’Hôpital’s rule to the above formula to obtain R = 1. In fact, we can differentiate example 2 with respect to x to obtain:
.
[ Warning: there’s a little subtlety here involving fine points of infinite sums of infinite sums, which we’ll conveniently sweep under the rug. ]
Example 4. Let be the Fibonacci sequence defined by
and
for
. We can calculate the radius of convergence thanks to Binet’s formula:
Thus we get . [ Exercise: prove it; hint: use
. ] So the radius of convergence is
.
In fact, we can have a nice closed expression for the power series . Using the identity
, we have:
Now, both sides are equal within the radius of convergence . Hence,
for all such x. In particular, when x=1/2, we obtain:
Example 5. Let . By bounding the value of n! (e.g. by using integration, as we covered earlier), we get
. Thus, the radius of convergence is +∞ and the sequence
is convergent for all x (even complex values, if you care). Now you may or may not recognise this function, but we’ll spend a minute to derive it anyway: letting y = P(x), we have . To solve for y, we invert the derivative to obtain
so
. Substituting x=0, y=1 gives us c=0. So in short:
Example 6. Take the power series . Problem arises when we attempt to use the
formula: since the even terms are zero while the odd terms are not, the limit does not exist! However, the main theorem still holds, i.e. the radius of convergence R must exist, regardless of whether the above limit does.
Writing , we get
, we see that the bracketed term converges for |t|<1 and diverges for |t|>1. Hence, P(x) converges for |x|<1 and diverges for |x|>1, so the radius of convergence is 1.
By integrating , we see that this power series is precisely the arc-tangent:
.
What happens at the boundary of |x|=1? The LHS is and the bracketed term is less than
. So the power series does converge at x=1 and x=-1, and we get:
.
Exercises
- Find the value of
.
- Express the following as multiples of e (the resulting sequence forms the Bell numbers and has a combinatoric interpretation(!) – we will hopefully cover that a few posts later):
;
;
.
- Prove that
.
- Calculate
.
Coming up next: formal power series, where we manipulate power series as mere expressions, without substituting any explicit values for x. In particular, we’ll see how Catalan numbers come about.