Forward Difference — Definition, Formula & Example
A forward difference is the change in a function's value when you step forward from x by a fixed amount h. It is the discrete counterpart of a derivative and is written with the symbol Δ (capital delta).
For a function and step size , the forward difference operator is defined by . Higher orders are defined recursively by , with . For a sequence , this becomes . The operator is linear: .
Key Formula
Where:
- = Forward difference operator
- = The function (or sequence) being differenced
- = The starting point
- = Fixed step size between sample points
- = Order of the difference (n = 1 is the first difference)
- = Binomial coefficient, n choose k
Worked Example
Problem: Build a forward difference table for at with step . What do the second differences show?
Step 1: Evaluate f at each grid point.
Step 2: Take first forward differences by subtracting each value from the next one.
Step 3: Difference the first differences to get second differences. You can confirm one of them directly with the binomial formula.
Answer: The second forward differences are constant and equal to 4. For any quadratic , , and here . Constant nonzero n-th differences signal a polynomial of degree n.
Why It Matters
Forward differences underlie Newton's forward interpolation formula and the explicit Euler method for differential equations, both standard topics in a first numerical analysis course. Difference tables also let you detect the degree of a polynomial from equally spaced data without knowing its formula.
Common Mistakes
Mistake: Computing the second difference as or as .
Correction: means applying twice, not squaring. Expanding gives , with binomial coefficients 1, −2, 1.
