171F11Ch2AL

advertisement
1a
§2.1 Derivatives and Rates of Change
1b
Example. Consider 𝑦 = 𝑓(π‘₯) = π‘₯ 2
0 … 2 … π‘₯-, 0 … 4 … 𝑦-, 𝑓(π‘₯)
Tangent Lines
axes, curve C
Consider a smooth curve C.
A line tangent to C at a point P both intersects C at P
and has the same slope as C at P. add line 𝑑
The Tangent Line Problem
Given point P on curve C, how do you find the
tangent line?
What is the equation of the line tangent to the curve
at π‘₯ = 1? add 𝑃, line
Point-slope form for a straight line passing through
𝑃(1,1)
𝑦 − 1 = π‘š(π‘₯ − 1)
2a
2b
𝑓(π‘₯)−𝑓(1)
What is the slope π‘š?
π‘šπ‘ƒπ‘„ =
What is the slope of the secant passing through
𝑃(1,1) and 𝑄1 (2,4)? add 𝑄1 , 𝑃𝑄1 
this ratio is called a difference quotient
π‘šπ‘ƒπ‘„1 =
=
=
Δ𝑦
=
=
π‘₯ 2 −1
π‘₯−1
Δπ‘₯
𝑓(2)−𝑓(1)
2−1
=
4−1
2−1
=3
What is the slope of the secant passing through
𝑃(1,1) and 𝑄2 (1.5, 𝑓(1.5))? add 𝑄2 , 𝑃𝑄2 
π‘šπ‘ƒπ‘„2 =
π‘₯−1
=
(π‘₯−1)(π‘₯+1)
π‘₯−1
π‘₯ + 1, π‘₯ ≠ 1
={
undefined, π‘₯ = 1
As long as π‘₯ ≠ 1, π‘šπ‘ƒπ‘„ = π‘₯ + 1
π‘₯
π‘šπ‘ƒπ‘„
𝑓(1.5)−𝑓(1)
2
3
1.5−1
1.5
2.5
1.1
2.1
1.01
2.01
2.25−1
1.5−1
1.25
0.5
= 2.5
The slope of the tangent line is the limit of the
difference quotient as π‘₯ → 1.
π‘š = lim(π‘₯ + 1) = 2
π‘₯→1
What is the slope of the secant line passing through
𝑃(1,1) and 𝑄(π‘₯, π‘₯ 2 )?
The equation of the tangent line is
𝑦 − 1 = 2(π‘₯ − 1)
β– 
3a
3b
Thus
Example. Find an equation of the line tangent to the
curve 𝑔(π‘₯) = √π‘₯ + 1 at 𝑃(3,2).
1
π‘š = lim
π‘₯→3 √π‘₯+1+2
=
1
2+2
=
1
4
Equation of tangent line
Point slope form of the tangent line
1
𝑦 − 2 = (π‘₯ − 3) β– 
4
𝑦 − 2 = π‘š(π‘₯ − 3)
where
π‘š = lim
The Velocity Problem
𝑔(π‘₯)−𝑔(3)
π‘₯−3
π‘₯→3
Drive to Spokane airport (~85 miles)
simplify the difference quotient
Start at noon
𝑔(π‘₯)−𝑔(3)
π‘₯−3
=
√π‘₯+1−2
π‘₯−3
Drive slowly through Colfax
multiply by 1 to rationalize the numerator
=
√π‘₯+1−2 √π‘₯+1+2
π‘₯−3
√π‘₯+1+2
Arrive 2pm
Average velocity =
(π‘₯+1)−4
= (π‘₯−3)(
√π‘₯+1+2)
=
√π‘₯+1+2
distance traveled
time elapsed
=
85 miles
2 hours
=
42.5 mph
cancel factors of π‘₯ − 3
1
Have lunch at Harvester
true if π‘₯ ≠ 3
The speedometer 5 miles north of Colfax reads 65
mph. This is the “instantaneous velocity.”
4a
4b
Mathematical definition of instantaneous velocity?
Galileo drops a ball off the leaning Tower of Pisa
sketch ground, tower, coordinate 𝑠 with origin at
top
What is the average velocity between 𝑑 = 1 and 𝑑 =
2?
Average velocity =
=
=
𝑠(𝑑) = 5𝑑 2
𝑠 meters,
0 … 2 … 𝑑-, 0 … 5 … 20 … 𝑠-, curve
𝑑 seconds
time elapsed
𝑠(2)−𝑠(1)
2−1
5⋅22 −5⋅12
= 15
ball falls distance 𝑠 at time 𝑑 after release.
distance traveled
1
meters
second
What is the average velocity between 𝑑 = 1 and a
variable 𝑑?
Average velocity =
=
=
=
𝑠(𝑑)−𝑠(1)
𝑑−1
5⋅𝑑 2 −5
𝑑−1
5⋅(𝑑 2 −1)
𝑑−1
5(𝑑−1)(𝑑+1)
𝑑−1
5a
5b
= 5(𝑑 + 1)
as long as 𝑑 ≠ 1.
Table
𝑑
2
1.1
1.001
average velocity (meters per sec.)
15
5 ⋅ (2.1) = 10.5
5 ⋅ (2.001) = 10.005
Derivatives
Define the derivative of a function 𝑓 at a number π‘Ž,
denoted 𝑓 ′ (π‘Ž)
𝑓 ′ (π‘Ž) = lim
𝑓(π‘₯)−𝑓(π‘Ž)
[1]
π‘₯−π‘Ž
π‘₯→π‘Ž
Define instantaneous velocity at 𝑑 = 1 as the limit of
average velocities over shorter and shorter time
intervals around 𝑑 = 1.
From the example above 𝑣(1) = 𝑠 ′ (1) =
Denote instantaneous velocity 𝑣(𝑑).
lim
𝑣(1) = lim
𝑑→1
𝑑−1
.
𝑠(𝑑)−𝑠(1)
Alternatively, introduce
𝑑−1
= lim 5(𝑑 + 1) = 10
𝑑→1
𝑑→1
𝑠(𝑑)−𝑠(1)
meters
second
β„Ž =π‘₯−π‘Ž
π‘₯ =π‘Ž+β„Ž
and insert in equation [1] to get
𝑓 ′ (π‘Ž) = lim
β„Ž→0
𝑓(π‘Ž+β„Ž)−𝑓(π‘Ž)
β„Ž
[2]
6a
6b
𝑓 ′ (π‘₯) = lim (2π‘₯ + β„Ž) = 2π‘₯
β„Ž→0
§2.2 The Derivative as a Function
Graph and compare 𝑓(π‘₯) and 𝑓 ′ (π‘₯)
−2 … 0 … 2 … π‘₯-, −4 … 0 … 4 … 𝑦-, 𝑓(π‘₯)
Replace the symbol π‘Ž in [2] by π‘₯. Regard π‘₯ as a
variable.
𝑓 ′ (π‘₯) = lim
𝑓(π‘₯+β„Ž)−𝑓(π‘₯)
β„Ž
β„Ž→0
Regard 𝑓′ as a new function.
−2 … 0 … 2 … π‘₯-, −4 … 0 … 4 … 𝑦-, 𝑓′(π‘₯)
Example. Let 𝑓(π‘₯) = π‘₯ 2 . Find 𝑓 ′ (π‘₯)
Simplify the difference quotient
𝑓(π‘₯+β„Ž)−𝑓(π‘₯)
β„Ž
=
=
=
(π‘₯+β„Ž)2 −π‘₯ 2
β„Ž
(π‘₯ 2 +2π‘₯β„Ž+β„Ž2 )−π‘₯ 2
β„Ž
2π‘₯β„Ž+β„Ž2
β„Ž
= 2π‘₯ + β„Ž
Then
this step assumes β„Ž ≠ 0
add tangent segments at π‘₯ = −1, 0, 1 to graph of 𝑓
7a
7b
add dots at π‘₯ = −1, 0 , 1 to graph of 𝑓′ β– 
Example. Let 𝑔(π‘₯) = √π‘₯ + 1. Find 𝑔′ (π‘₯).
?? Transparency: match 𝑓 and 𝑓′
Simplify the difference quotient
𝑔(π‘₯+β„Ž)−𝑔(π‘₯)
β„Ž
√π‘₯+β„Ž+1−√π‘₯+1
β„Ž
=
rationalize numerator by multiplying by 1
√π‘₯+β„Ž+1−√π‘₯+1 √π‘₯+β„Ž+1+√π‘₯+1
β„Ž
√π‘₯+β„Ž+1+√π‘₯+1
=
multiply terms in numerator
β„Ž(√π‘₯+β„Ž+1+√π‘₯+1)
divide through by β„Ž (assumes β„Ž ≠ 0)
1
√π‘₯+β„Ž+1+√π‘₯+1
Then
𝑔′ (π‘₯) = lim
1
β„Ž→0 √π‘₯+β„Ž+1+√π‘₯+1
=
original function: 𝑦 = 𝑓(π‘₯)
derivative function: 𝑓 ′ (π‘₯) =
𝑑𝑦
𝑑π‘₯
prime notation emphasizes idea of derivative as a
new function
(π‘₯+β„Ž+1)−(π‘₯+1)
=
=
Notations for Derivative
1
2√π‘₯+1
Show transparency comparing 𝑔 and 𝑔′
𝑓 ′ (π‘₯)
the prime means differentiate with respect to
function argument
evaluate at no. π‘Ž
𝑓 ′ (π‘Ž)
8a
8b
Leibniz notation emphasizes idea of derivative as the
limit of a ratio
… π‘₯ … π‘₯ + β„Ž … , … , 𝑓, β„Ž = Δπ‘₯, 𝑓(π‘₯ + β„Ž) − 𝑓(π‘₯) =
Δ𝑦
Operator notation for derivative
Sometimes we write
𝑓 ′ (π‘₯) =
𝑑
𝑑π‘₯
𝑓
or
𝑓 ′ (π‘₯) = 𝐷𝑓
view
𝑑
𝑑π‘₯
and 𝐷 as operators: machines that convert
the functions they operate on into other functions
lim
𝑓(π‘₯+β„Ž)−𝑓(π‘₯)
β„Ž→0
β„Ž
= lim
evaluate at no. π‘Ž
𝑑𝑦
|
𝑑π‘₯ π‘Ž
Δ𝑦
β„Ž→0 Δπ‘₯
=
𝑑𝑦
𝑑π‘₯
Differentiability
𝑓 differentiable at π‘Ž means 𝑓 ′ (π‘Ž) exists
𝑓 differentiable on an open interval (π‘Ž, 𝑏) means 𝑓 is
differentiable at every point in (π‘Ž, 𝑏)
9a
9b
conclude 𝑓 ′ (0) does not exist
Example (a function not differentiable at a point)
𝑓(π‘₯) = |π‘₯|
Geometrical Idea
Is 𝑓 differentiable at π‘₯ = 0?
axes, graph of |x|, no tangent line here (at origin)
if so
𝑓 ′ (0) = lim
𝑓(0+β„Ž)−𝑓(0)
𝑓
β„Ž→0
= lim
|0+β„Ž|−|0|
β„Ž
h→0
= lim
|β„Ž|
β„Ž→0 β„Ž
does this limit exist?
find the limit from the right
lim
|β„Ž|
β„Ž→0+ β„Ž
β„Ž
= lim = 1
β„Ž→0 β„Ž
find the limit from the left
lim
|β„Ž|
β„Ž→0− β„Ž
= lim
−β„Ž
β„Ž→0− β„Ž
= −1
the right and left hand limit do not agree.
To be differentiable at point, the graph must have a
unique tangent line at that point. β– 
10a
10b
Three ways that a function can fail to be
differentiable
(a)
(c)
at a vertical tangent
… π‘Ž … , …, function w/ a vertical tangent at π‘Žοƒ±
at any discontinuity
… π‘Ž … , …, function with dcty at π‘Žοƒ±
lim 𝑓(π‘₯) = ∞, 𝑓 ′ (π‘Ž) DNE
π‘₯→π‘Ž
lim
𝑓(π‘Ž+β„Ž)−𝑓(π‘Ž)
β„Ž
β„Ž→0
(b)
DNE
at any corner or kink
… π‘Ž … , …, function with a kink at π‘Žοƒ±
lim
β„Ž→0
𝑓(π‘Ž+β„Ž)−𝑓(π‘Ž)
β„Ž
DNE
11a
11b
Relationship between differentiability and
continuity
We have shown: if 𝑓 is not continuous then 𝑓 is not
differentiable
Let 𝐴 be the statement
Higher Derivatives
Consider
𝑦 = 𝑓(π‘₯)
First derivative of 𝑓
𝑑𝑦
𝑓 is continuous at a no. π‘₯
Let 𝐡 be the statement
𝑓 is differentiable at π‘₯
We have shown
If (not 𝐴) then (not 𝐡)
This is logically equivalent to
If 𝐡 then 𝐴
𝑑π‘₯
= 𝑓 ′ (π‘₯)
Regarded as a function, 𝑓 may itself be differentiable.
Second derivative of 𝑓
𝑑2𝑦
𝑑π‘₯ 2
= 𝑓 ′′ (π‘₯)
If 𝑓 ′′ (π‘₯) is differentiable, form the third derivative
𝑑3𝑦
𝑑π‘₯ 3
= 𝑓 ′′′ (π‘₯)
If 𝑓 ′′′ (π‘₯) is differentiable, form the fourth derivative
𝑑4𝑦
𝑑π‘₯ 4
= 𝑓 (4) (π‘₯)
Notation for the π‘›π‘‡β„Ž derivative, with 𝑛 ≥ 4:
If 𝑓 is differentiable at π‘₯ then it is continuous at π‘₯
𝑑𝑛𝑦
𝑑π‘₯ 𝑛
= 𝑓 (𝑛) (π‘₯)
12a
12b
Application of higher derivatives
2.3 Basic Differentiation Rules
Let 𝑠(𝑑) be the position of an object at time 𝑑.
We first consider those rules that will enable us to
differentiate polynomials.
𝑠 ′ (𝑑) =
𝑑𝑠
𝑑𝑑
= 𝑣(𝑑)
is the velocity of the object
Derivative of a Constant Function
… π‘₯-,… 0 … 𝑐 … 𝑦-, line 𝑦 = 𝑐
𝑠 ′′ (𝑑) = 𝑣 ′ (𝑑) = π‘Ž(𝑑)
is the acceleration of the object
slope of tangent line?
First and second derivatives are the most important
in applications
𝑑
𝑑π‘₯
𝑐=0
Derivative of 𝒇(𝒙) = 𝒙
0 … π‘₯-, 0 … 𝑦-, 𝑦 = π‘₯
Example. Mechanics
momentum = mass ⋅ velocity
force = mass ⋅ acceleration β– 
slope of tangent line?
𝑑
𝑑π‘₯
π‘₯=1
13a
13b
Derivative of π’ˆ(𝒙) = π’™πŸ
We have seen that
The Power Rule.
𝑔′ (π‘₯) = 2π‘₯
Let 𝑛 be a positive integer
𝑑
𝑑π‘₯
π‘₯ 𝑛 = 𝑛π‘₯ 𝑛−1
Derivative of 𝑭(𝒙) = π’™πŸ‘
𝐹
′ (π‘₯)
= lim
Example.
𝐹(π‘₯+β„Ž)−𝐹(π‘₯)
β„Ž
β„Ž→0
β„Ž
=
=
=
β„Ž
(π‘₯ − π‘Ž) ⋅
(π‘₯ 3 +3π‘₯ 2 β„Ž+3π‘₯β„Ž2 +β„Ž3 )−π‘₯ 3
(π‘₯ 𝑛−1 + π‘₯ 𝑛−2 π‘Ž + π‘₯ 𝑛−3 π‘Ž2 + β‹― + π‘₯π‘Žπ‘›−2 + π‘Žπ‘›−1 )
β„Ž
3π‘₯ 2 β„Ž+3π‘₯β„Ž2 +β„Ž3
= π‘₯ 𝑛 + π‘₯ 𝑛−1 π‘Ž + π‘₯ 𝑛−2 π‘Ž2 + β‹― + π‘₯π‘Žπ‘›−1
β„Ž
= 3π‘₯ + 3π‘₯β„Ž + β„Ž
3
−π‘₯ 𝑛−1 π‘Ž − π‘₯ 𝑛−2 π‘Ž2 − β‹― − π‘₯π‘Žπ‘›−1 − π‘Žπ‘›
assumes β„Ž ≠ 0
________________________________________
thus
𝐹
π‘₯ 7 = 7π‘₯ 6 . β– 
Preliminary fact:
(π‘₯+β„Ž)3 −π‘₯ 3
2
′ (π‘₯)
𝑑π‘₯
Proof.
simplify the difference quotient
𝐹(π‘₯+β„Ž)−𝐹(π‘₯)
𝑑
2
= lim 3π‘₯ + 3π‘₯β„Ž + β„Ž
β„Ž→0
= 3π‘₯ 2
2
π‘₯𝑛
− π‘Žπ‘›
in other words
π‘₯ 𝑛 −π‘Žπ‘›
π‘₯−π‘Ž
= π‘₯ 𝑛−1 + π‘₯ 𝑛−2 π‘Ž + β‹― π‘₯π‘Žπ‘›−2 + π‘Žπ‘›−1
14a
14b
𝑑
notice there are 𝑛 terms on the right hand side
𝑑𝑑
Let 𝑓(π‘₯) = π‘₯ 𝑛
𝑓
′ (π‘Ž)
= lim
𝑑
𝑑π‘₯
π‘₯ 𝑛 −π‘Žπ‘›
π‘₯→π‘Ž π‘₯−π‘Ž
= lim (π‘₯
??
𝑛−1
π‘₯→π‘Ž
+π‘₯
𝑛−2
π‘Ž + β‹― π‘₯π‘Ž
𝑛−2
+π‘Ž
= π‘Žπ‘›−1 + π‘Žπ‘›−2 π‘Ž + β‹― π‘Žπ‘Žπ‘›−2 + π‘Žπ‘›−1
𝑛−1
)
??
𝑑 −2 = −2𝑑 −3
−1
1
1
√π‘₯ = π‘₯ 2
recall √π‘₯ = π‘₯ 2
2
𝑑 1
𝑑𝑑 √𝑑
𝑑
𝑑𝑒
=
𝑒 √2 =
β– 
= π‘›π‘Žπ‘›−1
Regard π‘Ž as a variable. Replace π‘Ž by π‘₯.
𝑓 ′ (π‘₯) = 𝑛π‘₯ 𝑛−1
β– 
The Constant Multiple Rule
Let 𝑐 be a constant and 𝑓 a differentiable function
𝑑
𝑑π‘₯
𝑐𝑓(π‘₯) = 𝑐
𝑑
𝑑π‘₯
𝑓(π‘₯)
The Power Rule (general version)
Let 𝑛 be any real number.
𝑑
𝑑π‘₯
π‘₯ 𝑛 = 𝑛π‘₯ 𝑛−1
a constant passes through the limit symbol
Examples.
??
Examples.
𝑑
𝑑π‘₯
π‘₯ −9 = −9π‘₯ −10
??
𝑑
𝑑𝑑
𝑑
𝑑𝑀
𝑑
𝑑π‘₯
5π‘₯ 2 = 5
10
7 √𝑑 =
√5 𝑀 πœ‹ =
𝑑
𝑑π‘₯
π‘₯ 2 = 5 ⋅ 2π‘₯ = 10π‘₯
15a
15b
β– 
β– 
The Sum Rule
The Difference Rule
If 𝑓 and 𝑔 are both differentiable
If 𝑓 and 𝑔 are both differentiable
𝑑
𝑑π‘₯
[𝑓(π‘₯) + 𝑔(π‘₯)] =
𝑑
𝑑π‘₯
𝑓(π‘₯) +
𝑑
𝑑π‘₯
𝑔(π‘₯)
𝑑
𝑑π‘₯
[𝑓(π‘₯) − 𝑔(π‘₯)] =
𝑑
𝑑π‘₯
𝑓(π‘₯) −
𝑑
𝑑π‘₯
𝑔(π‘₯)
In words: “the derivative of a sum is the sum of the
derivatives”
In words: “the derivative of a difference is the
difference of the derivatives”
prime notation
prime notation
′
′
(𝑓(π‘₯) + 𝑔(π‘₯)) = 𝑓 ′ (π‘₯) + 𝑔′ (π‘₯)
(𝑓(π‘₯) − 𝑔(π‘₯)) = 𝑓 ′ (π‘₯) − 𝑔′ (π‘₯)
shorthand
shorthand
(𝑓 + 𝑔)′ = 𝑓 ′ + 𝑔′
(𝑓 − 𝑔)′ = 𝑓 ′ − 𝑔′
the sum rule applies to the sum of any number of
functions
Example.
(𝑓 + 𝑔 + β„Ž)′ = 𝑓 ′ + 𝑔′ + β„Ž′
??
Example
𝑑
𝑑π‘₯
[π‘₯ 3 + 5π‘₯ 2 + πœ‹] = 3π‘₯ 2 + 10π‘₯ + 0
β– 
𝑑
𝑑π‘₯
(π‘₯ 3 − 5π‘₯ 2 ) =
16a
16b
𝑑𝑒
𝑑𝑑
We can now differentiate any polynomial
2 −1
3 1
2 −1
3
2
3
1
= 𝑑 3 + 2 ( 𝑑 2 ) = 𝑑 3 + 3𝑑 2 β– 
Example. Let
Example. Find an equation of the line tangent to the
curve
𝑔(π‘₯) = 5π‘₯ 8 − 2π‘₯ 5 + 6
𝑦 = 3π‘₯ 2 +
then
at the point (1,7)
𝑔′ (π‘₯) =
=5
𝑑
𝑑π‘₯
𝑑
𝑑π‘₯
(5π‘₯ 8 ) −
π‘₯8 − 2
𝑑
𝑑π‘₯
𝑑
𝑑π‘₯
(2π‘₯ 5 ) +
𝑑
𝑑π‘₯
6
π‘₯5 + 0
4
π‘₯
point slope form for straight line
𝑦 − 𝑦0 = π‘š(π‘₯ − π‘₯0 )
= 5(8π‘₯ 7 ) − 2(5π‘₯ 4 ) + 0
where (π‘₯0 , 𝑦0 ) = (1,7)
= 40π‘₯ 7 − 10π‘₯ 4 β– 
what is π‘š?
𝑑𝑦
We can differentiate other functions too.
𝑑π‘₯
= 3(2π‘₯) + 4(−π‘₯ −2 )
= 6π‘₯ − 4π‘₯ −2
Example. Let
3
𝑒 = √𝑑 2 + 2√𝑑 3
Find
𝑑𝑑
𝑒 = 𝑑 + 2𝑑
𝑑𝑦
|
𝑑π‘₯ π‘₯=1
=6−4=2
answer
𝑑𝑒
2
3
π‘š=
𝑦 − 7 = 2(π‘₯ − 1)
3
2
β– 
17a
17b
marginal cost = lim
Δ𝐢
Δπ‘₯→0 Δπ‘₯
?? Example. A ball is thrown straight up from the
ground at 20 meters/second. Its height is given by
= 𝐢 ′ (π‘₯)
Example. Jeans manufacture.
Let 𝐢(π‘₯) = cost of producing π‘₯ pairs of jeans.
𝑦 = 20 𝑑 − 5 𝑑 2
= 2000 + 3π‘₯ + 0.01π‘₯ 2
(a) Find the velocity at time 𝑑.
where
$2000
(b) Find the velocity at 𝑑 = 1sec.
capital costs (sewing machines)
3π‘₯ + 0.01π‘₯ 2 cost of labor, materials, rent
Cost of producing 100 pairs of jeans
(c) When is the ball at rest?
𝐢(100) = 2000 + 300 + 0.01(100)2
(d) What is the average velocity between 𝑑 = 1 and
𝑑 = 2?
β– 
What is the cost of producing one additional pair of
jeans?
Economics – Marginal cost
𝐢(π‘₯ + 1) = 2000 + 3(π‘₯ + 1) + 0.01(π‘₯ + 1)2
𝐢(π‘₯) = cost to produce π‘₯ widgets
average rate of change of cost =
2400
𝐢(π‘₯2 )−𝐢(π‘₯1 )
π‘₯2 −π‘₯1
=
Δ𝐢
Δπ‘₯
𝐢(π‘₯) = 2000 + 3π‘₯ + 0.01π‘₯ 2
___________________________________________
𝐢(π‘₯ + 1) − 𝐢(π‘₯) = 3 + 0.01((π‘₯ + 1)2 − π‘₯ 2 )
18a
18b
= 3 + 0.01(2π‘₯ + 1)
lim
π‘₯→0
Cost of producing the 101ST pair
cos(π‘₯)−1
π‘₯
=0
Recall the addition formula for cosine
𝐢(101) − 𝐢(100) = 3 + 0.01(201)
cos(π‘Ž + 𝑏) = cos(π‘Ž) cos(𝑏) − sin(π‘Ž) sin(𝑏)
= $5.01
Now use the limit definition of derivative
th
Compare with the marginal cost at 100 pair
𝐢 ′ (π‘₯) = 3 + 0.02π‘₯
𝑑
𝑑π‘₯
cos(π‘₯) = lim
cos(π‘₯+β„Ž)−cos(π‘₯)
β„Ž
β„Ž→0
addition formula for cosine
𝐢 ′ (100) = $5
= lim
cos(π‘₯) cos(β„Ž)−sin(π‘₯) sin(β„Ž)−cos(π‘₯)
β„Ž
β„Ž→0
𝐢 ′ (π‘₯) is often a very good approximation to the cost
of producing one additional widget. β– 
difference law for limits
= lim cos(π‘₯)
β„Ž→0
cos(β„Ž)−1
β„Ž
− lim sin(π‘₯)
sin(β„Ž)
β„Ž→0
β„Ž
constant multiple law of limits
Derivatives of Sine and Cosine
Recall the limits
lim
π‘₯→0
sin(π‘₯)
π‘₯
=1
= cos(π‘₯) ⋅ lim
β„Ž→0
cos(β„Ž)−1
β„Ž
− sin(π‘₯) ⋅ lim
β„Ž→0
sin(β„Ž)
β„Ž
recalling the limits above
= cos(π‘₯) ⋅ 0 − sin(π‘₯) ⋅ 1
19a
19b
= −sin(π‘₯) β– 
The derivative of sin(π‘₯) may be found using a similar
argument (see our text).
§2.4 The Product and Quotient Rules
In summary:
Product Rule
𝑑
sin(π‘₯) = cos(π‘₯)
𝑑π‘₯
𝑑
cos(π‘₯) = −sin(π‘₯)
𝑑π‘₯
If 𝑓 and 𝑔 are both differentiable
𝑑
𝑑π‘₯
𝑑π‘₯
1.
𝑓(𝑑) = sin(𝑑) + πœ‹ cos(𝑑)
𝑑
𝑑π‘₯
𝑔(π‘₯) + 𝑔(π‘₯)
𝑑
𝑑π‘₯
𝑓(π‘₯)
or alternately (as I personally prefer)
𝑑
?? Differentiate the following
[𝑓(π‘₯)𝑔(π‘₯)] = 𝑓(π‘₯)
[𝑓(π‘₯)𝑔(π‘₯)] = [
𝑑
𝑑π‘₯
𝑓(π‘₯)] 𝑔(π‘₯) + 𝑓(π‘₯) [
𝑑
𝑑π‘₯
𝑔(π‘₯)]
prime notation
′
(𝑓(π‘₯)𝑔(π‘₯)) = 𝑓 ′ (π‘₯)𝑔(π‘₯) + 𝑓(π‘₯)𝑔′ (π‘₯)
shorthand
(𝑓𝑔)′ = 𝑓 ′ 𝑔 + 𝑓𝑔′
2.
𝑔(𝑦) =
𝐴
𝑦 10
+ 𝐡 cos(𝑦)
WARNING: (𝑓𝑔)′ ≠ 𝑓′𝑔′ The derivative of a
product is not the product of derivatives
20a
20b
This is a common mistake!
Let 𝑓(π‘₯)𝑔(π‘₯) = 𝐹(π‘₯)
then
Example. By the power rule
𝑑
𝑑π‘₯
𝑑
𝑑π‘₯
[𝑓(π‘₯)𝑔(π‘₯)] =
π‘₯ 3 = 3π‘₯ 2
𝐹(π‘₯)
= lim
2
and 𝑔 = π‘₯
= lim
𝐹(π‘₯+β„Ž)−𝐹(π‘₯)
β„Ž
𝑓(π‘₯+β„Ž)𝑔(π‘₯+β„Ž)−𝑓(π‘₯)𝑔(π‘₯)
β„Ž
β„Ž→0
then 𝑓 ′ = 2π‘₯ and 𝑔′ = 1
𝑑π‘₯
𝑑π‘₯
β„Ž→0
Now let 𝑓 = π‘₯
𝑑
𝑑
subtract and add the same term in the numerator
3
π‘₯ = (𝑓𝑔)′
= 𝑓 ′ 𝑔 + 𝑓𝑔′
= lim
𝑓(π‘₯+β„Ž)𝑔(π‘₯+β„Ž)−𝑓(π‘₯+β„Ž)𝑔(π‘₯)+𝑓(π‘₯+β„Ž)𝑔(π‘₯)−𝑓(π‘₯)𝑔(π‘₯)
β„Ž
β„Ž→0
algebra
= 2π‘₯ ⋅ π‘₯ + π‘₯ 2 ⋅ 1
= 3π‘₯ 2
β– 
𝑔(π‘₯ + β„Ž) − 𝑔(π‘₯)
β„Ž
𝑓(π‘₯ + β„Ž) − 𝑓(π‘₯)
+ 𝑔(π‘₯)
]
β„Ž
= lim [ 𝑓(π‘₯ + β„Ž) ⋅
β„Ž→0
sum and product laws for limits
Proof of the Product Rule
Suppose 𝑓 and 𝑔 are both differentiable functions.
𝑔(π‘₯ + β„Ž) − 𝑔(π‘₯)
β„Ž→0
β„Ž
= lim 𝑓(π‘₯ + β„Ž) ⋅ lim
β„Ž→0
+ lim 𝑔(π‘₯) ⋅ lim
β„Ž→0
β„Ž→0
𝑓(π‘₯+β„Ž)−𝑓(π‘₯)
β„Ž
21a
21b
continuity of 𝑓 and definition of derivative
= 𝑓(π‘₯) ⋅ 𝑔′ (π‘₯) + 𝑔(π‘₯) ⋅ 𝑓 ′ (π‘₯)
β– 
Then
𝐹(π‘₯) = π‘₯ −1 sin(π‘₯)
Product rule
Extension to a Product of Three Functions
𝐹 ′ (π‘₯) = (π‘₯ −1 )′ sin(π‘₯) + π‘₯ −1 (sin(π‘₯))′
If 𝑓, 𝑔 and β„Ž are all differentiable
= (−π‘₯ −2 ) sin(π‘₯) + π‘₯ −1 cos(π‘₯)
(𝑓 𝑔 β„Ž)′ = 𝑓 ′ 𝑔 β„Ž + 𝑓 𝑔′ β„Ž + 𝑓 𝑔 β„Ž′
=
Example. Let 𝑓(π‘₯) = 𝑔(π‘₯) = β„Ž(π‘₯) = π‘₯
then 𝑓 ′
𝑑
𝑑π‘₯
= 𝑔′ =
β„Ž′ = 1
π‘₯ 3 = 𝑓 ′ 𝑔 β„Ž + 𝑓 𝑔′ β„Ž + 𝑓 𝑔 β„Ž′
=1⋅π‘₯⋅π‘₯+π‘₯⋅1⋅π‘₯+π‘₯⋅π‘₯⋅1
−sin(π‘₯)
π‘₯2
β– 
π‘₯
β– 
If 𝑓 and 𝑔 are differentiable at a point π‘₯ where
𝑔′ (π‘₯) ≠ 0 then
𝑑
(
𝑓(π‘₯)
)=
𝑑
𝑑
𝑓(π‘₯))𝑔(π‘₯)−𝑓(π‘₯) 𝑔(π‘₯)
𝑑π‘₯
𝑑π‘₯
𝑔(π‘₯)2
(
shorthand
𝑓 ′
Example. Differentiate 𝐹(π‘₯) =
Law of exponents:
cos(π‘₯)
Quotient Rule
𝑑π‘₯ 𝑔(π‘₯)
= 3π‘₯ 2
+
1
π‘₯
= π‘₯ −1
sin(π‘₯)
π‘₯
.
(𝑔) =
𝑓′ 𝑔−𝑓𝑔′
𝑔2
terms in numerator in same order as my product rule
(but take difference)
22a
22b
=
(π‘₯−1)−(π‘₯+1)
(π‘₯−1)2
−2
= (π‘₯−1)2 β– 
Proof of quotient rule.
𝑓
Let
𝑔
=β„Ž
Example. Find the equations of the tangent lines to
the curve
Then 𝑓 = 𝑔 β„Ž
(π‘₯+1)
By product rule
𝐺(π‘₯) =
𝑓 ′ = 𝑔′ β„Ž + 𝑔 β„Ž′
that are parallel to the line
Solve for β„Ž′
π‘₯ + 2𝑦 = 2 .
𝑔 β„Ž′ = 𝑓 ′ − 𝑔′ β„Ž
Solution. Parallel means same slope. Slope of line?
β„Ž′ =
=
𝑓′ −𝑔′ β„Ž
2𝑦 − 2 − π‘₯
𝑔
𝑓′ 𝑔−𝑔′ 𝑓
𝑔2
(π‘₯−1)
1
𝑦 =1− π‘₯
β– 
2
slope is π‘š =
Example. Differentiate 𝐺(π‘₯) =
𝐺
′ (π‘₯)
=
π‘₯+1
.
where does 𝐺 have slope
−2
𝐺 ′ = (π‘₯−1)2 =
(π‘₯−1)2
where (π‘₯ + 1) is shorthand for
2
π‘₯−1
(π‘₯+1)′ (π‘₯−1)−(π‘₯+1)(π‘₯−1)′
′
−1
𝑑
𝑑π‘₯
1
(π‘₯ + 1)
(π‘₯−1)2
=
−1
2
1
4
−1
2
?
solve for π‘₯
23a
23b
(π‘₯ − 1)2 = 4
π‘₯ = −1 or π‘₯ = 3
form of equation for tangent line
𝑦 − 𝑦0 = π‘š(π‘₯ − π‘₯0 )
Consider π‘₯0 = −1. 𝑦0 = 𝐺(−1) =
𝑦=
−1−1
=0
−1
π‘₯+1
2
Consider π‘₯0 = 3. 𝑦0 = 𝐺(3) =
𝑦−2=
β– 
−1+1
3+1
3−1
=2
−1
(π‘₯ − 3)
2
?? Class practice product and quotient rules
Download