(Lecture Notes) Chapter 3.4 3.7
(Lecture Notes) Chapter 3.4 3.7
(Lecture Notes) Chapter 3.4 3.7
The differentiation formulas you learned in the previous sections of this chapter
do not enable you to calculate F(x).
4
The Chain Rule
5
The Chain Rule
The Chain Rule can be written either in the prime notation
Equation 3 is easy to remember because if dy/du and du/dx were quotients, then
we could cancel du.
Remember, however, that du has not been defined and du/dx should not be
thought of as an actual quotient.
6
Example 1 – Using the Chain Rule
Find F'(x) if F(x) = .
Since
and g(x) = 2x
7
Example 1 – Solution cont’d
8
The Chain Rule
When using Formula 3 we should bear in mind that dy/dx refers to the derivative
of y when y is considered as a function of x (called the derivative of y with
respect to x), whereas dy/du refers to the derivative of y when considered as a
function of u (the derivative of y with respect to u).
For instance, in Example 1, y can be considered as a function of x
(y = ) and also as a function of u (y = ).
Note that
whereas
9
The Chain Rule
In general, if y = sin u, where u is a differentiable function of x, then, by the Chain
Rule,
Thus
10
The Chain Rule
Let’s make explicit the special case of the Chain Rule where the outer function f
is a power function.
If y = [g(x)]n, then we can write y = f(u) = un where u = g(x).
By using the Chain Rule and then the Power Rule, we get
11
Example 3 – Using the Chain Rule with the Power Rule
Solution:
Taking u = g(x) = x3 – 1 and n = 100 in (4), we have
= (x3 – 1)100
= 300x2(x3 – 1)99
12
The Chain Rule
We can use the Chain Rule to differentiate an exponential function with any base
a > 0. Recall that a = eln a. So
ax = (eln a)x = e(ln a)x
and the Chain Rule gives
(ax) = (e(ln a)x) = e(ln a)x (ln a)x
= e(ln a)x ln a = ax ln a
13
The Chain Rule
In particular, if a = 2, we get
(2x) = 2x ln 2
(2x) (0.69)2x
The reason for the name “Chain Rule” becomes clear when we make a longer
chain by adding another link.
14
The Chain Rule
Suppose that y = f(u), u = g(x), and x = h(t), where f, g, and h
are differentiable functions.
15
Tangents to Parametric Curves
16
Tangents to Parametric Curves
We have discussed curves defined by parametric equations
x = f(t) y = g(t)
The Chain Rule helps us find tangent lines to such curves. Suppose f and g are
differentiable functions and we want to find the tangent line at a point on the
curve where y is also a differentiable function of x.
17
Tangents to Parametric Curves
If dx/dt 0, we can solve for dy/dx:
Equation 7 (which you can remember by thinking of canceling the dt’s) enables
us to find the slope dy/dx of the tangent to a parametric curve without having to
eliminate the parameter t. We see from (7) that the curve has a horizontal
tangent when dy/dt = 0 (provided that dx/dt 0) and it has a vertical tangent
when dx/dt = 0 (provided that dy/dt 0).
18
Example 10
Find an equation of the tangent line to the parametric curve
x = 2 sin 2t y = 2 sin t
at the point ( 1). Where does this curve have horizontal or vertical tangents?
Solution:
At the point with parameter value t, the slope is
19
Example 10 – Solution cont’d
The point ( 1) corresponds to the parameter value t = /6, so the slope of the
tangent at that point is
20
Example 10 – Solution cont’d
or
Figure 2
21
Example 10 – Solution cont’d
The tangent line is horizontal when dy/dx = 0, which occurs when cos t = 0 (and
cos 2t 0), that is, when t = /2 or 3/2.
(Note that the entire curve is given by 0 t 2.)
Thus the curve has horizontal tangents at the points (0, 2) and (0, –2), which we
could have guessed from Figure 2.
22
3.5 Implicit Differentiation
Implicit Differentiation
The functions that we have met so far can be described by expressing one
variable explicitly in terms of another variable—for example,
y= or y = x sin x
or, in general, y = f(x).
24
Implicit Differentiation
In some cases it is possible to solve such an equation for y as an explicit function
(or several functions) of x.
For instance, if we solve Equation 1 for y, we get
y= , so two of the functions determined by the implicit Equation 1 are
f(x) = and g(x) = .
The graphs of f and g are the upper and lower semicircles of the circle
x2 + y2 = 25. (See Figure 1.)
Figure 1 25
Implicit Differentiation
It’s not easy to solve Equation 2 for y explicitly as a function of x by hand. (A
computer algebra system has no trouble, but the expressions it obtains are very
complicated.)
x3 + [f(x)]3 = 6x f(x)
This consists of differentiating both sides of the equation with respect to x and
then solving the resulting equation for y'.
In the examples and exercises of this section it is always assumed that the given
equation determines y implicitly as a differentiable function of x so that the
method of implicit differentiation can be applied.
28
Example 1 – Finding a Tangent Line Implicitly
(a) If x2 + y2 = 25, find .
(b) Find an equation of the tangent to the circle x2 + y2 = 25 at the point (3, 4).
Solution 1:
(a) Differentiate both sides of the equation x2 + y2 = 25:
29
Example 1 – Solution cont’d
Thus
30
Example 1 – Solution cont’d
Solution 2:
(b) Solving the equation x2 + y2 = 25, we get y = .
31
Example 1 – Solution cont’d
So
32
3.6 Inverse Trigonometric Functions and Their Derivatives
Inverse Trigonometric Functions and Their Derivatives
You can see from Figure 1 that the sine function y = sin x is not one-to-one
(use the Horizontal Line Test).
Figure 1
But the function f(x) = sin x, –/2 x /2, is one-to-one (see Figure 2).
Figure 2
34
Inverse Trigonometric Functions and Their Derivatives
f –1(x) = y f(y) = x
we have
Solution:
(a) We have
36
Example 1 – Solution cont’d
Figure 3
37
Inverse Trigonometric Functions and Their Derivatives
38
Inverse Trigonometric Functions and Their Derivatives
The inverse sine function, sin–1, has domain [–1, 1] and range [–/2, /2],
and its graph, shown in Figure 4, is obtained from that of the restricted
sine function (Figure 2)
by reflection about the line y = x.
39
Inverse Trigonometric Functions and Their Derivatives
and
40
Inverse Trigonometric Functions and Their Derivatives
Therefore
41
Inverse Trigonometric Functions and Their Derivatives
Figure 6 y = cos x, 0 x
42
Inverse Trigonometric Functions and Their Derivatives
43
Inverse Trigonometric Functions and Their Derivatives
The tangent function can be made one-to-one by restricting it to the interval (–/2,
/2).
Thus the inverse tangent function
is defined as the inverse of the
function f(x) = tan x, –/2 x /2,
as shown in Figure 8.
Figure 8
44
Inverse Trigonometric Functions and Their Derivatives
45
Inverse Trigonometric Functions and Their Derivatives
We know that
and
and so the lines x = /2 are vertical asymptotes of the graph of tan.
Since the graph of tan–1 is obtained by reflecting the graph of the restricted
tangent function about the line y = x, it follows that the lines y = /2 and y = –/2
are horizontal asymptotes of the graph of tan–1.
46
Inverse Trigonometric Functions and Their Derivatives
47
Inverse Trigonometric Functions and Their Derivatives
and so
48
3.7 Derivatives of Logarithmic Functions
Derivatives of Logarithmic Functions
In this section we use implicit differentiation to find the
derivatives of the logarithmic functions y = loga x and, in
particular, the natural logarithmic function y = ln x.
50
Derivatives of Logarithmic Functions
If we put a = e in Formula 1, then the factor ln a on the right
side becomes ln e = 1 and we get the formula for the
derivative of the natural logarithmic function loge x = ln x:
52
Derivatives of Logarithmic Functions
In general, if we combine Formula 2 with the Chain Rule as
in Example 1, we get
or
53
Example 6
Find f(x) if f(x) = ln |x|.
Solution:
Since
it follows that
55
Logarithmic Differentiation
56
Logarithmic Differentiation
The calculation of derivatives of complicated functions involving
products, quotients, or powers can often be simplified by taking
logarithms.
57
Example 7 – Logarithmic Differentiation
Differentiate
Solution:
We take logarithms of both sides of the equation and use
the Laws of Logarithms to simplify:
ln y = ln x + ln (x2 + 1) – 5 ln (3x + 2)
58
Example 7 – Solution cont’d
59
Logarithmic Differentiation
If f(x) < 0 for some values of x, then ln f(x) is not defined, but we can write
|y| = |f(x)| and use Equation 4. We illustrate this procedure by proving the
general version of the Power Rule.
60
Logarithmic Differentiation
In general, there are four cases for exponents and bases:
61
The Number e as a Limit
62
The Number e as a Limit
We have shown that if f(x) = ln x, then f(x) = 1/x. Thus
f(1) = 1. We now use this fact to express the number e as
a limit.
63
The Number e as a Limit
Because f(1) = 1, we have
64
The Number e as a Limit
Formula 5 is illustrated by the graph of the function
y = (1 + x)1/x in Figure 4 and a table of values for small
values of x. This illustrates the fact that, correct to seven
decimal places,
e 2.7182818
Figure 4
65
The Number e as a Limit
If we put n = 1/x in Formula 5, then n → as x → 0+ and
so an alternative expression for e is
66