\begin{equation*}
1. \quad \left[x^6 e^{3x}\right]' \hspace{5em} 2. \quad \frac{d}{dx}\left[e^{x^3} y\right]
\end{equation*}
Section 6.1 Product Rule, A Review
Since the integrating factor method relies heavily on the product rule, letβs make sure we remember how it works.
Subsection The Product Rule
In calculus, the product rule tells us how to take the derivative of two multiplied functions. If \(f(x)\) and \(g(x)\) are differentiable, then
\begin{equation*}
\frac{d}{dx} \left[ f(x) \cdot g(x) \right] = f(x) \cdot g'(x) + f'(x) \cdot g(x)\text{.}
\end{equation*}
To refresh your memory of how it works, try the following practice problems.
Checkpoint 62. πβ Remembering the Product Rule.
Subsection The Product Rule in Reverse
Now that weβve recalled how the product rule works, letβs try running it in reverse.
Suppose youβre given the expression:
\begin{equation}
\frac{1}{x} \sin x + \cos x \ln x\text{.}\tag{0}
\end{equation}
Can this be written as the derivative of a product? That is, can you find functions \(f(x)\) and \(g(x)\) so that
\begin{equation*}
\frac{d}{dx} \left[ f(x) g(x) \right] = \frac{1}{x} \sin x + \cos x \ln x?
\end{equation*}
Hereβs a tip: the product rule always combines four pieces, two functions and their derivatives. If you can spot \(f\) and \(g\) in the terms, the rest should fall into place. In this case, trying \(f(x) = \sin x\) and \(g(x) = \ln x\) works out perfectly.
Letβs get some practice with this reverse thinking.
π Example 63.
Rewrite each expression as a derivative of a product:
\begin{equation*}
1. \quad e^{x}\cos x + e^{x}\sin x \hspace{5em} 2. \quad \frac{e^{x^2}}{x} + 2 x \ln x e^{x^2}
\end{equation*}
Solution.
Solution 1.
\begin{equation*}
e^x\
\underset{\Large f}{ \underset{\uparrow}{\ul{\vphantom{|}\cos x}}}
+
\underset{\Large g}{ \underset{\uparrow}{\ul{\vphantom{|}e^x}}}\
\sin x\text{.}
\end{equation*}
For this to work, \(f'\) should be \(\sin x\text{,}\) next to our chosen \(g\text{.}\) However,
\begin{equation*}
f' = [\cos x]' = -\sin x \ne \sin x \quad β
\end{equation*}
So this labeling doesnβt work and we instead try the labels
\begin{equation*}
\underset{\Large f}{ \underset{\uparrow}{\ul{\vphantom{|}e^x}}}\
\cos x
+
e^x\
\underset{\Large g}{ \underset{\uparrow}{\ul{\vphantom{|}\sin x}}}\text{.}
\end{equation*}
Noting that \(f' = [e^x]' = e^x\) is next to \(g\) and \(g' = [\sin x]' = \cos x\) is next to \(f\) confirms this is a valid product rule. Therefore, we can reverse the product rule as
\begin{equation*}
e^x \cos x + e^x \sin x = [e^x \sin x]'\text{.}
\end{equation*}
Solution 2.
To make this easier, letβs separate the terms as
\begin{equation*}
\frac{1}{x} e^{x^2} + \ln x (2 x e^{x^2})\text{.}
\end{equation*}
\begin{equation*}
\frac{1}{x}\
\underset{\Large f}{ \underset{\uparrow}{\ul{\vphantom{|}e^{x^2}}}}
+
\underset{\Large g}{ \underset{\uparrow}{\ul{\vphantom{|}\ln x}}}\
2 x e^{x^2}\text{,}
\end{equation*}
\begin{equation*}
f' = \left[e^{x^2}\right]' = 2 x e^{x^2} \quad β
\qquad g' = \left[\ln x\right]' = \frac{1}{x} \quad β
\text{.}
\end{equation*}
Therefore,
\begin{equation*}
\frac{e^{x^2}}{x} + 2 x \ln x e^{x^2} = \left[e^{x^2} \ln x\right]'\text{.}
\end{equation*}
Letβs now try expressions involving a variable function, like \(y(x)\text{.}\) These are the ones weβll actually encounter when solving differential equations.
π Example 64.
Rewrite each expression in the form \([f(x) y(x)]'\text{.}\)
\begin{equation*}
1. \quad e^{9x}\frac{dy}{dx} + 9y e^{9x} \hspace{5em} 2. \quad e^{1/x}y' - \frac{e^{1/x}}{x^2}y
\end{equation*}
Solution.
Solution 1.
Since \(dy/dx\) and \(y\) are in separate terms, setting \(g\) to \(y\) gives you \(g'\) and \(f\) for free since
\begin{equation*}
\underset{\Large f}{ \underset{\uparrow}{\ul{e^{9x}}}}\
\underset{\Large g'}{ \underset{\uparrow}{\ul{\vphantom{|}\frac{dy}{dx}}}}
+
\underset{\Large g}{ \underset{\uparrow}{\ul{\vphantom{|}y}}}\
(9 e^{9x})\text{.}
\end{equation*}
The only thing you need to check is
\begin{equation*}
f' = [e^{9x}]' = 9e^{9x} \quad β
\end{equation*}
which is sitting right next to \(g\text{.}\) Therefore, we have
\begin{equation*}
e^{9x}\frac{dy}{dx} + 9 e^{9x} y = \left[e^{9x} y\right]'\text{.}
\end{equation*}
Solution 2.
\begin{equation*}
\underset{\Large f}{ \underset{\uparrow}{\ul{e^{1/x}}}}\
\underset{\Large g'}{ \underset{\uparrow}{\ul{\vphantom{|}y'}}}
+
\left(-\frac{e^{1/x}}{x^2}\right)\
\underset{\Large g}{ \underset{\uparrow}{\ul{\vphantom{|}y}}}\text{.}
\end{equation*}
The only thing left to do is verify the derivative of \(f\text{:}\)
\begin{equation*}
f' = \left[e^{1/x}\right]' = e^{1/x}\left[\frac{1}{x}\right]^\prime = e^{1/x}\left(-\frac{1}{x^2}\right) = -\frac{e^{1/x}}{x^2} \quad β
\text{.}
\end{equation*}
So, we can reverse the product rule as
\begin{equation*}
e^{1/x}y' - \frac{e^{1/x}}{x^2}y = \left[e^{1/x} y\right]'\text{.}
\end{equation*}
Checkpoint 65. πβ Whatβs Missing in the Product Rule.
Fill in the missing parts of each product rule below.
\(\ds\frac{d}{dx}\big[e^{3x} \) \(\big] = \) \(\ds\frac{1}{x} \cdot e^{3x} + \) \(e^{3x} \cdot \ln x \)
While reversing the product rule isnβt a standard technique, practicing it a few times helps build the intuition youβll need when working with integrating factors.
