This article contains an elementary introduction to calculus of finite differences. Instead of working with a variable, say $n$, it uses a different approach based on my article about definition of functions without using variables. Just to remind you: $\id$ denotes the identity function $\id(x) = x$. Let’s start with an elementary definition:
The notation defined above gives rise to the $n^\mathrm{th}$ falling factorial function $\id^{\underline n}$, meaning $\id^{\underline n}(x) = x^{\underline n}$. This function plays the same role in the discrete theory as $\id^n$ does in the smooth theory, which will become apparent after the next definition.
Notice how $Δ_hf$ approximates the derivative of $f$ as $h → 0$. As we will see, $Δ_h$ has some nice algebraic properties which translate trivially into properties of derivatives after taking the limit for $h → 0$.
It is a simple exercise to check that
$$ Δ_h(\id^{\underline n,h}) = n\id^{\underline {n-1},h}\,. $$In particular,
$$ Δ(\id^{\underline n}) = n\id^{\underline{n-1}}\,. $$Just to demonstrate how to work without variables, we’ll prove the latter formula:
\begin{align*} Δ\id^{\underline n} &= \id^{\underline n}∘(\id+1)-\id^{\underline n} = \big(\id(\id-1)\cdots(\id-n+1)\big) ∘ (\id+1)-\id^{\underline n}\\ &= (\id+1)\id(\id-1)\cdots(\id-n+2)-\id(\id-1)\cdots(\id-n+1) \\ &= (\id+1-\id+n-1)\id(\id-1)\cdots(\id-n+2) = n\id^{\underline{n-1}}\,. \end{align*}The difference operator is obviously linear, i.e. for $f,g$ functions and $a,b ∈ℝ$, $Δ(af+bg) = aΔf + bΔg$. Notice that the binomial coefficient can be expressed as
$$ \binom nk = ÷{n^{\underline k}}{k!} $$Using linearity and the formula above, we can derive a nice formula for $Δ\binom \id k$:
$$ Δ\binom \id k = Δ\l(÷{\id^{\underline k}}{k!}\r) = ÷{1}{k!}k\id^{\underline{k-1}} = ÷{\id^{\underline{k-1}}}{(k-1)!} = \binom \id{k-1}\,. $$The role of the exponential in the discrete theory is played by the function $2^\id$, for which we have:
$$ Δ2^\id = 2^{\id}∘(\id+1)-2^\id = 2^{\id+1}-2^\id = 2⋅2^\id-2^\id = 2^\id $$Of course, everything we have done so far can be rewritten with variables using the notion of application of an operator with respect to a variable defined in a previous article. We could have written, for example
$$ \underset {n\vphantom{h}}Δ\binom nk = \underset nΔ\l(÷{n^{\underline k}}{k!}\r) = ÷{1}{k!}kn^{\underline{k-1}} = ÷{n^{\underline{k-1}}}{(k-1)!} = \binom n{k-1}\,. $$The following theorem shows that finite differences have a similar algebraic structure as derivatives:
Notice how these become exactly the well known rules for derivatives after applying $\lim_{h→0}$. What is lacking in the discrete theory and what makes the smooth theory so much more practical to work with is the chain rule; there is no nice general expression for $Δ_h(f(g))$.