2.70 problem 646

2.70.1 Solving as first order ode lie symmetry calculated ode
2.70.2 Maple step by step solution

Internal problem ID [8980]
Internal file name [OUTPUT/7915_Monday_June_06_2022_12_54_51_AM_53551524/index.tex]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, Additional non-linear first order
Problem number: 646.
ODE order: 1.
ODE degree: 1.

The type(s) of ODE detected by this program : "first_order_ode_lie_symmetry_calculated"

Maple gives the following as the ode type

[[_1st_order, `_with_symmetry_[F(x),G(x)]`]]

\[ \boxed {y^{\prime }-\frac {x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}}{2 \left (x +1\right )}=0} \]

2.70.1 Solving as first order ode lie symmetry calculated ode

Writing the ode as \begin {align*} y^{\prime }&=\frac {x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}}{2 x +2}\\ 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 not in the lookup table. To determine \(\xi ,\eta \) then (A) is solved using ansatz. Making bivariate polynomials of degree 3 to use as anstaz gives \begin{align*} \tag{1E} \xi &= x^{3} a_{7}+x^{2} y a_{8}+x \,y^{2} a_{9}+y^{3} a_{10}+x^{2} a_{4}+x y a_{5}+y^{2} a_{6}+x a_{2}+y a_{3}+a_{1} \\ \tag{2E} \eta &= x^{3} b_{7}+x^{2} y b_{8}+x \,y^{2} b_{9}+y^{3} b_{10}+x^{2} b_{4}+x y b_{5}+y^{2} b_{6}+x b_{2}+y b_{3}+b_{1} \\ \end{align*} Where the unknown coefficients are \[ \{a_{1}, a_{2}, a_{3}, a_{4}, a_{5}, a_{6}, a_{7}, a_{8}, a_{9}, a_{10}, b_{1}, b_{2}, b_{3}, b_{4}, b_{5}, b_{6}, b_{7}, b_{8}, b_{9}, b_{10}\} \] Substituting equations (1E,2E) and \(\omega \) into (A) gives \begin{equation} \tag{5E} 3 x^{2} b_{7}+2 x y b_{8}+y^{2} b_{9}+2 x b_{4}+y b_{5}+b_{2}+\frac {\left (x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}\right ) \left (-3 x^{2} a_{7}+x^{2} b_{8}-2 x y a_{8}+2 x y b_{9}-y^{2} a_{9}+3 y^{2} b_{10}-2 x a_{4}+x b_{5}-y a_{5}+2 y b_{6}-a_{2}+b_{3}\right )}{2 x +2}-\frac {\left (x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}\right )^{2} \left (x^{2} a_{8}+2 x y a_{9}+3 y^{2} a_{10}+x a_{5}+2 y a_{6}+a_{3}\right )}{4 \left (x +1\right )^{2}}-\left (\frac {3 x^{2}+2 x +\frac {3 x^{2}}{\sqrt {x^{3}-6 y}}}{2 x +2}-\frac {x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}}{2 \left (x +1\right )^{2}}\right ) \left (x^{3} a_{7}+x^{2} y a_{8}+x \,y^{2} a_{9}+y^{3} a_{10}+x^{2} a_{4}+x y a_{5}+y^{2} a_{6}+x a_{2}+y a_{3}+a_{1}\right )+\frac {3 x^{3} b_{7}+3 x^{2} y b_{8}+3 x \,y^{2} b_{9}+3 y^{3} b_{10}+3 x^{2} b_{4}+3 x y b_{5}+3 y^{2} b_{6}+3 x b_{2}+3 y b_{3}+3 b_{1}}{\sqrt {x^{3}-6 y}\, \left (x +1\right )} = 0 \end{equation} Putting the above in normal form gives \[ \text {Expression too large to display} \] Setting the numerator to zero gives \begin{equation} \tag{6E} \text {Expression too large to display} \end{equation} Simplifying the above gives \begin{equation} \tag{6E} \text {Expression too large to display} \end{equation} Since the PDE has radicals, simplifying gives \[ \text {Expression too large to display} \] Looking at the above PDE shows the following are all the terms with \(\{x, y\}\) in them. \[ \left \{x, y, \sqrt {x^{3}-6 y}\right \} \] The following substitution is now made to be able to collect on all terms with \(\{x, y\}\) in them \[ \left \{x = v_{1}, y = v_{2}, \sqrt {x^{3}-6 y} = v_{3}\right \} \] The above PDE (6E) now becomes \begin{equation} \tag{7E} \text {Expression too large to display} \end{equation} Collecting the above on the terms \(v_i\) introduced, and these are \[ \{v_{1}, v_{2}, v_{3}\} \] Equation (7E) now becomes \begin{equation} \tag{8E} 12 b_{1}+70 v_{1}^{3} v_{2}^{3} a_{10}+66 v_{1}^{2} v_{2}^{3} a_{10}-60 v_{1} v_{2}^{3} b_{10}-8 v_{1}^{7} v_{2} a_{9}-12 v_{1}^{6} v_{2}^{2} a_{10}-12 v_{1}^{5} v_{2}^{2} a_{10}-v_{3} v_{1}^{8} a_{8}+72 v_{3} v_{2}^{3} a_{10}-24 v_{2}^{4} a_{10}-4 v_{1}^{8} a_{8}+4 b_{2} v_{3}+\left (-4 a_{1}+8 b_{2}+8 b_{4}\right ) v_{3} v_{1}+\left (24 a_{3}+4 b_{5}\right ) v_{3} v_{2}+\left (-12 b_{8}+72 a_{7}+24 a_{4}-12 b_{5}+18 a_{3}\right ) v_{2} v_{1}^{2}+\left (48 a_{4}-12 b_{3}-12 b_{5}\right ) v_{2} v_{1}+\left (-36 b_{9}+48 a_{8}-36 b_{6}\right ) v_{2}^{2} v_{1}+\left (14 a_{8}+8 b_{9}-8 a_{6}\right ) v_{2} v_{1}^{5}+\left (42 a_{9}+12 b_{10}\right ) v_{2}^{2} v_{1}^{4}+\left (10 a_{8}+8 b_{9}+8 b_{6}+18 a_{5}\right ) v_{2} v_{1}^{4}+\left (38 a_{9}+12 b_{10}+46 a_{6}\right ) v_{2}^{2} v_{1}^{3}+\left (-12 b_{8}+48 a_{7}+8 b_{6}+14 a_{5}+22 a_{3}\right ) v_{2} v_{1}^{3}+\left (-36 b_{9}+24 a_{8}+42 a_{6}\right ) v_{2}^{2} v_{1}^{2}+\left (-8 a_{9}-8 a_{6}\right ) v_{2} v_{1}^{6}+\left (-10 a_{7}+2 b_{8}-a_{8}-2 a_{5}-a_{3}\right ) v_{1}^{6} v_{3}+\left (-20 a_{7}+4 b_{8}-8 a_{4}-a_{5}+2 b_{5}-4 a_{8}-2 a_{3}\right ) v_{1}^{5} v_{3}+\left (-10 a_{7}+2 b_{8}+12 b_{7}-16 a_{4}+4 b_{5}-6 a_{2}-a_{3}+2 b_{3}-4 a_{5}\right ) v_{1}^{4} v_{3}+\left (24 b_{7}-8 a_{4}+8 b_{4}+2 b_{5}-4 a_{3}-4 a_{1}-12 a_{2}+4 b_{3}\right ) v_{1}^{3} v_{3}+\left (-2 a_{8}-a_{5}\right ) v_{1}^{7} v_{3}+\left (12 b_{7}+16 b_{4}-8 a_{1}-6 a_{2}+4 b_{2}+2 b_{3}\right ) v_{3} v_{1}^{2}+\left (4 b_{9}+48 a_{6}\right ) v_{3} v_{2}^{2}+\left (12 b_{1}+12 b_{2}\right ) v_{1}+\left (-24 a_{1}+24 a_{2}-12 b_{3}\right ) v_{2}+\left (-6 a_{1}+12 b_{2}+12 b_{4}\right ) v_{1}^{2}+\left (-24 a_{3}+24 a_{5}-36 b_{6}\right ) v_{2}^{2}+\left (-18 a_{7}+4 b_{8}-10 a_{4}+4 b_{5}-4 a_{3}\right ) v_{1}^{5}+\left (12 b_{7}-14 a_{4}+4 b_{5}-6 a_{2}+4 b_{3}\right ) v_{1}^{4}+\left (12 b_{4}+12 b_{7}-2 a_{1}-10 a_{2}+4 b_{3}\right ) v_{1}^{3}+\left (24 a_{9}-24 a_{6}-60 b_{10}\right ) v_{2}^{3}+\left (-4 a_{8}-4 a_{5}\right ) v_{1}^{7}+\left (-14 a_{7}+4 b_{8}-4 a_{5}-4 a_{3}\right ) v_{1}^{6}-2 v_{3} v_{1}^{7} v_{2} a_{9}-3 v_{3} v_{1}^{6} v_{2}^{2} a_{10}-6 v_{3} v_{1}^{5} v_{2}^{2} a_{10}-4 v_{3} v_{1}^{3} v_{2}^{3} a_{10}-8 v_{3} v_{1}^{2} v_{2}^{3} a_{10}-4 v_{3} v_{1} v_{2}^{3} a_{10}+\left (-6 a_{9}+6 b_{10}-3 a_{10}\right ) v_{2}^{2} v_{1}^{4} v_{3}+\left (-16 a_{8}+8 b_{9}-6 a_{5}-2 a_{6}+4 b_{6}-8 a_{9}\right ) v_{2} v_{1}^{4} v_{3}+\left (-12 a_{9}+12 b_{10}-4 a_{6}-12 a_{10}\right ) v_{2}^{2} v_{1}^{3} v_{3}+\left (-6 a_{9}+6 b_{10}+4 b_{9}-8 a_{6}\right ) v_{2}^{2} v_{1}^{2} v_{3}+\left (16 b_{8}-6 a_{5}+4 b_{5}+4 b_{6}+24 a_{8}-8 a_{3}\right ) v_{2} v_{1}^{2} v_{3}+\left (8 b_{9}-4 a_{6}+48 a_{9}\right ) v_{2}^{2} v_{1} v_{3}+\left (-4 a_{9}-2 a_{6}\right ) v_{2} v_{1}^{6} v_{3}+\left (-4 a_{3}+24 a_{5}+8 b_{8}+8 b_{5}\right ) v_{2} v_{1} v_{3}+\left (-8 a_{6}-8 a_{8}+4 b_{9}+8 b_{8}-12 a_{5}+8 b_{6}-4 a_{3}\right ) v_{2} v_{3} v_{1}^{3}+\left (-8 a_{8}+4 b_{9}-2 a_{9}-4 a_{6}\right ) v_{2} v_{1}^{5} v_{3} = 0 \end{equation} Setting each coefficients in (8E) to zero gives the following equations to solve \begin {align*} -4 a_{8}&=0\\ -a_{8}&=0\\ -8 a_{9}&=0\\ -2 a_{9}&=0\\ -24 a_{10}&=0\\ -12 a_{10}&=0\\ -8 a_{10}&=0\\ -6 a_{10}&=0\\ -4 a_{10}&=0\\ -3 a_{10}&=0\\ 66 a_{10}&=0\\ 70 a_{10}&=0\\ 72 a_{10}&=0\\ 12 b_{1}&=0\\ 4 b_{2}&=0\\ -60 b_{10}&=0\\ 24 a_{3}+4 b_{5}&=0\\ -4 a_{8}-4 a_{5}&=0\\ -2 a_{8}-a_{5}&=0\\ -8 a_{9}-8 a_{6}&=0\\ -4 a_{9}-2 a_{6}&=0\\ 42 a_{9}+12 b_{10}&=0\\ 12 b_{1}+12 b_{2}&=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6}+24 a_{8}-8 a_{3}&=0\\ -8 a_{6}-8 a_{8}+4 b_{9}+8 b_{8}-12 a_{5}+8 b_{6}-4 a_{3}&=0\\ -20 a_{7}+4 b_{8}-8 a_{4}-a_{5}+2 b_{5}-4 a_{8}-2 a_{3}&=0\\ 24 b_{7}-8 a_{4}+8 b_{4}+2 b_{5}-4 a_{3}-4 a_{1}-12 a_{2}+4 b_{3}&=0\\ -10 a_{7}+2 b_{8}+12 b_{7}-16 a_{4}+4 b_{5}-6 a_{2}-a_{3}+2 b_{3}-4 a_{5}&=0 \end {align*}

