Professional Documents
Culture Documents
3.1 Derivative of A Function: Fah Fa H Fah Fa FX H
3.1 Derivative of A Function: Fah Fa H Fah Fa FX H
3.1 Derivative of A Function: Fah Fa H Fah Fa FX H
1 Derivative of a Function
f a h f a
lim is called the derivative of f at a.
h 0 h
f a h f a
We write: f x lim
h 0 h
“The derivative of f with respect to x is …”
dy
does not mean dy dx !
dx
(except when it is convenient to think of it as division.)
df
does not mean df dx !
dx
(except when it is convenient to think of it as division.)
3.1 Derivative of a Function
d d
f x does not mean times f x !
dx dx
(except when it is convenient to treat it that way.)
3.1 Derivative of a Function
The derivative is
the slope of the y f x
original function.
y lim
x h
2
3 x2 3
h 0 h
y lim 2 x h
h 0
y 2 x
3.1 Derivative of a Function
f x x 2
f x x 3
corner cusp
1, x 0
f x 3
x f x
1, x 0
vertical tangent discontinuity
3.2 Differentiability
d example: y 3
c 0
dx y 0
examples:
d n
dx
x nx n 1
f x x 4 y x8
f x 4x 3 y 8 x 7
power rule
3.3 Rules for Differentiation
Proof:
d n
dx
x nx n 1
d n ( x h) n x n
x lim
dx h0 h
d n x n nx n1h ... h n x n
x lim
dx h0 h
d n nx n1h ... h n
x lim
dx h 0 h
d n
x lim nx n1
dx h0
3.3 Rules for Differentiation
d du dv d du dv
u v u v
dx dx dx dx dx dx
y x 12 x
4 y x 4
2 x 2
2
(Each term
dyis treated separately)
y 4 x 12
3
4x 4x
3
dx
3.3 Rules for Differentiation
Find the horizontal tangents of:
dy
y x 2x 2
4 2
4 x3 4 x
dx
Horizontal tangents occur when slope = zero.
4 x3 4 x 0 Substituting the x values into the
x3 x 0 original equation, we get:
y 2, y 1, y 1
x x 1 0
2
y x4 2x2 2
y2
y 1
3.3 Rules for Differentiation
y x4 2 x2 2
dy
4 x3 4 x
dx
First derivative
(slope) is zero at:
x 0, 1, 1
3.3 Rules for Differentiation
product rule:
d dv du
uv u v Notice that this is not just the
dx dx dx
product of two derivatives.
This is sometimes memorized as: d uv u dv v du
d 2
dx x 3
2 x3 5 x
x 2 3 6x 2
5 2 x 5 x
3
2x
d
dx
2 x 5 5 x 3 6 x 3 15 x
d
dx
2 x 5 11x 3 15 x 6 x 4 5 x 2 18 x 2 15 4 x 4 10 x 2
10 x 4 33 x 2 15 10 x 4 33 x 2 15
3.3 Rules for Differentiation
product rule:
d u ( x h)v ( x h ) u ( x )v ( x )
d
uv u
dv
v
du (uv) lim
dx dx dx dx h 0 h
du dv
v u u v du u dv
d u dx dx d
or 2
dx v v 2 v
v
d 2x 5x
3
x 2 3 6 x 2 5 2 x3 5 x 2 x
dx x 3
x
2 2
2
3
3.3 Rules for Differentiation
Higher Order Derivatives:
dy
y is the first derivative of y with respect to x.
dx
dy d dy d 2 y is the second derivative.
y
dx dx dx dx 2 (y double prime)
dy
y is the third derivative.
dx We will learn
4 d later what these
y y is the fourth derivative. higher order
dx
derivatives are
used for.
3.3 Rules for Differentiation
Suppose u and v are functions that are differentiable at
x = 3, and that u(3) = 5, u’(3) = -7, v(3) = 1, and v’(3)= 4.
Find the following at x = 3 :
d d
1. (uv) (uv) uv' vu ' 5(3) (1)(7) 8
dx dx
d u d u vu 'uv' (1)(7) (5)(4)
2. 2
27
dx v dx v v2 1
d v d v uv'vu ' (5)(4) (1)(7) 27
3.
dx u dx u u2 52 25
3.3 Rules for Differentiation
d ho
dx hi
ft
g 32
1 2 1 sec 2
s g t s 32 t 2
2 2
m
g 9.8
ds sec 2
s 16 t 2 V 32 t
dt
cm
Speed is the absolute value of velocity. g 980
sec 2
3.4 Velocity and other Rates
of Change
Acceleration is the derivative of velocity.
dv d 2s v 32t
a 2 example:
dt dt a 32
If distance is in: feet
feet
Velocity would be in:
sec
ft
ft
Acceleration would be in:
sec
sec sec 2
3.4 Velocity and other Rates
of Change
acc neg acc neg
vel pos & vel neg &
decreasing decreasing acc zero
vel neg &
acc zero constant
vel pos &
constant acc pos
distance
vel neg &
increasing
velocity
acc pos
zero
vel pos &
increasing
acc zero,
velocity zero
time
3.4 Velocity and other Rates
of Change
Rates of Change:
f x h f x
Average rate of change =
h
f x h f x
Instantaneous rate of change = f x lim
h 0 h
For a circle: A r2
dA d
r2
dr dr
dA
2 r
dr
Instantaneous rate of change of the area with
dA 2 r dr
respect to the radius.
For tree ring growth, if the change in area is constant then dr
must get smaller as r gets larger.
3.4 Velocity and other Rates
of Change
from Economics:
Marginal cost is the first derivative of the cost function, and
represents an approximation of the cost of producing one
more unit.
3.4 Velocity and other Rates
of Change
Suppose it costs:
Example 13:
c x x 3
6 x 2
15 x
to produce x stoves. c x 3 x 2
12 x 15
If you are currently producing 10 stoves,
the 11th stove will cost approximately:
c 10 3 10 2 12 10 15
300 120 15
The actual cost is: C 11 C 10
$195
113 6 112 15 11 103 6 10 2 15 10 marginal cost
d
sin x cos x
dx
3.5 Derivatives of
Trigonometric Functions
Proof
d sin( x h) sin x
sin x lim
dx h 0 h
d sin x cos h sin h cos x sin x
sin x lim
dx h0 h
d sin x (cos h 1) sin h cos x
sin x lim
dx h 0 h
d sin x (cos h 1) sin h cos x
sin x lim lim
dx h 0 h h 0 h
3.5 Derivatives of
Trigonometric Functions
=0 =1
d
sin x cos x
dx
3.5 Derivatives of
Trigonometric Functions
Find the derivative of cos x
d cos( x h) cos x
cos x lim
dx h0 h
d cos x cos h sin h sin x cos x
cos x lim
dx h0 h
d cos x (cos h 1) sin h sin x
cos x lim
dx h0 h
d cos x (cos h 1) sin h sin x
cos x lim lim
dx h0 h h0 h
3.5 Derivatives of
Trigonometric Functions
=0 =1
d
cos x sin x
dx
3.5 Derivatives of
Trigonometric Functions
We can find the derivative of tangent x by using the
quotient rule.
d cos 2 x sin 2 x
tan x
dx cos 2 x
d sin x 1
dx cos x cos 2 x
cos x cos x sin x sin x
sec 2 x
cos 2 x
d
tan x sec 2 x
dx
3.5 Derivatives of
Trigonometric Functions
Derivatives of the remaining trig functions can
be determined the same way.
d d
sin x cos x cot x csc 2 x
dx dx
d d
cos x sin x sec x sec x tan x
dx dx
d d
tan x sec 2 x csc x csc x cot x
dx dx
3.5 Derivatives of
Trigonometric Functions
Definition Jerk
Jerk is the derivative of acceleration. If a body’s position
at time t is s(t), the body’s jerk at time t is
da d 2v d 3s
j (t ) 2 3
dt dt dt
3.5 Derivatives of
Trigonometric Functions
3.6 Chain Rule
Consider a simple composite function:
y 6 x 10 y 6 x 10 y 2u u 3x 5
y 2 3x 5
dy dy du
6 2 3
If u 3 x 5 dx du dx
then y 2u
6 23
dy dy du
dx du dx
3.6 Chain Rule
dy dy du
Chain Rule:
dx du dx
If f g is the composite of y f u and u g x ,
then:
f x cos x g x 2x g 2 4 4 0
f 0 g 2 cos 0 2 2 1 4 4
3.6 Chain Rule
f g x sin x 2 4 dy
cos x 2 4 2 x
y sin x 2 4 dx
y sin u u x2 4
dy
dy du cos 22 4 2 2
cos u 2x dx
du dx
dy
cos 0 4
dy dy du dx
dx du dx
dy dy
cos u 2 x 4
dx dx
3.6 Chain Rule
Here is a faster way to find the derivative:
y sin x 2 4
d 2
y cos x 4 x 4
2
Differentiate the outside function...
dx
At x 2, y 4
3.6 Chain Rule
d d
cos 3x
2
cos 2 3 x
dx dx
d
2 cos 3 x cos 3 x
dx
d The chain rule can be used
2 cos 3 x sin 3 x 3 x more than once.
dx
2 cos 3x sin 3 x 3 (That’s what makes the
“chain” in the “chain rule”!)
6 cos 3 x sin 3 x
3.6 Chain Rule
Derivative formulas include the chain rule!
d n n 1 du d du
u nu sin u cos u
dx dx dx dx
d du d du
cos u sin u tan u sec u
2
dx dx dx dx
etcetera…
3.6 Chain Rule
Find dy
dx
dy
y cos(3x 2 x) sin(3 x 2 x)(6 x 1)
dx
dy
y sin(cos(x)) cos(cos x)( sin x)
dx
dy
y cos3 (4 x3 2 x) 3 cos2 (4 x3 2 x)( sin(4 x3 2 x))(12 x 2 2)
dx
dy
(36 x 2 6) cos2 (4 x 3 2 x)( sin(4 x 3 2 x))
dx
3.6 Chain Rule
The chain rule enables us to find the slope of
parametrically defined curves:
x 3cos t y 2sin t
dx dy dy 2 cos t 2
3sin t 2 cos t cot t
dt dt dx 3sin t 3
3.7 Implicit Differentiation
This is not a function,
x2 y 2 1 but it would still be
nice to be able to find
the slope.
d 2 d 2 d
x y 1 Do the same thing to both sides.
dx dx dx
Note use of chain rule.
dy
2x 2 y 0 dy 2 x
dx dy x
dx 2 y
dx y
dy
2y 2 x
dx
3.7 Implicit Differentiation
2 y x 2 sin y This can’t be solved for y.
d d 2 d dy 2x
2y x sin y
dx dx dx dx 2 cos y
dy dy
2 2 x cos y This technique is called
dx dx implicit differentiation.
dy dy
2 cos y 2x
dx dx 1 Differentiate both sides w.r.t. x.
dy
2 cos y 2 x 2 Solve for
dy
.
dx dx
3.7 Implicit Differentiation
4 14 5 3
y x y x
5 5 4 4
3.7 Implicit Differentiation
3.7 Implicit Differentiation
d2y
Find 2 if 2 x 3
3 y 2
7 .
dx
y 2 x x 2 y
y
2x 3y 7
3 2
y2
6 x 6 y y 0
2 2x x 2
y 2 y
y y
6 y y 6 x 2 Substitute y
2 2
2x x x
6 x 2 y 2
y y y y back into the
6 y equation.
x2 2x x 4
y y 3
y y y
3.7 Implicit Differentiation
yx q
Raise both sides to the q power
y x
q p
Differentiate with respect to x
q 1 dy p 1
qy px Solve for dy/dx
dx
3.7 Implicit Differentiation
dy px p1 Substitute for y
q1
dx qy
dy px p1
Remove parenthesis
dx q( x p / q ) q1
p 1
dy px
p p / q Subtract exponents
dx qx
dy px p1( p p / q ) dy p ( p / q )1
x
dx q dx q
3.8 Derivatives of Inverse
Trigonometric Functions
Slopes are
y x2
reciprocals.
Because x and y are
reversed to find the 2, 4 m4
reciprocal function, the
following pattern always 4, 2 1 y x
m
holds: 4
1
evaluated at f (a )
df 1
is equal to the reciprocal of
dx x f (a)
df
the derivative of f ( x)
dx x a
evaluated at a .
3.8 Derivatives of Inverse
Trigonometric Functions
We can use implicit d y sin 1 x
sin 1 x
differentiation to find: dx
y sin x
y sin 1 x
sin y x d d
sin y x
dx dx
dy dy 1
cos y 1
dx dx cos y
3.8 Derivatives of Inverse
Trigonometric Functions
We can use implicit d
differentiation to find: sin 1 x sin 2 y cos 2 y 1
dx
y sin 1 x
d d cos 2 y 1 sin 2 y
sin y x sin y x
dx dx cos y 1 sin 2 y
dy dy 1
cos y 1 But y
dx dx 2 2
1 sin 2 y
so cos y is positive.
dy 1
dy 1
dx cos y cos y 1 sin 2 y
dx 1 x2
3.8 Derivatives of Inverse
Trigonometric Functions
y sin 1 x dy 1
1
sin y x
dx cos(sin 1 x) x
dy sin 1 x
cos y 1 dy 1
dx 1 x2
dx 1 x2
dy 1
dx cos y
3.8 Derivatives of Inverse
Trigonometric Functions
d
Find tan 1 x
dx
y tan 1 x dy 1 1 x2
tan y x dx sec2 (tan 1 x) x
dy tan 1 x
2
sec y 1 dy 1
dx 1
dx 1 x 2
dy 1
dx sec2 y
3.8 Derivatives of Inverse
Trigonometric Functions
d
Find sec 1 x
dx
y sec 1 x dy 1
dx sec(sec 1 x) tan(sec 1 x)
sec y x
dy 1
dy
sec y tan y 1 dx | x | x 2 1 x
dx
dy 1 x2 1
sec 1 x
dx sec y tan y
1
3.8 Derivatives of Inverse
Trigonometric Functions
cos x sin x cot x tan x csc x sec 1 x
1 1 1 1 1
2 2 2
d 1 du d 1 1 du
1
sin u cos u
dx dx 1 u 2 dx
1 u 2 dx
d 1 du d 1 du
tan 1 u 1
cot u
dx 1 u 2 dx dx 1 u 2 dx
d 1 1 du d 1 1 du
sec u csc u
dx u u 2 1 dx dx u u 2 1 dx
3.8 Derivatives of Inverse
Trigonometric Functions
Your calculator contains all
1 1
1
six inverse trig functions. sec x cos
However it is occasionally x
still useful to know the
following:
cot x tan 1 x
1
1 1
1
csc x sin
x
3.8 Derivatives of Inverse
Trigonometric Functions
dy
Find
dx
dy 1 6x
1
y cos (3 x ) 2 (6 x )
dx (1 (3x )
2 2
1 9x4
1
1 dy 1 1 1
y cot 2 2
x dx 1 x x 1
1 2
x
dy 1
y x sec 1 x x (sec1 x)(1)
dx | x | x2 1
3.9 Derivatives of Exponential
and Logarithmic Functions
Look at the graph of ye x
If we assume this to be
The slope at x = 0 true, then:
appears to be 1. 0 h
e e 0
lim 1
h 0 h
definition of derivative
3.9 Derivatives of Exponential
and Logarithmic Functions
Now we attempt to find a general formula for the
derivative of y e x
using the definition.
d x e xh e x h
1
dx
e lim
h
e lim
x e
h
h 0 h 0
e x eh e x
lim
h 0 h This is the slope at x = 0, which
we have assumed to be 1.
x eh 1
lim e
h 0
h e 1
x
e x
d x
dx
e e x
3.9 Derivatives of Exponential
and Logarithmic Functions
x
e is its own derivative!
dx
dx
d ln a x
e Incorporating the chain rule:
d x ln a
e d u du
dx
dx
a a ln a
u
dx
d
e x ln a
x ln a
dx
3.9 Derivatives of Exponential
and Logarithmic Functions
d u u du d du
e e
dx
a a ln a
u u
dx
dx dx
d 1
d y d ln x
dx
e x
dx
dx x
y dy
d 1 du
e 1 ln u
dx dx u dx
3.9 Derivatives of Exponential
and Logarithmic Functions
To find the derivative of a common log function, you
could just use the change of base rule for logs:
d d ln x 1 d 1 1
log x ln x
dx dx ln10 ln10 dx ln10 x
The formula for the derivative of a log of any base
other than e is:
d 1 du
log a u
dx u ln a dx
3.9 Derivatives of Exponential
and Logarithmic Functions
d u u du d du
e e
dx
a a ln a
u u
dx
dx dx
d 1 du d 1 du
ln u log a u
dx u dx dx u ln a dx
3.9 Derivatives of Exponential
and Logarithmic Functions
Find y’
ye 2x
y ' 2e 2x
x2
y3 x2
y ' 3 ln(3)(2 x)
1 3
y ln x 3
y ' 3 (3 x )
2
x x
1 1
y sin (e ) 4x
y' 4x
(e )(4)
1 (e )
4x 2
3.9 Derivatives of Exponential
and Logarithmic Functions
Logarithmic differentiation
dy
y = xx y 1 ln x
dx
ln y = ln xx
dy
ln y = x ln x x x 1 ln x
dx
1 dy 1
x ln x
y dx x