lacunary - Mathnotes

Differentiation

For f:(a,b)R,a,bR, we say the derivative of f at x, denoted f(x) is given by

f(x)=limyxf(y)f(x)yx.

If this limit exists, the function is said to be differentiable at x. If the limit exists for all x(a,b), the function is said to be differentiable on (a,b).

Note that this is just the rise-over-run formula for the slope between two points taken to the limit of the two points being infinitesimally near each other.

Theorem: If f is differentiable at x, then it is continuous at x.

Proof: Suppose that f is differentiable at a. We want to show that

limx>af(x)=f(a).

Now,

limxa(f(x)f(a))=limxa(f(x)f(a)(xa)(xa))=limxa(f(x)f(a)(xa))limxa(xa)=f(a)0limxaf(x)f(a)=0limxaf(x)=f(a).

Derivative Rules

Let c be a real number, and f and g be functions defined on an open interval and differentiable at a point x in that interval.

Linearity: (f+cg)=f(x)+cg(x).

Proof:

(f+cg)(x)=limyx(f+cg)(y)(f+cg)(x)yx=limyxf(y)+(cg)(y)f(x)(cg)(x)yx=limyxf(y)f(x)yx+limyxcg(y)cg(x)yx=f(x)+cg(x). 

Product: (fg)(x)=f(x)g(x)+f(x)g(x).

Proof: The trick here is to subtract and add f(y)g(x) to the numerator on the second line. This allows factoring, and then we just use limit laws.

(fg)(x)=limyx(fg)(y)(fg)(x)yx=limyxf(y)g(y)f(y)g(x)+f(y)g(x)f(x)g(x)yx=limyx(g(y)g(x))f(y)+(f(y)f(x))g(x)yx=limyxg(x)f(y)f(x)yx+limyxf(y)g(y)g(x)yx=limyxg(x)limyxf(y)f(x)yx+limyxf(y)limyxg(y)g(x)yx=f(x)g(x)+f(x)g(x). 

Quotient: (f/g)(x)=f(x)g(x)f(x)g(x)[g(x)]2.

Proof: Since division is multiplication by a reciprocal, we use the same trick as for the product rule.

(f/g)(x)=limyx(f/g)y(f/g)xyx=limyxf(y)g(y)f(x)g(x)yx=limyxf(y)g(x)f(x)g(y)g(y)g(x)yx=limyxf(y)g(x)f(x)g(x)+f(x)g(x)f(x)g(y)g(y)g(x)yx=limyxf(y)g(x)f(x)g(x)g(y)g(x)yxlimyx(f(x)g(y)f(x)g(x)g(y)g(x)yx)=limyx(f(y)f(x)yxg(x)g(y)g(x))limyx(g(y)g(x)yxf(x)g(y)g(x))=f(x)g(x)g(x)f(x)[g(x)]2. 

Let h(x)=f(g(x)).

Chain: h(x)=f(g(x))g(x).

Local Extrema

The real valued function on the real line f is said to have a local maximum at cR if there exists a δ>0 such that f(x)f(c) for all x(cδ,c+δ).

The real valued function on the real line f is said to have a local minimum at cR if there exists a δ>0 such that f(x)f(c) for all x(cδ,c+δ).

Derivatives at Local Extrema Theorem (Fermat's Theorem): Suppose f is defined on an open interval, that c is a number in that interval, and that f has a local maximum or minimum at c, and that f(c) exists. Then f(c)=0.

Other Theorems

Rolle's Theorem: Suppose f is continuous on [a,b] and differentiable on (a,b) and that f(a)=f(b). Then there exists a point c in (a,b) such that f(c)=0.

Simply put, if a differentiable function over an open interval (a,b) has the same value at its boundary points, then at some point in the interval, the function is flat (has a zero derivative).

Theorem: Mean Value Theorem \@{theorem-1}

Suppose f is continuous on [a,b] and differentiable on (a,b). Then there exists a point c in (a,b) such that:

f(c)=f(b)f(a)ba.

This means that for a function continuous on an interval, and differentiable on that interval except maybe at its endpoints, there is a point on the interval where the derivative of the function at that point equals the slope of the function between its endpoints.

L'Hospital Rule (Theorem): Suppose there is a δ>0 such that f and g are differentiable on (cδ,c+δ) with g(x)0 on this interval. Suppose also that

limxcf(x)g(x)=L.

Then if limxcf(x)=limxcg(x)=0, limxcf(x)=limxcg(x)=, or limxcf(x)=limxcg(x)=, we have that

limxcf(x)g(x)=L.

The endpoint c can also be ±.