MATH 409 Lecture 14

From Notes
Jump to navigation Jump to search

« previous | Thursday, October 17, 2013 | next »

Begin Exam 2 content
Lecture Slides

Part 3: Differential and Integral Calculus

Derivative

A function f is said to be differentiable at a point a∈ℝ if it is defined on an open interval containing a and the following limit exists

limh→0f(a+h)−f(a)h

The limit is denoted f′(a) and called the derivative of f at a.

An equivalent condition is

f′(a)=limx→af(x)−f(a)x−a

Examples

Constant function. f(x)=c for x∈ℝ.

f(x+h)−f(x)h=c−ch=0 for all x∈ℝ and h≠0.

Therefore the limit is 0 and f is differentiable on ℝ and f′(x)=0 for all x∈ℝ.

Identity function. f(x)=x for x∈ℝ.

f(x+h)−f(x)h=x+h−xh=1 for all x∈ℝ, h≠0.

Therefore f is differentiable on ℝ and f′(x)=1 for all x∈ℝ.

Quadratic function. f(x)=x2 for x∈ℝ.

f(x+h)−f(x)h=(x+h)2−x2h=2xh+h2h=2x+h.

Therefore limh→0f(x+h)−f(x)h=limh→0(2x+h)=2x (limit of continuous function)

Therefore f is differentiable on ℝ and f′(x)=2x for x∈ℝ.

Harmonic function. f(x)=1x, x∈(−∞,0)∪(0,∞).

f(x+h)−f(x)h=1h⋅(1x+h−1x)=1h⋅x−(x+h)(x+h)x=−1(x+h)x.

Therefore limh→0f(x+h)−f(x)h=limh→0−1(x+h)x=−1x2.

That is, f is differentiable on ℝ∖{0} and f′(x)=−1x2 for all x≠0.

Square root. f(x)=x, where x∈[0,∞).

f(x+h)−f(x)h=x+h−xh⋅x+h+xx+h+x=(x+h)−(x)h(x+h+x)=1x+h+x.

Therefore limh→0f(x+h)−f(x)h=limh→01x+h+x=12x.

In the case x=0,

limh→0+f(h)−f(0)h=limh→01h=+∞.

Hence f is differentiable on (0,∞), and f′(x)=12x for all x>0.

Sine function. f(x)=sin⁡x for all x∈ℝ.

Using the formula sin⁡α−sin⁡β=2sin⁡α−β2cos⁡α+β2, we obtain

f(x+h)−f(x)h=sin⁡(x+h)−sin⁡xh=2hsin⁡h2cos⁡2x+h2

Therefore

limh→02hsin⁡h2cos⁡2x+h2=limh→0sin⁡h2h2⋅limh→0cos⁡(x+h2)=1⋅cos⁡x

That is, f is differentiable on ℝ and f′(x)=cos⁡x for all x∈ℝ.


Differentiability Theorems

Differentiability and Continuity

Theorem. If a function f is differentiable at a point a, then it is continuous at a.

Proof.

limx→af(a)=limx→a(f(x)+f(x)−f(a)x−a(x−a))=limx→af(a)+limx→af(x)−f(a)x−a⋅limx→a(x−a)=f(a)+f′(a)⋅0=f(a)

quod erat demonstrandum

A simple statement that will be used many times:

Note: Similarly, if f has a right-hand derivative at a, then limx→a+f(x)=f(a).
If f has a left-hand derivative at a, then limx→a−f(x)=f(a).


Sum Rule and Homogeneous Rule

Theorem. [Sum rule]. If functions f and g are differentiable at a point a∈ℝ, then the sum f+g is also differentiable at a. Moreover, (f+g)′(a)=f′(a)+g′(a).

Proof.

limx→a(f+g)(x)−(f+g)(a)x−a=limx→af(x)−f(a)x−a+limx→ag(x)−g(a)x−a=f′(a)+g′(a)

quod erat demonstrandum

It's worth noting that if the domains of f and g are not equal, then the domain of the sum of the functions is defined where the functions overlap. The sum over this open interval is well defined.

Theorem. [Homogeneous rule]. If a function f is differentiable at a point a∈ℝ, then for any r∈ℝ the scalar multiple rf is also differentiable at a. Moreover, (rf)′(a)=rf′(a).

Proof.

limx→a(rf)(x)−(rf)(a)x−a=limx→arf(x)−f(a)x−a=rf′(a)

quod erat demonstrandum


Product Rule

Theorem. [Product rule]. If the functions f and g are differentiable at a point a∈ℝ, then the product f⋅g is also differentiable at a. Moreover, (f⋅g)′(a)=f′(a)g(a)+f(a)g′(a).

Proof. Since f and g are differentiable at a, there is an open interval I=(c,d) containing a such that both f and g are defined on I. (see note above regarding sums) For every x∈I∖{a} we have:

