MATH 315 FALL 1998 TEST 2 SOLUTION KEY



1.
(15 pts.) Consider the differential equation y'' +2y' + y = 0.
(a)
Find the general solution for the equation.
Answer:
Characteristic polynomial is r2+2r+1 = (r+1)2, with roots -1, -1.
The general solution is therefore

c1e-t+c2te-t.

(b)
Determine the Wronskian for fundamental solution set.
Answer:

\begin{displaymath}W =
\left\vert
\begin{array}{cc}e^{-t}&te^{-t}\\ -e^{-t}&-te^{-t}+e^{-t}\end{array}\right\vert = e^{-2t}
.\end{displaymath}

2.
(15 pts.) Find the general solution for the differential equation

y''' + 2y'' - y' - 2y = 0.

Answer:
Characteristic polynomial is r3+2r2-r-2 = (r-1)(r+1)(r+2), with roots 1, -1, -2.
The general solution is therefore

c1et+c2e-t+c3e-2t.

3.
(15 pts.) Find the general solution for the differential equation

y'''' + 3y'' - 4y = 4e-t,

assuming that the general solution to the homogeneous equation is given by

\begin{displaymath}y_c(t) = c_1e^t+c_2e^{-t}+c_3\cos(2t)+c_4\sin(2t).\end{displaymath}

Answer:
A particular solution should have the form Y(t) = Ate-t.

\begin{eqnarray*}Y(t) & = &\ Ate^{-t}\\
Y'(t) & = &-Ate^{-t}+ \ Ae^{-t}\\
Y'...
...5.\\
\mbox{Therefore\ } y(t) & = & y_c(t) - \frac{2}{5}te^{-t}.
\end{eqnarray*}


4.
(20 pts.) Solve the differential equation

y'' + 2y' + 2y = e-t,

with y(0) = 1, y'(0) = 1.
Answer:
Characteristic polynomial is r2+2r+2, with roots $-1\pm i$, so $y_c(t)=e^{-t}(c_1\cos(t)+c_2\sin(t))$. A particular solution should have the form Y(t) = Ae-t.

\begin{eqnarray*}Y(t) & = &\ Ae^{-t}\\
Y'(t) & = &-Ae^{-t}\\
Y''(t) & = &\ A...
...plies\ } A = 1.\\
\mbox{Therefore\ } y(t) & = & y_c(t) + e^{-t}
\end{eqnarray*}



\begin{eqnarray*}y(0) &=& c_1 + 1 = 1, \mbox{\ so\ } c_1 = 0;\\
y'(0) &=& -c_1 ...
...2 = 2;\\
\mbox{Therefore\ } y(t) & = & 2e^{-t}\sin(t) + e^{-t}.
\end{eqnarray*}


5.
(15 pts.) Suppose the general solution to an nth order homogeneous equation L[y]=0 is

\begin{displaymath}y_c(t) = c_1e^t+c_2t\sin(3t)+c_3t\cos(3t)+c_4\cos(3t)+c_5\sin(3t)
+c_6e^t\cos(t)+c_7e^t\sin(t).\end{displaymath}

Determine the general form that would be used with the method of undetermined coefficients for the solution to the nonhomogeneous equation

\begin{displaymath}L[y] = 7te^t - \cos(3t) + 14e^t\sin(t).\end{displaymath}

Answer:

\begin{eqnarray*}g_1(t) = 7te^t, &\mbox{\ so\ }& Y_1(t) = t(A+Bt)e^t;\\
g_2(t) ...
...
\mbox{Therefore\ } y(t) & = & y_c(t) + Y_1(t)+Y_2(t)+Y_3(t).\\
\end{eqnarray*}


6.
(20 pts.) Use the variation of parameters method to solve the differential equation

y''+3y'+2y = 4et.

Answer:
Characteristic polynomial is r2+3r+2 = (r+1)(r+2), with roots -1, -2; yc(t) = c1e-t+c2e-2t.

\begin{displaymath}W = \left\vert\begin{array}{cc}e^{-t}&e^{-2t}\\ -e^{-t}&-2e^{-2t}\end{array}\right\vert
= -e^{-3t}.
\end{displaymath}

Let Y(t) = u1(t)e-t + u2(t)e-2t; then

\begin{displaymath}u'_1(t) = \left\vert\begin{array}{cc}0&e^{-2t}\\ 4e^{t}&-2e^{...
...-4e^{-t}/(-e^{-3t}) = 4e^{2t}, \mbox{\ so\ } u_1(t) = 2e^{2t};
\end{displaymath}


\begin{displaymath}u'_2(t) = \left\vert\begin{array}{cc}e^{-t}&0\\ -e^{-t}&4e^{t...
...= 4/(-e^{-3t}) = -4e^{3t}, \mbox{\ so\ } u_2(t) = -4e^{3t}/3 .
\end{displaymath}

Therefore

y(t) = yc(t) + 2e2te-t - 4e3te-2t/3 = yc(t) + 2et/3.



Alan C Genz
1999-09-14