MTH4100 Calculus I: Lecture Notes For Week 5 Thomas' Calculus, Sections 2.6 To 3.5 Except 3.3
MTH4100 Calculus I: Lecture Notes For Week 5 Thomas' Calculus, Sections 2.6 To 3.5 Except 3.3
MTH4100 Calculus I: Lecture Notes For Week 5 Thomas' Calculus, Sections 2.6 To 3.5 Except 3.3
Rainer Klages
Autumn 2009
Continuous extension to a point
example: sin x
f (x) =
x
sin x
is defined and continuous for all x 6= 0. As lim = 1, it makes sense to define a new
x→0 x
function sin x
for x 6= 0
F (x) = x
1 for x = 0
Definition 1 If lim f (x) = L exists, but f (c) is not defined, we define a new function
x→c
f (x) for x 6= c
F (x) =
L for x = c ,
which is continuous at c. It is called the continuous extension of f (x) to c.
A function has the intermediate value property if whenever it takes on two values, it also
takes on all the values in between.
3
Geometrical interpretation of this theorem: Any horizontal line crossing the y-axis be-
tween f (a) and f (b) will cross the curve y = f (x) at least once over the interval [a, b].
Continuity is essential: if f is discontinuous at any point of the interval, then the function
may “jump” and miss some values.
Differentiation
Recall our discussion of average and instantaneous rates of change.
basic idea:
• Investigate the limit of the secant slopes as Q approaches P .
Q(2 + h, (2 + h)2 ) .
∆y (2 + h)2 − 22 4 + 4h + h2 − 4
= = =4+h.
∆x (2 + h) − 2 h
• As Q approaches P h approaches 0, hence
∆y
m = lim = lim (4 + h) = 4
h→0 ∆x h→0
summary:
f (x0 + h) − f (x0 )
The expression is called the difference quotient of f at x0 with incre-
h
ment h. The limit as h approaches 0, if it exists, is called the derivative of f at x0 .
6
Let x ∈ D(f ).
d dy
Equivalent notation: If y = f (x), y ′ = f ′ (x) = f (x) = .
dx dx
Calculating a derivative is called differentiation (“derivation” is something else!).
x
example: Differentiate from first principles f (x) = .
x−1
7
f (x + h) − f (x)
f ′ (x) = lim
h→0 h
x+h x
x+h−1
− x−1
= lim
h→0 h
1 (x + h)(x − 1) − x(x + h − 1)
= lim
h→0 h (x + h − 1)(x − 1)
1 −h
= lim
h→0 h (x + h − 1)(x − 1)
1
= −
(x − 1)2
√
example: Differentiate f (x) = x by using the alternative formula for derivatives.
f (z) − f (x)
f ′ (x) = lim
z→x z−x
√ √
z− x
= lim
z→x z−x
√ √
z− x
= lim √ √ √ √
z→x ( z − x)( z + x)
1
= lim √ √
z→x z+ x
1
= √
2 x
note: For f ′ (x) at x = 4, one sometimes writes
d √
′ 1
f (4) = x = √ .
dx x=4 2 x x=4
One-sided derivatives
f (x + h) − f (x)
lim+ right-hand derivative at x
h→0 h
f (x + h) − f (x)
lim− left-hand derivative at x
h→0 h
f is differentiable at x if and only if these two limits exist and are equal.
example: Show that f (x) = |x| is not differentiable at x = 0. [2009 exam question]
• right-hand derivative at x = 0:
|0 + h| − |0| |h|
lim+ = lim+ =1
h→0 h h→0 h
8
• left-hand derivative at x = 0:
|0 + h| − |0| |h|
lim− = lim− = −1 ,
h→0 h h→0 h
so the right-hand and left-hand derivatives differ.
Proof of one rule see ff; proof of other rules see book, Section 3.2.
d du dv
(uv) = v+u .
dx dx dx
here: u = x2 + 1 , v = x3 + 3
u′ = 2x , v ′ = 3x2
y ′ = 2x(x3 + 3) + (x2 + 1)3x2 = 5x4 + 3x2 + 6x
Rule 7 (Power Rule for Negative Integers) If n is a negative integer and x 6= 0, then
d n
x = nxn−1 .
dx
(Proof: define n = −m and use the quotient rule.)
10
d 1 d −11
example: = (x ) = −11x−12 .
dx x11 dx
Higher-order derivatives