Solving the above equations for the unknowns gives \begin {align*} a_{1}&=2 b_{7}\\ a_{2}&=2 b_{7}\\ a_{3}&=0\\ a_{4}&=0\\ a_{5}&=0\\ a_{6}&=0\\ a_{7}&=0\\ a_{8}&=0\\ a_{9}&=0\\ a_{10}&=0\\ b_{1}&=0\\ b_{2}&=0\\ b_{3}&=0\\ b_{4}&=b_{7}\\ b_{5}&=0\\ b_{6}&=0\\ b_{7}&=b_{7}\\ b_{8}&=0\\ b_{9}&=0\\ b_{10}&=0 \end {align*}

Substituting the above solution in the anstaz (1E,2E) (using \(1\) as arbitrary value for any unknown in the RHS) gives \begin{align*} \xi &= 2 x +2 \\ \eta &= x^{3}+x^{2} \\ \end{align*} Shifting is now applied to make \(\xi =0\) in order to simplify the rest of the computation \begin {align*} \eta &= \eta - \omega \left (x,y\right ) \xi \\ &= x^{3}+x^{2} - \left (\frac {x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}}{2 x +2}\right ) \left (2 x +2\right ) \\ &= \frac {-2 x \sqrt {x^{3}-6 y}-2 \sqrt {x^{3}-6 y}}{x +1}\\ \xi &= 0 \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 {-2 x \sqrt {x^{3}-6 y}-2 \sqrt {x^{3}-6 y}}{x +1}}} dy \end {align*}

