A difference table is made by listing the terms of a sequence and its differences. It includes the first differences, which is a sequence that lists the differences of two consecutive terms of the original sequence. For instance, the first term of the first differences is the difference between the first and second term of the original sentence, the second term of the first difference is the difference between the second and third term of the original sentence, and so forth.

Second-order differences, which is a sequence of differences of the first differences, and other higher-order differences can also be included in the difference table.

An important thing to notice is that we find the differences by subtracting the earlier term from the later term of the sequence and not by subtracting the term with the smaller value from the term with the larger value. Thus, it is possible to have a negative number in the difference table.

For example, let's create a difference table for the sequence of perfect squares :

First, list the terms of the sequence on the top row. Then write each difference of two consecutive terms underneath and in between the terms it is the difference of. For instance, the terms in the first differences are found by . We can also create another row of second-order differences that lists the differences of two consecutive terms from the first sequence of differences.

As we can see from this difference table, the last row of third-degree differences consists of 's that continue infinitely. Indeed, all polynomial sequences A polynomial is an expression like which is a sum of multiple of nonnegative integer powers of a variable. A polynomial sequence is composed of the outputs of the same polynomial functions for inputs or , depending on the author. generate a row of only 's at some level of the difference table. Every sequence that eventually reduces to 's can be written as a polynomial sequence. Furthermore, there are some methods that we can use to determine the specific polynomial function.

[Click here to show more about finding the specific polynomial]

We can find the polynomial function for an original sequence in two ways. The first method involves finding a general form of the function and substit **[...]** **[Click here to hide content]**

We can find the polynomial function for an original sequence in two ways. The first method involves finding a general form of the function and substituting unknown values with some values from the sequence, and the second method uses the difference table and a formula involving factorials. Here, we use to define the first term of the sequence. Depending on the author, some books use and some use .

### Using substitution

Using the first method, we can find a general form for the polynomial function by looking at the difference table. If a row with constant differences other than 0 appear on the th difference, then it implies that the original sequence can be determined by a th degree polynomial function, which will have the form :

We can find the values of the coefficients by plugging in some values for the unknown . For instance, let's look at the difference table for the sequence of perfect squares. The row of second differences gives a constant value; thus, we know that the original sequence can be described through a second degree polynomial :

- .

The first term of the sequence is when , the second term is when , and the third term is when . Thus, plugging in these numbers we get :

Because we have three unknowns and three equations, we can find the value of to be :

- .

Thus, we can find the polynomial expression for sequence to be for .

### Using Newton's Interpolation Formula

Another way of determining the polynomial function is to use **Newton's Interpolation Formula**:

where is the th degree **falling factorial** polynomial

and indicates the leftmost value of the th difference in the difference table. In fact, the original sequence counts as the th difference.

If the original sequence (the first row of the difference table) is a polynomial sequence, then this form of Newton's Interpolation Formula will find that polynomial.

Let's find the polynomial for the sequence of perfect squares using the difference table given above.

- [All further terms are 0]

Thus, we found out that the original sequence is a sequence of perfect squares where the polynomial function is :

The table below shows a difference table of the Fibonacci sequence.. Because Fibonacci numbers are not polynomials, they do not reach a row with only 's.

For more information about the Fibonacci numbers and the difference table of Fibonacci numbers, go to Finite Difference of Fibonacci Numbers.