To solve the initial value problem we first solve the differential equation, and this was done in
ExampleΒ 7.3.1 And the general solution is
\begin{equation}
y = c_1 e^{-2x} + c_2 e^{-x}\tag{7.3.2}
\end{equation}
Since the initial conditions include knowing the derivative, we will need
\begin{equation}
y' = -2c_1 e^{-2x} -c_2 e^{-x}\tag{7.3.3}
\end{equation}
and then we will substitute
\(y(0)=3\) into
(7.3.2) and
\(y'(0)=-4\) into
(7.3.3)
\begin{align*}
3 \amp = c_1 + c_2 \\
-4 \amp = -2c_1 -c_2
\end{align*}
and the solution to this is
\(c_1=1\) and
\(c_2=2\text{.}\) Therefore the solution to the initial value problem is
\begin{equation*}
y = e^{-2x} + 2e^{-x}
\end{equation*}