Which results in \begin {align*} S&= \frac {\sqrt {x^{3}-6 y}}{6} \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 {x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}}{2 x +2} \end {align*}

Evaluating all the partial derivatives gives \begin {align*} R_{x} &= 1\\ R_{y} &= 0\\ S_{x} &= \frac {x^{2}}{4 \sqrt {x^{3}-6 y}}\\ S_{y} &= -\frac {1}{2 \sqrt {x^{3}-6 y}} \end {align*}

Substituting all the above in (2) and simplifying gives the ode in canonical coordinates. \begin {align*} \frac {dS}{dR} &= -\frac {1}{2 x +2}\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} &= -\frac {1}{2 R +2} \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 ) = -\frac {\ln \left (R +1\right )}{2}+c_{1}\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 {\sqrt {x^{3}-6 y}}{6} = -\frac {\ln \left (x +1\right )}{2}+c_{1} \end {align*}

Which simplifies to \begin {align*} \frac {\sqrt {x^{3}-6 y}}{6} = -\frac {\ln \left (x +1\right )}{2}+c_{1} \end {align*}

Which gives \begin {align*} y = \frac {x^{3}}{6}-\frac {3 \ln \left (x +1\right )^{2}}{2}+6 \ln \left (x +1\right ) c_{1} -6 c_{1}^{2} \end {align*}

