Home page for accesible maths 3 Differentiation

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

3.1 Difference quotients and limits

Key idea of construction.

Given a function f:I→ℝ and a point x0∈I, a natural question is to ask how f⁢(x) changes when you vary x in a close neighbourhood of x0.

The definition of continuity expresses the idea that the value of f changes little when x changes little.

The definition of a derivative of f expresses the idea how much (or better say, how fast) the value f⁢(x) changes when x changes; it should be described by a rate, something like a difference quotient:

f⁢(x)-f⁢(x0)x-x0.

The closer x gets to x0, the more the value of the difference quotient approaches the actual rate of change in x0, i.e., the slope of the graph of f in x0. Notice that we cannot have x=x0 because then the denominator would be 0; we must rather have x very close to x0. What concept does this remind you of?

Let us provide a precise definition of the derivative:

Definition 3.1.1 (Derivative).

Given a function f:I→ℝ on an interval I and x0∈I. We say f is differentiable at x0 if

there is m∈ℝ such that ⁢f⁢(x)-f⁢(x0)x-x0→m, as ⁢x→x0,

and in this case the derivative of f at x0 is f′⁢(x0):=m, sometimes also denoted by (dd⁡x⁢f)⁢(x0).
f is said to be differentiable if it is differentiable at every x0∈I. By iteration, we write f′′:=(f′)′ for the second derivative of f (if it exists), and f(n) for the n-th derivative.

Exercise L.

How would you write the above definition of differentiability in terms of ε and δ? Remember: arrows are always a short-hand notation for a precise ε-δ criterion.

Example 3.1.2.
  • (1)

    Consider the function

    h:ℝ→ℝ,h⁢(x)=x.

    Then we have

    h⁢(x)-h⁢(x0)x-x0=x-x0x-x0=1.

    This converges to 1 as x→x0, which proves the differentiability of h in x0, with h′⁢(x0)=1.

  • (2)

    Consider the function

    f:ℝ→ℝ,f⁢(x)=x2.

    Then at x0, we have

    f⁢(x)-f⁢(x0)x-x0=x2-x02x-x0=x+x0

    This converges to 2⁢x0 as x→x0, which proves the differentiability of f in x0 and that f′⁢(x0)=2⁢x0.

  • (3)

    Consider the function

    g:ℝ→ℝ,g⁢(x)=|x|.

    We know from MATH113 that this is continuous. We consider the difference quotient with x sufficiently close to x0 because eventually we are interested in the limit x→x0. (By “sufficiently close” we mean that e.g. |x-x0|<|x0| if x0≠0, so that x and x0 lie on the same side of 0.) Let us distinguish three cases:

    Case x0>0:

    In this case we may assume that x>0 as well (because we said x close to x0) and we get

    g⁢(x)=|x|-|x0|x-x0=x-x0x-x0=1,

    proving differentiability in x0>0.
    Case x0<0. In this case we may assume that x<0 as well and we get

    g⁢(x)=|x|-|x0|x-x0=-x+x0x-x0=-1,

    proving differentiability in x0<0.
    Case x0=0. In this case we must consider both x>0 and x<0 because we only know that x is close x0=0. We have

    g⁢(x)=|x|-|x0|x-x0={xx=1:x>0-xx=-1:x<0.

    Then the left-sided limit of the difference quotient is -1 in contrast to the right-sided +1. Thus g is not differentiable at x0=0.

  • (4)

    The functions sin,cos:ℝ→ℝ are differentiable. This is quite cumbersome to prove and we simply assume it henceforth. A rigorous approach will be discussed in MATH210.