Matheno - Learn Well and Excel

B.1 The Product Rule

Let’s now develop and practice using “The Product Rule,” which we routinely need to find the derivative of the product of two differentiable functions, $f\cdot g.$ For instance, maybe we need find the derivative of $e^x \sqrt{x},$ which is the product of $e^x$ and $\sqrt{x}.$ Or perhaps we’d like to find the derivative of $x \sin x,$ which is the product of $x$ and $\sin x.$

The goal of this screen is to develop and provide lots of practice using a simple rule to compute the derivative of the product of two such differentiable functions, $f \cdot g.$ We’ll also build a sense for why the rule has the form that it does. We assume from the outset that the two functions, f and g, are both differentiable, so $f’$ and $g’$ exist.

A naive approach that does not work
Let’s think through a super-quick example you can do in your head to illustrate a crucial point: Consider the function $x \cdot x,$ which is the product of $x$ and $x.$ Of course we can instead view this product as being the function $x^2,$ and so you immediately know from the Power Rule that the derivative is $\dfrac{d\left(x^2\right)}{dx} = 2x.$ But what if we view it as the product $x \cdot x$ and choose to compute its derivative using whatever approach comes immediately to mind for “the product rule”? If you were going to naively calculate this derivative of the function $x$ multiplied by the function $x,$ without knowing anything else, what would you try?

If you’re like most people who first encounter this question, you would find the derivative of each function individually and then simply multiply them together. We are going to spoil this naive thought immediately and say that this approach is incorrect: $\left[ f(x)\,g(x)\right]’ \ne f'(x)\, g'(x).$ Our simple example immediately illustrates that this approach does not work: applying this naive reasoning to $x \cdot x,$ we find
\begin{align*}
\dfrac{d\left( x^2 \right)}{dx} = \dfrac{d(x \cdot x)}{dx} &\overbrace{=}^? \dfrac{dx}{dx} \cdot \dfrac{dx}{dx} &&\text{[Does naive approach work??]} \\[8px] &\overbrace{=}^? 1 \cdot 1 \\[8px] &\overbrace{=}^? 1 \ne 2x \quad \xmark &&\color{red}{\left[\text{No!} \quad \dfrac{d(f\cdot g)}{dx} \ne \dfrac{df}{dx} \cdot \dfrac{dg}{dx} \right]}
\end{align*}

Do not simply multiply the two derivatives together
That is, since the naive approach does not return what we know is the correct answer of $\dfrac{d\left(x^2\right)}{dx} = 2x,$ we see immediately that the derivative of the product of two functions is not simply the product of the derivatives of the two functions: $\left[ f(x)\,g(x)\right]’ \ne f'(x)\cdot g'(x).$ That prime on the outside does not simply distribute to the components on the inside of the brackets.

Instead, the derivative of the product of two functions is a little (only a little!) more complicated.

Developing the Product Rule
Let’s ground our work here in what the derivative of this product of functions tells us: We’re finding the rate at which the product $f(x)\,g(x)$ changes when we vary the input x by a little bit. (Remember, a derivative is always telling how much a function changes, or “reacts,” when we change its input a little bit. The function we’re currently considering happens to be a function which is the product of two other functions.) For instance, we can imagine increasing the input x by a small amount h, to $x+h.$ The animation below uses our usual area model of multiplication to illustrate the idea.


 
To develop the correct Product Rule, we return — as always — to the Definition of the Derivative, now applied to the product of two functions, $f(x)\,g(x)$:
\[[f(x)\,g(x)]’ = \lim_{h \to 0} \frac{f(x+h)\,g(x+h)\, -\, f(x)\,g(x)}{h}\] You can see how the numerator of this expression represents the difference in the areas between the newly-grown rectangle, $f(x+h)\,g(x+h),$ and the original rectangle, $f(x)\,g(x).$

Looking at the expression, it’s not immediately clear what to do with the limit and hence how to proceed. But the area model will help, since we can use it to write this initial expression in a way that includes the the terms
\[\frac{f(x+h) – f(x)}{h} \quad \text{ and } \quad \frac{g(x+h) – g(x)}{h} \] Once those terms are in place, when we take the limit as $h \to 0,$ those two expressions will be $f'(x)$ and $g'(x)$ respectively, as you’ll see!


As the derivation in the animation shows (and as summarized in images you can view and download a bit further down on the screen), the Product Rule for Derivatives is
PRODUCT RULE
In prime notation:
\begin{align*}
[f(x) \, g(x)]’ &= f'(x)\,g(x) + f(x) \,g'(x) \\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*}
And in Leibnitz notation:
\begin{align*}
\dfrac{d}{dx}(fg)&= \left(\dfrac{d}{dx}f \right)g + f\left(\dfrac{d}{dx}g \right)\\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*}

