Skip to main content

Section 1.1 Differentiability

The derivative of a function f(x) at a point x0 is the instantaneous rate of change of f(x) with respect to x at the point x=x0. Geometrically, it is the slope of the tangent at the point (x0,f(x0)) of the graph y=f(x).
Given a description of how a quantity y changes with respect to a quantity x as a function y(x), we often interested in how fast y is changing against x. The rate of change of y with respect to the change of x is easy to understand: it is simply the ratio of the change of y over the change of x. That is,
ΔyΔx=y(x2)y(x1)x2x1.
For instance, if you traveled 140 miles in 2 hours then your average speed over that 2 hours period is 140/2=70 miles per hour (mph). But, as you can imagine, an average speed of 70 mph, does not mean you traveled constantly as speed 70 mph during that 2 hour period.
Things indeed get trickier when we are interested in the instantaneous rate of change of y with respect to x. In view of the example above, that is, we are interested in the speedometer reading of your car. Suppose the quantity y is given by a function f of x and we are interested in the instantaneous rate of change of y with respect to x when x is at the value x0. As we have discussed, for xx0
φx0(x)=f(x)f(x0)xx0
is the rate of change of y with respect to x. However, we cannot simply evaluate φx0(x) at x=x0 to obtain the instantaneous rate of change as the denominator vanishes when x=x0. And yet, we do expect φx0(x) is close to the instantaneous rate of change that we are looking for when x is close to x0. Hence, it reasonable to say that if φx0(x) can be extended to a function that is continuous at x=x0, then the value of this extension at x=x0 is the instantaneous rate of change of y at x=x0.

Definition 1.1.

A function f(x) is differentiable at x=x0 if there exists a unique function φx0(x) continuous at x=x0 such that for all x at which f is defined,
(1.1)f(x)f(x0)=φx0(x)(xx0).
The value φx0(x0), also denoted by f(x0), is called the derivative of f(x) with respect to x at x=x0.

Remark 1.2.

  1. This definition of derivative is due to Constantin Caratheodory.
  2. We are simply defining differentiability in terms of continuity. But we hope continuity is a more intuitive concept and is easier to understand.
  3. For the expert: it is implicit in the definition that f is defined at x0. Moreover, the uniqueness of the extension of φx0(x) is equivalent to x0 being a limit point of the domain of f. Note also that the uniqueness of the extension is automatic when the domain of f is an interval (with at least two distinct points).
  4. Note also that differentiability is a local property. That means if f and g agree on an open interval containing a, then f(a)=g(a) if either of them exists.
Geometrically φx0(x) is the slope of the secant line joining the point (x0,f(x0)) and (x,f(x)). So, if f(x) is differentiable at x=x0, then as x approaches x0 these secants approach the line defined by
(1.2)f(x0)+f(x0)(xx0)
which is called the tangent of f(x) at x=x0. It is the line that passes through the point (x0,f(x0)) with slope f(x0). In other words f(x0), if exists, is the slope of the tangent of the graph y=f(x) at the point (x0,f(x0)).
Using f(x0) to denote the derivative of f(x) at x=x0 is due to Lagrange. This notation suggests that the derivatives of f(x) at various points are the values of another function namely f(x). Another popular notation for the derivative of f(x) at x=x0 is dfdx(x0). This notation is due to Leibniz. It reminds us that the derivative is the rate of change of f(x) with respect to x at x0. It emphasizes the variable is x. If we do not a specific name of the function but simply consider its values as a dependent valuable y depending on x, then we also write its derivative at x=x0 as
dydx(x0),dydx|x=x0,ordydx|(x0,f(x0)).

Example 1.3.

For a linear function f(x)=mx+b, it is plain to verify that
f(x)=f(x0)+m(xx0)
for any x,x0. Constant functions are continuous so we have f(x0)=m for any x0. In other words, the derivative of f(x)=mx+b (as a function of x) is the constant function f(x)=m. In particular, the derivative of a constant function f(x)=b is the zero function. And the derivative of the identity function f(x)=x is the constant function 1.

Example 1.4.

Consider the function f(x)=1/x. For x,x00, since
f(x)f(x0)=1x1x0=1xx0(xx0)
and the function φx0(x)=1/(xx0) is continuous at x0, we conclude that f(x0)=1/x02. And so the derivative of 1/x is the function 1/x2.

Proof.

By definition of differentiability,
f(x)=f(x0)+φ(x)(xx0)
for some function φ(x) that is continuous at x=x0. Therefore, f is continuous at x0 since constant functions are continuous and continuous functions are closed under sum and products.