Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

6.2: Derivatives

( \newcommand{\kernel}{\mathrm{null}\,}\)

Definition

Suppose DR,f:DR,a is an interior point of D, and f is differentiable at a. We call

limxaf(x)f(a)xa

the derivative of f at a, which we denote f(a).

Note that if f is differentiable at a, then

limxaf(x)f(a)xa=limh0f(a+h)f(a)h.

Definition

Suppose DR,f:DR, and E is the set of interior points of D at which f is differentiable. We call the function f:ER defined by

f(x)=limh0f(x+h)f(x)h

the derivative of f.

Example 6.2.1

Let nZ+ and define f:RR by f(x)=xn. Then

f(x)=limh0(x+h)nxnh=limh0xn+nxn1h+nk=2(nk)xnkhkxnh=limh0(nxn1+nk=2(nk)xnkhk1)=nxn1.

Example 6.2.2

Define f:RR by f(x)=|x|. Then

f(0+h)f(0)h=|h|h={1, if h>0,1, if h<0.

Hence

limh0f(0+h)f(0)h=1

and

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

Thus f is not differentiable at 0.

Exercise 6.2.1

Show that if cR and f(x)=c for all xR, then f(x)=0 for all xR.

Exercise 6.2.2

Define f:[0,+)[0,+) by f(x)=x. Show that f:(0,+)(0,+) is given by

f(x)=12x.

Exercise 6.2.3

Define f:RR by

f(x)={x, if x<0,x2, if x0.

Is f differentiable at 0?

Exercise 6.2.4

Define f:RR by

f(x)={x2, if x<0,x3, if x0.

Is f differentiable at 0?

Proposition 6.2.1

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

Proof

If f is differentiable at a, then

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

Hence limxaf(x)=f(a), and so f is continuous at a. Q.E.D.

6.2.1 The Rules

Proposition 6.2.2

Suppose f is differentiable at a and αR. Then αf is differentiable at a and (αf)(a)=αf(a).

Exercise 6.2.5

Prove the previous proposition.

Proposition 6.2.3

Suppose f and g are both differentiable at a. Then f+g is differentiable at a and (f+g)(a)=f(a)+g(a).

Exercise 6.2.6

Prove the previous proposition.

Proposition 6.2.4

(Product rule).

Suppose f and g are both differentiable at a. Then fg is differentiable at a and

(fg)(a)=f(a)g(a)+g(a)f(a).

Proof

We have

(fg)(a)=limh0f(a+h)g(a+h)f(a)g(a)h=limh0f(a+h)g(a+h)f(a)g(a+h)+f(a)g(a+h)f(a)g(a)h=limh0(g(a+h)f(a+h)f(a)h+f(a)g(a+h)g(a)h)=g(a)f(a)+f(a)g(a).

where we know limh0g(a+h)=g(a) by the continuity of g at a, which in turn follows from the assumption that g is differentiable at a. Q.E.D.

Exercise 6.2.7

Given nZ+ and f(x)=xn, use induction and the product rule to show that f(x)=nxn1.

Proposition 6.2.5

(Quotient rule).

Suppose DR,f:DR,g:DR, a is in the interior of D, and g(x)0 for all xD. If f and g are both differentiable at a, then fg is differentiable at a and

(fg)(a)=g(a)f(a)f(a)g(a)(g(a))2.

Proof

(fg)(a)=limh0f(a+h)g(a+h)f(a)g(a)h=limh0f(a+h)g(a)f(a)g(a+h)hg(a+h)g(a)=limh0f(a+h)g(a)f(a)g(a)+f(a)g(a)f(a)g(a+h)hg(a+h)g(a)=limh0g(a)f(a+h)f(a)hf(a)g(a+h)g(a)hg(a+h)g(a)=g(a)f(a)f(a)g(a)(g(a))2;

where we know limh0g(a+h)=g(a) by the continuity of g at a, which in turn follows from the assumption that g is differentiable at a. Q.E.D.

Exercise 6.2.8

Show that for any integer n0, if f(x)=xn, then f(x)=nxn1.

Proposition 6.2.6

(Chain rule).

Suppose DR,ER,g:DR,f:ER,g(D)E,g is differentiable at a, and f is differentiable at g(a). Then fg is differentiable at a and

(fg)(a)=f(g(a))g(a).

Proof

Since a is an interior point of D and g(a) is an interior point of E, we may choose δ>0 so that (aδ,a+δ)D and ϵ>0 so that (g(a)ϵ,g(a)+ϵ)E. Define φ:(δ,δ)R by

φ(h)={g(a+h)g(a)g(a)hh, if h0,0, if h=0,

and ψ:(ϵ,ϵ)R by

ψ(h)={f(g(a)+h)f(g(a))f(g(a))hh, if h0,0, if h=0.

The assumption that g is differentiable at a implies that φ is continuous at 0 and the assumption that f is differentiable at g(a) implies that ψ is continuous at 0. Moreover, note that

g(a+h)=hφ(h)+g(a)h+g(a)

for h(δ,δ) and

f(g(a)+h)=hψ(h)+f(g(a))h+f(g(a))

for h(ϵ,ϵ). From (6.2.12) we have

f(g(a+h))=f(hφ(h)+g(a)h+g(a))

for h(δ,δ). Now

limh0(hφ(h)+g(a)h)=0,

so we may choose γ>0 so that γδ and

|hφ(h)+g(a)h|<ϵ

whenever h(γ,γ). Thus, using (6.2.13) and (6.2.14),

f(g(a+h))=(hφ(h)+g(a)h)ψ(hφ(h)+g(a)h)+f(g(a))(hφ(h)+g(a)h)+f(g(a)),

so

f(g(a+h))f(g(a))=(hφ(h)+g(a)h)ψ(hφ(h)+g(a)h)+f(g(a))(hφ(h)+g(a)h)=hφ(h)ψ(hφ(h)+g(a)h)+hg(a)ψ(hφ(h)+g(a)h)+f(g(a))φ(h)h+f(g(a))g(a)h.

Hence

f(g(a+h))f(g(a))h=f(g(a))g(a)+φ(h)ψ(hφ(h)+g(a)h)+g(a)ψ(hφ(h)+g(a)h)+f(g(a))φ(h).

Now

limh0φ(h)=0,

limh0(hφ(h)+g(a)h)=0,

and, since φ and ψ are continuous at 0,

limh0ψ(hφ(h)+g(a)h)=0.

Thus

limh0f(g(a+h))f(g(a))h=f(g(a))g(a).

Q.E.D.

Proposition 6.2.7

Suppose DR,f:DR is one-to-one, a is in the interior of D,f(a) is in the interior of f(D),f1 is continuous at f(a), and f is differentiable at a with f(a)0. Then f1 is differentiable at f(a) and

(f1)(f(a))=1f(a).

Proof

Choose δ>0 so that (f(a)δ,f(a)+δ)f(D). For h(δ,δ), let

k=f1(f(a)+h)a.

Then

f1(f(a)+h)=a+k,

so

f(a)+h=f(a+k)

and

h=f(a+k)f(a).

Hence

f1(f(a)+h)f1(f(a))h=a+kaf(a+k)f(a)=1f(a+k)f(a)k.

Now if h0, then k0 (since f1 is continuous at f(a)), and so

limh0f1(f(a)+h)f1(f(a))h=limk01f(a+k)f(a)k=1f(a).

Q.E.D.

Example 6.2.3

For nZ+, define f:[0,+)R by f(x)=nx. Then f is the inverse of g:[0,+)R defined by g(x)=xn. Thus, for any x(0,+),

f(x)=1g(f(x))=1n(nx)n1=1nx1n1.

Exercise 6.2.9

Let n0 be a rational number and let f(x)=xn. Show that f(x)=nxn1.


This page titled 6.2: Derivatives is shared under a CC BY-NC-SA 1.0 license and was authored, remixed, and/or curated by Dan Sloughter via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?