Crucially, using our area model we can make sense of this rule as shown in the following figure:
Product Rule Interpretation: The figure shows two copies of the original rectangle of width f(x) and height g(x). On the left, the rectangle has an additional vertical thin yellow strip with an arrow indicating it grows horizontally at the rate f'(x). Text states that the area of this thin strip of instantaneous height g(x) is growing at the rate f'(x) • g(x).  On the right, the rectangle has an additional horizontal thin strip with an arrow indicating that it grows vertically at the rate g'(). Text states that the area of this thin strip of width f(x) grows at the rate f(x) • g'(x). Text at the bottom states that the overall area is growing at the rate equal to the sum of those two terms, which is the Product Rule.

Open/Close images that summarize the Product Rule derivation

Summary of Product Rule derivation, page 2 of 2

Summary of Product Rule derivation, page  of 2

[collapse]

If you’d like to see a different approach to deriving the Product Rule, open this box. We’ll rely on the “trick” used in this derivation on the next screen when we develop the Quotient Rule.

Show/Hide an algebra-based derivation of the Product Rule

Another very common derivation starts again (of course) with the Definition of the Derivative as applied to the product $f(x)\,g(x):$
\[[f(x)\,g(x)]’=\lim_{h \to 0} \frac{f(x+h)\,g(x+h)\, -\, f(x)\,g(x)}{h}\] Instead of using the area model to rewrite the numerator as we did above, this approach employs an algebraic “trick” to allow us to factor and then see the terms $f'(x)$ and $g'(x).$ The trick is that, in the numerator, we will add 0 in the form of $f(x)\, g(x+h)\, -\, f(x)\, g(x+h)$, and then do some fancy factoring from there. (Students often ask how you’re supposed to know to use this “trick.” The answer is you’re not: essentially with this approach you already know the answer you’re after, and then figure out how to cleverly manipulate the terms to get there.)
\begin{align*}
[f(x)\,g(x)]’ &= \lim_{h \to 0} \frac{f(x+h)\,g(x+h)\, \overbrace{-\,f(x)\,g(x+h) + f(x)\,g(x+h)}^{= 0}\, -\, f(x)\,g(x)}{h} &&\text{[Now factor this]}\\[8px] &= \lim_{h \to 0} \frac{[f(x+h)-f(x)]\,g(x+h) + f(x)\,[g(x+h)-g(x)]}{h} \\[8px] &= \lim_{h \to 0}\frac{[f(x+h)-f(x)]\,g(x+h)}{h} + \lim_{h \to 0}\frac{f(x)\,[g(x+h)-g(x)]}{h} \\[8px] &= \overbrace{\lim_{h \to 0}\frac{f(x+h)-f(x)}{h}}^{=f'(x)} \cdot \lim_{h \to 0}g(x+h) + \lim_{h \to 0}f(x) \cdot \overbrace{\lim_{h \to 0} \frac{g(x+h)-g(x)}{h}}^{=g'(x)} \\[8px] &= f'(x)\,g(x) + f(x)\,g'(x) \quad \cmark
\end{align*}
From the fourth to the fifth line, we used the fact that g is differentiable, and therefore continuous, which means $\displaystyle \lim_{h \to 0}g(x+h) = g(x)$.
[collapse]

Practice using the Product Rule

Most students find that the Product Rule becomes automatic and routine after you use it a fair number of times — and you will be using it often in the work to come. We’ll of course let you practice below, and you should expect similar problems on both your midterm and final exams.

Let’s first consider a few Examples to show how it works in practice.

Example 1: Derivative of $h(x)=e^x \, \sqrt{x}$

Find the derivative of $h(x)=e^x \, \sqrt{x}$.

Solution.
To apply the Product Rule, we first need to identify the two functions being multiplied, and then find the derivative of each:
\[h(x) = \overbrace{e^x}^{f(x)} \cdot \overbrace{\sqrt{x}}^{g(x)}\] \begin{align*}
f(x) = e^x &\quad && g(x) = \sqrt{x} = x^{1/2} \\[8px] f'(x) = e^x &\quad && g'(x) = \dfrac{1}{2\sqrt{x}}
\end{align*}
We can now apply the Product Rule:
\begin{align*}
h(x) &= f(x) \cdot g(x) \\[8px] h'(x) &= f'(x)\cdot g(x) + f(x)\cdot g'(x) \\[8px] h'(x) &= \overbrace{e^x}^{f'(x)} \cdot \overbrace{\sqrt{x}}^{g(x)} + \overbrace{e^x}^{f(x)} \cdot \overbrace{\frac{1}{2\sqrt{x}}}^{g'(x)} \\[8px] &= e^x \sqrt{x} + \frac{e^x}{2\sqrt{x}} \quad \cmark
\end{align*}
That’s it. As long as you remember to find the derivative of each function separately (even if just in your head) and then make the correct substitutions in the Product Rule, this process is straightforward.

