Understanding Derivatives in Calculus
Understanding Derivatives in Calculus
The Derivative
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 1 of 115
Outline
❑ The Slope of a Straight Line
❑ The Slope of a Curve at a Point
❑ The Derivative
❑ Limits and the Derivative
❑ Some Rules for Differentiation
❑ More About Derivatives
❑ The Derivative as a Rate of Change
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 2 of 115
Nonvertical Lines
Definition Example
Equations of Non-vertical Lines: A
non-vertical line L has an equation of
the form
y = 3x − 4
y = mx + b
For this line, m = 3 and b = −4.
The number m is called the slope of L
and the point (0, b) is called the y-
intercept. The equation above is called
the slope-intercept equation of L.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 3 of 115
Lines – Positive Slope
EXAMPLE
The following are graphs of equations of lines that have positive slopes:
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 4 of 115
Lines – Negative Slope
EXAMPLE
The following are graphs of equations of lines that have negative slopes:
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 5 of 115
Interpretation of a Graph
EXAMPLE
A salesperson’s weekly pay depends on the volume of sales. If she sells x units
of goods, then her pay is y = 5x + 60 dollars. Give an interpretation of the slope
and the y-intercept of this straight line.
SOLUTION
The slope is 5, or 5/1. Since the numerator 460
(80, 460)
of this fraction represents the amount of
360
change in her pay relative to the amount of
change in her sales, the denominator, for 260
pay
every 1 sale that she makes, her pay 160
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 7 of 115
Properties of the Slope of a Line
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 8 of 115
Properties of the Slope of a Line
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 9 of 115
Finding Slope and y-intercept of a Line
EXAMPLE
x +1
Find the slope and y-intercept of the line y = .
3
SOLUTION
Sketch the graph of the line passing through (−1, 1) with slope ½.
SOLUTION
We use Slope Property 1. We begin at the given point (−1, 1) and from there,
move up one unit and to the right two units to find another point on the line. We
connect the two points that have already been determined, since two points
determine a straight line.
5 5
3 3 (1, 2)
(-1, 1) 1
(-1, 1) 1
-5 -3 -1 -1 1 3 5 -5 -3 -1 -1 1 3 5
-3 -3
-5 -5
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 11 of 115
Making Equations of Lines
EXAMPLE
Find an equation of the line that passes through the points (−1, 0) and (1, 2).
SOLUTION
Using the two points we will determine the slope by using Slope Property 2.
2−0 2
m= = =1
1 − (− 1) 2
y − y1 = m( x − x1 ) This is the equation from Property 3.
y − 2 = x −1 Distribute.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 12 of 115
Making Equations of Lines
EXAMPLE
Find an equation of the line that passes through the point (2, 0) and is
perpendicular to the line y = 2x.
SOLUTION
We know that the line we desire is perpendicular to the line y = 2x. Using Slope
Property 5, we know that the product of the slope of the line desired and the slope of the
line y = 2x is − 1. We recognize that the line y = 2x is in slope-intercept form and
therefore the slope of the line is 2. We can now find the slope of the line that we desire.
Let the slope of the new line be m.
(slope of a line)(slope of a new line) = −1 The slope of one line is 2 and the
2m = −1 slope of the desired line is denoted
m = −0.5 by m.
Now we can find the equation of the desired line using Property 3.
y − y1 = m( x − x1 ) This is the equation from Property 3.
y − 0 = −0.5( x − 2) (x1, y1) = (2, 0) and m = −0.5.
y = −0.5 x + 1 Distribute.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 13 of 115
Tangent Lines
Definition Example
Tangent Line to a
Circle at a Point P:
The straight line that
touches the circle at
just the one point P
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 14 of 115
Slope of a Curve & Tangent Lines
Definition Example
The Slope of a
Curve at a Point P:
The slope of the
tangent line to the
curve at P
(Enlargements)
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 15 of 115
Slope of a Graph
EXAMPLE
SOLUTION
The slope of a graph at a point is by definition the slope of the tangent line at that point.
The figure above shows that the tangent line at P rises one unit for each unit change in x.
Thus the slope of the tangent line at P is
change in y 1
= = 1.
change in x 1
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 16 of 115
Slope of a Curve: Rate of Change
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 17 of 115
The Derivative (Differentiation)
Definition Example
Derivative: The slope formula Given the function f (x) = x3, the
for a function y = f (x), denoted: derivative is
y = f (x) f ( x) = 3 x 2
Differentiation: The process of
computing a derivative.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 18 of 115
Differentiation: Rules
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 19 of 115
Differentiation: Illustration
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 20 of 115
Differentiation: Examples
EXAMPLE
1
Find the derivative of f ( x) = 7 .
x
SOLUTION
1
f ( x) = 7 This is the given equation.
x
1
f ( x) = 1 7 Rewrite the denominator as an
x exponent.
f ( x) = x −1 7
Rewrite with a negative exponent.
What we’ve done so far has been done for the sole purpose of rewriting the
function in the form of f (x) = xr.
1 −1 7 −1 1 −1 7 −7 7 1 −8 7 Use the Power Rule where r
f ( x) = − x =− x =− x
7 7 7 = − 1/7 and then simplify.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 21 of 115
Differentiation Examples
EXAMPLE
SOLUTION
We must first find the derivative of the given function.
Since the derivative function yields information about the slope of the original function,
we can now use f `(x) to determine the slope of the original function at x = − 2.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 22 of 115
Equation & Slope of a Tangent Line
EXAMPLE
Find the slope of the tangent line to the graph of y = x2 at the point (−0.4, 0.16) and then
write the corresponding equation of the tangent line.
SOLUTION
The slope of the graph of y = x2 at the point (x, y) is 2x. The x-coordinate of (−0.4,
0.16) is −0.4, so the slope of y = x2 at this point is 2(−0.4) = − 0.8.
We shall write the equation of the tangent line in point-slope form. The point is (−0.4,
0.16) and the slope (which we just found) is −0.8. Hence the equation is:
SOLUTION
We must first find the derivative of the given function.
Notice that in this case the derivative function is a constant function, 3. Therefore, at x
= 4, or any other value, the value of the derivative will be 3. So now we use the
Equation of the Tangent Line that we just saw.
y − f (4) = f (4)( x − 4) This is the Equation of the
Tangent Line.
y − 12 = 3( x − 4 ) f (4) = 12 and f (x ) = 3.
y = 3x Simplify.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 24 of 115
Leibniz Notation for Derivatives
Ultimately, this notation is a better and more effective notation for working with derivatives.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 25 of 115
Calculating Derivatives Via the Difference Quotient
f (x + h) − f (x )
The Difference Quotient is .
h
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 26 of 115
Calculating Derivatives Via the Difference Quotient
EXAMPLE
=
− (x + h) + 2− − x
2 2
+2 Evaluate f (x + h) and f (x).
h
=
− (x + 2 xh + h 2 ) + 2 + x 2 − 2
2
Simplify.
h
− x 2 − 2 xh − h 2 + 2 + x 2 − 2
= Simplify.
h
− 2 xh − h 2
= Simplify.
h
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 27 of 115
Calculating Derivatives Via the Difference Quotient
CONTINUED
=
(− 2 x − h )h
Factor.
h
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 28 of 115
Using Limits to Calculate a Derivative
EXAMPLE
1
Use the definition of the derivative to compute the derivative f ( x ) if f (x ) = .
2x + 5
SOLUTION
1 1 2x + 5 2 x + 2h + 5
− −
f (x + h ) − f (x ) 2( x + h ) + 5 2 x + 5 (2 x + 2h + 5)(2 x + 5) (2 x + 2h + 5)(2 x + 5)
lim = lim = lim
h →0 h h →0 h h →0 h
2 x + 5 − 2 x − 2h − 5 − 2h −2
= lim = lim = lim
h →0 h(2 x + 2h + 5)(2 x + 5) h →0 h(2 x + 2h + 5)(2 x + 5) h →0 (2 x + 2h + 5)(2 x + 5)
−2 2
= =−
(2 x + 5)(2 x + 5) (2 x + 5)2
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 29 of 115
Using Limits to Calculate a Derivative
EXAMPLE
Use the definition of the derivative to compute the derivative f (x) for the
function f ( x) = x .
SOLUTION
x+h−x h 1 1
= lim = lim = lim =
(
h →0 h x + h + x ) (
h →0 h x + h + x h →0 ) ( x+h + x 2 x )
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 30 of 115
Using Limits to Calculate a Derivative
Use the definition of the derivative to compute the derivative of the function
f (x) = 3x3 + 2x − 1.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 31 of 115
Rules of Differentiation
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 32 of 115
Differentiation
EXAMPLE
45
Differentiate f ( x) = .
1+ x + x
SOLUTION
45
f ( x) = This is the given function.
1+ x + x
d 45
f ( x) = We begin to differentiate.
dx 1 + x + x
f ( x) =
d
dx
(
45 1 + x + x )−1 Rewrite the rational expression
with a negative exponent.
f ( x) = 45
d
dx
(
1+ x + x )−1
Use the Constant Multiple Rule.
(
f ( x) = 45(− 1) 1 + x + x )−2 dxd (1 + x + x ) Use the General Power Rule taking
1 + x + x to be g(x).
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 33 of 115
Differentiation
CONTINUED
(
f ( x) = 45(− 1) 1 + x + x )−2 dxd1 + dxd x + dxd x1 2 Use the Sum Rule and rewrite x
as x1/2.
(
f ( x) = 45(− 1) 1 + x + x )−2 0 + 1 + 12 x−1 2 Differentiate.
(
f ( x) = 45(− 1) 1 + x + x )−2 1
1 + x −1 2 Simplify.
2
1 1
f ( x) = −45 1 + 0.5
( 2
1+ x + x ) x
Simplify.
0.5
451 +
f ( x) = −
x
Simplify.
(
1+ x + x
2
)
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 34 of 115
Differentiation
EXAMPLE
1
Find the points on the graph of f ( x) = at which the tangent line is
horizontal. x3 − 12 x + 1
SOLUTION
1
f ( x) = This is the given function.
x3 − 12 x + 1
d 1
f ( x) = We begin to differentiate.
dx x3 − 12 x + 1
f ( x) =
d 3
dx
(
x − 12 x + 1
−1
) Rewrite the rational expression
with a negative exponent.
(
f ( x) = −1 x3 − 12 x + 1 ) −2
dx
(
d 3
x − 12 x + 1 ) Use the General Power Rule
taking x3 −12 x + 1 to be g(x).
(
f ( x) = −1 x3 − 12 x + 1 )
−2 d d d
x3 − 12 x + 1
dx dx dx
Use the Sum Rule.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 35 of 115
Differentiation
CONTINUED
(
f ( x) = −1 x3 − 12 x + 1) (3x − 12 + 0)
−2 2
Differentiate.
f ( x) = −1
1
(3x − 12) 2
(x − 12 x + 1)
3 2 Simplify.
3 x 2 − 12
f ( x) = −
(x 3
− 12 x + 1 ) 2 Simplify.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 36 of 115
The Derivative as a Rate of Change
EXAMPLE
Let S(x) represent the total sales (in thousands of dollars) for month x in the year
2005 at a certain department store. Represent each statement below by an
equation involving S or S′.
(a) The sales at the end of January reached $120,560 and were rising at the rate
of $1500 per month.
(b) At the end of March, the sales for this month dropped to $80,000 and were
falling by about $200 a day (Use 1 month = 30 days).
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 37 of 115
The Derivative as a Rate of Change
SOLUTION
(a) Since the sales at the end of January (the first month, so x = 1) reached
$120,560 and S(x) represents the amount of sales for a given month, we have:
S(1) = 120,560. Further, since the rate of change of sales (rate of change
means we will use the derivative of S(x)) for the month of January is a positive
$1500 per month, we have: S′(1) = 1500.
(b) At the end of March (the third month, so x = 3), the sales dropped to
$80,000. Therefore, sales for the month of March was $80,000. That is: S(3)
= 80,000. Additionally, since sales were dropping by $200 per day during
March, this means that the rate of change of the function S(x) was (30 days) ×
(−200 dollars) = −6000 dollars per month. Therefore, we have: S′(3) =
−6000.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 38 of 115
Differentiating Various Independent Variables
EXAMPLE
SOLUTION
dT d
=
dt dt
(1 + 2t )2 + t 3 We begin to differentiate.
dT d d
= (1 + 2t )2 + t 3 Use the Sum Rule.
dt dt dt
dT d
= 2(1 + 2t )1 (1 + 2t ) + 3t 2 Use the General Power Rule.
dt dt
dT
= 2(1 + 2t )1 2 + 3t 2 Finish differentiating.
dt
dT
= 4(1 + 2t ) + 3t 2 Simplify.
dt
dT
= 4 + 8t + 3t 2 Simplify.
dt
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 39 of 115
Second Derivatives
EXAMPLE
SOLUTION
f ( P) =
d
dP
dP
f (P ) = d 15(3P + 1)4 = 180(3P + 1)3 This is the second derivative.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 40 of 115
Second Derivatives Evaluated at a Point
EXAMPLE
SOLUTION
dy d
=
dx dx
( )
3x 4 + 4 x 2 = 12 x3 + 8 x Compute the first derivative.
d 2 y d dy d
dx 2
= =
dx dx dx
12 x 3
+(8 x = 36 )
x 2
+8 Compute the second derivative.
d2y
2
dx x = 2
= (
36 x 2
+8 ) x=2
= 36(2)2 + 8 = 36 4 + 8 = 152 Evaluate the second derivative at
x = 2.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 41 of 115
Instantaneous Rate of Change
EXAMPLE
Suppose that f (x) = − 6/x. What is the (instantaneous) rate of change of f (x)
when x = 1?
SOLUTION
6
f ( x) =
x2
6 6
f (1) = 2
= = 6.
1 1
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 42 of 115
Position, Velocity & Acceleration
s(t) is the position function, v(t) is the velocity function, and a(t) is the
acceleration function.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 43 of 115
Position, Velocity & Acceleration
EXAMPLE
A toy rocket fired straight up into the air has height s(t) = 160t – 16t2 feet after t
seconds.
(a) What is the rocket’s initial velocity (when t = 0)?
(b) What is the velocity after 2 seconds?
(c) What is the acceleration when t = 3?
(d) At what time will the rocket hit the ground?
(e) At what velocity will the rocket be traveling just as it smashes into the
ground?
SOLUTION
(a) To determine what the rocket’s initial velocity is, we must first have a velocity
function and then evaluate t = 0 in that function.
s (t ) = 160t − 16t 2 This is the given position function.
Therefore, the initial velocity of the rocket is 160 feet per second.
Therefore, the velocity of the rocket after 2 seconds is 96 feet per second.
(c) To determine the acceleration when t = 3, we must first find the acceleration function.
v(t ) = 160 − 32t This is the velocity function.
a (t ) = v(t ) = −32 Differentiate to get the
acceleration function.
Since the acceleration function is a constant function, the acceleration of the rocket is a
constant − 32 ft/s2. Therefore, the acceleration when t = 3 is − 32ft/s2.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 45 of 115
Position, Velocity & Acceleration
CONTINUED
(d) To determine at what time the rocket will hit the ground we must determine what we
know about the position, velocity, or acceleration of the rocket when the rocket hits the
ground. We know that at the time of impact, the position of the rocket will be 0 feet
above the ground. Therefore, we will use the position function and replace s(t) with 0.
s (t ) = 160t − 16t 2 This is the given position function.
0 = 160t − 16t 2 Replace s(t) with 0.
0 = 10t − t 2 Factor 16 out of both terms on the
right and divide both sides by 16.
0 = t (10 − t ) Factor.
t = 0 t = 10 Solve for t.
Therefore, the rocket will be 0 feet above the ground at times t = 0 and t = 10. t = 0
corresponds to when the rocket first began its flight, so that would not be the solution.
So, the rocket hit the ground after 10 seconds, when t – 10 = 0.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 46 of 115
Position, Velocity & Acceleration
CONTINUED
(e) To determine at what velocity the rocket will be traveling just as it smashes into the
ground, we must use the velocity function. The question is, what do we use for t?
From part (d), we know that the rocket will hit the ground at t = 10 seconds.
Therefore, we will find v(10).
v(t ) = 160 − 32t This is the velocity function.
v(10) = 160 − 32(10 ) = 160 − 320 = −160 Replace t with 10 and evaluate.
Therefore, when the rocket hits the ground, it will be have a velocity of −160 ft/s. That
is, it will be traveling 160 ft/s in the downward direction.
MT129 – Calculus
© 2010 Pearsonand Probability
Education Inc. Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 47 of 115