Internal problem ID [10082]
Internal file name [OUTPUT/9029_Monday_June_06_2022_06_14_53_AM_99971076/index.tex
]
Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 6, non-linear second order
Problem number: 1761 (book 6.170).
ODE order: 2.
ODE degree: 1.
The type(s) of ODE detected by this program : "second_order_integrable_as_is"
Maple gives the following as the ode type
[[_2nd_order, _exact, _nonlinear], [_2nd_order, _reducible, _mu_xy]]
\[ \boxed {x y y^{\prime \prime }+x {y^{\prime }}^{2}+a y y^{\prime }=-f \left (x \right )} \]
Integrating both sides of the ODE w.r.t \(x\) gives \begin {align*} \int \left (x y y^{\prime \prime }+\left (y^{\prime } x +a y\right ) y^{\prime }\right )d x &= \int -f \left (x \right )d x\\ \frac {y^{2} \left (a -1\right )}{2}+x y y^{\prime } = \int -f \left (x \right )d x + c_{1} \end {align*}
Which is now solved for \(y\). Writing the ode as \begin {align*} y^{\prime }&=-\frac {y^{2} a -y^{2}-2 \left (\int -f \left (x \right )d x \right )-2 c_{1}}{2 y x}\\ y^{\prime }&= \omega \left ( x,y\right ) \end {align*}
The condition of Lie symmetry is the linearized PDE given by \begin {align*} \eta _{x}+\omega \left ( \eta _{y}-\xi _{x}\right ) -\omega ^{2}\xi _{y}-\omega _{x}\xi -\omega _{y}\eta =0\tag {A} \end {align*}
The type of this ode is known. It is of type Bernoulli
. Therefore we do not need
to solve the PDE (A), and can just use the lookup table shown below to find \(\xi ,\eta \)
ODE class |
Form |
\(\xi \) |
\(\eta \) |
linear ode |
\(y'=f(x) y(x) +g(x)\) |
\(0\) |
\(e^{\int fdx}\) |
separable ode |
\(y^{\prime }=f\left ( x\right ) g\left ( y\right ) \) |
\(\frac {1}{f}\) |
\(0\) |
quadrature ode |
\(y^{\prime }=f\left ( x\right ) \) |
\(0\) |
\(1\) |
quadrature ode |
\(y^{\prime }=g\left ( y\right ) \) |
\(1\) |
\(0\) |
homogeneous ODEs of Class A |
\(y^{\prime }=f\left ( \frac {y}{x}\right ) \) |
\(x\) |
\(y\) |
homogeneous ODEs of Class C |
\(y^{\prime }=\left ( a+bx+cy\right ) ^{\frac {n}{m}}\) |
\(1\) |
\(-\frac {b}{c}\) |
homogeneous class D |
\(y^{\prime }=\frac {y}{x}+g\left ( x\right ) F\left (\frac {y}{x}\right ) \) |
\(x^{2}\) |
\(xy\) |
First order special form ID 1 |
\(y^{\prime }=g\left ( x\right ) e^{h\left (x\right ) +by}+f\left ( x\right ) \) |
\(\frac {e^{-\int bf\left ( x\right )dx-h\left ( x\right ) }}{g\left ( x\right ) }\) |
\(\frac {f\left ( x\right )e^{-\int bf\left ( x\right ) dx-h\left ( x\right ) }}{g\left ( x\right ) }\) |
polynomial type ode |
\(y^{\prime }=\frac {a_{1}x+b_{1}y+c_{1}}{a_{2}x+b_{2}y+c_{2}}\) |
\(\frac {a_{1}b_{2}x-a_{2}b_{1}x-b_{1}c_{2}+b_{2}c_{1}}{a_{1}b_{2}-a_{2}b_{1}}\) |
\(\frac {a_{1}b_{2}y-a_{2}b_{1}y-a_{1}c_{2}-a_{2}c_{1}}{a_{1}b_{2}-a_{2}b_{1}}\) |
Bernoulli ode |
\(y^{\prime }=f\left ( x\right ) y+g\left ( x\right ) y^{n}\) |
\(0\) |
\(e^{-\int \left ( n-1\right ) f\left ( x\right ) dx}y^{n}\) |
Reduced Riccati |
\(y^{\prime }=f_{1}\left ( x\right ) y+f_{2}\left ( x\right )y^{2}\) |
\(0\) |
\(e^{-\int f_{1}dx}\) |
|
|||
|
|||
The above table shows that \begin {align*} \xi \left (x,y\right ) &=0\\ \tag {A1} \eta \left (x,y\right ) &=\frac {{\mathrm e}^{-2 \left (\frac {a}{2}-\frac {1}{2}\right ) \ln \left (x \right )}}{y} \end {align*}
The next step is to determine the canonical coordinates \(R,S\). The canonical coordinates map \(\left ( x,y\right ) \to \left ( R,S \right )\) where \(\left ( R,S \right )\) are the canonical coordinates which make the original ode become a quadrature and hence solved by integration.
The characteristic pde which is used to find the canonical coordinates is \begin {align*} \frac {d x}{\xi } &= \frac {d y}{\eta } = dS \tag {1} \end {align*}
The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial x} + \eta \frac {\partial }{\partial y}\right ) S(x,y) = 1\). Starting with the first pair of ode’s in (1) gives an ode to solve for the independent variable \(R\) in the canonical coordinates, where \(S(R)\). Since \(\xi =0\) then in this special case \begin {align*} R = x \end {align*}
\(S\) is found from \begin {align*} S &= \int { \frac {1}{\eta }} dy\\ &= \int { \frac {1}{\frac {{\mathrm e}^{-2 \left (\frac {a}{2}-\frac {1}{2}\right ) \ln \left (x \right )}}{y}}} dy \end {align*}
Which results in \begin {align*} S&= \frac {y^{2} {\mathrm e}^{\left (a -1\right ) \ln \left (x \right )}}{2} \end {align*}
Now that \(R,S\) are found, we need to setup the ode in these coordinates. This is done by evaluating \begin {align*} \frac {dS}{dR} &= \frac { S_{x} + \omega (x,y) S_{y} }{ R_{x} + \omega (x,y) R_{y} }\tag {2} \end {align*}
Where in the above \(R_{x},R_{y},S_{x},S_{y}\) are all partial derivatives and \(\omega (x,y)\) is the right hand side of the original ode given by \begin {align*} \omega (x,y) &= -\frac {y^{2} a -y^{2}-2 \left (\int -f \left (x \right )d x \right )-2 c_{1}}{2 y x} \end {align*}
Evaluating all the partial derivatives gives \begin {align*} R_{x} &= 1\\ R_{y} &= 0\\ S_{x} &= \frac {x^{a -2} y^{2} \left (a -1\right )}{2}\\ S_{y} &= y \,x^{a -1} \end {align*}
Substituting all the above in (2) and simplifying gives the ode in canonical coordinates. \begin {align*} \frac {dS}{dR} &= x^{a -2} \left (-\left (\int f \left (x \right )d x \right )+c_{1} \right )\tag {2A} \end {align*}
We now need to express the RHS as function of \(R\) only. This is done by solving for \(x,y\) in terms of \(R,S\) from the result obtained earlier and simplifying. This gives \begin {align*} \frac {dS}{dR} &= R^{a -2} \left (-\left (\int f \left (R \right )d R \right )+c_{1} \right ) \end {align*}
The above is a quadrature ode. This is the whole point of Lie symmetry method. It converts an ode, no matter how complicated it is, to one that can be solved by integration when the ode is in the canonical coordiates \(R,S\). Integrating the above gives \begin {align*} S \left (R \right ) = \int -R^{a -2} \left (\int f \left (R \right )d R -c_{1} \right )d R +c_{2}\tag {4} \end {align*}
To complete the solution, we just need to transform (4) back to \(x,y\) coordinates. This results in \begin {align*} \frac {y^{2} x^{a -1}}{2} = \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \end {align*}
Which simplifies to \begin {align*} \frac {y^{2} x^{a -1}}{2} = \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} \frac {y^{2} x^{a -1}}{2} &= \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \\ \end{align*}
Verification of solutions
\[ \frac {y^{2} x^{a -1}}{2} = \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \] Verified OK.
Writing the ode as \[ x y y^{\prime \prime }+\left (y^{\prime } x +a y\right ) y^{\prime } = -f \left (x \right ) \] Integrating both sides of the ODE w.r.t \(x\) gives \begin {align*} \int \left (x y y^{\prime \prime }+\left (y^{\prime } x +a y\right ) y^{\prime }\right )d x &= \int -f \left (x \right )d x\\ x y y^{\prime }+\frac {a y^{2}}{2}-\frac {y^{2}}{2} = \int -f \left (x \right )d x +c_{1} \end {align*}
Which is now solved for \(y\). Writing the ode as \begin {align*} y^{\prime }&=-\frac {y^{2} a -y^{2}-2 \left (\int -f \left (x \right )d x \right )-2 c_{1}}{2 x y}\\ y^{\prime }&= \omega \left ( x,y\right ) \end {align*}
The condition of Lie symmetry is the linearized PDE given by \begin {align*} \eta _{x}+\omega \left ( \eta _{y}-\xi _{x}\right ) -\omega ^{2}\xi _{y}-\omega _{x}\xi -\omega _{y}\eta =0\tag {A} \end {align*}
The type of this ode is known. It is of type Bernoulli
. Therefore we do not need
to solve the PDE (A), and can just use the lookup table shown below to find \(\xi ,\eta \)
ODE class |
Form |
\(\xi \) |
\(\eta \) |
linear ode |
\(y'=f(x) y(x) +g(x)\) |
\(0\) |
\(e^{\int fdx}\) |
separable ode |
\(y^{\prime }=f\left ( x\right ) g\left ( y\right ) \) |
\(\frac {1}{f}\) |
\(0\) |
quadrature ode |
\(y^{\prime }=f\left ( x\right ) \) |
\(0\) |
\(1\) |
quadrature ode |
\(y^{\prime }=g\left ( y\right ) \) |
\(1\) |
\(0\) |
homogeneous ODEs of Class A |
\(y^{\prime }=f\left ( \frac {y}{x}\right ) \) |
\(x\) |
\(y\) |
homogeneous ODEs of Class C |
\(y^{\prime }=\left ( a+bx+cy\right ) ^{\frac {n}{m}}\) |
\(1\) |
\(-\frac {b}{c}\) |
homogeneous class D |
\(y^{\prime }=\frac {y}{x}+g\left ( x\right ) F\left (\frac {y}{x}\right ) \) |
\(x^{2}\) |
\(xy\) |
First order special form ID 1 |
\(y^{\prime }=g\left ( x\right ) e^{h\left (x\right ) +by}+f\left ( x\right ) \) |
\(\frac {e^{-\int bf\left ( x\right )dx-h\left ( x\right ) }}{g\left ( x\right ) }\) |
\(\frac {f\left ( x\right )e^{-\int bf\left ( x\right ) dx-h\left ( x\right ) }}{g\left ( x\right ) }\) |
polynomial type ode |
\(y^{\prime }=\frac {a_{1}x+b_{1}y+c_{1}}{a_{2}x+b_{2}y+c_{2}}\) |
\(\frac {a_{1}b_{2}x-a_{2}b_{1}x-b_{1}c_{2}+b_{2}c_{1}}{a_{1}b_{2}-a_{2}b_{1}}\) |
\(\frac {a_{1}b_{2}y-a_{2}b_{1}y-a_{1}c_{2}-a_{2}c_{1}}{a_{1}b_{2}-a_{2}b_{1}}\) |
Bernoulli ode |
\(y^{\prime }=f\left ( x\right ) y+g\left ( x\right ) y^{n}\) |
\(0\) |
\(e^{-\int \left ( n-1\right ) f\left ( x\right ) dx}y^{n}\) |
Reduced Riccati |
\(y^{\prime }=f_{1}\left ( x\right ) y+f_{2}\left ( x\right )y^{2}\) |
\(0\) |
\(e^{-\int f_{1}dx}\) |
|
|||
|
|||
The above table shows that \begin {align*} \xi \left (x,y\right ) &=0\\ \tag {A1} \eta \left (x,y\right ) &=\frac {{\mathrm e}^{-2 \left (\frac {a}{2}-\frac {1}{2}\right ) \ln \left (x \right )}}{y} \end {align*}
The next step is to determine the canonical coordinates \(R,S\). The canonical coordinates map \(\left ( x,y\right ) \to \left ( R,S \right )\) where \(\left ( R,S \right )\) are the canonical coordinates which make the original ode become a quadrature and hence solved by integration.
The characteristic pde which is used to find the canonical coordinates is \begin {align*} \frac {d x}{\xi } &= \frac {d y}{\eta } = dS \tag {1} \end {align*}
The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial x} + \eta \frac {\partial }{\partial y}\right ) S(x,y) = 1\). Starting with the first pair of ode’s in (1) gives an ode to solve for the independent variable \(R\) in the canonical coordinates, where \(S(R)\). Since \(\xi =0\) then in this special case \begin {align*} R = x \end {align*}
\(S\) is found from \begin {align*} S &= \int { \frac {1}{\eta }} dy\\ &= \int { \frac {1}{\frac {{\mathrm e}^{-2 \left (\frac {a}{2}-\frac {1}{2}\right ) \ln \left (x \right )}}{y}}} dy \end {align*}
Which results in \begin {align*} S&= \frac {y^{2} {\mathrm e}^{\left (a -1\right ) \ln \left (x \right )}}{2} \end {align*}
Now that \(R,S\) are found, we need to setup the ode in these coordinates. This is done by evaluating \begin {align*} \frac {dS}{dR} &= \frac { S_{x} + \omega (x,y) S_{y} }{ R_{x} + \omega (x,y) R_{y} }\tag {2} \end {align*}
Where in the above \(R_{x},R_{y},S_{x},S_{y}\) are all partial derivatives and \(\omega (x,y)\) is the right hand side of the original ode given by \begin {align*} \omega (x,y) &= -\frac {y^{2} a -y^{2}-2 \left (\int -f \left (x \right )d x \right )-2 c_{1}}{2 x y} \end {align*}
Evaluating all the partial derivatives gives \begin {align*} R_{x} &= 1\\ R_{y} &= 0\\ S_{x} &= \frac {x^{a -2} y^{2} \left (a -1\right )}{2}\\ S_{y} &= y \,x^{a -1} \end {align*}
Substituting all the above in (2) and simplifying gives the ode in canonical coordinates. \begin {align*} \frac {dS}{dR} &= x^{a -2} \left (-\left (\int f \left (x \right )d x \right )+c_{1} \right )\tag {2A} \end {align*}
We now need to express the RHS as function of \(R\) only. This is done by solving for \(x,y\) in terms of \(R,S\) from the result obtained earlier and simplifying. This gives \begin {align*} \frac {dS}{dR} &= R^{a -2} \left (-\left (\int f \left (R \right )d R \right )+c_{1} \right ) \end {align*}
The above is a quadrature ode. This is the whole point of Lie symmetry method. It converts an ode, no matter how complicated it is, to one that can be solved by integration when the ode is in the canonical coordiates \(R,S\). Integrating the above gives \begin {align*} S \left (R \right ) = \int -R^{a -2} \left (\int f \left (R \right )d R -c_{1} \right )d R +c_{2}\tag {4} \end {align*}
To complete the solution, we just need to transform (4) back to \(x,y\) coordinates. This results in \begin {align*} \frac {y^{2} x^{a -1}}{2} = \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \end {align*}
Which simplifies to \begin {align*} \frac {y^{2} x^{a -1}}{2} = \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} \frac {y^{2} x^{a -1}}{2} &= \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \\ \end{align*}
Verification of solutions
\[ \frac {y^{2} x^{a -1}}{2} = \int -x^{a -2} \left (\int f \left (x \right )d x -c_{1} \right )d x +c_{2} \] Verified OK.
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying 2nd order Liouville trying 2nd order WeierstrassP trying 2nd order JacobiSN differential order: 2; trying a linearization to 3rd order trying 2nd order ODE linearizable_by_differentiation trying 2nd order, 2 integrating factors of the form mu(x,y) trying a quadrature checking if the LODE has constant coefficients checking if the LODE is of Euler type <- LODE of Euler type successful `, `-> Computing symmetries using: way = HINT <- 2nd order, 2 integrating factors of the form mu(x,y) successful`
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 112
dsolve(x*y(x)*diff(diff(y(x),x),x)+x*diff(y(x),x)^2+a*y(x)*diff(y(x),x)+f(x)=0,y(x), singsol=all)
\begin{align*} y \left (x \right ) &= \frac {\sqrt {2}\, \sqrt {\left (a -1\right ) \left (x^{-a +1} \left (\int x^{a -1} f \left (x \right )d x \right )+x^{-a +1} c_{1} -\left (\int f \left (x \right )d x \right )-c_{2} \right )}}{a -1} \\ y \left (x \right ) &= -\frac {\sqrt {2}\, \sqrt {\left (a -1\right ) \left (x^{-a +1} \left (\int x^{a -1} f \left (x \right )d x \right )+x^{-a +1} c_{1} -\left (\int f \left (x \right )d x \right )-c_{2} \right )}}{a -1} \\ \end{align*}
✓ Solution by Mathematica
Time used: 60.103 (sec). Leaf size: 108
DSolve[f[x] + a*y[x]*y'[x] + x*y'[x]^2 + x*y[x]*y''[x] == 0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\sqrt {2} \sqrt {\int _1^x-K[2]^{-a} \left (c_1+\int _1^{K[2]}f(K[1]) K[1]^{a-1}dK[1]\right )dK[2]+c_2} \\ y(x)\to \sqrt {2} \sqrt {\int _1^x-K[2]^{-a} \left (c_1+\int _1^{K[2]}f(K[1]) K[1]^{a-1}dK[1]\right )dK[2]+c_2} \\ \end{align*}