Product Rule and Quotient Rule

Now that we know some basic rules of derivatives, let’s move on to finding the derivative of a function consisting of multiple functions. Suppose that we have a function y = f ( x ) g ( x ) where f ( x ) and g ( x ) are functions of x . How can we find the derivative? Applying the definition of a derivative,

y = lim h 0 f ( x + h ) g ( x + h ) f ( x ) g ( x ) h = lim h 0 f ( x + h ) g ( x + h ) f ( x ) g ( x + h ) + f ( x ) g ( x + h ) f ( x ) g ( x ) h = lim h 0 g ( x + h ) [ f ( x + h ) f ( x ) ] h + lim h 0 f ( x ) [ g ( x + h ) g ( x ) ] h = lim h 0 g ( x + h ) f ( x + h ) f ( x ) h + lim h 0 f ( x ) g ( x + h ) g ( x ) h = g ( x ) lim h 0 f ( x + h ) f ( x ) h + f ( x ) lim h 0 g ( x + h ) g ( x ) h = g ( x ) f ( x ) + f ( x ) g ( x )

Here is the definition of the product rule again. Suppose f ( x ) and g ( x ) are differentiable functions, and suppose y = f ( x ) . Then the derivative of the function y with respect to x is

y = f ( x ) g ( x ) + f ( x ) g ( x )

In words, if a function is a product of two functions of x, then the derivative with respect to x is the derivative of the first function times the second, plus the first function times the derivative of the second function. Let’s go through some examples. Suppose we want to find the derivative of the function

f ( x ) = ( x 2 + 3 x 4 ) ( x 3 3 x 1 )

Let g ( x ) = x 2 + 3 x 4 and h ( x ) = x 3 3 x 1 . Using the power rule, the derivative of each function is as follows:

g ( x ) = 2 x + 3

h ( x ) = 3 x 2 3

Therefore, the derivative of f ( x ) is

f ( x ) = g ( x ) h ( x ) + g ( x ) h ( x ) = ( 2 x + 3 ) ( x 3 3 x 1 ) + ( x 2 + 3 x 4 ) ( 3 x 2 3 )

We have not simplified the resulting functions here, but you could simplify the functions to make them look nicer.

Now, let’s find the derivative of the function

f ( x ) = e x ( x 2 + 3 x 5 )

Let g ( x ) = e x and h ( x ) = x 2 + 3 x 5 . Using the power rule, the derivative of each function is as follows:

g ( x ) = e x

h ( x ) = 2 x + 3

Therefore, the derivative of f ( x ) is

f ( x ) = g ( x ) h ( x ) + g ( x ) h ( x ) = ( 2 x + 3 ) ( x 3 3 x 1 ) + ( x 2 + 3 x 4 ) ( 3 x 2 3 )

Now, let’s think about a function that represents the division of two functions such that

y = f ( x ) g ( x )

We can apply the definition of a derivative to get

y = lim h 0 f ( x + h ) / g ( x + h ) f ( x ) / g ( x ) h = lim h 0 f ( x + h ) g ( x ) / g ( x + h ) g ( x ) f ( x ) g ( x + h ) / g ( x + h ) g ( x ) h = lim h 0 ( 1 g ( x ) g ( x + h ) ) ( f ( x + h ) g ( x ) f ( x ) g ( x + h ) h ) = 1 [ g ( x ) ] 2 lim h 0 f ( x + h ) g ( x ) f ( x ) g ( x ) + f ( x ) g ( x ) f ( x ) g ( x + h ) h = 1 [ g ( x ) ] 2 lim h 0 g ( x ) f ( x + h ) f ( x ) h lim h 0 f ( x ) g ( x + h ) g ( x ) h = 1 [ g ( x ) ] 2 ( f ( x ) g ( x ) f ( x ) g ( x ) ) = f ( x ) g ( x ) f ( x ) g ( x ) [ g ( x ) ] 2

Given this result, suppose f ( x ) and g ( x ) are differentiable functions. Define y = f ( x ) g ( x )   and g ( x ) 0 . Then

y = f ( x ) g ( x ) f ( x ) g ( x ) [ g ( x ) ] 2

In words, if a function is a division of one function over another, then the derivative of the function is the derivative of the numerator function times the denominator function, minus the numerator function times the derivative of the denominator function, all divided by the square of the denominator function. Let’s practice the quotient rule. Suppose we want to find the derivative of the following function:

f ( x ) = x 2 1 x + 2

Let g ( x ) = x 2 1 and h ( x ) = x + 2 . Using the power rule, the derivative of each function is as follows:

g ( x ) = 2 x

h ( x ) = 1

Therefore, the derivative of f ( x ) is

f ( x ) = g ( x ) h ( x ) g ( x ) h ( x ) [ h ( x ) ] 2 = ( 2 x ) ( x + 2 ) ( x 2 1 ) ( 1 ) ( x + 2 ) 2 = ( 2 x ) ( x + 2 ) ( x 2 1 ) ( x + 2 ) 2

Even though we have not simplified here, you could always simplify and clean up the function.

How about the derivative of the following function?

f ( x ) = x 3 e x

Let g ( x ) = x 3 and h ( x ) = e x . Using the power rule, the derivative of each function is as follows:

g ( x ) = 3 x 2

h ( x ) = e x

Therefore, the derivative of f ( x ) is

f ( x ) = g ( x ) h ( x ) g ( x ) h ( x ) [ h ( x ) ] 2 = ( 3 x 2 ) e x x 3 e x ( e x ) 2 = ( 3 x 2 x 3 ) e x e 2 x

Want to try our built-in assessments?


Use the Request Full Access button to gain access to this assessment.