Definition of Derivative

The derivative is defined as f(a)=limxaf(x)f(a)xa=limx0f(a+x)f(a)x.

Intuitively, the derivative is measuring the slope of a line at a instantaneous point. So we can define the derivative at x=a as taking the gradient of the 2 points (a,f(a)) and (b,f(b)) as b gets closer and closer to a, which is what the above formula describes.

If the limit limxaf(x)f(a)xa exists, then f(a) is well-defined and we say that f is differentiable at a. By this definition, it is a consequence that if a function is only defined on [l,r] it is not differentiable on l and r as the limit does not exist.

Using the above definitions, we can find the derivative of functions. Doing so is known as Differentiation from First Principles.

Here are some examples:

ddxx=lima0(x+a)xa=lima0aa=1

ddxxn=lima0(x+a)nxna=lima0(n1)xn1a+O(a2)a=(n1)xn1=nxn1, where n is a positive integer

ddxsin(x)=lima0sin(x+a)sin(x)a=lima0sin((x+a2)+a2)sin((x+a2)a2)a=lima02cos(x+a2)sin(a2)a=lima0cos(x+a2)lima0sin(a2)a2=lima0cos(x+a2)=cos(x)

Estimating Derivative given Table of Values

When we need to find a derivative a point given a few datapoints, it is recommended to use f(a)f(a+h)f(ah)2h unless a is a endpoint, then we have no choice but to use f(a)f(a+h)h.

If f is differentiable at a, then f is continuous at a.

Proof: Since f(a) is well-defined, limxaf(x)f(a)xa exists.

We wish to show that limxaf(x)=f(a).

limxaf(x)=limxa(f(x)f(a)+f(a)),since f(a) is well-defined=limxa(f(x)f(a)xa(xa))+limxaf(a)=f(0)0+f(a)=f(a)

Common Derivatives

ddxc=0, where c is a constant ddxsin(x)=cos(x)
ddxxn=nxn1, n0 ddxcos(x)=sin(x)
ddxlnx=1x ddxarcsin(x)=11x2
ddxex=ex ddxarctan(x)=11+x2

Rules

dydx=dydududx (Chain Rule)

ddx(uv)=udvdx+vdudx (Product rule)

Derivative of Inverse Function

(f1)(a)=1f(f1(a)),f(f1(a))0

The derivative of f1 at (a,f1(a)), it is related to the derivative of f at (f1(a),a) by a reciprocal relationship.

Rolle’s Theorem

If f is a function that is both continuous on [a,b], differentiable on the interval (a,b) and f(a)=f(b), then there exists c(a,b) such that f(c)=0.

Note that the differentiability condition is important here. Consider the function f(x)=|x| on the interval [1,1]. It can be shown that it is continuous on [1,1] and f(1)=f(1). However, there is no point where its derivative is 0.

Mean Value Theorem

This is a corollary of Rolle’s Theorem.

If f is a function that is both continuous on [a,b] and differentiable on the interval (a,b), then there exists c(a,b) such that f(c)=f(b)f(a)ba.

The intuitive proof of this using Rolle’s theorem is that we shift the a function such that f(a)=f(b) by a linear function.

Increasing and Decreasing Functions

f is non-decreasing on I if f(a)f(b) for a,bI where a<b.
f is increasing on I if f(a)<f(b) for a,bI where a<b.
f is non-increasing on I if f(a)f(b) for a,bI where a<b.
f is decreasing on I if f(a)>f(b) for a,bI where a<b.
f is constant on I if f(a)=f(b) for a,bI where a<b.

Interestingly, a single point is defined to be both increasing and decreasing by this definition.

Corollaries of Mean Value Theorem

If f is continuous on [a,b] and differentiable on (a,b):
(a) If f(x)0 for all x(a,b), then f is non-decreasing on [a,b].
(b) If f(x)>0 for all x(a,b), then f is increasing on [a,b].
(c) If f(x)0 for all x(a,b), then f is non-increasing on [a,b].
(d) If f(x)<0 for all x(a,b), then f is decreasing on [a,b].
(e) If f(x)=0 for all x(a,b), then f is constant on [a,b].

The converse of (a),(c) and (e) are true, but the converse of (b) and (d) is false.

Counter example of converse of (b)

x3 is increasing on [1,1], but ddxx3|x=0=0.

Proof of (a)

Suppose that f is decreasing on [a,b], that is there exists c,d[a,b] such that c<d and f(c)>f(d).

By Mean Value Theorem, there exists x(c,d) such that f(x)=f(d)f(c)dc<0. However, f(x)0 for all x(a,b).

This is a contradiction. Therefore, (a) is true.

Proof of converse of (a) (not rigorous)

Suppose there exists x(a,b) such that f(x)<0. This implies that limhx+f(h)f(x)hx<0.

Since hx>0, this means that for a small interval h(x,x+ϵ], f(h)f(x)<0 or that f(x)>f(h). However, we have f(x)f(h) for x,h[a,b] and x<h.

This is a contradiction. Therefore, converse of (a) is true.

Critical Points

Let c be an interior point (not endpoint if domain if closed). If f(c)=0 or f(c) does not exist, then (c,f(c)) is a critical point.

First Derivative Test

If f is differentiable on a small open interval around c with exclusion of c
(i) If f changes sign from negative to positive, local minimum
(ii) If f changes sign from positive to negative, local maximum
(iii) Else if f0, it is a inflection point

Second Derivative Test

Suppose f(c)=0
(i) If f(c)>0, local minimum
(ii) If f(c)<0, local maximum
(iii) Else, inconclusive

Concavity

If f is differentiable on a open interval I.
(i) If f is increasing, concave upwards
(ii) If f is decreasing, concave downwards

Suppose f is twice differentiable on a open interval I.
(i) If f>0, concave upwards
(ii) If f<0, concave downwards

However, the converse is not true. x3 is concave upwards on (1,1) but d2dx2x3|x=0=0.

Inflection Point

(c,f(c)) is a inflection point if f is continuous at c and the concavity changes around c.

Note that f(c)=0 does not imply inflection point. x3 is concave upwards on (1,1) but d2dx2x3|x=0=0.

L’Hopital’s Rule

limxaf(x)g(x)=limxaf(x)g(x) if the original limit is of the form 00 or ±.

Other indeterminant forms such as 0, , 00, ,1 can be turned in 00 or ± using algebraic manipulation to apply L’Hopital’s Rule.

Growth of Functions

Order from slowest to fastest growth: constant, logarithmic, polynomial, exponential, factorial.


<
Previous Post
MA5131 Summary 1
>
Next Post
MA5131 Summary 3