1.84 problem 129

1.84.1 Solving as second order linear constant coeff ode
1.84.2 Solving as second order ode can be made integrable ode
1.84.3 Solving using Kovacic algorithm
1.84.4 Maple step by step solution

Internal problem ID [12500]
Internal file name [OUTPUT/11153_Monday_October_16_2023_09_54_07_PM_79758852/index.tex]

Book: DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section: Chapter 8. Differential equations. Exercises page 595
Problem number: 129.
ODE order: 2.
ODE degree: 1.

The type(s) of ODE detected by this program : "kovacic", "second_order_linear_constant_coeff", "second_order_ode_can_be_made_integrable"

Maple gives the following as the ode type

[[_2nd_order, _missing_x]]

\[ \boxed {y^{\prime \prime }-9 y=0} \]

1.84.1 Solving as second order linear constant coeff ode

This is second order with constant coefficients homogeneous ODE. In standard form the ODE is \[ A y''(x) + B y'(x) + C y(x) = 0 \] Where in the above \(A=1, B=0, C=-9\). Let the solution be \(y=e^{\lambda x}\). Substituting this into the ODE gives \[ \lambda ^{2} {\mathrm e}^{\lambda x}-9 \,{\mathrm e}^{\lambda x} = 0 \tag {1} \] Since exponential function is never zero, then dividing Eq(2) throughout by \(e^{\lambda x}\) gives \[ \lambda ^{2}-9 = 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=0, C=-9\) into the above gives \begin {align*} \lambda _{1,2} &= \frac {0}{(2) \left (1\right )} \pm \frac {1}{(2) \left (1\right )} \sqrt {0^2 - (4) \left (1\right )\left (-9\right )}\\ &= \pm 3 \end {align*}

Hence \begin{align*} \lambda _1 &= + 3 \\ \lambda _2 &= - 3 \\ \end{align*} Which simplifies to \begin{align*} \lambda _1 &= 3 \\ \lambda _2 &= -3 \\ \end{align*} Since roots are real and distinct, then the solution is \begin{align*} y &= c_{1} e^{\lambda _1 x} + c_{2} e^{\lambda _2 x} \\ y &= c_{1} e^{\left (3\right )x} +c_{2} e^{\left (-3\right )x} \\ \end{align*} Or \[ y =c_{1} {\mathrm e}^{3 x}+c_{2} {\mathrm e}^{-3 x} \]

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{3 x}+c_{2} {\mathrm e}^{-3 x} \\ \end{align*}

Figure 142: Slope field plot

Verification of solutions

\[ y = c_{1} {\mathrm e}^{3 x}+c_{2} {\mathrm e}^{-3 x} \] Verified OK.

1.84.2 Solving as second order ode can be made integrable ode

Multiplying the ode by \(y^{\prime }\) gives \[ y^{\prime \prime } y^{\prime }-9 y^{\prime } y = 0 \] Integrating the above w.r.t \(x\) gives \begin {align*} \int \left (y^{\prime \prime } y^{\prime }-9 y^{\prime } y\right )d x &= 0 \\ \frac {{y^{\prime }}^{2}}{2}-\frac {9 y^{2}}{2} = c_2 \end {align*}

Which is now solved for \(y\). Solving the given ode for \(y^{\prime }\) results in \(2\) differential equations to solve. Each one of these will generate a solution. The equations generated are \begin {align*} y^{\prime }&=\sqrt {9 y^{2}+2 c_{1}} \tag {1} \\ y^{\prime }&=-\sqrt {9 y^{2}+2 c_{1}} \tag {2} \end {align*}

Now each one of the above ODE is solved.

Solving equation (1)

Integrating both sides gives \begin{align*} \int \frac {1}{\sqrt {9 y^{2}+2 c_{1}}}d y &= \int d x \\ \frac {\ln \left (y \sqrt {9}+\sqrt {9 y^{2}+2 c_{1}}\right ) \sqrt {9}}{9}&=x +c_{2} \\ \end{align*} Solving equation (2)

Integrating both sides gives \begin{align*} \int -\frac {1}{\sqrt {9 y^{2}+2 c_{1}}}d y &= \int d x \\ -\frac {\ln \left (y \sqrt {9}+\sqrt {9 y^{2}+2 c_{1}}\right ) \sqrt {9}}{9}&=x +c_{3} \\ \end{align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} \frac {\ln \left (y \sqrt {9}+\sqrt {9 y^{2}+2 c_{1}}\right ) \sqrt {9}}{9} &= x +c_{2} \\ \tag{2} -\frac {\ln \left (y \sqrt {9}+\sqrt {9 y^{2}+2 c_{1}}\right ) \sqrt {9}}{9} &= x +c_{3} \\ \end{align*}

Figure 143: Slope field plot

Verification of solutions

\[ \frac {\ln \left (y \sqrt {9}+\sqrt {9 y^{2}+2 c_{1}}\right ) \sqrt {9}}{9} = x +c_{2} \] Verified OK.

\[ -\frac {\ln \left (y \sqrt {9}+\sqrt {9 y^{2}+2 c_{1}}\right ) \sqrt {9}}{9} = x +c_{3} \] Verified OK.

1.84.3 Solving using Kovacic algorithm

Writing the ode as \begin {align*} y^{\prime \prime }-9 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 &= 0\tag {3} \\ C &= -9 \end {align*}

Applying the Liouville transformation on the dependent variable gives \begin {align*} z(x) &= y e^{\int \frac {B}{2 A} \,dx} \end {align*}

Then (2) becomes \begin {align*} z''(x) = r z(x)\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 {9}{1}\tag {6} \end {align*}

Comparing the above to (5) shows that \begin {align*} s &= 9\\ t &= 1 \end {align*}

Therefore eq. (4) becomes \begin {align*} z''(x) &= 9 z \left (x \right ) \tag {7} \end {align*}

Equation (7) is now solved. After finding \(z(x)\) then \(y\) is found using the inverse transformation \begin {align*} y &= z \left (x \right ) e^{-\int \frac {B}{2 A} \,dx} \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 \} \)

