In single-variable calculus, the difference quotient is usually the name for the expression
which when taken to the limit as h approaches 0 gives the derivative of the function f. The name of the expression stems from the fact that it is the quotient of the difference of values of the function by the difference of the corresponding values of its argument (the latter is (x+h)-x=h in this case). The difference quotient is a measure of the average rate of change of the function over an interval (in this case, an interval of length h).:237 The limit of the difference quotient (i.e., the derivative) is thus the instantaneous rate of change.
By a slight change in notation (and viewpoint), for an interval [a, b], the difference quotient
is called the mean (or average) value of the derivative of f over the interval [a, b]. This name is justified by the mean value theorem, which states that for a differentiable function f, its derivative f? reaches its mean value at some point in the interval. Geometrically, this difference quotient measures the slope of the secant line passing through the points with coordinates (a, f(a)) and (b, f(b)).
Difference quotients are used as approximations in numerical differentiation, but they have also been subject of criticism in this application.
The difference quotient is sometimes also called the Newton quotient (after Isaac Newton) or Fermat's difference quotient (after Pierre de Fermat).
The typical notion of the difference quotient discussed above is a particular case of a more general concept. The primary vehicle of calculus and other higher mathematics is the function. Its "input value" is its argument, usually a point ("P") expressible on a graph. The difference between two points, themselves, is known as their Delta (?P), as is the difference in their function result, the particular notation being determined by the direction of formation:
- Forward difference: ?F(P) = F(P + ?P) - F(P);
- Central difference: ?F(P) = F(P + ½?P) - F(P - ½?P);
- Backward differenceF(P) = F(P) - F(P - ?P).
The general preference is the forward orientation, as F(P) is the base, to which differences (i.e., "?P"s) are added to it. Furthermore,
- If |?P| is finite (meaning measurable), then ?F(P) is known as a finite difference, with specific denotations of DP and DF(P);
- If |?P| is infinitesimal (an infinitely small amount----usually expressed in standard analysis as a limit: ), then ?F(P) is known as an infinitesimal difference, with specific denotations of dP and dF(P) (in calculus graphing, the point is almost exclusively identified as "x" and F(x) as "y").
The function difference divided by the point difference is known as "difference quotient":
If ?P is infinitesimal, then the difference quotient is a derivative, otherwise it is a divided difference:
Defining the point range
Regardless if ?P is infinitesimal or finite, there is (at least--in the case of the derivative--theoretically) a point range, where the boundaries are P ± (0.5) ?P (depending on the orientation--?F(P), ?F(P) or ?F(P)):
- LB = Lower Boundary; UB = Upper Boundary;
Derivatives can be regarded as functions themselves, harboring their own derivatives. Thus each function is home to sequential degrees ("higher orders") of derivation, or differentiation. This property can be generalized to all difference quotients.
As this sequencing requires a corresponding boundary splintering, it is practical to break up the point range into smaller, equi-sized sections, with each section being marked by an intermediary point (Pi), where LB = P0 and UB = P?, the nth point, equaling the degree/order:
LB = P0 = P0 + 0?1P = P? - (?-0)?1P;
P1 = P0 + 1?1P = P? - (?-1)?1P;
P2 = P0 + 2?1P = P? - (?-2)?1P;
P3 = P0 + 3?1P = P? - (?-3)?1P;
? ? ? ?
P?-3 = P0 + (?-3)?1P = P? - 3?1P;
P?-2 = P0 + (?-2)?1P = P? - 2?1P;
P?-1 = P0 + (?-1)?1P = P? - 1?1P;
UB = P?-0 = P0 + (?-0)?1P = P? - 0?1P = P?;
?P = ?1P = P1 - P0 = P2 - P1 = P3 - P2 = ... = P? - P?-1;
?B = UB - LB = P? - P0 = ??P = 1P.
The primary difference quotient (? = 1)
As a derivative
- The difference quotient as a derivative needs no explanation, other than to point out that, since P0 essentially equals P1 = P2 = ... = P? (as the differences are infinitesimal), the Leibniz notation and derivative expressions do not distinguish P to P0 or P?:
There are other derivative notations, but these are the most recognized, standard designations.
As a divided difference
- A divided difference, however, does require further elucidation, as it equals the average derivative between and including LB and UB:
- In this interpretation, Pã represents a function extracted, average value of P (midrange, but usually not exactly midpoint), the particular valuation depending on the function averaging it is extracted from. More formally, Pã is found in the mean value theorem of calculus, which says:
- For any function that is continuous on [LB,UB] and differentiable on (LB,UB) there exists some Pã in the interval (LB,UB) such that the secant joining the endpoints of the interval [LB,UB] is parallel to the tangent at Pã.
- Essentially, Pã denotes some value of P between LB and UB--hence,
- which links the mean value result with the divided difference:
- As there is, by its very definition, a tangible difference between LB/P0 and UB/P?, the Leibniz and derivative expressions do require divarication of the function argument.
Higher-order difference quotients
Applying the divided difference
The quintessential application of the divided difference is in the presentation of the definite integral, which is nothing more than a finite difference:
Given that the mean value, derivative expression form provides all of the same information as the classical integral notation, the mean value form may be the preferable expression, such as in writing venues that only support/accept standard ASCII text, or in cases that only require the average derivative (such as when finding the average radius in an elliptic integral).
This is especially true for definite integrals that technically have (e.g.) 0 and either or as boundaries, with the same divided difference found as that with boundaries of 0 and (thus requiring less averaging effort):
This also becomes particularly useful when dealing with iterated and multiple integrals (?A = AU - AL, ?B = BU - BL, ?C = CU - CL):