Example 2: Derivative two ways of $f(x) = (x^3 + x) \cdot (3x^3 + 9x - 6)$

Consider $f(x) = (x^3 + x) \cdot (3x^3 + 9x – 6)$.
(a) Use the Product Rule to find $f'(x).$
(b) Instead, multiply out the two polynomials to make a single polynomial, and then find $f'(x)$ using only the Power Rule. Compare the result to that of (a).

Solution.
(a) First, we identify the two functions being multiplied, and take their derivatives. (Since the overall function is called $f(x)$, we’re going to call the two functions being multiplied $u(x)$ and $w(x),$ but you could call them whatever you want. Soon, you won’t call them anything special at all, and will just take these derivatives in your head as you go.)
\[f(x) = \overbrace{(x^3 + x)}^{u(x)} \cdot \overbrace{(3x^3 + 9x\,-\,6)}^{w(x)}\] \begin{align*}
u(x) = x^3 + x &\quad && w(x) =3x^3 + 9x – 6 \\[8px] u'(x) = 3x^2 + 1 &\quad && w'(x) = 9x^2 + 9
\end{align*}
Then applying the Product Rule, we get
\begin{align*}
f(x) &= u(x) \cdot w(x) \\[8px] f'(x) &= u'(x)\cdot w(x) + u(x)\cdot w'(x) \\[8px] &= \left[ (3x^2 + 1)\cdot (3x^3 + 9x \,-\, 6)\right] + \left[ (x^3 + x)\cdot(9x^2 + 9)\right] \\[8px] &= \left[ 3x^2 (3x^3 + 9x \,-\, 6) + 1(3x^3 + 9x \,-\, 6)\right] + \left[ x^3 (9x^2 + 9) + x(9x^2 + 9)\right]\\[8px] &= \left[9x^5 + 27x^3 -18x^2 + 3x^3 + 9x \,-\, 6\right] + \left[ 9x^5 + 9x^3 + 9x^3 + 9x \right]\\[8px] &= 18x^5 + 48x^3 – 18x^2 + 18x \,-\, 6 \quad \cmark
\end{align*}
(b) We first multiply out the polynomials:
\begin{align*}
f(x) &= (x^3+x)(3x^3+9x-6) \\[8px] &= x^3(3x^3+9x-6) + x(3x^3+9x-6) \\[8px] &= 3x^6 + 9x^4 – 6x^3 + 3x^4 + 9x^2 \,-\, 6x \\[8px] &= 3x^6 + 12x^4 -6x^3 + 9x^2 \,-\, 6x
\end{align*}
Then, using the Power Rule
\[f'(x) = 18x^5 + 48x^3 – 18x^2 + 18x \,-\, 6 \quad \cmark \] This is happily the same result as we found in (a).

You can see that we can use using either method to find $f'(x)$ here. With experience, you’ll see how in some cases using the Product Rule is easier, while in other cases simplifying the multiplication and then taking the derivative term-by-term is easier.

Practice Problems

Time to practice! This new rule may take a little getting used to, so please practice until you feel more comfortable with it. We’ll be using it a lot going forward, so the more you can make it part of your working toolkit now, the easier things will be later.

Show/Hide Statement of the Product Rule

PRODUCT RULE
In prime notation:
\begin{align*}
[f(x) \, g(x)]’ &= f'(x)\,g(x) + f(x) \,g'(x) \\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*}
And in Leibnitz notation:
\begin{align*}
\dfrac{d}{dx}(fg)&= \left(\dfrac{d}{dx}f \right)g + f\left(\dfrac{d}{dx}g \right)\\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*}
[collapse]
Practice Problem #1
If $y = x^{3}e^{x}$, then $ \dfrac{dy}{dx}=$ \begin{array}{lll} \text{(A) }x^2 e^x \left( 3+\dfrac{1}{e} \right) && \text{(B) }x^2e^x \left( 2+x \right) && \text{(C) } \dfrac{3}{e} \left( x^2 e^x \right) \end{array} \begin{array}{ll} \text{(D) }x^{2}e^{x}(3+x) && \text{(E) None of the above} \end{array}
Show/Hide Solution
Since the function is the product of two separate functions, $x^3$ and $e^x$, we must use the Product Rule: \begin{align*} \dfrac{d}{dx}(fg)&= \left(\dfrac{d}{dx}f \right)g + f\left(\dfrac{d}{dx}g \right)\\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*} Recall that $\dfrac{d}{dx}x^3 = 3x^2,$ and that $\dfrac{d}{dx}e^x = e^x.$ Hence using the Product Rule on $y = x^{3}e^{x}$: \begin{align*} \dfrac{dy}{dx} &= \left[\dfrac{d}{dx}x^{3}\right]\,e^{x}+x^{3}\,\left[\dfrac{d}{dx}e^x\right] \\[8px] &= 3x^2\,e^x +x^3\,e^x \\[8px] &= x^{2}e^{x}(3+x) \quad \implies \; \text{(D)} \; \cmark \end{align*}
[hide solution]
Practice Problem #2
Differentiate $f(x) = x\sin x.$
\begin{array}{lll} \text{(A) }\cos x && \text{(B) }\sin x -x\cos x && \text{(C) } \sin x + x\cos x \end{array}
\begin{array}{ll}\text{(D) }-\cos x && \text{(E) None of these} \end{array}
Show/Hide Solution
Since the function is the product of two separate functions, $x$ and $\sin x$, we must use the Product Rule: Recall that $\dfrac{d}{dx}x = 1,$ and that $\dfrac{d}{dx}\sin x = \cos x$: \begin{align*} \dfrac{d}{dx} \left( x\sin x\right)&= \left(\dfrac{d}{dx}x\right)\sin x + x \left( \dfrac{d}{dx}\sin x \right) \\[8px] &= (1)\sin x + x \,(\cos x) \\[8px] &= \sin x + x\cos x \quad \implies \; \text{(C)}\;\cmark \end{align*}
[hide solution]
Practice Problem #3
If $f(x) = \sin x \cos x$, then $f'\left(\dfrac{\pi}{2}\right)=$ \begin{array}{lllll} \text{(A) }0 && \text{(B) }-1 && \text{(C) }1 && \text{(D) }-\dfrac{\sqrt{2}}{2} && \text{(E) }\dfrac{\sqrt{2}}{2} \end{array}
Show/Hide Solution
Recall that $(\sin x)’ = \cos x,$ and $(\cos x)’ = -\sin x.$
We use the Product Rule applied to $f(x) = \sin x \cos x:$ \begin{align*} f'(x) &= ( \sin x )'( \cos x)+( \sin x)( \cos x)’ \\[8px] f'(x) &= (\cos x) \cos x + \sin x (- \sin x) \\[8px] &= \cos^2x – \sin^2x \\[8px] f’\left(\dfrac{\pi}{2}\right) &= \cos^2\left(\dfrac{\pi}{2}\right)-\sin^2\left( \dfrac{\pi}{2}\right) \\[8px] &= 0 – (1)^2 \\[8px] &= -1 \quad \implies \; \text{(B)} \; \cmark \end{align*}
[hide solution]
Practice Problem #4

