Consider the integral,
\begin{equation*}
\int e^{3x} \,dx
\end{equation*}
Solution.
We know that the integral of \(e^x\) is \(e^x + C\text{,}\) so we might guess that the integral of \(e^{3x}\) is \(e^{3x} + C\text{.}\) However, this is almost correct but not quite. Indeed, checking the antiderivative,
\begin{equation*}
\frac{d}{dx} (e^{3x}) = 3e^{3x} \qquad \text{which is not } e^{3x}
\end{equation*}
There is an extra factor of 3. When differentiating \(e^{3x}\text{,}\) we know that we’d basically differentiate as normal, and then multiply by the derivative of \(3x\) which is 3 (by the chain rule), and so the derivative is \(3e^{3x}\text{.}\) Antiderivatives are like the reverse of derivatives, so instead, we need to divide by 3,
\begin{equation*}
\int e^{3x} \,dx = \frac{1}{3} e^{3x} + C
\end{equation*}
Checking the antiderivative, indeed,
\begin{align*}
\frac{d}{dx} \brac{\frac{1}{3} e^{3x}} \amp = \frac{1}{3} \cdot 3e^{3x}\\
\amp = e^{3x}
\end{align*}
which is the original function.
