Numerical differentiation: Difference between revisions
(Created page with "==Definition== '''Numerical differentiation''' refers to a method for computing the approximate numerical value of the derivative of a function at a point in the domain a...") |
No edit summary |
||
| Line 6: | Line 6: | ||
! Expression !! Interpretation of limit as <math>h \to 0</math> | ! Expression !! Interpretation of limit as <math>h \to 0</math> | ||
|- | |- | ||
| Forward [[difference quotient]] <math>\frac{f(x + h) - f(x)}{h}</math> || The right-hand derivative <math>f'_+(x)</math>. If <math>f</math> is differentiable at <math>x</math>, this equals the two-sided derivative <math>f'(x)</math>. | | Forward [[difference quotient]] <math>\frac{f(x + h) - f(x)}{h}</math>, comes from the forward difference form of the [[finite difference]] || The right-hand derivative <math>f'_+(x)</math>. If <math>f</math> is differentiable at <math>x</math>, this equals the two-sided derivative <math>f'(x)</math>. | ||
|- | |- | ||
| Backward [[difference quotient]] <math>\frac{f(x) - f(x - h)}{h}</math> || The left-hand derivative <math>f'_-(x)</math>. If <math>f</math> is differentiable at <math>x</math>, this equals the two-sided derivative <math>f'(x)</math>. | | Backward [[difference quotient]] <math>\frac{f(x) - f(x - h)}{h}</math>, comes from the backward difference form of the [[finite difference]] || The left-hand derivative <math>f'_-(x)</math>. If <math>f</math> is differentiable at <math>x</math>, this equals the two-sided derivative <math>f'(x)</math>. | ||
|- | |- | ||
| Central difference quotient <math>\frac{f(x + h) - f(x - h)}{2h}</math> || If <math>f</math> is differentiable at <math>x</math>, this equals the two-sided derivative <math>f'(x)</math>. Otherwise, however, it does not have any direct interpretation as a one-sided derivative of <math>f</math>. | | Central difference quotient <math>\frac{f(x + h) - f(x - h)}{2h}</math>, comes from the central difference form of the [[finite difference]] || If <math>f</math> is differentiable at <math>x</math>, this equals the two-sided derivative <math>f'(x)</math>. Otherwise, however, it does not have any direct interpretation as a one-sided derivative of <math>f</math>. | ||
|} | |} | ||
Revision as of 05:42, 9 May 2014
Definition
Numerical differentiation refers to a method for computing the approximate numerical value of the derivative of a function at a point in the domain as a difference quotient. Explicitly, the numerical derivative of a function at a point may be computed using either of these three formulas, for a sufficiently small positive real number:
| Expression | Interpretation of limit as |
|---|---|
| Forward difference quotient , comes from the forward difference form of the finite difference | The right-hand derivative . If is differentiable at , this equals the two-sided derivative . |
| Backward difference quotient , comes from the backward difference form of the finite difference | The left-hand derivative . If is differentiable at , this equals the two-sided derivative . |
| Central difference quotient , comes from the central difference form of the finite difference | If is differentiable at , this equals the two-sided derivative . Otherwise, however, it does not have any direct interpretation as a one-sided derivative of . |