Engineering, Tech, TeX, and Numbers. Lots of Numbers.
Numerical differentation has a cornucopia of uses in engineering. However, when you're first learning it may appear daunting - especially the form of the equations. For instance, these are the forward difference equations:
There are a few patterns here that make memorizing these formulas pretty easy. The first, and most obvious, pattern is that you always start with a positive term, and alternate the sign of the remaining terms. Another pattern is that order of the h term in denominator increases by 1 every time.
The most important pattern is that the coefficients (if we disregard the sign) are the binomial coefficients. We can pull out the coefficients of the function evaluations and the denominator, D, and put them in a table to make this a little more obvious.
This is great, but we have to remember that this pattern is only for the forward difference formulas. What about the backward difference formulas, denoted by \nabla^n? We're in luck! The coefficients follow a very similar pattern, as might be expected. There methods are also all O(h).
Unforunately, the centered difference fomulas, denoted by \delta^n, don't follow exactly the same patterns. The terms still alternate in sign, but the coefficients aren't binomial. Also, all of these methods are O(h^2).
Hopefully these patterns will help you as your begin to work with numerical differentiation!
by Chris McComb