Lecture 28 - The Derivative

We start our discussion with a definition:

derivative

Let f:I→R where I is an interval (open, closed, half-open/closed), which is definitely connected. Then f is differentiable at c∈I if:
limx→cf(x)−f(c)x−c
exists. (see Functional Limit for details, and highlighting Existence of Functional Limits for showing this).

Note that:

  1. If f is differentiable at c, then we define f′(c) to refer the value of the limit:
    limx→cf(x)−f(c)x−c=f′(c)
    specifically we call this the derivative of f at c.
  2. Similar to One-Sided Limits, if c∈I is an endpoint of I (ex: a closed interval), then this limit coincides with a one-sided limit (which we refer as a one-sided derivative):
    limx→c−f(x)−f(c)x−c,limx→c+f(x)−f(c)x−c
  3. If f is differentiable at every c∈I then we say f is differentiable on I.
  4. f(x)−f(c)x−cis the slope of the secant line. Taking its limit gets the tangent line at a point.
Theorem

Let f:I→R where I is an interval. If f is differentiable at c∈I, then f is continuous at c.

We'll be using the Algebraic Limit Theorem for Functional Limits

Proof

For all x∈I where x≠c then we have the following:
f(x)−f(c)=f(x)−f(c)x−c⋅(x−c)limx→c[f(x)−f(c)]=limx→c[f(x)−f(c)x−c⋅(x−c)]limx→cf(x)−f(c)=(limx→cf(x)−f(c)x−c)(limx→c(x−c))=f′(c)⋅0ALTlimx→c[f(x)−f(c)]=0
Then if we want to compute the limit of f(x) at c can be calculated:
limx→cf(x)=limx→c(f(x)−f(c))+f(c)=limx→cf(x)−f(c)+limx→cf(c)=0+f(c)=f(c)
Thus limx→cf(x)=f(c) so the limit exists and is as we expect.

☐

Similar with the Algebraic Limit Theorem for Functional Limits, we can do the same for derivatives:

Algebraic Differentiability Theorem

Let f,g:I→R where I is an interval, c∈I. Suppose f,g are both differentiable at c. Then ∀α∈R then:

  1. αf
  2. f+g
  3. fg
  4. fg (assuming g(c)≠0)
    Are all differentiable at c. Further we can say:
  5. (αf)′(c)=αf′(c)
  6. (f+g)′(c)=f′(c)+g′(c)
  7. (fg)′(c)=f′(c)g(c)+f(c)g′(c)
  8. If g(c)≠0 then:
    (fg)′(c)=f′(c)g(c)−f(c)g′(c)g(c)2

For a lot of these we'll be using the Algebraic Limit Theorem for Functional Limits

Proof

(αf)′(c)=limx→c(αf)(x)−(αf)(c)x−c=limx→cαf(x)−αf(c)x−c=limx→c(αf(x)−f(c)x−c)=αlimx→cf(x)−f(c)x−cALT=αf′(c)
2.
(f+g)′(c)=limx→c(f+g)(x)−(f+g)(c)x−c=limx→cf(x)+g(x)−f(x)−g(x)x−c=limx→c(f(x)−f(c)x−c+g(x)−g(c)x−c)=limx→cf(x)−f(c)x−c+limx→cg(x)−g(c)x−cALT=f′(c)+g′(c)
3. Notice here that for the limx→cg(x)=g(c) because Differentiability Implies Continuity:
(fg)′(c)=limx→c(fg)(x)−(fg)(c)x−c=limx→cf(x)g(x)−f(c)g(c)x−c=limx→cf(x)g(x)−f(c)g(x)+g(x)f(c)−g(c)f(c)x−c=limx→cf(x)−f(c)x−c⋅g(x)+g(x)−g(c)x−c⋅f(c)=limx→cf(x)−f(c)x−c⋅g(x)+limx→cg(x)−g(c)x−c⋅f(c)ALT=limx→c(f(x)−f(c)x−c)limx→cg(x)+limx→c(g(x)−g(c)x−c)limx→cf(c) ALT=f′(c)g(c)+g′(c)f(c)
4. Assuming g(c)≠0:
(fg)′(c)=limx→c((fg)(x)−(fg(c))x−c)=limx→cf(x)g(x)−f(c)g(c)x−c=limx→cf(x)g(c)−f(c)g(x)g(x)g(c)(x−c)=limx→cf(x)g(c)−f(c)g(c)+f(c)g(c)−f(c)g(x)g(x)g(c)(x−c)=limx→c1g(x)g(c)⋅(f(x)−f(c)x−c⋅g(c)−f(x)g(x)−g(c)x−c)=limx→c1g(x)g(c)⋅(f′(c)g(c)−f(c)g′(c))ALT=f′(c)g(c)−f(c)g′(c)g(c)2

☐

Examples

Let's look at some quick examples of derivatives we could find:

  1. (constant functions): f(x)=α where α∈R gives that:
limx→cf(x)−f(c)x−c=limx→cα−αx−c=0
  1. For f:R→R and f(x)=x then:
limx→cf(x)−f(c)x−c=limx→cx−cx−c=1
  1. If g(x)=x2=x⋅x then using Algebraic Differentiability Theorem:
g′(x)=1⋅x+x⋅1=2x
  1. Using induction, we can show that h(x)=xn where n∈N then:
h′(x)=nxn−1
  1. Using (4) and the ADT, then any polynomial is differentiable on R.
  2. Further, any rational function is differentiable everywhere it is defined using (5) and the ADT (the quotient rule).