## Coefficients of Polynomials Corresponding to Sums of Powers of Natural Numbers Sum to 1.

### September 6, 2012

This post has a pretty weird title, but the problem is easy to state and uses a few interesting mathematical concepts. It’s worth going through. Let’s start with the basics.

**Problem 1. **Let . Show that is a polynomial for each and that the degree of the polynomial is .

Indeed, for example, we have that , as we learned in Calculus, and this is a polynomial of degree 2. Similarly, , which is a polynomial of degree 3. In the same respect, , which is a polynomial of degree 4.

The associated polynomials in this case are given by Faulhaber’s formula:

**Theorem (Faulhaber).** For we have .

This formula looks terrifying, but it is not hard to apply in practice. You may be wondering, though, what the ‘s in this formula stand for. These are the strange and wonderful Bernoulli numbers, of course! I always enjoy seeing these creatures, because they unexpectedly pop up in the strangest problems. There are a number of ways to define these numbers, one of which is to just write them out sequentially, starting with :

But in this case it is not so easy to guess the next value. The clever reader will notice that all of the odd numbered Bernoulli numbers (except the first) are zero, but other than that there does not seem to be a clear pattern. Fortunately, we can construct a *function *which *generates* the values as coefficients; we’ll call this function (surprise!) a *generating function.*

**Definition.** We define the sequence by

.

Notice that this will, in fact, generate the as coefficients times . Neat. In practice, you can use a program like Mathematica to compute for pretty large values of ; but, of course, there are lists available. We can now use Faulhaber’s formula above, which gives us (assuming we have proven that the formula holds!) that the sums of powers of natural numbers form polynomials of degree .

But something else happens that’s pretty interesting. Let’s look at some of the functions.

Look at the coefficients in each of these polynomials. Anything strange about them? Consider them for a bit.

**Problem. **Look at the coefficients. What do you find interesting about them? Note that, in particular, for a fixed , the coefficients of the associated polynomial sum to 1. Convince yourself that this is probably true (do some examples!) and then prove that it is true. Do this before reading the statements below.

**Anecdote. **I spent quite a while trying to write down the "general form" of a polynomial with elementary symmetric polynomials and roots to try to see if I could prove this fact using some complex analysis and a lot of terms canceling out. This morning, I went into the office of the professor to ask him about what it *means* that these coefficients sum up to 1. He then gave me a one-line (maybe a half-line) proof of why this is the case.

*Hint. What value would we plug in to a polynomial to find the sum of the coefficients? What does plugging in this value mean in terms of the sum?*

## Pointwise Convergent Sequence of Polynomials.

### August 7, 2012

An interesting question came up during my studying today which made me think about some of the different ways we can think about polynomials. The solution to this problem was not immediately obvious to me, and, in fact, it wasn’t until I looked up a completely unrelated problem (in a numerical methods book!) that some solution became clear.

**Question: **Suppose that is a sequence of polynomials with each of degree and suppose pointwise. Show that is also a polynomial of degree no more than .

Some interesting points come up here. First is that we only have pointwise convergence — it wasn’t even immediately obvious to me how to prove the resulting limit was *continuous*, let alone a polynomial of some degree. Second, we know very little about the polynomials except for what degree they are. This should be an indication that we need to characterize them with respect to something degree-related.

Indeed, polynomials can be represented in a few nice ways. Among these are:

- In the form where it is usually stated that .
- In terms of their coefficients. That is, if we have a list of polynomials of degree 3 to store on a computer, we could create an array where the first column is the constant, the second is the linear term, and so forth. This is sort of like decimal expansion.
- Where they send each point. That is, if we know what is equal to for each , we could recover it.
- If a polynomial is of degree then, somewhat surprisingly, we can improve upon the previous statement: if we know the value of for distinct points, then we can find , and is the unique such polynomial of that degree which has those values. (Note that if we were to have points and a polynomial of degree , then
*many*polynomials of this degree could fit the points. Consider, for example, and . Then we have one points and we want to fit line through it. Clearly this can be done in infinitely many ways.)

