Internal problem ID [1759]
Internal file name [OUTPUT/1760_Sunday_June_05_2022_02_30_04_AM_18185723/index.tex
]
Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 2.4, The method of variation of parameters. Page 154
Problem number: 6.
ODE order: 2.
ODE degree: 1.
The type(s) of ODE detected by this program : "kovacic", "second_order_linear_constant_coeff", "linear_second_order_ode_solved_by_an_integrating_factor"
Maple gives the following as the ode type
[[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {y^{\prime \prime }+4 y^{\prime }+4 y=t^{\frac {5}{2}} {\mathrm e}^{-2 t}} \] With initial conditions \begin {align*} [y \left (0\right ) = 0, y^{\prime }\left (0\right ) = 0] \end {align*}
This is a linear ODE. In canonical form it is written as \begin {align*} y^{\prime \prime } + p(t)y^{\prime } + q(t) y &= F \end {align*}
Where here \begin {align*} p(t) &=4\\ q(t) &=4\\ F &=t^{\frac {5}{2}} {\mathrm e}^{-2 t} \end {align*}
Hence the ode is \begin {align*} y^{\prime \prime }+4 y^{\prime }+4 y = t^{\frac {5}{2}} {\mathrm e}^{-2 t} \end {align*}
The domain of \(p(t)=4\) is \[
\{-\infty
This is second order non-homogeneous ODE. In standard form the ODE is \[ A y''(t) + B y'(t) + C y(t) = f(t) \] Where \(A=1, B=4, C=4, f(t)=t^{\frac {5}{2}} {\mathrm e}^{-2 t}\).
Let the solution be \[ y = y_h + y_p \] Where \(y_h\) is the solution to the homogeneous ODE \( A y''(t) + B y'(t) + C y(t) = 0\), and \(y_p\) is a
particular solution to the non-homogeneous ODE \(A y''(t) + B y'(t) + C y(t) = f(t)\). \(y_h\) is the solution to \[ y^{\prime \prime }+4 y^{\prime }+4 y = 0 \] This is second
order with constant coefficients homogeneous ODE. In standard form the ODE is \[ A y''(t) + B y'(t) + C y(t) = 0 \]
Where in the above \(A=1, B=4, C=4\). Let the solution be \(y=e^{\lambda t}\). Substituting this into the ODE gives \[ \lambda ^{2} {\mathrm e}^{\lambda t}+4 \lambda \,{\mathrm e}^{\lambda t}+4 \,{\mathrm e}^{\lambda t} = 0 \tag {1} \]
Since exponential function is never zero, then dividing Eq(2) throughout by \(e^{\lambda t}\) gives \[ \lambda ^{2}+4 \lambda +4 = 0 \tag {2} \]
Equation (2) is the characteristic equation of the ODE. Its roots determine the
general solution form.Using the quadratic formula \[ \lambda _{1,2} = \frac {-B}{2 A} \pm \frac {1}{2 A} \sqrt {B^2 - 4 A C} \] Substituting \(A=1, B=4, C=4\) into the above gives
\begin {align*} \lambda _{1,2} &= \frac {-4}{(2) \left (1\right )} \pm \frac {1}{(2) \left (1\right )} \sqrt {\left (4\right )^2 - (4) \left (1\right )\left (4\right )}\\ &= -2 \end {align*}
Hence this is the case of a double root \(\lambda _{1,2} = 2\). Therefore the solution is \[ y= c_{1} {\mathrm e}^{-2 t} + c_{2} t \,{\mathrm e}^{-2 t} \tag {1} \] Therefore the
homogeneous solution \(y_h\) is \[
y_h = c_{1} {\mathrm e}^{-2 t}+c_{2} t \,{\mathrm e}^{-2 t}
\] The particular solution \(y_p\) can be found using either the method of
undetermined coefficients, or the method of variation of parameters. The method of
variation of parameters will be used as it is more general and can be used when the
coefficients of the ODE depend on \(t\) as well. Let \begin{equation}
\tag{1} y_p(t) = u_1 y_1 + u_2 y_2
\end{equation} Where \(u_1,u_2\) to be determined, and \(y_1,y_2\) are the
two basis solutions (the two linearly independent solutions of the homogeneous
ODE) found earlier when solving the homogeneous ODE as \begin{align*}
y_1 &= {\mathrm e}^{-2 t} \\
y_2 &= t \,{\mathrm e}^{-2 t} \\
\end{align*} In the Variation of
parameters \(u_1,u_2\) are found using \begin{align*}
\tag{2} u_1 &= -\int \frac {y_2 f(t)}{a W(t)} \\
\tag{3} u_2 &= \int \frac {y_1 f(t)}{a W(t)} \\
\end{align*} Where \(W(t)\) is the Wronskian and \(a\) is the coefficient in
front of \(y''\) in the given ODE. The Wronskian is given by \(W= \begin {vmatrix} y_1 & y_{2} \\ y_{1}^{\prime } & y_{2}^{\prime } \end {vmatrix} \). Hence \[ W = \begin {vmatrix} {\mathrm e}^{-2 t} & t \,{\mathrm e}^{-2 t} \\ \frac {d}{dt}\left ({\mathrm e}^{-2 t}\right ) & \frac {d}{dt}\left (t \,{\mathrm e}^{-2 t}\right ) \end {vmatrix} \] Which gives \[ W = \begin {vmatrix} {\mathrm e}^{-2 t} & t \,{\mathrm e}^{-2 t} \\ -2 \,{\mathrm e}^{-2 t} & {\mathrm e}^{-2 t}-2 t \,{\mathrm e}^{-2 t} \end {vmatrix} \]
Therefore \[
W = \left ({\mathrm e}^{-2 t}\right )\left ({\mathrm e}^{-2 t}-2 t \,{\mathrm e}^{-2 t}\right ) - \left (t \,{\mathrm e}^{-2 t}\right )\left (-2 \,{\mathrm e}^{-2 t}\right )
\] Which simplifies to \[
W = {\mathrm e}^{-4 t}
\] Which simplifies to \[
W = {\mathrm e}^{-4 t}
\] Therefore Eq. (2) becomes \[
u_1 = -\int \frac {t^{\frac {7}{2}} {\mathrm e}^{-4 t}}{{\mathrm e}^{-4 t}}\,dt
\]
Which simplifies to \[
u_1 = - \int t^{\frac {7}{2}}d t
\] Hence \[
u_1 = -\frac {2 t^{\frac {9}{2}}}{9}
\] And Eq. (3) becomes \[
u_2 = \int \frac {{\mathrm e}^{-4 t} t^{\frac {5}{2}}}{{\mathrm e}^{-4 t}}\,dt
\] Which simplifies to \[
u_2 = \int t^{\frac {5}{2}}d t
\] Hence \[
u_2 = \frac {2 t^{\frac {7}{2}}}{7}
\]
Therefore the particular solution, from equation (1) is \[
y_p(t) = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Therefore the general solution
is \begin{align*}
y &= y_h + y_p \\
&= \left (c_{1} {\mathrm e}^{-2 t}+c_{2} t \,{\mathrm e}^{-2 t}\right ) + \left (\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}\right ) \\
\end{align*} Which simplifies to \[
y = {\mathrm e}^{-2 t} \left (c_{2} t +c_{1} \right )+\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Initial conditions are used to solve for the constants of
integration.
Looking at the above solution \begin {align*} y = {\mathrm e}^{-2 t} \left (c_{2} t +c_{1} \right )+\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \tag {1} \end {align*}
Initial conditions are now substituted in the above solution. This will generate the required
equations to solve for the integration constants. substituting \(y = 0\) and \(t = 0\) in the above gives
\begin {align*} 0 = c_{1}\tag {1A} \end {align*}
Taking derivative of the solution gives \begin {align*} y^{\prime } = -2 \,{\mathrm e}^{-2 t} \left (c_{2} t +c_{1} \right )+c_{2} {\mathrm e}^{-2 t}+\frac {2 t^{\frac {7}{2}} {\mathrm e}^{-2 t}}{7}-\frac {8 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \end {align*}
substituting \(y^{\prime } = 0\) and \(t = 0\) in the above gives \begin {align*} 0 = -2 c_{1} +c_{2}\tag {2A} \end {align*}
Equations {1A,2A} are now solved for \(\{c_{1}, c_{2}\}\). Solving for the constants gives \begin {align*} c_{1}&=0\\ c_{2}&=0 \end {align*}
Substituting these values back in above solution results in \begin {align*} y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \end {align*}
Summary
The solution(s) found are the following \begin{align*}
\tag{1} y &= \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\
\end{align*} Verification of solutions
\[
y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Verified OK. The ode satisfies this form \[ y^{\prime \prime }+p \left (t \right ) y^{\prime }+\frac {\left (p \left (t \right )^{2}+p^{\prime }\left (t \right )\right ) y}{2} = f \left (t \right ) \] Where \( p(t) = 4\). Therefore, there is an integrating factor given by
\begin {align*} M(x) &= e^{\frac {1}{2} \int p \, dx} \\ &= e^{ \int 4 \, dx} \\ &= {\mathrm e}^{2 t} \end {align*}
Multiplying both sides of the ODE by the integrating factor \(M(x)\) makes the left side of
the ODE a complete differential \begin{align*}
\left ( M(x) y \right )'' &= {\mathrm e}^{2 t} t^{\frac {5}{2}} {\mathrm e}^{-2 t} \\
\left ( y \,{\mathrm e}^{2 t} \right )'' &= {\mathrm e}^{2 t} t^{\frac {5}{2}} {\mathrm e}^{-2 t} \\
\end{align*} Integrating once gives \[ \left ( y \,{\mathrm e}^{2 t} \right )' = \frac {2 t^{\frac {7}{2}}}{7}+c_{1} \] Integrating again gives \[ \left ( y \,{\mathrm e}^{2 t} \right ) = c_{1} t +\frac {4 t^{\frac {9}{2}}}{63}+c_{2} \]
Hence the solution is \begin{align*}
y &= \frac {c_{1} t +\frac {4 t^{\frac {9}{2}}}{63}+c_{2}}{{\mathrm e}^{2 t}} \\
\end{align*} Or \[
y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}+c_{1} t \,{\mathrm e}^{-2 t}+c_{2} {\mathrm e}^{-2 t}
\] Initial conditions are used to solve for the constants of
integration.
Looking at the above solution \begin {align*} y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}+c_{1} t \,{\mathrm e}^{-2 t}+c_{2} {\mathrm e}^{-2 t} \tag {1} \end {align*}
Initial conditions are now substituted in the above solution. This will generate the required
equations to solve for the integration constants. substituting \(y = 0\) and \(t = 0\) in the above gives
\begin {align*} 0 = c_{2}\tag {1A} \end {align*}
Taking derivative of the solution gives \begin {align*} y^{\prime } = \frac {2 t^{\frac {7}{2}} {\mathrm e}^{-2 t}}{7}-\frac {8 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}+c_{1} {\mathrm e}^{-2 t}-2 c_{1} t \,{\mathrm e}^{-2 t}-2 c_{2} {\mathrm e}^{-2 t} \end {align*}
substituting \(y^{\prime } = 0\) and \(t = 0\) in the above gives \begin {align*} 0 = c_{1} -2 c_{2}\tag {2A} \end {align*}
Equations {1A,2A} are now solved for \(\{c_{1}, c_{2}\}\). Solving for the constants gives \begin {align*} c_{1}&=0\\ c_{2}&=0 \end {align*}
Substituting these values back in above solution results in \begin {align*} y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \end {align*}
Summary
The solution(s) found are the following \begin{align*}
\tag{1} y &= \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\
\end{align*} Verification of solutions
\[
y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Verified OK. Writing the ode as \begin {align*} y^{\prime \prime }+4 y^{\prime }+4 y &= 0 \tag {1} \\ A y^{\prime \prime } + B y^{\prime } + C y &= 0 \tag {2} \end {align*}
Comparing (1) and (2) shows that \begin {align*} A &= 1 \\ B &= 4\tag {3} \\ C &= 4 \end {align*}
Applying the Liouville transformation on the dependent variable gives \begin {align*} z(t) &= y e^{\int \frac {B}{2 A} \,dt} \end {align*}
Then (2) becomes \begin {align*} z''(t) = r z(t)\tag {4} \end {align*}
Where \(r\) is given by \begin {align*} r &= \frac {s}{t}\tag {5} \\ &= \frac {2 A B' - 2 B A' + B^2 - 4 A C}{4 A^2} \end {align*}
Substituting the values of \(A,B,C\) from (3) in the above and simplifying gives \begin {align*} r &= \frac {0}{1}\tag {6} \end {align*}
Comparing the above to (5) shows that \begin {align*} s &= 0\\ t &= 1 \end {align*}
Therefore eq. (4) becomes \begin {align*} z''(t) &= 0 \tag {7} \end {align*}
Equation (7) is now solved. After finding \(z(t)\) then \(y\) is found using the inverse transformation
\begin {align*} y &= z \left (t \right ) e^{-\int \frac {B}{2 A} \,dt} \end {align*}
The first step is to determine the case of Kovacic algorithm this ode belongs to. There are 3
cases depending on the order of poles of \(r\) and the order of \(r\) at \(\infty \). The following table
summarizes these cases. Case Allowed pole order for \(r\) Allowed value for \(\mathcal {O}(\infty )\) 1 \(\left \{ 0,1,2,4,6,8,\cdots \right \} \) \(\left \{ \cdots ,-6,-4,-2,0,2,3,4,5,6,\cdots \right \} \) 2
Need to have at least one pole
that is either order \(2\) or odd order
greater than \(2\). Any other pole order
is allowed as long as the above
condition is satisfied. Hence the
following set of pole orders are all
allowed. \(\{1,2\}\),\(\{1,3\}\),\(\{2\}\),\(\{3\}\),\(\{3,4\}\),\(\{1,2,5\}\). no condition 3 \(\left \{ 1,2\right \} \) \(\left \{ 2,3,4,5,6,7,\cdots \right \} \) The order of \(r\) at \(\infty \) is the degree of \(t\) minus the degree of \(s\). Therefore \begin {align*} O\left (\infty \right ) &= \text {deg}(t) - \text {deg}(s) \\ &= 0 - -\infty \\ &= \infty \end {align*}
There are no poles in \(r\). Therefore the set of poles \(\Gamma \) is empty. Since there is no odd order pole
larger than \(2\) and the order at \(\infty \) is \(infinity\) then the necessary conditions for case one are met.
Therefore \begin {align*} L &= [1] \end {align*}
Since \(r = 0\) is not a function of \(t\), then there is no need run Kovacic algorithm to obtain a solution
for transformed ode \(z''=r z\) as one solution is \[ z_1(t) = 1 \] Using the above, the solution for the original ode can
now be found. The first solution to the original ode in \(y\) is found from \begin{align*}
y_1 &= z_1 e^{ \int -\frac {1}{2} \frac {B}{A} \,dt} \\
&= z_1 e^{ -\int \frac {1}{2} \frac {4}{1} \,dt} \\
&= z_1 e^{-2 t} \\
&= z_1 \left ({\mathrm e}^{-2 t}\right ) \\
\end{align*} Which simplifies to \[
y_1 = {\mathrm e}^{-2 t}
\]
The second solution \(y_2\) to the original ode is found using reduction of order \[ y_2 = y_1 \int \frac { e^{\int -\frac {B}{A} \,dt}}{y_1^2} \,dt \] Substituting gives \begin{align*}
y_2 &= y_1 \int \frac { e^{\int -\frac {4}{1} \,dt}}{\left (y_1\right )^2} \,dt \\
&= y_1 \int \frac { e^{-4 t}}{\left (y_1\right )^2} \,dt \\
&= y_1 \left (t\right ) \\
\end{align*}
Therefore the solution is
\begin{align*}
y &= c_{1} y_1 + c_{2} y_2 \\
&= c_{1} \left ({\mathrm e}^{-2 t}\right ) + c_{2} \left ({\mathrm e}^{-2 t}\left (t\right )\right ) \\
\end{align*} This is second order nonhomogeneous ODE. Let the solution be \[
y = y_h + y_p
\] Where \(y_h\) is the solution to
the homogeneous ODE \( A y''(t) + B y'(t) + C y(t) = 0\), and \(y_p\) is a particular solution to the nonhomogeneous ODE \(A y''(t) + B y'(t) + C y(t) = f(t)\). \(y_h\) is
the solution to \[
y^{\prime \prime }+4 y^{\prime }+4 y = 0
\] The homogeneous solution is found using the Kovacic algorithm
which results in \[
y_h = c_{1} {\mathrm e}^{-2 t}+c_{2} t \,{\mathrm e}^{-2 t}
\] The particular solution \(y_p\) can be found using either the method of
undetermined coefficients, or the method of variation of parameters. The method of
variation of parameters will be used as it is more general and can be used when the
coefficients of the ODE depend on \(t\) as well. Let \begin{equation}
\tag{1} y_p(t) = u_1 y_1 + u_2 y_2
\end{equation} Where \(u_1,u_2\) to be determined, and \(y_1,y_2\) are the
two basis solutions (the two linearly independent solutions of the homogeneous
ODE) found earlier when solving the homogeneous ODE as \begin{align*}
y_1 &= {\mathrm e}^{-2 t} \\
y_2 &= t \,{\mathrm e}^{-2 t} \\
\end{align*} In the Variation of
parameters \(u_1,u_2\) are found using \begin{align*}
\tag{2} u_1 &= -\int \frac {y_2 f(t)}{a W(t)} \\
\tag{3} u_2 &= \int \frac {y_1 f(t)}{a W(t)} \\
\end{align*} Where \(W(t)\) is the Wronskian and \(a\) is the coefficient in
front of \(y''\) in the given ODE. The Wronskian is given by \(W= \begin {vmatrix} y_1 & y_{2} \\ y_{1}^{\prime } & y_{2}^{\prime } \end {vmatrix} \). Hence \[ W = \begin {vmatrix} {\mathrm e}^{-2 t} & t \,{\mathrm e}^{-2 t} \\ \frac {d}{dt}\left ({\mathrm e}^{-2 t}\right ) & \frac {d}{dt}\left (t \,{\mathrm e}^{-2 t}\right ) \end {vmatrix} \] Which gives \[ W = \begin {vmatrix} {\mathrm e}^{-2 t} & t \,{\mathrm e}^{-2 t} \\ -2 \,{\mathrm e}^{-2 t} & {\mathrm e}^{-2 t}-2 t \,{\mathrm e}^{-2 t} \end {vmatrix} \]
Therefore \[
W = \left ({\mathrm e}^{-2 t}\right )\left ({\mathrm e}^{-2 t}-2 t \,{\mathrm e}^{-2 t}\right ) - \left (t \,{\mathrm e}^{-2 t}\right )\left (-2 \,{\mathrm e}^{-2 t}\right )
\] Which simplifies to \[
W = {\mathrm e}^{-4 t}
\] Which simplifies to \[
W = {\mathrm e}^{-4 t}
\] Therefore Eq. (2) becomes \[
u_1 = -\int \frac {t^{\frac {7}{2}} {\mathrm e}^{-4 t}}{{\mathrm e}^{-4 t}}\,dt
\]
Which simplifies to \[
u_1 = - \int t^{\frac {7}{2}}d t
\] Hence \[
u_1 = -\frac {2 t^{\frac {9}{2}}}{9}
\] And Eq. (3) becomes \[
u_2 = \int \frac {{\mathrm e}^{-4 t} t^{\frac {5}{2}}}{{\mathrm e}^{-4 t}}\,dt
\] Which simplifies to \[
u_2 = \int t^{\frac {5}{2}}d t
\] Hence \[
u_2 = \frac {2 t^{\frac {7}{2}}}{7}
\]
Therefore the particular solution, from equation (1) is \[
y_p(t) = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Therefore the general solution
is \begin{align*}
y &= y_h + y_p \\
&= \left (c_{1} {\mathrm e}^{-2 t}+c_{2} t \,{\mathrm e}^{-2 t}\right ) + \left (\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}\right ) \\
\end{align*} Which simplifies to \[
y = {\mathrm e}^{-2 t} \left (c_{2} t +c_{1} \right )+\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Initial conditions are used to solve for the constants of
integration.
Looking at the above solution \begin {align*} y = {\mathrm e}^{-2 t} \left (c_{2} t +c_{1} \right )+\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \tag {1} \end {align*}
Initial conditions are now substituted in the above solution. This will generate the required
equations to solve for the integration constants. substituting \(y = 0\) and \(t = 0\) in the above gives
\begin {align*} 0 = c_{1}\tag {1A} \end {align*}
Taking derivative of the solution gives \begin {align*} y^{\prime } = -2 \,{\mathrm e}^{-2 t} \left (c_{2} t +c_{1} \right )+c_{2} {\mathrm e}^{-2 t}+\frac {2 t^{\frac {7}{2}} {\mathrm e}^{-2 t}}{7}-\frac {8 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \end {align*}
substituting \(y^{\prime } = 0\) and \(t = 0\) in the above gives \begin {align*} 0 = -2 c_{1} +c_{2}\tag {2A} \end {align*}
Equations {1A,2A} are now solved for \(\{c_{1}, c_{2}\}\). Solving for the constants gives \begin {align*} c_{1}&=0\\ c_{2}&=0 \end {align*}
Substituting these values back in above solution results in \begin {align*} y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \end {align*}
Summary
The solution(s) found are the following \begin{align*}
\tag{1} y &= \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\
\end{align*} Verification of solutions
\[
y = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\] Verified OK. \[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \left [y^{\prime \prime }+4 y^{\prime }+4 y=t^{\frac {5}{2}} {\mathrm e}^{-2 t}, y \left (0\right )=0, y^{\prime }{\raise{-0.36em}{\Big |}}{\mstack {}{_{\left \{t \hiderel {=}0\right \}}}}=0\right ] \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & y^{\prime \prime } \\ \bullet & {} & \textrm {Characteristic polynomial of homogeneous ODE}\hspace {3pt} \\ {} & {} & r^{2}+4 r +4=0 \\ \bullet & {} & \textrm {Factor the characteristic polynomial}\hspace {3pt} \\ {} & {} & \left (r +2\right )^{2}=0 \\ \bullet & {} & \textrm {Root of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =-2 \\ \bullet & {} & \textrm {1st solution of the homogeneous ODE}\hspace {3pt} \\ {} & {} & y_{1}\left (t \right )={\mathrm e}^{-2 t} \\ \bullet & {} & \textrm {Repeated root, multiply}\hspace {3pt} y_{1}\left (t \right )\hspace {3pt}\textrm {by}\hspace {3pt} t \hspace {3pt}\textrm {to ensure linear independence}\hspace {3pt} \\ {} & {} & y_{2}\left (t \right )=t \,{\mathrm e}^{-2 t} \\ \bullet & {} & \textrm {General solution of the ODE}\hspace {3pt} \\ {} & {} & y=c_{1} y_{1}\left (t \right )+c_{2} y_{2}\left (t \right )+y_{p}\left (t \right ) \\ \bullet & {} & \textrm {Substitute in solutions of the homogeneous ODE}\hspace {3pt} \\ {} & {} & y=c_{1} {\mathrm e}^{-2 t}+c_{2} t \,{\mathrm e}^{-2 t}+y_{p}\left (t \right ) \\ \square & {} & \textrm {Find a particular solution}\hspace {3pt} y_{p}\left (t \right )\hspace {3pt}\textrm {of the ODE}\hspace {3pt} \\ {} & \circ & \textrm {Use variation of parameters to find}\hspace {3pt} y_{p}\hspace {3pt}\textrm {here}\hspace {3pt} f \left (t \right )\hspace {3pt}\textrm {is the forcing function}\hspace {3pt} \\ {} & {} & \left [y_{p}\left (t \right )=-y_{1}\left (t \right ) \left (\int \frac {y_{2}\left (t \right ) f \left (t \right )}{W \left (y_{1}\left (t \right ), y_{2}\left (t \right )\right )}d t \right )+y_{2}\left (t \right ) \left (\int \frac {y_{1}\left (t \right ) f \left (t \right )}{W \left (y_{1}\left (t \right ), y_{2}\left (t \right )\right )}d t \right ), f \left (t \right )=t^{\frac {5}{2}} {\mathrm e}^{-2 t}\right ] \\ {} & \circ & \textrm {Wronskian of solutions of the homogeneous equation}\hspace {3pt} \\ {} & {} & W \left (y_{1}\left (t \right ), y_{2}\left (t \right )\right )=\left [\begin {array}{cc} {\mathrm e}^{-2 t} & t \,{\mathrm e}^{-2 t} \\ -2 \,{\mathrm e}^{-2 t} & {\mathrm e}^{-2 t}-2 t \,{\mathrm e}^{-2 t} \end {array}\right ] \\ {} & \circ & \textrm {Compute Wronskian}\hspace {3pt} \\ {} & {} & W \left (y_{1}\left (t \right ), y_{2}\left (t \right )\right )={\mathrm e}^{-4 t} \\ {} & \circ & \textrm {Substitute functions into equation for}\hspace {3pt} y_{p}\left (t \right ) \\ {} & {} & y_{p}\left (t \right )={\mathrm e}^{-2 t} \left (-\left (\int t^{\frac {7}{2}}d t \right )+\left (\int t^{\frac {5}{2}}d t \right ) t \right ) \\ {} & \circ & \textrm {Compute integrals}\hspace {3pt} \\ {} & {} & y_{p}\left (t \right )=\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\ \bullet & {} & \textrm {Substitute particular solution into general solution to ODE}\hspace {3pt} \\ {} & {} & y=c_{1} {\mathrm e}^{-2 t}+c_{2} t \,{\mathrm e}^{-2 t}+\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\ \square & {} & \textrm {Check validity of solution}\hspace {3pt} y=c_{1} {\mathrm e}^{-2 t}+c_{2} t {\mathrm e}^{-2 t}+\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\ {} & \circ & \textrm {Use initial condition}\hspace {3pt} y \left (0\right )=0 \\ {} & {} & 0=c_{1} \\ {} & \circ & \textrm {Compute derivative of the solution}\hspace {3pt} \\ {} & {} & y^{\prime }=-2 c_{1} {\mathrm e}^{-2 t}+c_{2} {\mathrm e}^{-2 t}-2 c_{2} t \,{\mathrm e}^{-2 t}+\frac {2 t^{\frac {7}{2}} {\mathrm e}^{-2 t}}{7}-\frac {8 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\ {} & \circ & \textrm {Use the initial condition}\hspace {3pt} y^{\prime }{\raise{-0.36em}{\Big |}}{\mstack {}{_{\left \{t \hiderel {=}0\right \}}}}=0 \\ {} & {} & 0=-2 c_{1} +c_{2} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} c_{1} \hspace {3pt}\textrm {and}\hspace {3pt} c_{2} \\ {} & {} & \left \{c_{1} =0, c_{2} =0\right \} \\ {} & \circ & \textrm {Substitute constant values into general solution and simplify}\hspace {3pt} \\ {} & {} & y=\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \\ \bullet & {} & \textrm {Solution to the IVP}\hspace {3pt} \\ {} & {} & y=\frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63} \end {array} \]
Maple trace
✓ Solution by Maple
Time used: 0.031 (sec). Leaf size: 13
\[
y \left (t \right ) = \frac {4 t^{\frac {9}{2}} {\mathrm e}^{-2 t}}{63}
\]
✓ Solution by Mathematica
Time used: 0.033 (sec). Leaf size: 19
\[
y(t)\to \frac {4}{63} e^{-2 t} t^{9/2}
\]
10.6.2 Solving as second order linear constant coeff ode
10.6.3 Solving as linear second order ode solved by an integrating factor ode
10.6.4 Solving using Kovacic algorithm
10.6.5 Maple step by step solution
`Methods for second order ODEs:
--- Trying classification methods ---
trying a quadrature
trying high order exact linear fully integrable
trying differential order: 2; linear nonhomogeneous with symmetry [0,1]
trying a double symmetry of the form [xi=0, eta=F(x)]
-> Try solving first the homogeneous part of the ODE
checking if the LODE has constant coefficients
<- constant coefficients successful
<- solving first the homogeneous part of the ODE successful`
dsolve([diff(y(t),t$2)+4*diff(y(t),t)+4*y(t)=t^(5/2)*exp(-2*t),y(0) = 0, D(y)(0) = 0],y(t), singsol=all)
DSolve[{y''[t]+4*y'[t]+4*y[t]==t^(5/2)*Exp[-2*t],{y[0]==0,y'[0]==0}},y[t],t,IncludeSingularSolutions -> True]