Solve the initial value problem y"+3y'=0; y(0)=3, y'(0)=6.
The characteristic equation is
k2+3k=0k(k+3)=0⟹k1=0,k2=−3.
We have two real distinct roots, then the general solution is
y(t)=C1e0t+C2e−3t=C1+C2e−3t.
Note that y′(t)=−3C2e−3t.
Applying the initial conditions gives the following system of equations for the coefficients C1,C2 :
3=y(0)=C1+C2,(1)6=y′(0)=−3C2⟹C2=−2.
From (1): C1=3−C2=3−(−2)=5.
We get the solution y(t)=5−2e−3t.
Comments