Given that $f(2)=1$, $f'(2)=-3$, $g(2)=4$, and $g'(2)=8$, then $(fg)'(2)=$

Note: $(fg)'(2) = \left[f(x)\,g(x) \right]'_{x=2}$
\begin{array}{lllll} \text{(A) }-24 && \text{(B) }0 && \text{(C) }-20
&& \text{(D) }-4 && \text{(E) None of the above} \end{array}

Show/Hide Solution
We have $f(2)=1$, $f'(2)=-3$, $g(2)=4$, and $g'(2)=8.$ We of course start with the Product Rule: \begin{align*} (fg)'(x) &= f'(x) \, g(x) + f(x) \, g'(x) \\[8px] (fg)'(2)&=f'(2)\,g(2)+f(2)\,g'(2) \\[8px] &= (-3)(4)+(1)(8) \\[8px] &= -12 + 8 \\[8px] &= -4 \quad \implies \text{(D)} \; \cmark \end{align*}
[hide solution]
Practice Problem #5
value of $x$$f(x)$$f'(x)$$g(x)$$g'(x)$
$x=-3$201-5
$x=0$412$ \dfrac{1}{2} $-3
$x=5$152-9
If $h(x) = f(x)\,g(x)$, find the equation for the line tangent to the curve $y=h(x)$ at $x=-3$. \begin{array}{lll} \text{(A) }y=-10x-28 && \text{(B) }y=4x+18 && \text{(C) }y=40x-10\end{array} \begin{array}{ll} \text{(D) }y=2+12x && \text{(E) }y=-18-22x \end{array}
Show/Hide Solution
There are two steps to solving this problem:
1. Find the slope of the tangent line $m_{ \text{tangent} } = h'(x)$ at the point of interest $x_0=-3$.
2. Find the y-value of the point of interest, $y_{0} = h(-3)$. Then write down the equation in Point Slope form $y-y_{0} = m_{ \text{tangent} }(x-x_{0})$.