f(x)g(x)−f(a)g(a)=f(x)g(x)−f(a)g(a)+f(a)g(x)−f(a)g(a)=(f(x)−f(a))g(x)+f(a)(g(x)−g(a))

Then (f⋅g)(x)−(f⋅g)(a)x−a=f(x)−f(a)x−ag(x)+f(a)g(x)−g(a)x−a so that

limx→a(f⋅g)(x)−(f⋅g)(a)x−a=limx→af(x)−f(a)x−a⋅limx→ag(x)+limx→af(a)⋅limx→ag(x)−g(a)x−a=f′(x)g(a)+f(a)g′(a)

We used the fact that f and g are continuous at a to evaluate the limits in the last step.

quod erat demonstrandum

Reciprocal Rule

Theorem. [Reciprocal rule]. If a function f is differentiable at a point a∈ℝ and f(a)≠0, then the function 1f is also differentiable at a. Moreover, (1f)(a)=−f′(a)f2(a).

Proof. The function f is defined on an open interval (c,d) containing a. We know that f is continuous at a. Since ϵ=|f(a)|>0, there exists δ>0 such that |f(x)−f(a)|<ϵ for any x∈I=(c,d)∩(a−δ,a+δ). Then f(x)≠0 for all x∈I. In particular, 1f is defined on I, an open interval containing a.

Now

limx→a(1f)(x)−(1f)(a)x−a=limx→a(1f(x)−1f(a))1x−a=limx→af(a)−f(x)f(x)f(a)1x−a=limx→a(−f(x)−f(a)x−a1f(x)f(a))=−limx→af(x)−f(a)x−alimx→a1f(x)f(a)=f′(a)f2(a)

quod erat demonstrandum


Difference Rule and Quotient Rule

Theorem. [Difference rule]. If f and g are differentiable at a point a∈ℝ, then the difference (f−g) is also differentiable at a. Moreover, (f−g)′(a)=f′(a)−g′(a).

Proof. By the Homogeneous Rule, the function −g=(−1)g is differentiable at a and (−g)′(a)=−g′(a) By the Sum Rule, f−g=f+(−g) is also differentiable at a and (f−g)′(a)=f′(a)+(−g)′(a)=f′(a)−g′(a).

quod erat demonstrandum

Theorem. [Quotient rule]. If functions f and g are differentiable at a∈ℝ and g(a)≠0, then the quotient fg is also differentiable at a. Moreover, (fg)(a)=f′(a)g(a)−f(a)g′(a)g2(a).

Proof. By the Reciprocal Rule, the function 1g is differentiable at a and (1g)(a)=−g′(a)g2(a). By the product rule, the function fg=f⋅1g is also differentiable at a and

(fg)(a)=f′(a)g(a)+f(a)(1g)(a)=f′(a)g(a)−f(a)g′(a)g2(a)

quod erat demonstrandum


Chain Rule

Theorem. [Chain rule]. If a function f is differentiable at a point a∈ℝ and a function g is differentiable at f(a), then the composition g∘f is differentiable at a. Moreover, (g∘f)′(a)=g′(f(a))⋅f′(a).

Proof. The function f is defined on an open interal I=(a−δ,a+δ) while g is defined on an open interal J=(f(a)−ϵ,f(a)+ϵ). Since f is continuous at a (because it is differentiable), there exists δ0∈(0,δ) such that f(I0)⊂J, where I0=(a−δ0,a+δ0). Then g∘f is defined on I0. For any x∈I0 such that f(x)≠f(a),

(g∘f)(x)−(g∘f)(a)x−a=g(f(x))−g(f(a))f(x)−f(a)⋅f(x)−f(a)x−a

This implies the Chain Rule unless there is a sequence {xn} converging to a such that xn≠a while f(xn)=f(a). In this case, (g∘f)′(a)=f′(a)=0.

quod erat demonstrandum


Examples

Cosine function. f(x)=cos⁡x for x∈ℝ.

The function f can be represented as a composition f=h∘g, where g(x)=x+π2 and h(x)=sin⁡x for all x∈ℝ. Since g′(x)=1 and h′(x)=cos⁡x for all x∈ℝ, the Chain rule implies that f is differentiable on ℝ and f′(x)=h′(g(x))g(x)=cos⁡(x+π2)=−sin⁡x for all x∈ℝ.

Tangent function. f(x)=tan⁡x for x∈(−π2,π2).

Since f(x)=sin⁡xcos⁡x and cos⁡x≠0 for all x∈(−π2,π2), the Quotient Rule implies that f is differentiable on (−π2,π2) and

f′(x)=(sin⁡x)′cos⁡x−sin⁡x(cos⁡x)′cos2x=cos2x+sin2xcos2x=1cos2x

For all x∈(−π2,π2).