This is the calculus of computer scientists.
This is the calculus of discrete mathematics I tried to discover when I was bored one day.
This is the calculus of making everything make sense.
This is the calculus of finite differences!
Motivation
Find closed form of the sum
…without looking it up or guessing (then proving) the solution.
Falling Powers
The -th falling power of is defined as
Conversion from Non-Falling Powers
Where is a Stirling number of the second kind.
Examples:
Difference Operator
Analogous to derivative of continuous calculus.
Let denote the shift operator , and the identity operator, then
Like in calculus, the difference operator is linear:
Examples:
- :
- :
- :
Difference of Falling Powers
Proof. If , then by definition
If , then let
First, since , we expect . Thus by definition,
Difference of Exponentials
In particular,
Proof.
Q.E.D.
Antidifference Operator
Analogous to antiderivative or indefinite integral of continuous calculus.
The antidifference operator is also linear:
Antidifference of Falling Powers
Except in the case of :
Where is the th harmonic number! Thus by inverse, .
Antidifference of Exponentials
Sums
Analogous to definite integrals of continuous calculus.
corresponds with
And so,
THE FUNDAMENTAL THEOREM OF CALCULUS
is perfectly paralleled by
THE FUNDAMENTAL THEOREM OF FINITE DIFFERENCES
References
- D. Gleich: Finite Calculus: A tutorial for solving Nasty Sums. . External Link
- Graham, Knuth, Patashnik: Concrete Mathematics, Addison Wesley
- Ch. Jordan: Calculus of finite differences, AMS Chelsea, 1965