The following diagram shows solution curves of the original ode and how they transform in the canonical coordinates space using the mapping shown.

Original ode in \(x,y\) coordinates

Canonical coordinates transformation

ODE in canonical coordinates \((R,S)\)

\( \frac {dy}{dx} = \frac {x^{3}+x^{2}+2 \sqrt {x^{3}-6 y}}{2 x +2}\)

\( \frac {d S}{d R} = -\frac {1}{2 R +2}\)

\(\!\begin {aligned} R&= x\\ S&= \frac {\sqrt {x^{3}-6 y}}{6} \end {aligned} \)

Summary

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

Figure 474: Slope field plot

Verification of solutions

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

2.70.2 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & x^{3}-2 y^{\prime } x +x^{2}+2 \sqrt {x^{3}-6 y}-2 y^{\prime }=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\frac {-x^{3}-x^{2}-2 \sqrt {x^{3}-6 y}}{-2 x -2} \end {array} \]

Maple trace

`Methods for first order ODEs: 
--- Trying classification methods --- 
trying homogeneous types: 
differential order: 1; looking for linear symmetries 
trying exact 
Looking for potential symmetries 
trying an equivalence to an Abel ODE 
trying 1st order ODE linearizable_by_differentiation 
-> Calling odsolve with the ODE`, diff(diff(y(x), x), x)+(diff(y(x), x))/(x+1)-(1/2)*(3*x^3+5*x^2+2*x-6)/(x+1)^2, y(x)`   *** Sublev 
   Methods for second order ODEs: 
   --- Trying classification methods --- 
   trying a quadrature 
   trying high order exact linear fully integrable 
   -> Calling odsolve with the ODE`, diff(_b(_a), _a) = -(1/2)*(-3*_a^3+2*_b(_a)*_a-5*_a^2+2*_b(_a)-2*_a+6)/(_a+1)^2, _b(_a)`      * 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   <- high order exact linear fully integrable successful 
<- 1st order ODE linearizable_by_differentiation successful`
 

Solution by Maple

Time used: 0.109 (sec). Leaf size: 23

dsolve(diff(y(x),x) = 1/2*(x^3+x^2+2*(x^3-6*y(x))^(1/2))/(x+1),y(x), singsol=all)
 

\[ c_{1} -3 \ln \left (x +1\right )-\sqrt {x^{3}-6 y \left (x \right )} = 0 \]

Solution by Mathematica

Time used: 0.452 (sec). Leaf size: 35

DSolve[y'[x] == (x^2/2 + x^3/2 + Sqrt[x^3 - 6*y[x]])/(1 + x),y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{6} \left (x^3-9 \log ^2(x+1)+18 c_1 \log (x+1)-9 c_1{}^2\right ) \]