Home › Pascal's Triangle › Lesson 6

Finite Differences and Integer-Valued Polynomials

Lesson 6 of 14

Key idea of this section

Δf(x) = f(x + 1) − f(x),   Δ C(x, k) = C(x, k − 1)
f(x) = ∑ₖ Δᵏf(0) C(x, k)   for every polynomial f
f(ℤ) ⊆ ℤ  ⟺  f is an integer combination of the C(x, k)   (Pólya, 1915)

The difference operator

Let Δ be the forward difference operator, Δf(x) = f(x + 1) − f(x), and E the shift, Ef(x) = f(x + 1), so Δ = E − 1. Pascal's rule in the form C(x + 1, k) − C(x, k) = C(x, k − 1) says that Δ lowers the binomial basis exactly as d/dx lowers the basis xᵏ/k!. Expanding Δⁿ = (E − 1)ⁿ by the binomial theorem (E and 1 commute) gives

Δⁿf(x) = ∑ₖ (−1)ⁿ⁻ᵏ C(n, k) f(x + k)

Newton's forward-difference formula

Theorem 6.1. For every polynomial f with coefficients in a ℚ-algebra, f(x) = ∑k≥0 Δᵏf(0) C(x, k), the sum being finite.

Proof. The polynomials C(x, 0), C(x, 1), …, C(x, d) have degrees 0, 1, …, d and therefore form a basis of the polynomials of degree at most d. Write f = ∑ cₖ C(x, k). Applying Δʲ and evaluating at 0 gives Δʲf(0) = ∑ₖ cₖ C(0, k − j) = cⱼ, since C(0, m) = 1 for m = 0 and 0 otherwise. ∎

This is the discrete Taylor formula: falling factorials play the role of powers, and Δ plays the role of the derivative. The analogy extends to summation: since Δ C(x, k + 1) = C(x, k), the discrete antiderivative of C(x, k) is C(x, k + 1), and

∑j=0N−1 f(j) = ∑ₖ Δᵏf(0) C(N, k + 1)

which is the hockey stick identity applied term by term.

f(j) = j³:  values 0, 1, 8, 27  →  Δ-table 0, 1, 6, 6
j³ = C(j, 1) + 6 C(j, 2) + 6 C(j, 3)
∑j<N j³ = C(N, 2) + 6 C(N, 3) + 6 C(N, 4)      (N = 4: 6 + 24 + 6 = 36)

Stirling numbers

Writing powers in the binomial basis introduces the Stirling numbers of the second kind S(m, k), the number of partitions of an m-set into k nonempty blocks: xᵐ = ∑ₖ k! S(m, k) C(x, k) = ∑ₖ S(m, k) xk. Combinatorial proof for x ∈ ℕ: a function [m] → [x] is determined by its kernel partition into k blocks together with an injective assignment of the k blocks to values, which can be done in xk ways. Comparing with Theorem 6.1 yields

∑ₖ (−1)ⁿ⁻ᵏ C(n, k) kᵐ = Δⁿ(xᵐ)(0) = n! S(m, n)

In particular the left side vanishes for m < n and equals n! for m = n. These are the classical alternating power sums of Euler.

Integer-valued polynomials

A polynomial f ∈ ℚ[x] is integer-valued if f(ℤ) ⊆ ℤ. Examples are C(x, k) (Proposition 1.3) and x(x + 1)(2x + 1)/6, which is not in ℤ[x].

Theorem 6.2 (Pólya, 1915). The following are equivalent for f ∈ ℚ[x] of degree d: (i) f is integer-valued; (ii) f(0), f(1), …, f(d) are integers; (iii) f = ∑ₖ cₖ C(x, k) with every cₖ ∈ ℤ.

Proof. (i) ⇒ (ii) is trivial. (ii) ⇒ (iii): Δᵏf(0) = ∑ⱼ (−1)ᵏ⁻ʲ C(k, j) f(j) is an integer combination of f(0), …, f(k) for k ≤ d, and cₖ = Δᵏf(0) by Theorem 6.1. (iii) ⇒ (i): each C(x, k) is integer-valued. ∎

Corollary 6.3. If f ∈ ℚ[x] has degree d and is integer-valued, then d! f ∈ ℤ[x]. Proof. k! C(x, k) = xk ∈ ℤ[x], and d!/k! is an integer for k ≤ d. ∎

The ring Int(ℤ) of integer-valued polynomials is a free ℤ-module with basis C(x, k), but it is not Noetherian; it is a basic example in commutative algebra (Cahen and Chabert's monograph is the standard reference). Its structure is closely tied to the p-adic behaviour of factorials studied in Lesson 8.

Example. Is (x⁵ − x)/30 integer-valued? Using S(5, k) = 1, 15, 25, 10, 1 for k = 1, …, 5, x⁵ = C(x, 1) + 30 C(x, 2) + 150 C(x, 3) + 240 C(x, 4) + 120 C(x, 5). Hence (x⁵ − x)/30 = C(x, 2) + 5 C(x, 3) + 8 C(x, 4) + 4 C(x, 5), which has integer coefficients; the answer is yes. (This also follows from Fermat's little theorem for the primes 2, 3, 5.)

Exercise

  • (a)
    Express x⁴ in the binomial basis and check the result at x = 3.
  • (b)
    Decide whether (x⁴ − x²)/12 is integer-valued.
  • (c)
    Find the polynomial f of degree at most 3 with f(0) = 1, f(1) = 3, f(2) = 8, f(3) = 19, and compute f(4).
Show solution

Answers: (a) With S(4, k) = 1, 7, 6, 1: x⁴ = C(x, 1) + 14 C(x, 2) + 36 C(x, 3) + 24 C(x, 4); at x = 3, 3 + 42 + 36 + 0 = 81 = 3⁴. (b) x⁴ − x² = 12 C(x, 2) + 36 C(x, 3) + 24 C(x, 4), so (x⁴ − x²)/12 = C(x, 2) + 3 C(x, 3) + 2 C(x, 4), integer-valued. (c) The difference table of 1, 3, 8, 19 is 1; 2; 3; 3 (first entries of successive rows), so f = 1 + 2 C(x, 1) + 3 C(x, 2) + 3 C(x, 3) and f(4) = 1 + 8 + 18 + 12 = 39.

V.3.1