MTH101: Calculus I Lecture 5: Derivatives: International Burch University
MTH101: Calculus I Lecture 5: Derivatives: International Burch University
Definition
The tangent line to the curve y = f (x) at the point P(a, f (a)) is the
line through P with slope
f (x) − f (a)
m = lim
x→a x −a
if this limit exists.
m is called the slope of the curve y = f (x) at the point P.
f (a + h) − f (a)
m = lim
h→0 h
Note that h = x − a.
2 / 15
Example 1: Find an equation of the tangent line to y = x 2 + 1 at
P(1, 2).
f (x) − f (1) x2 + 1 − 2
m = lim = lim
x→1 x −1 x→1 x −1
x2 − 1
= lim
x→1 x − 1
(x − 1)(x + 1)
= lim
x→1 x −1
= lim (x + 1) = 2
x→1
y − 2 = 2(x − 1)
3 / 15
Definition
The derivative of a function f at a number a, denoted by f 0 (a) is
given by
f (a + h) − f (a)
f 0 (a) = lim
h→0 h
if this limit exists.
f 0 (a) can also be written as
f (x) − f (a)
f 0 (a) = lim
x→a x −a
Tangent Line
The tangent line to y = f (x) at (a, f (a)) is the line through (a, f (a))
whose slope is equal to f 0 (a).
4 / 15
Example 2: Find the derivative of f (x) = x 2 + x at x = a.
f (a + h) − f (a)
f 0 (a) = lim
h→0 h
(a + h)2 + (a + h) − a2 − a
= lim
h→0 h
a2 + 2ah + h2 + a + h − a2 − a
= lim
h→0 h
h2 + 2ah + h
= lim
h→0 h
= lim (h + 2a + 1) = 2a + 1
h→0
5 / 15
Rates of Change
Let y = f (x), and denote ∆x = x2 − x1 and ∆y = f (x2 ) − f (x1 ).
∆y f (x2 ) − f (x1 )
Instantaneous rate of change = lim = lim
∆x→0 ∆x x2 →x1 x2 − x1
6 / 15
Example 3: A manufacturer produces bolts of a fabric with a fixed
width. The cost of producing x meters of this fabric is C = f (x) dollars.
(a) What does f 0 (x) mean?
(b) What does f 0 (1000) = 9 mean?
(b) f 0 (1000) = 9 means that, after 1000 meters of fabric have been
produced, the rate at which the production cost is increasing is $9/m
7 / 15
Derivative as a Function
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
Other notation: If we use the notation y = f (x), then the following are
common alternative notations for the derivative:
dy df d
f 0 (x) = y 0 = = = f (x) = Df (x) = Dx f (x)
dx dx dx
d
D and dx are called differentiation operators.
At x=a:
dy dy
or
dx x=a dx x=a
8 / 15
The process of finding the derivative of a function y = f (x) is called
differentiation.
Definition
A function f is differentiable at a if f 0 (a) exists. It is differentiable on
an open interval I if it is differentiable at every number in the interval.
0
The domain of f is (−∞, ∞).
x
Example 5: Find f 0 of f (x) = . What is the domain of f 0 ?
1−x
f (x + h) − f (x)
=
h
x +h x h
− = (1 − (x + h))(1 − x)
1 − (x + h) 1 − x =
h
(x + h)(1 − x) − x(1 − (x + h))
= 1
(1 − (x + h))(1 − x) =
(1 − (x + h))(1 − x)
x + h − xh − x 2 − x + x 2 + xh
= f (x + h) − f (x)
(1 − (x + h))(1 − x) f 0 (x) = lim
h→0 h
h
= 1
(1 − (x + h))(1 − x) = lim
h→0 (1 − (x + h))(1 − x)
1
=
(1 − x)2
10 / 15
4 − x, if x < 1;
Example 6: Where is f (x) = differentiable?
3x 2 , if x ≥ 1
11 / 15
Theorem
If f is differentiable at a, then f is continuous at a.
I f is not continuous at a
I the curve has a vertical tangent x=a, that is, f is continuous at a and
lim |f 0 (x)| = ∞
x→a
12 / 15
Example 7: Find f 0 (0) for f (x) = x 1/3 .
f (0 + h) − f (0) h1/3 1
= = 2/3
h h h
f (a + h) − f (a) 1
lim = lim 2/3 = ∞
h→0 h h→0 h
13 / 15
Higher Derivatives
(x + h)2 − x 2 2(x + h) − 2x
f 0 (x) = lim f 00 (x) = lim
h→0 h h→0 h
x 2 + 2xh + h2 − x 2 2x + 2h − 2x
= lim = lim
h→0 h h→0 h
h(2x + h) 2h
= lim = lim
h→0 h h→0 h
14 / 15
Higher Derivatives
The third derivative of f is the derivative of the second derivative f 00 :
f 000 = (f 00 )0 . We use the following notation for the third derivative
d 3y
y 000 =
dx 3
Example 9: Find f 000 of f (x) = x 2 .
d ny
y (n) =
dx n
15 / 15