Derivative Chapter 4
Derivative Chapter 4
DERIVATIVE
Why Do We Need Derivatives?
In physics, and life too, things are constantly “changing.”
Specifically, what we’ll be interested with in the physics context
is how physical quantities change. For example, how does an
object’s velocity change over time, or how does the force acting
on an object change over a distance traveled. Such changes are
described mathematically by derivatives. A “derivative” is just a
fancy name that describes how something is changing with
respect to something else. What follows will be a brief summary
and insight into this world of ever changing quantities called
derivatives.
f a h f a
lim
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 ”
DERIVATIVE OF A FUNCTION
f x “f dash x” or
y “y prime or dash”
dy
“dee why dee ecks” or “the derivative of y with
dx respect to x”
df
“dee eff dee ecks” or “the derivative of f with
dx respect to x”
d
f x
dx
DERIVATIVE OF A FUNCTION
dy
dx does not mean dy dx
The derivative is the formula which gives the slope of the tangent line at
any point x for f (x), and is denoted
f ( x x) f ( x)
f '( x) lim
x0 x
provided this limit exists.
DERIVATIVE OF A FUNCTION
f x x 1, x 0
f x
1, x 0
corner discontinuity
DIFFERENTIABILITY
d
c 0 y 3
dx
example: y 0
The derivative of a constant is zero.
RULES FOR DIFFERENTIATION
We saw that if y x, 2
y 2. x
d n
dx
x nx n 1
This is part of a pattern.
examples:
power rule f x x 4 y x8
f x 4x 3 y 8 x 7
RULES FOR DIFFERENTIATION
d n
dx
x nx n 1 Proof:
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 ... hn
x lim
dx h0 h
d n
x lim nx n1
dx h0
RULES FOR DIFFERENTIATION
y x 12 x
4
dy
y 4 x 12
3 4x 4x
3
dx
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 x 3
5x
x 2 3 6 x 2 5 2 x 3 5 x 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
RULES FOR DIFFERENTIATION
product rule:
d u ( x h )v ( x h ) u ( x )v ( x )
d dv du (uv) lim
uv u v dx h0 h
dx dx dx
x 2 3 6 x 2 5 2 x3 5 x 2 x
dx x 2 3
x 3
2
2
RULES FOR DIFFERENTIATION
d
sin x cos x
dx
DERIVATIVES OF TRIGONOMETRIC FUNCTIONS
Proof
d sin( x h) sin x
sin x lim
dx h0 h
d sin x cos h sin h cos x sin x
sin x lim
dx h 0 h
d sin x (cos h 1) sin h cos x
sin x lim
dx h0 h
d sin x (cos h 1) sin h cos x
sin x lim lim
dx h0 h h0 h
DERIVATIVES OF TRIGONOMETRIC FUNCTIONS
=0 =1
=0 =1
d
cos x sin x
dx
DERIVATIVES OF TRIGONOMETRIC FUNCTIONS
d
d sec x sec x tan x
cos x sin x dx
dx
d
d csc x csc x cot x
tan x sec 2 x dx
dx
CHAIN RULE
dy dy du
dx du dx
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 g
fat u g x gat x f ' ( g ( x)) g ' ( x)
example: f x sin x g x x2 4 Find: f g at x 2
f x cos x g x 2x g 2 4 4 0
f 0 g 2 cos 0 2 2 1 4 4
CHAIN RULE
f g x sin x 2 4
cos x 2 4 2 x
dy
y sin x 2 4 dx
y sin u u x2 4
cos 22 4 2 2
dy
dy du
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
CHAIN RULE
y sin x 2 4
y cos x 4 x 4
2 d 2
Differentiate the outside function...
dx
At x 2, y 4
CHAIN RULE
d
d cos 3 x
2
cos 2 3x
dx dx
d
2 cos 3x cos 3x
dx
d The chain rule can be used
2 cos 3 x sin 3 x 3 x more than once.
dx
2cos 3x sin 3x 3 (That’s what makes the
“chain” in the “chain rule”!)
6cos 3x sin 3x
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
CHAIN RULE
Find dy
dx
dy
y cos(3x x)
2
sin( 3x 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 cos 2 (4 x3 2 x)( sin( 4 x3 2 x))(12 x 2 2)
dx
dy
(36 x 2 6) cos 2 (4 x3 2 x)( sin( 4 x3 2 x))
dx
IMPLICIT DIFFERENTIATION
4 14 5 3
y x y x
5 5 4 4
IMPLICIT DIFFERENTIATION
d2y
Find 2 if 2 x 3
3 y 2
7 .
dx
y 2 x x 2 y
y
2x 3 y 7
3 2
y2
6 x 6 y y 0
2
y
2x x 2
2 y
y y
6 y y 6 x 2 Substitute y
2x x 2 x 2
6 x 2 y 2 back into the
y y y y equation.
6 y
2x x 4
y
x2 y 3
y y y
DERIVATIVES OF EXPONENTIAL AND LOGARITHMIC
FUNCTIONS
ye x 3
Look at the graph of
2
If we assume this to be
The slope at x = 0 true, then:
appears to be 1. 0 h
1 e e 0
lim 1
h 0 h
-3 -2 -1 0 1 2 3
x
-1
definition of derivative
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
e xh e x 1
h
d x e
e lim e lim
x
dx h 0 h h0
h
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
h0
h e 1
x
e x
dx
d x
e e x
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
x
e is its own derivative!
d u u du
If we incorporate the chain rule:
e e
dx dx
dx
d x
a d x
a a ln a
x
dx
dx
d ln a x
e
Incorporating the chain rule:
d x ln a
e
dx d u
dx
a a ln a
u du
dx
d
e x ln a
x ln a
dx
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
So far today we have:
d u
e e u du
d
dx
a a ln a
u u du
dx
dx dx
dy 1
y ln x y
dx e
e x
y
d 1
ln x
dx
d y d
e x
dx
dx x
y dy
d 1 du
e 1 ln u
dx dx u dx
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
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
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
d u
e e u du d
dx
a a ln a
u u du
dx
dx dx
d 1 du d 1 du
ln u log a u
dx u dx dx u ln a dx
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
Find y’
ye 2x
y' 2e 2x
y 3 x2
y' 3 ln( 3)(2 x)
x2
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
DERIVATIVES OF EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
Logarithmic differentiation
y 1 ln x
y = xx dy
dx
ln y = ln xx
x x 1 ln x
dy
ln y = x ln x
dx
1 dy 1
x ln x
y dx x