Step 1: Find the slope of the tangent line $m_{ \text{tangent} } = h'(x)$ at the point $x_0=-3$:
We use the Product Rule and the values in the table to determine $h'(-3)$: \begin{align*} m_{ \text{tangent} } = h'(-3) &= f'(-3)\,g'(-3) \\[8px] &= f'(-3)\,g(-3) + f(-3)\,g'(-3) \\[8px] &= (0)(1)+(2)(-5) \\[8px] &= -10 \\[8px] \end{align*} Step 2: Find the y-value of the point of interest, $y_{0} = h(-3)$.
We use the functions’ values at $x=-3$ to determine the value of $y = h(-3)$: \begin{align*} h(-3) &= f(-3)\,g(-3) \\[8px] &= (2)(1) \\[8px] &= 2 \\[8px] \end{align*} Hence the line passes through (is tangent to) the point $\left(x_0, y_0 \right) = \left(-3, 2\right)$ and has slope $m_{ \text{tangent} } = h'(-3) = -10.$
Then writing the equation for the line tangent to the curve $y=h(x)$ at $x=-3$ in Point-Slope form: \begin{align*} y\,-\,y_{0} &= m_{ \text{tangent} }(x\,-\,x_{0}) \\[8px] y\, -\, 2 &= -10(x\, -\, (-3)) \\[8px] &= -10x \,-\, 30 \\[8px] y &= -10x \,-\,28 \quad \implies \; \text{ (A) } \; \cmark \end{align*}
[hide solution]

Let’s consider some problems where we need to find the derivative of the product of 3 functions. The Product Rule extends as you might expect:

Product Rule for the Product of 3 Functions
\begin{align*}
\dfrac{d}{dx}(fgh)&= \left(\dfrac{d}{dx}f \right)gh + f\left(\dfrac{d}{dx}g \right)h + + fg\left(\dfrac{d}{dx}h \right)\\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }\times \text{ (the third) }}] \\
&\qquad + [{\small \text{ (the first) } \times \text{ (derivative of the second)}\times \text{ (the third) }}] \\
&\qquad \qquad + [{\small \text{ (the first) } \times\text{ (the second) } \times \text{ (derivative of the third)}}] \end{align*}

The Product Rule for 4 or more functions extends similarly.

Show/Hide Development of Product Rule for 3 Functions

