Difference quotient

From Calculus

Definition

Algebraic definition

The difference quotient of a function between two distinct points in its domain is defined as the quotient of the difference between the function values at the two points by the difference between the two points.

In symbols, if f is a function defined on some subset of the reals and x1,x2 are distinct elements in the domain of f, then the difference quotient of f between x1 and x2, denoted Δf(x1,x2), is defined as:

Δf(x1,x2):=f(x2)f(x1)x2x1

Note that the definition is symmetric in x1 and x2, i.e., we have:

Δf(x1,x2)=Δf(x2,x1)

Geometric definition

The difference quotient of a function between two distinct points in its domain is defined as the slope of the chord joining the corresponding points in the graph of the function.

In symbols, if f is a function defined on some subset of the reals and x1,x2 are distinct elements in the domain of f, then the difference quotient of f between x1 and x2 is defined as the slope of the line segment joining the points (x1,f(x1)) and (x2,f(x2)), both of which are part of the graph of f.

Definition as a function

Consider a function f with domain a subset S of R. The difference quotient, denoted Δf, is a function defined on S×SDiag(S) where Diag(S) is the diagonal subset {(x,x):xS}. In other words, the difference quotient is defined on the set of ordered pairs {(x1,x2):x1,x2S,x1x2}. It is defined as:

Δf(x1,x2)=f(x2)f(x1)x2x1

The function is symmetric, i.e., Δf(x1,x2)=Δf(x2,x1). Therefore, we can only think of it as a function on unordered pairs, i.e., we can view Δf as a function on the set (S2) of unordered pairs of distinct elements of S.

Related notions

  • Derivative is defined as a limit of the difference quotient as one point approaches the other.
  • Divided differences are the generalization to more variables.

Properties of the difference quotient function

Symmetry

The difference quotient function is symmetric: for a function f on a subset S of R, and for distinct points x1,x2 of S, we have:

Δf(x1,x2)=Δf(x2,x1)

Joint continuity

For a continuous function f, the difference quotient function is a continuous function in the sense of joint continuity.

Explicitly, given an interval I, and a continuous function f on I, the domain of Δf is a union of two triangular regions in I×I, namely the regions above and below the diagonal. The function is symmetric, so the description on either side gives the description on the other side. The claim is that Δf is continuous at every point in both triangular regions, or equivalently, that Δf is continuous on both triangular regions.

Completion to the diagonal

Recall that, for any x0, we defined the derivative f(x0) as:

f(x0)=limxx0Δf(x,x0)

Due to the symmetry, it can also be defined as:

f(x0)=limxx0Δf(x0,x)

Consider an open interval I and a differentiable function f on I. Suppose f exists on all of I. Then, the difference quotient function Δf can be extended to the diagonal as the following function Δc (not standard notation, we're just using a slightly different notation from Δf to keep track of the distinction):

Δcf(x1,x2)={f'(x1),x1=x2Δf(x1,x2),x1x2

Note that Δc is a separately continuous function based on the definition of the derivative: it is continuous in each variable holding the other variable's value fixed.

However, Δc need not in general be jointly continuous. Graphically, although it is continuous along horizontal and vertical lines, it need not be continuous along diagonal directions. It turns out that the following holds:

Δc is jointly continuous f is a continuous function

The forward direction is obvious: if Δc is jointly continuous, the output should vary continuously as we move along the diagonal. The reverse direction follows (in a few steps) from the Lagrange mean value theorem.

For most practical purposes, we simply use the same notation Δ for Δ (the difference quotient function proper) and Δc (the difference quotient function completed along the diagonal as the derivative).

Relation between values at multiple points

The fact that a function of two variables is a difference quotient heavily restricts the permitted types of the function. One obvious relation is that, for points x1,x2,x3, we have:

(x1x2)Δf(x1,x2)+(x2x3)Δf(x2,x3)+(x3x1)Δf(x3,x1)=0

This can be rewritten as:

Δf(x1,x3)=x1x2x1x3Δf(x1,x2)+x2x3x1x3Δf(x2,x3)

In the case that x1<x2<x3, we can think of the above as saying that the difference quotient between the two extreme points is a weighted average of the difference quotient between the left and middle point and the difference quotient between the middle and right point, where the weighting is done by the length of the interval.

Relation with operations on functions

Method for constructing new functions from old In symbols Difference quotient in terms of the old functions and their difference quotients Proof
pointwise sum f+g is the function xf(x)+g(x)
f1+f2++fn is the function xf1(x)+f2(x)++fn(x)
Sum of the difference quotients of the functions being added (the difference quotient of the sum is the sum of the difference quotients)
Δf+Δg
Δ(f1)+Δ(f2)++Δ(fn)
difference quotient is linear
pointwise difference fg is the function xf(x)g(x) Difference of the difference quotients, i.e., ΔfΔg difference quotient is linear
scalar multiple by a constant af is the function xaf(x) where a is a real number xaΔf(x) difference quotient is linear
pointwise product fg (sometimes denoted fg) is the function xf(x)g(x)
f1f2fn (sometimes denoted f1f2fn is the function xf1(x)f2(x)fn(x)
For two functions, Δ(fg)(x1,x2)=f(x1)Δg(x1,x2)+Δf(x1,x2)g(x2)
For multiple functions, Fill this in later
product rule for divided differences
pointwise quotient f/g is the function xf(x)/g(x) ? ?
composite of two functions fg is the function xf(g(x)) (Δf(g×g))Δg
Explicitly: (x1,x2)Δf(g(x1),g(x2))Δg(x1,x2)
chain rule for difference quotients

Reverse-engineering a function from partial information about its difference quotient

We can only know the function up to additive constants

If two functions differ by a constant, then their corresponding difference quotient functions are identical to each other. This means that even complete knowledge of the difference quotient of a function can only determine the function up to additive constants.

How much information suffices to determine the function up to additive constants?

The following are true:

  • Knowing the restriction of the difference quotient function to any single horizontal or vertical line in the domain suffices. In other words, knowing Δf(x,x0) for all x in the domain and a fixed value of x0 suffices.
  • Knowing the restriction of Δ to the diagonal, i.e., knowing f (note that this is not quite the restriction of the original difference quotient, but of the difference quotient function completed to the diagonal) suffices to determine f up to additive constants on connected intervals. For domains that have multiple connected components, we determine f up to additive constants on each component, but the constant could differ across the components.
  • Knowing the restriction to a line parallel to the diagonal helps determine the function up to addition of a periodic function. Explicitly, if we know Δf(x,x+h) for all xR, then we know f up to addition of a h-periodic function.