Table 78: Necessary conditions for each Kovacic case

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 = 9\) is not a function of \(x\), then there is no need run Kovacic algorithm to obtain a solution for transformed ode \(z''=r z\) as one solution is \[ z_1(x) = {\mathrm e}^{-3 x} \] 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 \[ y_1 = z_1 e^{ \int -\frac {1}{2} \frac {B}{A} \,dx} \]

Since \(B=0\) then the above reduces to \begin{align*} y_1 &= z_1 \\ &= {\mathrm e}^{-3 x} \\ \end{align*} Which simplifies to \[ y_1 = {\mathrm e}^{-3 x} \] 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} \,dx}}{y_1^2} \,dx \] Since \(B=0\) then the above becomes \begin{align*} y_2 &= y_1 \int \frac {1}{y_1^2} \,dx \\ &= {\mathrm e}^{-3 x}\int \frac {1}{{\mathrm e}^{-6 x}} \,dx \\ &= {\mathrm e}^{-3 x}\left (\frac {{\mathrm e}^{6 x}}{6}\right ) \\ \end{align*} Therefore the solution is

\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left ({\mathrm e}^{-3 x}\right ) + c_{2} \left ({\mathrm e}^{-3 x}\left (\frac {{\mathrm e}^{6 x}}{6}\right )\right ) \\ \end{align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{-3 x}+\frac {c_{2} {\mathrm e}^{3 x}}{6} \\ \end{align*}

Figure 144: Slope field plot

Verification of solutions

\[ y = c_{1} {\mathrm e}^{-3 x}+\frac {c_{2} {\mathrm e}^{3 x}}{6} \] Verified OK.

1.84.4 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y^{\prime }-9 y=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & \frac {d}{d x}y^{\prime } \\ \bullet & {} & \textrm {Characteristic polynomial of ODE}\hspace {3pt} \\ {} & {} & r^{2}-9=0 \\ \bullet & {} & \textrm {Factor the characteristic polynomial}\hspace {3pt} \\ {} & {} & \left (r -3\right ) \left (r +3\right )=0 \\ \bullet & {} & \textrm {Roots of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =\left (-3, 3\right ) \\ \bullet & {} & \textrm {1st solution of the ODE}\hspace {3pt} \\ {} & {} & y_{1}\left (x \right )={\mathrm e}^{-3 x} \\ \bullet & {} & \textrm {2nd solution of the ODE}\hspace {3pt} \\ {} & {} & y_{2}\left (x \right )={\mathrm e}^{3 x} \\ \bullet & {} & \textrm {General solution of the ODE}\hspace {3pt} \\ {} & {} & y=c_{1} y_{1}\left (x \right )+c_{2} y_{2}\left (x \right ) \\ \bullet & {} & \textrm {Substitute in solutions}\hspace {3pt} \\ {} & {} & y=c_{1} {\mathrm e}^{-3 x}+c_{2} {\mathrm e}^{3 x} \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.0 (sec). Leaf size: 17

dsolve(diff(y(x),x$2)=9*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} {\mathrm e}^{3 x}+{\mathrm e}^{-3 x} c_{2} \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 22

DSolve[y''[x]==9*y[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{-3 x} \left (c_1 e^{6 x}+c_2\right ) \]