This last one is going to be useful for us. So much so that it might be a good idea to prove it.

**Lemma. **Let be distinct points in , and let be distinct points in . Then there is a *unique *polynomial of degree at most such that for each considered here.

*Proof. *This is an exercise in linear algebra. We need to solve the system of linear equations

where spans , for the constants . Notice that this is simply plugging into a general polynomial of degree . Notice that the matrix that this forms will be a Vandermonde matrix. Since each is distinct, the determinant of this matrix is nonzero, which implies that there is a unique solution. This gives us our coefficients, and note that this is a polynomial not necessarily of degree exactly , since some coefficients may be 0, but it is at most .

[Note: For those of you who forgot your linear algebra, the end of this goes like this: if we let our coefficients be denoted by the column matrix and our Vandermonde matrix is denoted by , then we want to solve where is the column vector with entries . If has non-zero determinant, then it is invertible, and so we have that gives us our coefficients.]

Neato. But now we need to specialize this somewhat for our proof.

**Corollary. **Let the notation and assumptions be as in the last lemma. For , let be the unique polynomial of degree at most with (where if and ). Then every polynomial of degree at most is of the form for each .

This might be a bit more cryptic, so let’s do an example. Let’s let so that we have two points. Let’s say and . Then we have is the unique polynomial of degree at most 1 such that and . Of course, this function will be . Now and ; this gives us that . The theorem now states that any polynomial of degree at most can be written in the form

.

For example, let . Then the lemma says , as we’d expect. The power of this lemma will become clear when we use this in the solution. The proof of this corollary is just a specialization of the previous lemma, so we exclude it.

**Solution.** Recall, just for notation, that our sequence pointwise. Let’s let be our distinct points, as usual. In addition, let’s let be defined as in the corollary above. Represent each as follows:

for each . Here comes the magic: let and note that at every point, so, in particular, on each and on . We obtain

for each . But this is the sum of polynomials of degrees at most , which gives us that is itself a polynomial of degree at most .

I’ll admit, I did a bit of digging around after finding the lemma above; in particular, this corollary representation of polynomials seems to be a nice way to represent a polynomial if we do not know the coefficients but do know the values at a certain number of points and have that its degree is bounded below that number of points.

**Exercise: **Try to write out this representation for and . If you’re a programmer, why not make a program that allows you to input some points and some values and spits out the polynomial from the corollary above?

## Factorials and Exponentials.

### November 6, 2011

I’ve been working on a problem (here is a partial paper with some ideas) that’s really easy for any calculus student to understand but quite difficult for even wolfram alpha to work out some cases. Here’s the idea:

We know that . It’s not hard to reason this out (there are some relatively obvious inequalities, etc.), but I wanted to know what happened if we considered something like:

.

It turns out, this goes to infinity. Maybe this is not so surprising. But, to balance this out, I thought maybe I could add another factorial on the bottom. What about

where this double factorial is just with another factorial at the end. It turns out, this one goes to 0.

The problem here is that after , Mathematica doesn’t seem to be able to handle the sheer size of these numbers. Consequently, I only have a few values for this. I’ve included everything I have in a google-doc PDF (the only way I can think to share this PDF), and I’m looking for suggestions. Here’s some things I thought of:

- Stirling’s formula. Unfortunately, this starts to get very complicated very quickly, and if you consider subbing it in for even it can take up a good page of notes. It also doesn’t reduce as nicely as I’d like.
- Considering the Gamma function. It may be easier to work with compositions of the gamma function since it is not discrete and we may be able to use some sort of calculus-type things on it.
- Number Crunching. For each of these cases, it seems like there is a point where either the numerator or the denominator "clearly" trumps over the other; this is not the "best" method to use, but it will give me some idea of which values potentially go to infinity and which go to zero.
- Asymptotics. I’m not so good at discrete math or asymptotics, so there may be some nice theorems (using convexity, maybe?) in that field that I’ve just never seen before. Especially things like: if then under such-and-such a condition.

Feel free to comment below if you think of anything.