Example 9.6.
Solution.
Even if you’ve not studied differential equations, you should recognize that this question is really just asking us to find a function \(f\) such that \(f(0)=2\) and its derivative is three times itself. Let’s ignore the initial condition \(f(0)=2\) for the moment and focus on the meat of the problem. What function, when you take its derivative, changes only by being multiplied by \(3\text{?}\) You should quickly think of the function \(e^{3x}\text{,}\) since \(D(e^{3x}) = 3e^{3x}\text{,}\) which has exactly the property we desire. Of course, for any constant \(c\text{,}\) the function \(ce^{3x}\) also satisfies this property, and this gives us the hook we need in order to satisfy our initial condition. We have \(f(x) = ce^{3x}\) and want to find \(c\) such that \(f(0)=2\text{.}\) Now \(f(0) = c\cdot 1\text{,}\) so \(c=2\) does the trick and the solution to this very simple differential equation is \(f(x) = 2e^{3x}\text{.}\)

