Internal problem ID [14056]
Internal file name [OUTPUT/13737_Friday_March_01_2024_09_08_56_AM_62551555/index.tex
]
Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton.
Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number: 20.
ODE order: 2.
ODE degree: 1.
The type(s) of ODE detected by this program : "kovacic", "second_order_linear_constant_coeff"
Maple gives the following as the ode type
[[_2nd_order, _missing_x]]
\[ \boxed {y^{\prime \prime }-y^{\prime }-12 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=-1, C=-12\). Let the solution be \(y=e^{\lambda t}\). Substituting this into the ODE gives \[ \lambda ^{2} {\mathrm e}^{\lambda t}-\lambda \,{\mathrm e}^{\lambda t}-12 \,{\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}-\lambda -12 = 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=-1, C=-12\) into the above gives \begin {align*} \lambda _{1,2} &= \frac {1}{(2) \left (1\right )} \pm \frac {1}{(2) \left (1\right )} \sqrt {-1^2 - (4) \left (1\right )\left (-12\right )}\\ &= {\frac {1}{2}} \pm {\frac {7}{2}} \end {align*}
Hence \begin{align*} \lambda _1 &= {\frac {1}{2}} + {\frac {7}{2}} \\ \lambda _2 &= {\frac {1}{2}} - {\frac {7}{2}} \\ \end{align*} Which simplifies to \begin{align*} \lambda _1 &= 4 \\ \lambda _2 &= -3 \\ \end{align*} Since roots are real and distinct, then the solution is \begin{align*} y &= c_{1} e^{\lambda _1 t} + c_{2} e^{\lambda _2 t} \\ y &= c_{1} e^{\left (4\right )t} +c_{2} e^{\left (-3\right )t} \\ \end{align*} Or \[ y =c_{1} {\mathrm e}^{4 t}+c_{2} {\mathrm e}^{-3 t} \]
The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{4 t}+c_{2} {\mathrm e}^{-3 t} \\ \end{align*}
Verification of solutions
\[ y = c_{1} {\mathrm e}^{4 t}+c_{2} {\mathrm e}^{-3 t} \] Verified OK.
Writing the ode as \begin {align*} y^{\prime \prime }-y^{\prime }-12 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 &= -1\tag {3} \\ C &= -12 \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 {49}{4}\tag {6} \end {align*}
Comparing the above to (5) shows that \begin {align*} s &= 49\\ t &= 4 \end {align*}
Therefore eq. (4) becomes \begin {align*} z''(t) &= \frac {49 z \left (t \right )}{4} \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 - 0 \\ &= 0 \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 \(0\) then the necessary conditions for case one are met. Therefore \begin {align*} L &= [1] \end {align*}
Since \(r = {\frac {49}{4}}\) 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) = {\mathrm e}^{-\frac {7 t}{2}} \] 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 {-1}{1} \,dt} \\ &= z_1 e^{\frac {t}{2}} \\ &= z_1 \left ({\mathrm e}^{\frac {t}{2}}\right ) \\ \end{align*} Which simplifies to \[ y_1 = {\mathrm e}^{-3 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 {-1}{1} \,dt}}{\left (y_1\right )^2} \,dt \\ &= y_1 \int \frac { e^{t}}{\left (y_1\right )^2} \,dt \\ &= y_1 \left (\frac {{\mathrm e}^{7 t}}{7}\right ) \\ \end{align*} Therefore the solution is
\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left ({\mathrm e}^{-3 t}\right ) + c_{2} \left ({\mathrm e}^{-3 t}\left (\frac {{\mathrm e}^{7 t}}{7}\right )\right ) \\ \end{align*}
The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{-3 t}+\frac {c_{2} {\mathrm e}^{4 t}}{7} \\ \end{align*}
Verification of solutions
\[ y = c_{1} {\mathrm e}^{-3 t}+\frac {c_{2} {\mathrm e}^{4 t}}{7} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime \prime }-y^{\prime }-12 y=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & y^{\prime \prime } \\ \bullet & {} & \textrm {Characteristic polynomial of ODE}\hspace {3pt} \\ {} & {} & r^{2}-r -12=0 \\ \bullet & {} & \textrm {Factor the characteristic polynomial}\hspace {3pt} \\ {} & {} & \left (r +3\right ) \left (r -4\right )=0 \\ \bullet & {} & \textrm {Roots of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =\left (-3, 4\right ) \\ \bullet & {} & \textrm {1st solution of the ODE}\hspace {3pt} \\ {} & {} & y_{1}\left (t \right )={\mathrm e}^{-3 t} \\ \bullet & {} & \textrm {2nd solution of the ODE}\hspace {3pt} \\ {} & {} & y_{2}\left (t \right )={\mathrm e}^{4 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 ) \\ \bullet & {} & \textrm {Substitute in solutions}\hspace {3pt} \\ {} & {} & y=c_{1} {\mathrm e}^{-3 t}+c_{2} {\mathrm e}^{4 t} \end {array} \]
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature checking if the LODE has constant coefficients <- constant coefficients successful`
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 17
dsolve(diff(y(t),t$2)-diff(y(t),t)-12*y(t)=0,y(t), singsol=all)
\[ y \left (t \right ) = \left ({\mathrm e}^{7 t} c_{2} +c_{1} \right ) {\mathrm e}^{-3 t} \]
✓ Solution by Mathematica
Time used: 0.014 (sec). Leaf size: 22
DSolve[y''[t]-y'[t]-12*y[t]==0,y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to e^{-3 t} \left (c_2 e^{7 t}+c_1\right ) \]