Sec 3.2 the Derivative of Function
Sec 3.2 the Derivative of Function
𝑓(𝑥0 + ℎ) − 𝑓(𝑥0 )
lim
ℎ→0 ℎ
exists, then
✓ it can be interpreted either as the slope of the tangent line to the curve 𝑦 =
𝑓(𝑥) at 𝑥 = 𝑥0
✓ or as the instantaneous rate of change of 𝑦 with respect to 𝑥 at 𝑥 = 𝑥0 .
▪ This limit is so important that it has a special notation:
𝑓(𝑥0 + ℎ) − 𝑓(𝑥0 )
𝑓 ′ (𝑥0 ) = lim (1)
ℎ→0 ℎ
To emphasize this function point of view, we will replace 𝑥0 by 𝑥 in (1) and make the
following definition.
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
𝑓 ′ (𝑥) = lim (2)
ℎ→0 ℎ
Step2: Find 𝑓 ′ (𝑥) and evaluate 𝑓 ′ (𝑥0 ), which is the slope 𝑚 of the line.
Step3: Substitute the value of the slope 𝑚 and the point (𝑥0 , 𝑓(𝑥0 )) into the point-
slope form of the line
or, equivalently,
Find the derivative with respect to 𝑥 of 𝑓(𝑥) = 𝑥 2 , and use it to find the equation of
the tangent line to 𝑦 = 𝑥 2 at 𝑥 = 2.
Solution
′
𝑓(𝑥 + ℎ) − 𝑓(𝑥) (𝑥 + ℎ)2 − 𝑥 2
𝑓 (𝑥) = lim = lim
ℎ→0 ℎ ℎ→0 ℎ
2 2 2
𝑥 + 2𝑥ℎ + ℎ − 𝑥 2𝑥ℎ + ℎ2
= lim = lim
ℎ→0 ℎ ℎ→0 ℎ
= lim (2𝑥 + ℎ) = 2𝑥
ℎ→0
𝑦 = 𝑓(2) + 𝑓 ′ (2)(𝑥 − 2)
= 4 + 4(𝑥 − 2)
• This aspect of the derivative is illustrated in the Figure below, which shows the
graphs of 𝑓(𝑥) = 𝑥 2 and its derivative 𝑓 ′ (𝑥) = 2𝑥 (obtained in the previous
Example).
Checkpoint 1
Differentiate
(1) 𝑓(𝑥) = 𝑥 3 − 𝑥.
Answer:
𝑓 ′ (𝑥) = 3𝑥 2 − 1.
Solution
𝑥
Differentiate 𝑓(𝑥) = .
𝑥−1
Solution
𝑥 (𝑥+ℎ)
𝑓(𝑥) = and 𝑓(𝑥 + ℎ) = , so
𝑥−1 (𝑥+ℎ)−1
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
𝑓 ′ (𝑥) = lim (Definition)
ℎ→0 ℎ
𝑥+ℎ 𝑥
−
= lim 𝑥 + ℎ − 1 𝑥 − 1
ℎ→0 ℎ
1 (𝑥 + ℎ)(𝑥 − 1) − 𝑥(𝑥 + ℎ − 1)
= lim ⋅
ℎ→0 ℎ (𝑥 + ℎ − 1)(𝑥 − 1)
1 −ℎ
= lim ⋅
ℎ→0 ℎ (𝑥 + ℎ − 1)(𝑥 − 1)
−1 −1
= lim = . ( Cancel ℎ ≠ 0. )
ℎ→0 (𝑥 + ℎ − 1)(𝑥 − 1) (𝑥 − 1)2
𝑥
The Figure below shows the graph of the function 𝑓(𝑥) = (Black Curve) and its
𝑥−1
−1
derivative 𝑓 ′ (𝑥 ) = (Red Curve).
(𝑥−1)2
Exercise:
We have been discussing slopes of curves, lines tangent to a curve, the rate of change
of a function, and the derivative of a function at a point. All of these ideas refer to the
same limit.
The following are all interpretations for the limit of the difference quotient,
𝑓(𝑥0 +ℎ)−𝑓(𝑥0 )
lim
ℎ→0 ℎ
Definition 2:
Show that the function 𝑦 = |𝑥| is differentiable on (−∞, 0) and (0, ∞) but has no
derivative at 𝑥 = 0.
Solution
𝑑 𝑑 𝑑 𝑑
(|𝑥|) = (𝑥) = (1 ⋅ 𝑥) = 1, (Because (𝑚𝑥 + 𝑏) = 𝑚, |𝑥| = 𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
To the left,
𝑑 𝑑 𝑑
(|𝑥|) = (−𝑥) = (−1 ⋅ 𝑥) = −1, ( |𝑥| = −𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥
(See the Figure below). There is no derivative at the origin because the one-sided
|0+ℎ|−|0| |ℎ|
Right-hand derivative of |𝑥| at zero = lim+ = lim+
ℎ→0 ℎ ℎ→0 ℎ
ℎ
= lim+ |ℎ| = ℎ when ℎ > 0
ℎ→0 ℎ
= lim+ 1 = 1
ℎ→0
|0+ℎ|−|0| |ℎ|
Left-hand derivative of |𝑥| at zero = lim− = lim−
ℎ→0 ℎ ℎ→0 ℎ
−ℎ
= lim− |ℎ| = −ℎ when ℎ < 0
ℎ→0 ℎ
= lim− − 1 = −1.
ℎ→0
𝑑
• 𝑓 ′ (𝑥) = [𝑓(𝑥)] or
𝑑𝑥
• 𝑓 ′ (𝑥) = 𝐷𝑥 [𝑓(𝑥)]
In the case where there is a dependent variable 𝑦 = 𝑓(𝑥), the derivative is also
commonly denoted by
• 𝑓 ′ (𝑥) = 𝑦 ′ (𝑥) or
𝑑𝑦
• 𝑓 ′ (𝑥) =
𝑑𝑥
• 𝑓 ′ (𝑥) = 𝐷𝑥 𝑦(𝑥)
With the above notations, the value of the derivative at a point 𝑥0 can be expressed
as
𝑑
• 𝑓 ′ (𝑥0 ) = [𝑓(𝑥)]| ,
𝑑𝑥 𝑥=𝑥0
• 𝑓 ′ (𝑥0 ) = 𝐷𝑥 [𝑓(𝑥)]|𝑥=𝑥0 ,
• 𝑓 ′ (𝑥0 ) = 𝑦 ′ (𝑥0 ),
𝑑𝑦
• 𝑓 ′ (𝑥0 ) = |
𝑑𝑥 𝑥=𝑥0
𝑥
Find the value of the derivative of 𝑦(𝑥) = 𝑓(𝑥) = at 𝑥 = 4.
𝑥−1
Solution
−1
In the previous example, we found that 𝑓 ′ (𝑥) = , so,
(𝑥−1)2
𝑑 𝑥 −1 −1 1
𝑓 ′ (4) = ( )| = | = = .
𝑑𝑥 𝑥 − 1 𝑥=4 (𝑥 − 1)2 𝑥=4 (4 − 1)2 9
or in other notation
𝑥 −1 −1 −1
𝑓 ′ (4) = 𝑦 ′ (4) = 𝐷𝑥 [𝑓(𝑥)]|𝑥=4 = 𝐷𝑥 [( ) ]| =[ ]| = =
𝑥 − 1 𝑥=4 (𝑥 − 1)2 𝑥=4 (4 − 1)2 9
Checkpoint 2
𝑑 𝑥
Find ( )|
𝑑𝑥 𝑥+1
.
𝑥=2
Answer:
𝑑 𝑥 1
( )| =
𝑑𝑥 𝑥 + 1 𝑥=2 9
Solution
Theorem 1:
Proof
or equivalently, that
• If ℎ ≠ 0, then
• Now take limits as ℎ → 0 and Use the Sum Rule and Product Rule of limits,
we obtain
𝑓(𝑐 + ℎ) − 𝑓(𝑐)
lim 𝑓(𝑐 + ℎ) = lim 𝑓(𝑐) + lim ⋅ lim ℎ
ℎ→0 ℎ→0 ℎ→0 ℎ ℎ→0
= 𝑓(𝑐) + 𝑓 ′ (𝑐) ⋅ 0
= 𝑓(𝑐) + 0
= 𝑓(𝑐)
Definition 3:
If a variable 𝑤 changes from some initial value 𝑤0 to some final value 𝑤1 , then the
final value minus the initial value is called an increment in 𝑤 and is denoted by
Δ𝑤 = 𝑤1 − 𝑤0 (3)
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
𝑓 ′ (𝑥) = lim (10)
ℎ→0 ℎ
Moreover, if 𝑦 = 𝑓(𝑥), then the numerator in (11) can be regarded as the increment
in which case
• The geometric interpretations of Δ𝑥 and Δ𝑦 are shown in the left Figure below.
• Sometimes it is desirable to express derivatives in a form that does not use
increments at all. For example, if we let 𝑤 = 𝑥 + ℎ in Formula (9), then 𝑤 → 𝑥 as ℎ →
0, so we can rewrite that formula as
▪ Newton and Leibniz each used a different notation when they published their
discoveries of calculus, thereby creating a notational divide between Britain and
the European continent that lasted for more than 50 years.