Lecture 28 - The Derivative

We start our discussion with a definition:

derivative

Let f:IR where I is an interval (open, closed, half-open/closed), which is definitely connected. Then f is differentiable at cI if:
limxcf(x)f(c)xc
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:
    limxcf(x)f(c)xc=f(c)
    specifically we call this the derivative of f at c.
  2. Similar to One-Sided Limits, if cI 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):
    limxcf(x)f(c)xc,limxc+f(x)f(c)xc
  3. If f is differentiable at every cI then we say f is differentiable on I.
  4. f(x)f(c)xcis the slope of the secant line. Taking its limit gets the tangent line at a point.
Theorem

Let f:IR where I is an interval. If f is differentiable at cI, then f is continuous at c.

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

Proof

For all xI where xc then we have the following:
f(x)f(c)=f(x)f(c)xc(xc)limxc[f(x)f(c)]=limxc[f(x)f(c)xc(xc)]limxcf(x)f(c)=(limxcf(x)f(c)xc)(limxc(xc))=f(c)0ALTlimxc[f(x)f(c)]=0
Then if we want to compute the limit of f(x) at c can be calculated:
limxcf(x)=limxc(f(x)f(c))+f(c)=limxcf(x)f(c)+limxcf(c)=0+f(c)=f(c)
Thus limxcf(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:IR where I is an interval, cI. 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)=limxc(αf)(x)(αf)(c)xc=limxcαf(x)αf(c)xc=limxc(αf(x)f(c)xc)=αlimxcf(x)f(c)xcALT=αf(c)
2.
(f+g)(c)=limxc(f+g)(x)(f+g)(c)xc=limxcf(x)+g(x)f(x)g(x)xc=limxc(f(x)f(c)xc+g(x)g(c)xc)=limxcf(x)f(c)xc+limxcg(x)g(c)xcALT=f(c)+g(c)
3. Notice here that for the limxcg(x)=g(c) because Differentiability Implies Continuity:
(fg)(c)=limxc(fg)(x)(fg)(c)xc=limxcf(x)g(x)f(c)g(c)xc=limxcf(x)g(x)f(c)g(x)+g(x)f(c)g(c)f(c)xc=limxcf(x)f(c)xcg(x)+g(x)g(c)xcf(c)=limxcf(x)f(c)xcg(x)+limxcg(x)g(c)xcf(c)ALT=limxc(f(x)f(c)xc)limxcg(x)+limxc(g(x)g(c)xc)limxcf(c) ALT=f(c)g(c)+g(c)f(c)
4. Assuming g(c)0:
(fg)(c)=limxc((fg)(x)(fg(c))xc)=limxcf(x)g(x)f(c)g(c)xc=limxcf(x)g(c)f(c)g(x)g(x)g(c)(xc)=limxcf(x)g(c)f(c)g(c)+f(c)g(c)f(c)g(x)g(x)g(c)(xc)=limxc1g(x)g(c)(f(x)f(c)xcg(c)f(x)g(x)g(c)xc)=limxc1g(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:
limxcf(x)f(c)xc=limxcααxc=0
  1. For f:RR and f(x)=x then:
limxcf(x)f(c)xc=limxcxcxc=1
  1. If g(x)=x2=xx then using Algebraic Differentiability Theorem:
g(x)=1x+x1=2x
  1. Using induction, we can show that h(x)=xn where nN then:
h(x)=nxn1
  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).