Internal problem ID [8322]
Internal file name [OUTPUT/7255_Sunday_June_05_2022_05_39_39_PM_24727576/index.tex
]
Book: Collection of Kovacic problems
Section: section 2. Solution found using all possible Kovacic cases
Problem number: 6.
ODE order: 2.
ODE degree: 1.
The type(s) of ODE detected by this program : "kovacic", "second_order_euler_ode"
Maple gives the following as the ode type
[[_Emden, _Fowler]]
\[ \boxed {y^{\prime \prime }+\frac {y}{x^{2}}=0} \] The ode can be written as \[ x^{2} y^{\prime \prime }+y = 0 \] Which shows it is a Euler ODE. Writing the ode as \begin {align*} x^{2} y^{\prime \prime }+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 &= x^{2} \\ B &= 0\tag {3} \\ C &= 1 \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 {-1}{x^{2}}\tag {6} \end {align*}
Comparing the above to (5) shows that \begin {align*} s &= -1\\ t &= x^{2} \end {align*}
Therefore eq. (4) becomes \begin {align*} z''(x) &= \left ( -\frac {1}{x^{2}}\right ) z(x)\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 \} \) |
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) \\ &= 2 - 0 \\ &= 2 \end {align*}
The poles of \(r\) in eq. (7) and the order of each pole are determined by solving for the roots of \(t=x^{2}\). There is a pole at \(x=0\) of order \(2\). Since there is no odd order pole larger than \(2\) and the order at \(\infty \) is \(2\) then the necessary conditions for case one are met. Since there is a pole of order \(2\) then necessary conditions for case two are met. Since pole order is not larger than \(2\) and the order at \(\infty \) is \(2\) then the necessary conditions for case three are met. Therefore \begin {align*} L &= [1, 2, 4, 6, 12] \end {align*}
Attempting to find a solution using case \(n=1\).
Looking at poles of order 2. The partial fractions decomposition of \(r\) is \[ r = -\frac {1}{x^{2}} \] For the pole at \(x=0\) let \(b\) be the coefficient of \(\frac {1}{ x^{2}}\) in the partial fractions decomposition of \(r\) given above. Therefore \(b=-1\). Hence \begin {alignat*} {2} [\sqrt r]_c &= 0 \\ \alpha _c^{+} &= \frac {1}{2} + \sqrt {1+4 b} &&= \frac {1}{2}+\frac {i \sqrt {3}}{2}\\ \alpha _c^{-} &= \frac {1}{2} - \sqrt {1+4 b} &&= \frac {1}{2}-\frac {i \sqrt {3}}{2} \end {alignat*}
Since the order of \(r\) at \(\infty \) is 2 then \([\sqrt r]_\infty =0\). Let \(b\) be the coefficient of \(\frac {1}{x^{2}}\) in the Laurent series expansion of \(r\) at \(\infty \). which can be found by dividing the leading coefficient of \(s\) by the leading coefficient of \(t\) from \begin {alignat*} {2} r &= \frac {s}{t} &&= -\frac {1}{x^{2}} \end {alignat*}
Since the \(\text {gcd}(s,t)=1\). This gives \(b=-1\). Hence \begin {alignat*} {2} [\sqrt r]_\infty &= 0 \\ \alpha _{\infty }^{+} &= \frac {1}{2} + \sqrt {1+4 b} &&= \frac {1}{2}+\frac {i \sqrt {3}}{2}\\ \alpha _{\infty }^{-} &= \frac {1}{2} - \sqrt {1+4 b} &&= \frac {1}{2}-\frac {i \sqrt {3}}{2} \end {alignat*}
The following table summarizes the findings so far for poles and for the order of \(r\) at \(\infty \) where \(r\) is \[ r=-\frac {1}{x^{2}} \]
pole \(c\) location | pole order | \([\sqrt r]_c\) | \(\alpha _c^{+}\) | \(\alpha _c^{-}\) |
\(0\) | \(2\) | \(0\) | \(\frac {1}{2}+\frac {i \sqrt {3}}{2}\) | \(\frac {1}{2}-\frac {i \sqrt {3}}{2}\) |
Order of \(r\) at \(\infty \) | \([\sqrt r]_\infty \) | \(\alpha _\infty ^{+}\) | \(\alpha _\infty ^{-}\) |
\(2\) | \(0\) | \(\frac {1}{2}+\frac {i \sqrt {3}}{2}\) | \(\frac {1}{2}-\frac {i \sqrt {3}}{2}\) |
Now that the all \([\sqrt r]_c\) and its associated \(\alpha _c^{\pm }\) have been determined for all the poles in the set \(\Gamma \) and \([\sqrt r]_\infty \) and its associated \(\alpha _\infty ^{\pm }\) have also been found, the next step is to determine possible non negative integer \(d\) from these using \begin {align*} d &= \alpha _\infty ^{s(\infty )} - \sum _{c \in \Gamma } \alpha _c^{s(c)} \end {align*}
Where \(s(c)\) is either \(+\) or \(-\) and \(s(\infty )\) is the sign of \(\alpha _\infty ^{\pm }\). This is done by trial over all set of families \(s=(s(c))_{c \in \Gamma \cup {\infty }}\) until such \(d\) is found to work in finding candidate \(\omega \). Trying \(\alpha _\infty ^{-} = \frac {1}{2}-\frac {i \sqrt {3}}{2}\) then \begin {align*} d &= \alpha _\infty ^{-} - \left ( \alpha _{c_1}^{-} \right ) \\ &= \frac {1}{2}-\frac {i \sqrt {3}}{2} - \left ( \frac {1}{2}-\frac {i \sqrt {3}}{2} \right ) \\ &= 0 \end {align*}
Since \(d\) an integer and \(d \geq 0\) then it can be used to find \(\omega \) using \begin {align*} \omega &= \sum _{c \in \Gamma } \left ( s(c) [\sqrt r]_c + \frac {\alpha _c^{s(c)}}{x-c} \right ) + s(\infty ) [\sqrt r]_\infty \end {align*}
The above gives \begin {align*} \omega &= \left ( (-)[\sqrt r]_{c_1} + \frac { \alpha _{c_1}^{-} }{x- c_1}\right ) + (-) [\sqrt r]_\infty \\ &= \frac {\frac {1}{2}-\frac {i \sqrt {3}}{2}}{x} + (-) \left ( 0 \right ) \\ &= \frac {\frac {1}{2}-\frac {i \sqrt {3}}{2}}{x}\\ &= \frac {1-i \sqrt {3}}{2 x} \end {align*}
Now that \(\omega \) is determined, the next step is find a corresponding minimal polynomial \(p(x)\) of degree \(d=0\) to solve the ode. The polynomial \(p(x)\) needs to satisfy the equation \begin {align*} p'' + 2 \omega p' + \left ( \omega ' +\omega ^2 -r\right ) p = 0 \tag {1A} \end {align*}
Let \begin {align*} p(x) &= 1\tag {2A} \end {align*}
Substituting the above in eq. (1A) gives \begin {align*} \left (0\right ) + 2 \left (\frac {\frac {1}{2}-\frac {i \sqrt {3}}{2}}{x}\right ) \left (0\right ) + \left ( \left (-\frac {\frac {1}{2}-\frac {i \sqrt {3}}{2}}{x^{2}}\right ) + \left (\frac {\frac {1}{2}-\frac {i \sqrt {3}}{2}}{x}\right )^2 - \left (-\frac {1}{x^{2}}\right ) \right ) &= 0\\ 0 = 0 \end {align*}
The equation is satisfied since both sides are zero. Therefore the first solution to the ode \(z'' = r z\) is \begin {align*} z_1(x) &= p e^{ \int \omega \,dx} \\ &= {\mathrm e}^{\int \frac {\frac {1}{2}-\frac {i \sqrt {3}}{2}}{x}d x}\\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \end {align*}
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 \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \\ \end{align*} Which simplifies to \[ y_1 = x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \] 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 \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\int \frac {1}{x^{1-i \sqrt {3}}} \,dx \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right ) \\ \end{align*} Therefore for kovacic case \(n=1\) the solution is
\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\right ) + c_{2} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right )\right ) \\ \end{align*} Attempting to find a solution using case \(n=2\).
Looking at poles of order 2. The partial fractions decomposition of \(r\) is \[ r = -\frac {1}{x^{2}} \] For the pole at \(x=0\) let \(b\) be the coefficient of \(\frac {1}{ x^{2}}\) in the partial fractions decomposition of \(r\) given above. Therefore \(b=-1\). Hence \begin {align*} E_c &= \{2, 2+2\sqrt {1+4 b}, 2-2\sqrt {1+4 b} \} \\ &= \left \{2, 2-2 i \sqrt {3}, 2+2 i \sqrt {3}\right \} \end {align*}
Since the order of \(r\) at \(\infty \) is 2 then let \(b\) be the coefficient of \(\frac {1}{x^{2}}\) in the Laurent series expansion of \(r\) at \(\infty \). which can be found by dividing the leading coefficient of \(s\) by the leading coefficient of \(t\) from \begin {alignat*} {2} r &= \frac {s}{t} &&= -\frac {1}{x^{2}} \end {alignat*}
Since the \(\text {gcd}(s,t)=1\). This gives \(b=-1\). Hence \begin {align*} E_\infty &= \{2, 2+2\sqrt {1+4 b}, 2-2\sqrt {1+4 b} \} \\ &= \{2\} \end {align*}
The following table summarizes the findings so far for poles and for the order of \(r\) at \(\infty \) for case 2 of Kovacic algorithm.
pole \(c\) location | pole order | \(E_c\) |
\(0\) | \(2\) | \(\left \{2, 2-2 i \sqrt {3}, 2+2 i \sqrt {3}\right \}\) |
Order of \(r\) at \(\infty \) | \(E_\infty \) |
\(2\) | \(\{2\}\) |
Using the family \(\{e_1,e_2,\dots ,e_\infty \}\) given by \[ e_1=2,\hspace {3pt} e_\infty =2 \] Gives a non negative integer \(d\) (the degree of the polynomial \(p(x)\)), which is generated using \begin {align*} d &= \frac {1}{2} \left ( e_\infty - \sum _{c \in \Gamma } e_c \right )\\ &= \frac {1}{2} \left ( 2 - \left (2\right )\right )\\ &= 0 \end {align*}
We now form the following rational function \begin {align*} \theta &= \frac {1}{2} \sum _{c \in \Gamma } \frac {e_c}{x-c} \\ &= \frac {1}{2} \left (\frac {2}{\left (x-\left (0\right )\right )}\right ) \\ &= \frac {1}{x} \end {align*}
Now we search for a monic polynomial \(p(x)\) of degree \(d=0\) such that \[ p'''+3 \theta p'' + \left (3 \theta ^2 + 3 \theta ' - 4 r\right )p' + \left (\theta '' + 3 \theta \theta ' + \theta ^3 - 4 r \theta - 2 r' \right ) p = 0 \tag {1A} \] Since \(d=0\), then letting \[ p = 1\tag {2A} \] Substituting \(p\) and \(\theta \) into Eq. (1A) gives \[ 0 = 0 \] And solving for \(p\) gives \[ p = 1 \] Now that \(p(x)\) is found let \begin {align*} \phi &= \theta + \frac {p'}{p}\\ &= \frac {1}{x} \end {align*}
Let \(\omega \) be the solution of \begin {align*} \omega ^2 - \phi \omega + \left ( \frac {1}{2} \phi ' + \frac {1}{2} \phi ^2 - r \right ) &= 0 \end {align*}
Substituting the values for \(\phi \) and \(r\) into the above equation gives \[ w^{2}-\frac {w}{x}+\frac {1}{x^{2}} = 0 \] Solving for \(\omega \) gives \begin {align*} \omega &= \frac {1+i \sqrt {3}}{2 x} \end {align*}
Therefore the first solution to the ode \(z'' = r z\) is \begin {align*} z_1(x) &= e^{ \int \omega \,dx} \\ &= {\mathrm e}^{\int \frac {1+i \sqrt {3}}{2 x}d x}\\ &= x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}} \end {align*}
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 \\ &= x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}} \\ \end{align*} Which simplifies to \[ y_1 = x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}} \] 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 \\ &= x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}}\int \frac {1}{x^{1+i \sqrt {3}}} \,dx \\ &= x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}}\left (\frac {i x^{-i \sqrt {3}} \sqrt {3}}{3}\right ) \\ \end{align*} Therefore for kovacic case \(n=2\) the solution is \begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left (x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}}\right ) + c_{2} \left (x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}}\left (\frac {i x^{-i \sqrt {3}} \sqrt {3}}{3}\right )\right ) \\ \end{align*} Attempting to find a solution using \(n=4\).
Looking at poles of order 2. The partial fractions decomposition of \(r\) is \[ r = -\frac {1}{x^{2}} \] For the pole at \(x=0\) let \(b\) be the coefficient of \(\frac {1}{ x^{2}}\) in the partial fractions decomposition of \(r\) given above. This shows that \(b=-1\). Hence \begin {align*} E_c &= \left \{ 6+\frac {12 k}{n}\sqrt {1+4 b}|k=0,\pm 1, \pm 2, \dots , \pm \frac {n}{2} \right \} \cap \mathbb {Z} \end {align*}
Where \(n\) for case \(3\) is \(4,6\) or \(12\). For the current case \(n=4\). Hence the above becomes \begin {align*} E_c &= \{6\} \end {align*}
Let \begin {align*} E_\infty &= \left \{ 6+\frac {12 k}{n}\sqrt {1+4 b}|k=0,\pm 1, \pm 2, \dots , \pm \frac {n}{2} \right \} \cap \mathbb {Z} \tag {B1} \end {align*}
Where \(b\) is the coefficient of \(\frac {1}{x^{2}}\) in the Laurent series for \(r\) at \(\infty \) given by \[ r \approx -\frac {1}{x^{2}} + \cdots \] The above shows that \[ b = -1 \] The value of \(n\) in eq. (B1) for case \(3\) is \(4,6\) or \(2\).For the current case \(n=4\). eq. (B1) simplifies to the following, after removing any duplicate and non integer entries in the set. \begin {align*} E_\infty &= \{6\} \end {align*}
The following table summarizes the results found so far for poles and for the order of \(r\) at \(\infty \) for case 3 of Kovacic algorithm using \(n=4\).
pole \(c\) location | pole order | set \(\{E_c\}\) |
\(0\) | \(2\) | \(\{6\}\) |
Order of \(r\) at \(\infty \) | set \(\{E_\infty \}\) |
\(2\) | \(\{6\}\) |
Now that \(E_c\) sets for all poles are found and \(E_\infty \) set is found, the next step is to determine a non negative integer \(d\) using the following \begin {align*} d &= \frac {n}{12} \left ( e_\infty - \sum _{c \in \Gamma } e_c \right ) \end {align*}
Where in the above \(e_c\) is a distinct element from each corresponding \(E_c\). This means all possible tuples \(\{e_{c_1},e_{c_2},\dots ,e_{c_n}\}\) are tried in the sum above, where \(e_{c_i}\) is one element of each \(E_c\) found earlier. Using the following family \(\{e_1,e_2,\dots ,e_\infty \}\) given by \[ e_1=6,\hspace {3pt} e_\infty =6 \] Gives a non negative integer \(d\) (the degree of the polynomial \(p(x)\)), which is generated using \begin {align*} d &= \frac {n}{12} \left ( e_\infty - \sum _{c \in \Gamma } e_c \right )\\ &= \frac {4}{12} \left ( 6 - \left (6\right )\right )\\ &= 0 \end {align*}
The following rational function is \begin {align*} \theta &= \frac {n}{12} \sum _{c \in \Gamma } \frac {e_c}{x-c} \\ &= \frac {4}{12} \left (\frac {6}{\left (x-\left (0\right )\right )}\right ) \\ &= \frac {2}{x} \end {align*}
And \begin {align*} S &= \prod _{c\in \Gamma } (x-c) \\ &= x \end {align*}
The polynomial \(p(x)\) is now determined. Since the degree of the polynomial is \(d=0\), then let \[ p(x) = 1 \] The following set of equations are set up in order to determine the coefficients \(a_i\) (if any) of the above polynomial \begin {align*} P_n &= - p(x) \\ &= - 1 \\ P_{i-1} &= - S p'_{i} + ((n-i)S' -S\theta ) P_i - (n-1)(i+1) S^2 r P_{i+1} \qquad i=n,n-1,\dots , 0 \tag {1A} \end {align*}
The coefficients \(a_i\) are solved for from \[ P_{-1} = 0 \tag {2A} \] By using method of undetermined coefficients. Carrying the above computation in eq. (1A) gives the following sequence of polynomials \(P_i\) (noting that \(n=4\) and \(r=-\frac {1}{x^{2}}\)). \begin{align*} P_{4} &= - p &= -1 \\ P_{3} &= 2 \\ P_{2} &= -6 \\ P_{1} &= 12 \\ P_{0} &= -24 \\ P_{-1} &= 0 \\ \end{align*} Because \(P_{-1} = 0\) then \(z=e^{\int \omega }\) is a solution. \(\omega \) is found by finding a solution to the equation generated by the following sum \begin {align*} \sum _{i=0}^{n} S^i \frac {P_i}{(n-i)!} \omega ^i &= 0 \\ \sum _{i=0}^{4} S^i \frac {P_i}{(4-i)!} \omega ^i &= 0 \end {align*}
Where the \(P_i\) are the polynomials found earlier. Computing the above sum gives \[ \tag{3A} -\left (x^{2} \omega ^{2}-x \omega +1\right )^{2}=0 \] The solution \(\omega \) of eq. 3A is found as \[ \omega =\frac {1}{2 x}\left (1-i \sqrt {3}\right ) \] This \(\omega \) is used to find a solution to \(z''=r z\). \[ z_1(x) = e^{ \int \omega \,dx}\tag {5A} \] Doing the integration gives in eq. (4A) gives \begin{align*} z_1(x) &= e^{ \int \omega \,dx} \\ &= {\mathrm e}^{\int \frac {1-i \sqrt {3}}{2 x}d x} \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \\ \end{align*} 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 \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \\ \end{align*} Which simplifies to \[ y_1 = x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \] 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 \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\int \frac {1}{x^{1-i \sqrt {3}}} \,dx \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right ) \\ \end{align*} Therefore for kovacic case \(n=4\) the solution is
\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\right ) + c_{2} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right )\right ) \\ \end{align*} Attempting to find a solution using \(n=6\).
Looking at poles of order 2. The partial fractions decomposition of \(r\) is \[ r = -\frac {1}{x^{2}} \] For the pole at \(x=0\) let \(b\) be the coefficient of \(\frac {1}{ x^{2}}\) in the partial fractions decomposition of \(r\) given above. This shows that \(b=-1\). Hence \begin {align*} E_c &= \left \{ 6+\frac {12 k}{n}\sqrt {1+4 b}|k=0,\pm 1, \pm 2, \dots , \pm \frac {n}{2} \right \} \cap \mathbb {Z} \end {align*}
Where \(n\) for case \(3\) is \(4,6\) or \(12\). For the current case \(n=6\). Hence the above becomes \begin {align*} E_c &= \{6\} \end {align*}
Let \begin {align*} E_\infty &= \left \{ 6+\frac {12 k}{n}\sqrt {1+4 b}|k=0,\pm 1, \pm 2, \dots , \pm \frac {n}{2} \right \} \cap \mathbb {Z} \tag {B1} \end {align*}
Where \(b\) is the coefficient of \(\frac {1}{x^{2}}\) in the Laurent series for \(r\) at \(\infty \) given by \[ r \approx -\frac {1}{x^{2}} + \cdots \] The above shows that \[ b = -1 \] The value of \(n\) in eq. (B1) for case \(3\) is \(4,6\) or \(2\).For the current case \(n=6\). eq. (B1) simplifies to the following, after removing any duplicate and non integer entries in the set. \begin {align*} E_\infty &= \{6\} \end {align*}
The following table summarizes the results found so far for poles and for the order of \(r\) at \(\infty \) for case 3 of Kovacic algorithm using \(n=6\).
pole \(c\) location | pole order | set \(\{E_c\}\) |
\(0\) | \(2\) | \(\{6\}\) |
Order of \(r\) at \(\infty \) | set \(\{E_\infty \}\) |
\(2\) | \(\{6\}\) |
Now that \(E_c\) sets for all poles are found and \(E_\infty \) set is found, the next step is to determine a non negative integer \(d\) using the following \begin {align*} d &= \frac {n}{12} \left ( e_\infty - \sum _{c \in \Gamma } e_c \right ) \end {align*}
Where in the above \(e_c\) is a distinct element from each corresponding \(E_c\). This means all possible tuples \(\{e_{c_1},e_{c_2},\dots ,e_{c_n}\}\) are tried in the sum above, where \(e_{c_i}\) is one element of each \(E_c\) found earlier. Using the following family \(\{e_1,e_2,\dots ,e_\infty \}\) given by \[ e_1=6,\hspace {3pt} e_\infty =6 \] Gives a non negative integer \(d\) (the degree of the polynomial \(p(x)\)), which is generated using \begin {align*} d &= \frac {n}{12} \left ( e_\infty - \sum _{c \in \Gamma } e_c \right )\\ &= \frac {6}{12} \left ( 6 - \left (6\right )\right )\\ &= 0 \end {align*}
The following rational function is \begin {align*} \theta &= \frac {n}{12} \sum _{c \in \Gamma } \frac {e_c}{x-c} \\ &= \frac {6}{12} \left (\frac {6}{\left (x-\left (0\right )\right )}\right ) \\ &= \frac {3}{x} \end {align*}
And \begin {align*} S &= \prod _{c\in \Gamma } (x-c) \\ &= x \end {align*}
The polynomial \(p(x)\) is now determined. Since the degree of the polynomial is \(d=0\), then let \[ p(x) = 1 \] The following set of equations are set up in order to determine the coefficients \(a_i\) (if any) of the above polynomial \begin {align*} P_n &= - p(x) \\ &= - 1 \\ P_{i-1} &= - S p'_{i} + ((n-i)S' -S\theta ) P_i - (n-1)(i+1) S^2 r P_{i+1} \qquad i=n,n-1,\dots , 0 \tag {1A} \end {align*}
The coefficients \(a_i\) are solved for from \[ P_{-1} = 0 \tag {2A} \] By using method of undetermined coefficients. Carrying the above computation in eq. (1A) gives the following sequence of polynomials \(P_i\) (noting that \(n=6\) and \(r=-\frac {1}{x^{2}}\)). \begin{align*} P_{6} &= - p &= -1 \\ P_{5} &= 3 \\ P_{4} &= -12 \\ P_{3} &= 42 \\ P_{2} &= -144 \\ P_{1} &= 360 \\ P_{0} &= -720 \\ P_{-1} &= 0 \\ \end{align*} Because \(P_{-1} = 0\) then \(z=e^{\int \omega }\) is a solution. \(\omega \) is found by finding a solution to the equation generated by the following sum \begin {align*} \sum _{i=0}^{n} S^i \frac {P_i}{(n-i)!} \omega ^i &= 0 \\ \sum _{i=0}^{6} S^i \frac {P_i}{(6-i)!} \omega ^i &= 0 \end {align*}
Where the \(P_i\) are the polynomials found earlier. Computing the above sum gives \[ \tag{3A} -\left (x^{2} \omega ^{2}-x \omega +1\right )^{3}=0 \] The solution \(\omega \) of eq. 3A is found as \[ \omega =\frac {1}{2 x}\left (1-i \sqrt {3}\right ) \] This \(\omega \) is used to find a solution to \(z''=r z\). \[ z_1(x) = e^{ \int \omega \,dx}\tag {5A} \] Doing the integration gives in eq. (4A) gives \begin{align*} z_1(x) &= e^{ \int \omega \,dx} \\ &= {\mathrm e}^{\int \frac {1-i \sqrt {3}}{2 x}d x} \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \\ \end{align*} 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 \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \\ \end{align*} Which simplifies to \[ y_1 = x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \] 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 \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\int \frac {1}{x^{1-i \sqrt {3}}} \,dx \\ &= x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right ) \\ \end{align*} Therefore for kovacic case \(n=6\) the solution is
\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\right ) + c_{2} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right )\right ) \\ \end{align*} Therefore the solution is
\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\right ) + c_{2} \left (x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}\left (-\frac {i x^{i \sqrt {3}} \sqrt {3}}{3}\right )\right ) \\ \end{align*}
The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}-\frac {i c_{2} \sqrt {3}\, x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}}}{3} \\ \end{align*}
Verification of solutions
\[ y = c_{1} x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}}-\frac {i c_{2} \sqrt {3}\, x^{\frac {1}{2}+\frac {i \sqrt {3}}{2}}}{3} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime \prime } x^{2}+y=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & y^{\prime \prime } \\ \bullet & {} & \textrm {Isolate 2nd derivative}\hspace {3pt} \\ {} & {} & y^{\prime \prime }=-\frac {y}{x^{2}} \\ \bullet & {} & \textrm {Group terms with}\hspace {3pt} y\hspace {3pt}\textrm {on the lhs of the ODE and the rest on the rhs of the ODE; ODE is linear}\hspace {3pt} \\ {} & {} & y^{\prime \prime }+\frac {y}{x^{2}}=0 \\ \bullet & {} & \textrm {Multiply by denominators of the ODE}\hspace {3pt} \\ {} & {} & y^{\prime \prime } x^{2}+y=0 \\ \bullet & {} & \textrm {Make a change of variables}\hspace {3pt} \\ {} & {} & t =\ln \left (x \right ) \\ \square & {} & \textrm {Substitute the change of variables back into the ODE}\hspace {3pt} \\ {} & \circ & \textrm {Calculate the}\hspace {3pt} \hspace {3pt}\textrm {1st}\hspace {3pt} \hspace {3pt}\textrm {derivative of}\hspace {3pt} \hspace {3pt}\textrm {y}\hspace {3pt} \hspace {3pt}\textrm {with respect to}\hspace {3pt} \hspace {3pt}\textrm {x}\hspace {3pt} \hspace {3pt}\textrm {, using the chain rule}\hspace {3pt} \\ {} & {} & y^{\prime }=\left (\frac {d}{d t}y \left (t \right )\right ) t^{\prime }\left (x \right ) \\ {} & \circ & \textrm {Compute derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\frac {\frac {d}{d t}y \left (t \right )}{x} \\ {} & \circ & \textrm {Calculate the}\hspace {3pt} \hspace {3pt}\textrm {2nd}\hspace {3pt} \hspace {3pt}\textrm {derivative of}\hspace {3pt} \hspace {3pt}\textrm {y}\hspace {3pt} \hspace {3pt}\textrm {with respect to}\hspace {3pt} \hspace {3pt}\textrm {x}\hspace {3pt} \hspace {3pt}\textrm {, using the chain rule}\hspace {3pt} \\ {} & {} & y^{\prime \prime }=\left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right ) {t^{\prime }\left (x \right )}^{2}+t^{\prime \prime }\left (x \right ) \left (\frac {d}{d t}y \left (t \right )\right ) \\ {} & \circ & \textrm {Compute derivative}\hspace {3pt} \\ {} & {} & y^{\prime \prime }=\frac {\frac {d^{2}}{d t^{2}}y \left (t \right )}{x^{2}}-\frac {\frac {d}{d t}y \left (t \right )}{x^{2}} \\ & {} & \textrm {Substitute the change of variables back into the ODE}\hspace {3pt} \\ {} & {} & \left (\frac {\frac {d^{2}}{d t^{2}}y \left (t \right )}{x^{2}}-\frac {\frac {d}{d t}y \left (t \right )}{x^{2}}\right ) x^{2}+y \left (t \right )=0 \\ \bullet & {} & \textrm {Simplify}\hspace {3pt} \\ {} & {} & \frac {d^{2}}{d t^{2}}y \left (t \right )-\frac {d}{d t}y \left (t \right )+y \left (t \right )=0 \\ \bullet & {} & \textrm {Characteristic polynomial of ODE}\hspace {3pt} \\ {} & {} & r^{2}-r +1=0 \\ \bullet & {} & \textrm {Use quadratic formula to solve for}\hspace {3pt} r \\ {} & {} & r =\frac {1\pm \left (\sqrt {-3}\right )}{2} \\ \bullet & {} & \textrm {Roots of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =\left (\frac {1}{2}-\frac {\mathrm {I} \sqrt {3}}{2}, \frac {1}{2}+\frac {\mathrm {I} \sqrt {3}}{2}\right ) \\ \bullet & {} & \textrm {1st solution of the ODE}\hspace {3pt} \\ {} & {} & y_{1}\left (t \right )={\mathrm e}^{\frac {t}{2}} \cos \left (\frac {\sqrt {3}\, t}{2}\right ) \\ \bullet & {} & \textrm {2nd solution of the ODE}\hspace {3pt} \\ {} & {} & y_{2}\left (t \right )={\mathrm e}^{\frac {t}{2}} \sin \left (\frac {\sqrt {3}\, t}{2}\right ) \\ \bullet & {} & \textrm {General solution of the ODE}\hspace {3pt} \\ {} & {} & y \left (t \right )=c_{1} y_{1}\left (t \right )+c_{2} y_{2}\left (t \right ) \\ \bullet & {} & \textrm {Substitute in solutions}\hspace {3pt} \\ {} & {} & y \left (t \right )=c_{1} {\mathrm e}^{\frac {t}{2}} \cos \left (\frac {\sqrt {3}\, t}{2}\right )+c_{2} {\mathrm e}^{\frac {t}{2}} \sin \left (\frac {\sqrt {3}\, t}{2}\right ) \\ \bullet & {} & \textrm {Change variables back using}\hspace {3pt} t =\ln \left (x \right ) \\ {} & {} & y=c_{1} \sqrt {x}\, \cos \left (\frac {\ln \left (x \right ) \sqrt {3}}{2}\right )+c_{2} \sqrt {x}\, \sin \left (\frac {\ln \left (x \right ) \sqrt {3}}{2}\right ) \\ \bullet & {} & \textrm {Simplify}\hspace {3pt} \\ {} & {} & y=\sqrt {x}\, \left (c_{1} \cos \left (\frac {\ln \left (x \right ) \sqrt {3}}{2}\right )+c_{2} \sin \left (\frac {\ln \left (x \right ) \sqrt {3}}{2}\right )\right ) \end {array} \]
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature checking if the LODE has constant coefficients checking if the LODE is of Euler type <- LODE of Euler type successful`
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 29
dsolve(diff(y(x),x$2)+1/x^2*y(x)=0,y(x), singsol=all)
\[ y \left (x \right ) = c_{1} \sqrt {x}\, x^{\frac {\sqrt {-3}}{2}}+c_{2} \sqrt {x}\, x^{-\frac {\sqrt {-3}}{2}} \]
✓ Solution by Mathematica
Time used: 0.027 (sec). Leaf size: 42
DSolve[y''[x]+1/x^2*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \sqrt {x} \left (c_1 \cos \left (\frac {1}{2} \sqrt {3} \log (x)\right )+c_2 \sin \left (\frac {1}{2} \sqrt {3} \log (x)\right )\right ) \]