E. Kim
1
Product Rule for Differentiation
Goal
Starting with differentiable functions f (x) and g(x), we want to
get the derivative of f (x) g(x).
2
Product Rule for Differentiation
Goal
Starting with differentiable functions f (x) and g(x), we want to
get the derivative of f (x) g(x).
2
Product Rule for Differentiation
Goal
Starting with differentiable functions f (x) and g(x), we want to
get the derivative of f (x) g(x).
Question
Is the Product Rule
or not?
2
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
f (x) = x3
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
f 0 (x) =
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
f 0 (x) = 3x2
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
Compute derivatives:
Compute derivatives:
Compute derivatives:
Compute derivatives:
Compare:
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
Compare:
I [f (x) g(x)]0 = 13x12
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
Compare:
I [f (x) g(x)]0 = 13x12
I f 0 (x) g 0 (x) = (3x2 )(10x9 ) = 30x11
Is [f (x) g(x)]0 = f 0 (x) g 0 (x) the Product Rule?
Let’s test it out! Choose:
Compute derivatives:
Compare:
I [f (x) g(x)]0 = 13x12
I f 0 (x) g 0 (x) = (3x2 )(10x9 ) = 30x11
3
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
Culver’s in Onalaska, WI
Source: Wikipedia
4
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
4
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
4
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
4
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
4
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
4
Then what is the Product Rule?
Intuitively... it’s like working at Culver’s
4
Intuitive idea of the Product Rule
∆r h∆r ∆r∆h
r rh r∆h
h ∆h
∆p = (rh + r ∆h + h ∆r + ∆r ∆h) − rh
5
Intuitive idea of the Product Rule
∆r h∆r ∆r∆h
r rh r∆h
h ∆h
∆p = (rh + r ∆h + h ∆r + ∆r ∆h) − rh
Intuitive idea of the Product Rule
∆r h∆r ∆r∆h
r rh r∆h
h ∆h
∆p = (rh + r ∆h + h ∆r + ∆r ∆h) − rh
∆p = r ∆h + h ∆r + ∆r
| {z∆h}
5
Intuitive idea of the Product Rule
∆r h∆r ∆r∆h
r rh r∆h
h ∆h
∆p = (rh + r ∆h + h ∆r + ∆r ∆h) − rh
∆p = r ∆h + h ∆r + ∆r
| {z∆h}
negligible
5
Intuitive idea of the Product Rule
∆r h∆r ∆r∆h
r rh r∆h
h ∆h
∆p = (rh + r ∆h + h ∆r + ∆r ∆h) − rh
∆p = r ∆h + h ∆r + ∆r
| {z∆h}
negligible
∆p ≈ r ∆h + h ∆r
The change in the product p = rh is the old rate r times the
change in hours (∆h), plus the old hours h times the change in
rate (∆r).
5
Deriving the Product Rule
Starting with differentiable functions f (x) and g(x), we want to
get the derivative of f (x) g(x).
6
Deriving the Product Rule
Starting with differentiable functions f (x) and g(x), we want to
get the derivative of f (x) g(x).
By definition of derivative,
f (x + h)g(x + h) − f (x)g(x)
[f (x) g(x)]0 = lim
h→0 h
Deriving the Product Rule
Starting with differentiable functions f (x) and g(x), we want to
get the derivative of f (x) g(x).
By definition of derivative,
f (x + h)g(x + h) − f (x)g(x)
[f (x) g(x)]0 = lim
h→0 h
Subtract and add f (x + h) g(x) in the numerator:
f (x + h)g(x + h) − f (x)g(x)
[f (x) g(x)]0 = lim
h→0 h
Subtract and add f (x + h) g(x) in the numerator:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
Continued...
From previous slide, [f (x) g(x)]0 is equal to:
7
The Product Law for Derivatives
in either notation,
10x12 + 3x12
= 13x12
Example
10
Example
10
Example
10
Example
10
Example
10
Example
Solution 2:
Example
Solution 2:
I FOIL out k(x) to get k(x) = x5 + 6x3 + 5x
Example
Solution 2:
I FOIL out k(x) to get k(x) = x5 + 6x3 + 5x
I Sum Rule and Power Rule: k 0 (x) = 5x4 + 18x2 + 5
Example [B]
d 1 2 x
Exercise: Find (x + e ) .
dx x
11
Example [B]
d 1 2 x
Exercise: Find (x + e ) .
dx x
Solution:
1
I f (x) = x and g(x) = x2 + ex
d dg df
[f (x) g(x))] = f +g
dx dx dx
1 d 2 d 1
x + ex + (x2 + ex )
=
x dx dx x
1 d 2 d −1
x + ex + (x2 + ex )
= x
x dx dx
1
= (2x + ex ) + (x2 + ex )(−1x−2 )
x
Example [B]
dy d2 y
Exercise: If y = x3 ex , find and .
dx dx2
In other words, find y 0 and y 00 .
12
Example [B]
dy d2 y
Exercise: If y = x3 ex , find and .
dx dx2
In other words, find y 0 and y 00 .
Solution:
I y 0 = (x3 )(ex )0 + (x3 )0 (ex ) = x3 ex + 3x2 ex
I y 00 = [x3 ex + (3x2 )(ex )]0 =
(x3 ex + 3x2 ex ) + (3x2 )(ex )0 + (3x2 )0 (ex )
I y 00 = x3 ex + 3x2 ex + 3x2 ex + 6xex = x3 ex + 6x2 ex + 6xex
Example [B]
√
Exercise: What is the derivative of f (x) = x(3x + 2)?
13
Example [B]
√
Exercise: What is the derivative of f (x) = x(3x + 2)?
Solution:
√ √ √
f 0 (x) = ( x)(3x + 2)0 + ( x)0 (3x + 2) = x(3) + 1
√
2 x
(3x + 2)
√ 3x + 2
=3 x+ √
2 x
13
Example [B]
Exercise: What is the derivative of f (x) = (x + 1)(x2 − 7x)(ex )?
14
Example [B]
Exercise: What is the derivative of f (x) = (x + 1)(x2 − 7x)(ex )?
Solution:
I Think of f as being: [(x + 1)(x2 − 7x)][ex ]
14
Example
Exercise: If k(x) = f (x) · g(x) and
I f (2) = 3
I f 0 (2) = −4
I g(2) = 1
I g 0 (2) = 5
then find k 0 (2).
Example
Exercise: If k(x) = f (x) · g(x) and
I f (2) = 3
I f 0 (2) = −4
I g(2) = 1
I g 0 (2) = 5
then find k 0 (2).
Solution:
Example
Exercise: If k(x) = f (x) · g(x) and
I f (2) = 3
I f 0 (2) = −4
I g(2) = 1
I g 0 (2) = 5
then find k 0 (2).
Solution:
I Use k 0 (x) = f (x) g 0 (x) + g(x) f 0 (x), plug in x = 2
Example
Exercise: If k(x) = f (x) · g(x) and
I f (2) = 3
I f 0 (2) = −4
I g(2) = 1
I g 0 (2) = 5
then find k 0 (2).
Solution:
I Use k 0 (x) = f (x) g 0 (x) + g(x) f 0 (x), plug in x = 2
Solution:
I Use k 0 (x) = f (x) g 0 (x) + g(x) f 0 (x), plug in x = 2
Solution:
I Use k 0 (x) = f (x) g 0 (x) + g(x) f 0 (x), plug in x = 2
16
Example [B]
16