We developed above the rule for finding the derivative of the product of 2 functions $f(x)$ and $j(x)$:
\[\dfrac{d}{dx}(fj)= \left(\dfrac{d}{dx}f \right)j + f\left(\dfrac{d}{dx}j \right)\] Let’s say now that the function j is itself the product of 2 functions, $j(x) = g(x)\,h(x).$ Then we of course must use the Product Rule to find its derivative, $\dfrac{d}{dx}j:$
\[\dfrac{d}{dx}j = \dfrac{d}{dx}(gh)= \left(\dfrac{d}{dx}g \right)h + g\left(\dfrac{d}{dx}h \right)\] Substituting the preceding equation into the one above gives us the result we’re after, for the derivative of the product of three functions:
\begin{align*}
\dfrac{d}{dx}(fj) &= \left(\dfrac{d}{dx}f \right)j + f\left(\dfrac{d}{dx}j \right) \\[8px] \dfrac{d}{dx}(fj) = \dfrac{d}{dx}(fgh) &= \left(\dfrac{d}{dx}f \right)j + f\left[\left(\dfrac{d}{dx}g \right)h + g\left(\dfrac{d}{dx}h \right) \right] \\[8px] &= \left(\dfrac{d}{dx}f \right)gh + f\left(\dfrac{d}{dx}g \right)h + + fg\left(\dfrac{d}{dx}h \right)\\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }\times \text{ (the third) }}] \\
&\qquad + [{\small \text{ (the first) } \times \text{ (derivative of the second)}\times \text{ (the third) }}] \\
&\qquad \qquad + [{\small \text{ (the first) } \times\text{ (the second) } \times \text{ (derivative of the third)}}] \end{align*}
[collapse]
Practice Problem #6
If $h(t)=t^{5/2}e^{t} \sin t,$ then $h'(t)=$ \begin{array}{lll} \text{(A) }\dfrac{5}{2}e^t \cos t && \text{(B) }t^{3/2}e^{t}\left(\dfrac{5}{2} \sin t + t \sin t + t \cos t \right) && \text{(C) }\dfrac{5}{2}t^{3/2}e^{t} \cos t + t^{5/2} + e^t \cos t \end{array} \begin{array}{ll}\text{(D) }\dfrac{5}{2}t^{3/2}+e^t + \cos t && \text{(E) }t^{5/2}e^t (\dfrac{5}{2} \sin t + \sin t + \cos t) \end{array}
Show/Hide Solution
To solve this problem, you need use the generalized Product Rule for three functions multiplied together: \begin{align*} (fgk)’ = f’gk +fg’k + fgk’ \end{align*} We have $h(t)=t^{5/2}e^t \sin t,$ so $f=t^{5/2}$, and $g=e^t$, and $k = \sin t$.
Then $f’= \dfrac{5}{2}t^{3/2}$, $g’ = e^t $, $k’= \cos t$. \begin{align*} h'(t)&= \left(\dfrac{5}{2}t^{3/2}\right)(e^t)( \sin t) + (t^{5/2})(e^t)( \sin t) + (t^{5/2})(e^t)( \cos t) \\[8px] &= t^{3/2}e^t \left( \dfrac{5}{2} \sin t + t \sin t + t \cos t\right) \implies \; \text{(B)} \; \cmark \end{align*} Instead of initially identifying $f,$ $g,$ and $k$ and finding the derivative of each, we could simply start the solution here: \begin{align*} h'(t)&= \left( t^{5/2}\right)’\,e^{t} \sin t + t^{5/2}\,\left(e^{t} \right)’\, \sin t + t^{5/2}e^{t} \,(\sin t)’ \\[8px] &= \left(\dfrac{5}{2}t^{3/2}\right)e^t \sin t + t^{5/2}(e^t)\sin t + t^{5/2}e^t( \cos t) \\[8px] &= t^{3/2}e^t \left( \dfrac{5}{2} \sin t + t \sin t + t \cos t\right) \quad \implies \; \text{(B)} \; \cmark \end{align*}
[hide solution]
Practice Problem #7
If $p(x) = (x^2 + 2)( 2x^3 + 3)( x - 1),$ then $p'(x)=$ \begin{array}{lllll} \text{(A) }12x^5-10x^4+16x^3-3x^2-6x+6 && \text{(B) }4x^5+8x^4+12x^3-x^2-2x+4 && \\[8px] \text{(C) }5x^5+12x^4-2x^3+8x^2+4x+1 && \text{(D) }15x^5-5x^4+2x^3-3x^2+7x+2 && \\[8px] \text{(E) }x^5-8x^4+12x^3+4x^2+7x+2 \end{array}
Show/Hide Solution
We have $p(x) = \left(x^2 + 2\right)\left( 2x^3 + 3\right)( x – 1),$ and so need the Product Rule generalized to three functions multiplied together: \begin{align*} (fgh)’ &= f’gh + fg’h + fgh’ \\[8px] \end{align*} We have $f = (x^2 + 2)$, $g = (2x^3 + 3)$, and $h = (x-1).$
Then $f’ = 2x$, $g’= 6x^2$, and $h’ = 1$. \begin{align*} p'(x) &= (2x)(2x^3 +3)(x-1) + (x^2 + 2)(6x^2)(x-1) + (x^2 +2)(2x^3 +3)(1) \\[8px] &= (2x^3 + 3)(2x^2 – 2x) + (x^2 + 2)(6x^3 – 6x^2) + (x^2 + 2)(2x^3 +3) \\[8px] &= [6x^5 -4x^4 + 6x^2 -6x] + [6x^5 – 6x^4 + 12x^3 – 12x^2] + [2x^5 + 3x^2 + 4x^3 +6] \\[8px] &= 12x^5 -10x^4 +16x^3 -3x^2 -6x+6 \implies \; \text{ (A) } \; \cmark \end{align*} Instead of initially identifying $f,$ $g,$ and $k$ and finding the derivative of each, we could simply start the solution here: \begin{align*} p'(x) &= \left(x^2 + 2\right)’\,\left( 2x^3 + 3\right)( x – 1) + \left(x^2 + 2\right)\,\left( 2x^3 + 3\right)’\,( x – 1) + \left(x^2 + 2\right)\left( 2x^3 + 3\right)\,( x – 1)’ \\[8px] &= (2x)(2x^3 +3)(x-1) + (x^2 + 2)(6x^2)(x-1) + (x^2 +2)(2x^3 +3)(1) \\[8px] &= (2x^3 + 3)(2x^2 – 2x) + (x^2 + 2)(6x^3 – 6x^2) + (x^2 + 2)(2x^3 +3) \\[8px] &= [6x^5 -4x^4 + 6x^2 -6x] + [6x^5 – 6x^4 + 12x^3 – 12x^2] + [2x^5 + 3x^2 + 4x^3 +6] \\[8px] &= 12x^5 -10x^4 +16x^3 -3x^2 -6x+6 \quad \implies \; \text{ (A) } \; \cmark \end{align*}
[hide solution]
Practice Problem #8
Graphs of f and g. Both are piecewise graphs comprised of line segments.  For f: The first line segment starts at (-4, 18) and continues to (2, 0). The next segment starts at (2, 0) and continues to (10, 4). The final segment starts at (10, 4) and continues to (18, -12.)  For g: The first line segment starts at (-8, -13) and continues to (15, 10). It is then horizontal with y-value equal to 10 to the end.If $h(x) = f(x)g(x)$ where $f$ and $g$ are shown in the figure, find $h'(0)$. \begin{array}{lllll} \text{(A) }3 && \text{(B) }21 && \text{(C) }7 && \text{(D) }9 && \text{(E) }36 \end{array}
Show/Hide Solution
Using the Product Rule: \begin{align*} h'(x) = [f(x)\,g(x)]’ &= f'(x)\,g(x) + f(x)\,g'(x) \\[8px] h'(0) = \left[f(x)\,g(x) \right]’_{x=0} &= f'(0)\,g(0) + f(0)\,g'(0) \end{align*} We thus need the values of $f(0),$ $g(0),$ $f'(0),$ and $g'(0),$ all of which we can find from the graph.
The values of $f$ and $g$ we can simply read off the graph at $x=0$: \[ f(0) = 6 \qquad \text{and} \qquad g(0)= -5 \] To find $f'(0)$ and $g'(0),$ we need the slopes of the respective line segments at $x = 0.$
 

