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

limh0f(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)=limxaf(x)f(a)xa

Examples

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

f(x+h)f(x)h=cch=0 for all x and h0.

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+hxh=1 for all x, h0.

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)2x2h=2xh+h2h=2x+h.

Therefore limh0f(x+h)f(x)h=limh0(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+h1x)=1hx(x+h)(x+h)x=1(x+h)x.

Therefore limh0f(x+h)f(x)h=limh01(x+h)x=1x2.

That is, f is differentiable on {0} and f(x)=1x2 for all x0.

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

f(x+h)f(x)h=x+hxhx+h+xx+h+x=(x+h)(x)h(x+h+x)=1x+h+x.

Therefore limh0f(x+h)f(x)h=limh01x+h+x=12x.

In the case x=0,

limh0+f(h)f(0)h=limh01h=+.

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

Sine function. f(x)=sinx for all x.

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

f(x+h)f(x)h=sin(x+h)sinxh=2hsinh2cos2x+h2

Therefore

limh02hsinh2cos2x+h2=limh0sinh2h2limh0cos(x+h2)=1cosx

That is, f is differentiable on and f(x)=cosx 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.

limxaf(a)=limxa(f(x)+f(x)f(a)xa(xa))=limxaf(a)+limxaf(x)f(a)xalimxa(xa)=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 limxa+f(x)=f(a).
If f has a left-hand derivative at a, then limxaf(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.

limxa(f+g)(x)(f+g)(a)xa=limxaf(x)f(a)xa+limxag(x)g(a)xa=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.

limxa(rf)(x)(rf)(a)xa=limxarf(x)f(a)xa=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 fg is also differentiable at a. Moreover, (fg)(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 xI{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 (fg)(x)(fg)(a)xa=f(x)f(a)xag(x)+f(a)g(x)g(a)xa so that

limxa(fg)(x)(fg)(a)xa=limxaf(x)f(a)xalimxag(x)+limxaf(a)limxag(x)g(a)xa=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 xI=(c,d)(aδ,a+δ). Then f(x)0 for all xI. In particular, 1f is defined on I, an open interval containing a.

Now

limxa(1f)(x)(1f)(a)xa=limxa(1f(x)1f(a))1xa=limxaf(a)f(x)f(x)f(a)1xa=limxa(f(x)f(a)xa1f(x)f(a))=limxaf(x)f(a)xalimxa1f(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 (fg) is also differentiable at a. Moreover, (fg)(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, fg=f+(g) is also differentiable at a and (fg)(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=f1g 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 gf is differentiable at a. Moreover, (gf)(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 gf is defined on I0. For any xI0 such that f(x)f(a),

(gf)(x)(gf)(a)xa=g(f(x))g(f(a))f(x)f(a)f(x)f(a)xa

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

quod erat demonstrandum


Examples

Cosine function. f(x)=cosx for x.

The function f can be represented as a composition f=hg, where g(x)=x+π2 and h(x)=sinx for all x. Since g(x)=1 and h(x)=cosx for all x, the Chain rule implies that f is differentiable on and f(x)=h(g(x))g(x)=cos(x+π2)=sinx for all x.

Tangent function. f(x)=tanx for x(π2,π2).

Since f(x)=sinxcosx and cosx0 for all x(π2,π2), the Quotient Rule implies that f is differentiable on (π2,π2) and

f(x)=(sinx)cosxsinx(cosx)cos2x=cos2x+sin2xcos2x=1cos2x

For all x(π2,π2).