Just the line segment of f that contains x=0. The points (0, 6) and (2, 0) are marked.

To determine $f'(0),$ we find the slope of the line segment for $f$ that contains $x=0$. To find that slope, we can use the two convenient points shown on the graph $(2,0)$, and $(0,6).$ (You can use whatever two points on that line segment you choose; you should find the same slope value.) Using our two points, we find: \begin{align*} f'(0) &= \dfrac{6-0}{0-2} \\[8px] &= -3 \\[8px] \end{align*} Just the line segment of g that contains x=0. The points (0, -5) and (5, 0) are marked.Similarly for the slope at $g$ at $x=0$, which equals $g'(0),$ we can use the convenient points $(0,-5)$ and $(5,0)$ as shown. (Again, you can choose any two points on the line segment and obtain the same result.)
Then the slope of $g$ at $x=0$ is: \begin{align*} g'(0) &= \dfrac{0+5}{5-0} \\[8px] &= 1 \\[8px] \end{align*} So we have $f(0) = 6,$ $f'(0) = -3,$ $g(0) = -5,$ and $g'(0) = 1.$ Inserting these values into the product rule: \begin{align*} h'(0) = \left[f(x)\,g(x) \right]’_{x=0}&= f'(0)\,g(0) + f(0)\,g'(0) \\[8px] &= (-3)(-5)+(6)(1) \\[8px] &= 21 \quad \implies \; \text{ (B) } \; \cmark \end{align*}
[hide solution]
Practice Problem #9
Graphs of f and g. Both consist of segments of lines. For f: The first segment starts at (-5, 1) and ends at (0,0). The next segment starts at (0, 0) and continues to (5, 1). For g: The first segment starts at (-9, -7) and ends at (-4, -2.) The next segment is horizontal starting at (-4, -2) and ending at (4, -2). The next segment starts at (4, -2) and continues to (7, 10). If $h(x) = f(x)\,g(x)$, and $f$ and $g$ are shown in the figure, find $h'(-2)$. \begin{array}{lllll} \text{(A) }4 && \text{(B) }9 && \text{(C) }32 && \text{(D) }7 && \text{(E) }35 \end{array}
Show/Hide Solution
Using the Product Rule: \begin{align*} h'(x) = [f(x)\,g(x)]’ &= f'(x)\,g(x) + f(x)\,g'(x) \\[8px] h'(-2)= \left[f(x)\,g(x) \right]’_{x=-2} &= f'(-2)\,g(-2) + f(-2)\,g'(-2) \\[8px] \end{align*} Taking the values of $f$ and $g$ at $x=-2$ from the graph, \[ f(-2) = 4 \qquad \text{and} \qquad g(-2) = -2 \] To find the slope of $f$ at $x = -2$ we can use the points $(-5,10)$ and $(0,0)$: \begin{align*} f'(-2) &= \dfrac{0-10}{0-(-5)} \\[8px] &= -2 \\[8px] \end{align*} Since $g(x)$ is horizontal at $x=-2$, $ g'(0) = 0$.
Inserting the values $f(-2) = 4,$ $g(-2) = -2,$ $f'(-2) = -2,$ and $g'(-2) = 0$ into the Product Rule yields: \begin{align*} h'(-2)= \left[f(x)\,g(x) \right]’_{x=-2} &= f'(-2)\,g(-2) + f(-2)\,g'(-2) \\[8px] &= (-2)(-2) + (4)(0) \\[8px] &= 4 \quad \implies \; \text{ (A) } \; \cmark \end{align*}
[hide solution]
Practice Problem #10
If $f(x) = \sin x \cos x$, find the equation of the tangent line to the curve $y=f(x)$ at $x= \dfrac{ \pi }{2}$. \begin{array}{lllll} \text{(A) }y=\dfrac{ \pi }{2}x && \text{(B) }y=\dfrac{ \pi }{2}+ x && \text{(C) }y=\dfrac{ \pi }{2}-x && \text{(D) }y=-x && \text{(E) }y= \dfrac{ \pi }{2} - x \end{array}
Show/Hide Solution
There are two steps to solving this problem:
1. Find the slope of the tangent line $m_{ \text{tangent} } = f'(x)$ at the point of interest $x_0=\dfrac{ \pi }{2}$.
2. Find the y-value of the point of interest, $y_{0} = f\left(\dfrac{ \pi }{2}\right)$. Then write down the equation in Point Slope form $y-y_{0} = m_{ \text{tangent} }(x-x_{0})$.
Step 1: Find the slope of the tangent line $m_{ \text{tangent} } = f'(x)$ at the point $x_0=\dfrac{ \pi }{2}$:
First we use the Product Rule to find the derivative of the function: \begin{align*} f'(x) &= \left ( \sin x \right )’ \left ( \cos x \right ) + \left ( \sin x \right ) \left ( \cos x \right )’ \\[8px] &= ( \cos x )( \cos x ) + ( \sin x )( – \sin x) \\[8px] &= \cos^2 x\, -\, \sin^2 x \\[8px] \end{align*} Evaluating at the point $x_0= \dfrac{ \pi }{2}$: \begin{align*} m_{ \text{tangent} } &= \cos^2 \left ( \dfrac{ \pi }{2} \right ) \,-\, \sin^2 \left ( \dfrac{ \pi }{2} \right ) \\[8px] &= 0 -1 = -1 \\[8px] \end{align*} Step 2: Find the y-value of the point of interest, $y_{0} = f\left(\dfrac{ \pi }{2}\right)$.
\begin{align*} y_{0} &= \sin \left ( \dfrac{ \pi }{2} \right ) \cos \left ( \dfrac{ \pi }{2} \right ) \\[8px] &= 0 \\[8px] \end{align*} Hence the line passes through (is tangent to) the point $\left(x_0, y_0 \right) = \left(\dfrac{ \pi }{2}, 0\right)$ and has slope $m_{ \text{tangent} } = f’\left( \dfrac{ \pi }{2}\right) = -1.$
Then in Point-Slope form, $y – y_{0} = m_{ \text{tangent} }(x-x_{0}),$ the tangent line’s equation is \begin{align*} y \,-\, 0 &= (-1) \left ( x\,- \,\dfrac{ \pi }{2} \right ) \\[8px] y &= \dfrac{ \pi }{2}\, -\, x \quad \implies \; \text{ (E) } \; \cmark \end{align*}
[hide solution]

The Upshot

  1. The Product Rule for finding the derivative of the product of two functions is
    In prime notation:
    \begin{align*}
    [f(x) \, g(x)]’ &= f'(x)\,g(x) + f(x) \,g'(x) \\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*}
    And in Leibnitz notation:
    \begin{align*}
    \dfrac{d}{dx}(fg)&= \left(\dfrac{d}{dx}f \right)g + f\left(\dfrac{d}{dx}g \right)\\[8px] &= [{\small \text{ (derivative of the first) } \times \text{ (the second) }}]\, + \,[{\small \text{ (the first) } \times \text{ (derivative of the second)}}] \end{align*}


On the next screen, we’ll develop the Quotient Rule, so we can easily find the derivative of the quotient of two functions.

For now, what do you think about the Product Rule? Weird? Difficult to use? Easy? Please post on the Forum and let the Community know your thoughts . . . and also ask any questions that you have, or help answer someone else’s!



Buy us a coffee We're working to add more,
and would appreciate your help
to keep going! 😊

We'd appreciate your feedback! 😊
How helpful?

What are your thoughts or questions?

Subscribe
I'd like to be
0 Comments
newest
oldest most voted
Inline Feedbacks
View all comments