2.23.4 Problem 4

2.23.4.1 Solved using first_order_ode_abel_second_kind_solved_by_converting_to_first_kind
2.23.4.2 Solved using first_order_ode_LIE
2.23.4.3 Maple
2.23.4.4 Mathematica
2.23.4.5 Sympy

Internal problem ID [13557]
Book : Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section : Chapter 1, section 1.3. Abel Equations of the Second Kind. subsection 1.3.2.
Problem number : 4
Date solved : Wednesday, December 31, 2025 at 09:57:30 PM
CAS classification : [[_1st_order, _with_linear_symmetries], [_Abel, `2nd type`, `class B`]]

Entering first order ode abel second kind solver

\begin{align*} y^{\prime } y&=\frac {y}{\sqrt {a x +b}}+1 \\ \end{align*}
2.23.4.1 Solved using first_order_ode_abel_second_kind_solved_by_converting_to_first_kind

29.121 (sec)

This is Abel second kind ODE, it has the form

\[ \left (y+g\right )y^{\prime }= f_0(x)+f_1(x) y +f_2(x)y^{2}+f_3(x)y^{3} \]
Comparing the above to given ODE which is
\begin{align*}y^{\prime } y = \frac {y}{\sqrt {a x +b}}+1\tag {1} \end{align*}

Shows that

\begin{align*} g &= 0\\ f_0 &= 1\\ f_1 &= \frac {1}{\sqrt {a x +b}}\\ f_2 &= 0\\ f_3 &= 0 \end{align*}

Applying transformation

\begin{align*} y&=\frac {1}{u(x)}-g \end{align*}

Results in the new ode which is Abel first kind

\begin{align*} u^{\prime }\left (x \right ) = -u \left (x \right )^{3}-\frac {u \left (x \right )^{2}}{\sqrt {a x +b}} \end{align*}

Which is now solved.

Entering first order ode abel first kind solverThis is Abel first kind ODE, it has the form

\[ u^{\prime }\left (x \right )= f_0(x)+f_1(x) u \left (x \right ) +f_2(x)u \left (x \right )^{2}+f_3(x)u \left (x \right )^{3} \]
Comparing the above to given ODE which is
\begin{align*}u^{\prime }\left (x \right )&=-u \left (x \right )^{3}-\frac {u \left (x \right )^{2}}{\sqrt {a x +b}}\tag {1} \end{align*}

Therefore

\begin{align*} f_0 &= 0\\ f_1 &= 0\\ f_2 &= -\frac {1}{\sqrt {a x +b}}\\ f_3 &= -1 \end{align*}

Hence

\begin{align*} f'_{0} &= 0\\ f'_{3} &= 0 \end{align*}

Since \(f_2(x)=-\frac {1}{\sqrt {a x +b}}\) is not zero, then the followingtransformation is used to remove \(f_2\). Let \(u \left (x \right ) = u(x) - \frac {f_2}{3 f_3}\) or

\begin{align*} u \left (x \right ) &= u(x) - \left ( \frac {-\frac {1}{\sqrt {a x +b}}}{-3} \right ) \\ &= u \left (x \right )-\frac {1}{3 \sqrt {a x +b}} \end{align*}

The above transformation applied to (1) gives a new ODE as

\begin{align*} u^{\prime }\left (x \right ) = -\frac {\left (54 \left (a x +b \right )^{{3}/{2}} a x +54 \left (a x +b \right )^{{3}/{2}} b \right ) u \left (x \right )^{3}}{54 \left (a x +b \right )^{{5}/{2}}}+\frac {u \left (x \right )}{3 a x +3 b}-\frac {9 a^{2} x +9 a b +4 a x +4 b}{54 \left (a x +b \right )^{{5}/{2}}}\tag {2} \end{align*}

The above ODE (2) can now be solved.

Entering first order ode LIE solverWriting the ode as

\begin{align*} u^{\prime }\left (x \right )&=\frac {-54 \left (a x +b \right )^{{3}/{2}} u^{3} a^{2} x^{2}-108 \left (a x +b \right )^{{3}/{2}} u^{3} a b x -54 \left (a x +b \right )^{{3}/{2}} u^{3} b^{2}+18 u \left (a x +b \right )^{{5}/{2}}-9 a^{3} x^{2}-18 a^{2} b x -4 a^{2} x^{2}-9 a \,b^{2}-8 a b x -4 b^{2}}{54 \left (a x +b \right )^{{7}/{2}}}\\ u^{\prime }\left (x \right )&= \omega \left ( x,u \left (x \right )\right ) \end{align*}

The condition of Lie symmetry is the linearized PDE given by

\begin{align*} \eta _{x}+\omega \left ( \eta _{u \left (x \right )}-\xi _{x}\right ) -\omega ^{2}\xi _{u \left (x \right )}-\omega _{x}\xi -\omega _{u \left (x \right )}\eta =0\tag {A} \end{align*}

To determine \(\xi ,\eta \) then (A) is solved using ansatz. Making bivariate polynomials of degree 1 to use as anstaz gives

\begin{align*} \tag{1E} \xi &= u a_{3}+x a_{2}+a_{1} \\ \tag{2E} \eta &= u b_{3}+x b_{2}+b_{1} \\ \end{align*}
Where the unknown coefficients are
\[ \{a_{1}, a_{2}, a_{3}, b_{1}, b_{2}, b_{3}\} \]
Substituting equations (1E,2E) and \(\omega \) into (A) gives
\begin{equation} \tag{5E} b_{2}+\frac {\left (-54 \left (a x +b \right )^{{3}/{2}} u^{3} a^{2} x^{2}-108 \left (a x +b \right )^{{3}/{2}} u^{3} a b x -54 \left (a x +b \right )^{{3}/{2}} u^{3} b^{2}+18 u \left (a x +b \right )^{{5}/{2}}-9 a^{3} x^{2}-18 a^{2} b x -4 a^{2} x^{2}-9 a \,b^{2}-8 a b x -4 b^{2}\right ) \left (b_{3}-a_{2}\right )}{54 \left (a x +b \right )^{{7}/{2}}}-\frac {\left (-54 \left (a x +b \right )^{{3}/{2}} u^{3} a^{2} x^{2}-108 \left (a x +b \right )^{{3}/{2}} u^{3} a b x -54 \left (a x +b \right )^{{3}/{2}} u^{3} b^{2}+18 u \left (a x +b \right )^{{5}/{2}}-9 a^{3} x^{2}-18 a^{2} b x -4 a^{2} x^{2}-9 a \,b^{2}-8 a b x -4 b^{2}\right )^{2} a_{3}}{2916 \left (a x +b \right )^{7}}-\left (\frac {-81 \sqrt {a x +b}\, u^{3} a^{3} x^{2}-108 \left (a x +b \right )^{{3}/{2}} u^{3} a^{2} x -162 \sqrt {a x +b}\, u^{3} a^{2} b x -108 u^{3} \left (a x +b \right )^{{3}/{2}} a b -81 \sqrt {a x +b}\, u^{3} b^{2} a +45 u \left (a x +b \right )^{{3}/{2}} a -18 a^{3} x -18 a^{2} b -8 a^{2} x -8 a b}{54 \left (a x +b \right )^{{7}/{2}}}-\frac {7 \left (-54 \left (a x +b \right )^{{3}/{2}} u^{3} a^{2} x^{2}-108 \left (a x +b \right )^{{3}/{2}} u^{3} a b x -54 \left (a x +b \right )^{{3}/{2}} u^{3} b^{2}+18 u \left (a x +b \right )^{{5}/{2}}-9 a^{3} x^{2}-18 a^{2} b x -4 a^{2} x^{2}-9 a \,b^{2}-8 a b x -4 b^{2}\right ) a}{108 \left (a x +b \right )^{{9}/{2}}}\right ) \left (u a_{3}+x a_{2}+a_{1}\right )-\frac {\left (-162 \left (a x +b \right )^{{3}/{2}} u^{2} a^{2} x^{2}-324 \left (a x +b \right )^{{3}/{2}} u^{2} a b x -162 \left (a x +b \right )^{{3}/{2}} u^{2} b^{2}+18 \left (a x +b \right )^{{5}/{2}}\right ) \left (u b_{3}+x b_{2}+b_{1}\right )}{54 \left (a x +b \right )^{{7}/{2}}} = 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 \(\{u, x\}\) in them.
\[ \left \{u, x, \sqrt {a x +b}\right \} \]
The following substitution is now made to be able to collect on all terms with \(\{u, x\}\) in them
\[ \left \{u = v_{1}, x = v_{2}, \sqrt {a x +b} = 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} \text {Expression too large to display} \end{equation}
Setting each coefficients in (8E) to zero gives the following equations to solve
\begin{align*} 1944 a^{10} a_{3}&=0\\ -2916 a^{11} a_{3}&=0\\ 8748 a^{11} b_{2}&=0\\ 1944 b^{10} a_{3}&=0\\ -2916 b^{11} a_{3}&=0\\ 19440 a \,b^{9} a_{3}&=0\\ -32076 a \,b^{10} a_{3}&=0\\ 87480 a^{2} b^{8} a_{3}&=0\\ -160380 a^{2} b^{9} a_{3}&=0\\ 233280 a^{3} b^{7} a_{3}&=0\\ -481140 a^{3} b^{8} a_{3}&=0\\ 408240 a^{4} b^{6} a_{3}&=0\\ -962280 a^{4} b^{7} a_{3}&=0\\ 489888 a^{5} b^{5} a_{3}&=0\\ -1347192 a^{5} b^{6} a_{3}&=0\\ 408240 a^{6} b^{4} a_{3}&=0\\ -1347192 a^{6} b^{5} a_{3}&=0\\ 233280 a^{7} b^{3} a_{3}&=0\\ -962280 a^{7} b^{4} a_{3}&=0\\ 87480 a^{8} b^{2} a_{3}&=0\\ -481140 a^{8} b^{3} a_{3}&=0\\ 19440 a^{9} b a_{3}&=0\\ -160380 a^{9} b^{2} a_{3}&=0\\ -32076 a^{10} b a_{3}&=0\\ -729 a^{11} a_{3}+144 a^{9} a_{3}&=0\\ -972 a^{11} a_{3}-432 a^{10} a_{3}&=0\\ 2916 a^{11} b_{2}-972 a^{10} b_{2}&=0\\ -972 a \,b^{10} a_{3}-432 b^{10} a_{3}&=0\\ -729 a^{2} b^{9} a_{3}+144 b^{9} a_{3}&=0\\ -9720 a^{2} b^{9} a_{3}-4320 a \,b^{9} a_{3}&=0\\ -6561 a^{3} b^{8} a_{3}+1296 a \,b^{8} a_{3}&=0\\ -43740 a^{3} b^{8} a_{3}-19440 a^{2} b^{8} a_{3}&=0\\ -26244 a^{4} b^{7} a_{3}+5184 a^{2} b^{7} a_{3}&=0\\ -116640 a^{4} b^{7} a_{3}-51840 a^{3} b^{7} a_{3}&=0\\ -61236 a^{5} b^{6} a_{3}+12096 a^{3} b^{6} a_{3}&=0\\ -204120 a^{5} b^{6} a_{3}-90720 a^{4} b^{6} a_{3}&=0\\ -91854 a^{6} b^{5} a_{3}+18144 a^{4} b^{5} a_{3}&=0\\ -244944 a^{6} b^{5} a_{3}-108864 a^{5} b^{5} a_{3}&=0\\ -91854 a^{7} b^{4} a_{3}+18144 a^{5} b^{4} a_{3}&=0\\ -204120 a^{7} b^{4} a_{3}-90720 a^{6} b^{4} a_{3}&=0\\ -61236 a^{8} b^{3} a_{3}+12096 a^{6} b^{3} a_{3}&=0\\ -116640 a^{8} b^{3} a_{3}-51840 a^{7} b^{3} a_{3}&=0\\ -26244 a^{9} b^{2} a_{3}+5184 a^{7} b^{2} a_{3}&=0\\ -43740 a^{9} b^{2} a_{3}-19440 a^{8} b^{2} a_{3}&=0\\ -6561 a^{10} b a_{3}+1296 a^{8} b a_{3}&=0\\ -9720 a^{10} b a_{3}-4320 a^{9} b a_{3}&=0\\ 2916 a^{11} a_{2}+5832 a^{11} b_{3}&=0\\ 2916 b^{11} a_{2}+5832 b^{11} b_{3}&=0\\ 972 a \,b^{9} a_{1}-972 b^{10} a_{2}&=0\\ 8748 a^{2} b^{8} a_{1}-8748 a \,b^{9} a_{2}&=0\\ 34992 a^{3} b^{7} a_{1}-34992 a^{2} b^{8} a_{2}&=0\\ 81648 a^{4} b^{6} a_{1}-81648 a^{3} b^{7} a_{2}&=0\\ 122472 a^{5} b^{5} a_{1}-122472 a^{4} b^{6} a_{2}&=0\\ 122472 a^{6} b^{4} a_{1}-122472 a^{5} b^{5} a_{2}&=0\\ 81648 a^{7} b^{3} a_{1}-81648 a^{6} b^{4} a_{2}&=0\\ 34992 a^{8} b^{2} a_{1}-34992 a^{7} b^{3} a_{2}&=0\\ 8748 a^{9} b a_{1}-8748 a^{8} b^{2} a_{2}&=0\\ 972 a^{10} a_{1}-972 a^{9} b a_{2}&=0\\ 32076 a \,b^{10} a_{2}+64152 a \,b^{10} b_{3}&=0\\ 160380 a^{2} b^{9} a_{2}+320760 a^{2} b^{9} b_{3}&=0\\ 481140 a^{3} b^{8} a_{2}+962280 a^{3} b^{8} b_{3}&=0\\ 962280 a^{4} b^{7} a_{2}+1924560 a^{4} b^{7} b_{3}&=0\\ 1347192 a^{5} b^{6} a_{2}+2694384 a^{5} b^{6} b_{3}&=0\\ 1347192 a^{6} b^{5} a_{2}+2694384 a^{6} b^{5} b_{3}&=0\\ 962280 a^{7} b^{4} a_{2}+1924560 a^{7} b^{4} b_{3}&=0\\ 481140 a^{8} b^{3} a_{2}+962280 a^{8} b^{3} b_{3}&=0\\ 160380 a^{9} b^{2} a_{2}+320760 a^{9} b^{2} b_{3}&=0\\ 32076 a^{10} b a_{2}+64152 a^{10} b b_{3}&=0\\ 96228 a^{10} b b_{1}+481140 a^{9} b^{2} b_{2}&=0\\ 8748 a^{11} b_{1}+96228 a^{10} b b_{2}&=0\\ 8748 b^{11} b_{1}+972 a \,b^{9} a_{3}-324 b^{9} a_{3}&=0\\ 160380 a^{9} b^{2} b_{2}-9720 a^{9} b b_{1}-43740 a^{8} b^{2} b_{2}&=0\\ 32076 a^{10} b b_{2}-972 a^{10} b_{1}-9720 a^{9} b b_{2}&=0\\ -243 a^{11} a_{2}-486 a^{11} b_{3}-108 a^{10} a_{2}-216 a^{10} b_{3}&=0\\ 96228 a \,b^{10} b_{1}+8748 b^{11} b_{2}+8748 a^{2} b^{8} a_{3}-2916 a \,b^{8} a_{3}&=0\\ 481140 a^{2} b^{9} b_{1}+96228 a \,b^{10} b_{2}+34992 a^{3} b^{7} a_{3}-11664 a^{2} b^{7} a_{3}&=0\\ 1443420 a^{3} b^{8} b_{1}+481140 a^{2} b^{9} b_{2}+81648 a^{4} b^{6} a_{3}-27216 a^{3} b^{6} a_{3}&=0\\ 2886840 a^{4} b^{7} b_{1}+1443420 a^{3} b^{8} b_{2}+122472 a^{5} b^{5} a_{3}-40824 a^{4} b^{5} a_{3}&=0\\ 4041576 a^{5} b^{6} b_{1}+2886840 a^{4} b^{7} b_{2}+122472 a^{6} b^{4} a_{3}-40824 a^{5} b^{4} a_{3}&=0\\ 4041576 a^{6} b^{5} b_{1}+4041576 a^{5} b^{6} b_{2}+81648 a^{7} b^{3} a_{3}-27216 a^{6} b^{3} a_{3}&=0\\ 2886840 a^{7} b^{4} b_{1}+4041576 a^{6} b^{5} b_{2}+34992 a^{8} b^{2} a_{3}-11664 a^{7} b^{2} a_{3}&=0\\ 1443420 a^{8} b^{3} b_{1}+2886840 a^{7} b^{4} b_{2}+8748 a^{9} b a_{3}-2916 a^{8} b a_{3}&=0\\ 481140 a^{9} b^{2} b_{1}+1443420 a^{8} b^{3} b_{2}+972 a^{10} a_{3}-324 a^{9} a_{3}&=0\\ 2916 b^{11} b_{2}-81 a^{2} b^{8} a_{3}-972 b^{10} b_{1}-72 a \,b^{8} a_{3}-16 b^{8} a_{3}&=0\\ -729 a^{2} b^{9} a_{1}+486 a \,b^{10} a_{2}-486 a \,b^{10} b_{3}-324 a \,b^{9} a_{1}+216 b^{10} a_{2}-216 b^{10} b_{3}&=0\\ -6561 a^{3} b^{8} a_{1}+4131 a^{2} b^{9} a_{2}-4860 a^{2} b^{9} b_{3}-2916 a^{2} b^{8} a_{1}+1836 a \,b^{9} a_{2}-2160 a \,b^{9} b_{3}&=0\\ -26244 a^{4} b^{7} a_{1}+15309 a^{3} b^{8} a_{2}-21870 a^{3} b^{8} b_{3}-11664 a^{3} b^{7} a_{1}+6804 a^{2} b^{8} a_{2}-9720 a^{2} b^{8} b_{3}&=0\\ -61236 a^{5} b^{6} a_{1}+32076 a^{4} b^{7} a_{2}-58320 a^{4} b^{7} b_{3}-27216 a^{4} b^{6} a_{1}+14256 a^{3} b^{7} a_{2}-25920 a^{3} b^{7} b_{3}&=0\\ -91854 a^{6} b^{5} a_{1}+40824 a^{5} b^{6} a_{2}-102060 a^{5} b^{6} b_{3}-40824 a^{5} b^{5} a_{1}+18144 a^{4} b^{6} a_{2}-45360 a^{4} b^{6} b_{3}&=0\\ -91854 a^{7} b^{4} a_{1}+30618 a^{6} b^{5} a_{2}-122472 a^{6} b^{5} b_{3}-40824 a^{6} b^{4} a_{1}+13608 a^{5} b^{5} a_{2}-54432 a^{5} b^{5} b_{3}&=0\\ -61236 a^{8} b^{3} a_{1}+10206 a^{7} b^{4} a_{2}-102060 a^{7} b^{4} b_{3}-27216 a^{7} b^{3} a_{1}+4536 a^{6} b^{4} a_{2}-45360 a^{6} b^{4} b_{3}&=0\\ -26244 a^{9} b^{2} a_{1}-2916 a^{8} b^{3} a_{2}-58320 a^{8} b^{3} b_{3}-11664 a^{8} b^{2} a_{1}-1296 a^{7} b^{3} a_{2}-25920 a^{7} b^{3} b_{3}&=0\\ -6561 a^{10} b a_{1}-4374 a^{9} b^{2} a_{2}-21870 a^{9} b^{2} b_{3}-2916 a^{9} b a_{1}-1944 a^{8} b^{2} a_{2}-9720 a^{8} b^{2} b_{3}&=0\\ -729 a^{11} a_{1}-1701 a^{10} b a_{2}-4860 a^{10} b b_{3}-324 a^{10} a_{1}-756 a^{9} b a_{2}-2160 a^{9} b b_{3}&=0\\ 32076 a \,b^{10} b_{2}-648 a^{3} b^{7} a_{3}-9720 a \,b^{9} b_{1}-972 b^{10} b_{2}-576 a^{2} b^{7} a_{3}-128 a \,b^{7} a_{3}&=0\\ 160380 a^{2} b^{9} b_{2}-2268 a^{4} b^{6} a_{3}-43740 a^{2} b^{8} b_{1}-9720 a \,b^{9} b_{2}-2016 a^{3} b^{6} a_{3}-448 a^{2} b^{6} a_{3}&=0\\ 481140 a^{3} b^{8} b_{2}-4536 a^{5} b^{5} a_{3}-116640 a^{3} b^{7} b_{1}-43740 a^{2} b^{8} b_{2}-4032 a^{4} b^{5} a_{3}-896 a^{3} b^{5} a_{3}&=0\\ 962280 a^{4} b^{7} b_{2}-5670 a^{6} b^{4} a_{3}-204120 a^{4} b^{6} b_{1}-116640 a^{3} b^{7} b_{2}-5040 a^{5} b^{4} a_{3}-1120 a^{4} b^{4} a_{3}&=0\\ 1347192 a^{5} b^{6} b_{2}-4536 a^{7} b^{3} a_{3}-244944 a^{5} b^{5} b_{1}-204120 a^{4} b^{6} b_{2}-4032 a^{6} b^{3} a_{3}-896 a^{5} b^{3} a_{3}&=0\\ 1347192 a^{6} b^{5} b_{2}-2268 a^{8} b^{2} a_{3}-204120 a^{6} b^{4} b_{1}-244944 a^{5} b^{5} b_{2}-2016 a^{7} b^{2} a_{3}-448 a^{6} b^{2} a_{3}&=0\\ 962280 a^{7} b^{4} b_{2}-648 a^{9} b a_{3}-116640 a^{7} b^{3} b_{1}-204120 a^{6} b^{4} b_{2}-576 a^{8} b a_{3}-128 a^{7} b a_{3}&=0\\ 481140 a^{8} b^{3} b_{2}-81 a^{10} a_{3}-43740 a^{8} b^{2} b_{1}-116640 a^{7} b^{3} b_{2}-72 a^{9} a_{3}-16 a^{8} a_{3}&=0 \end{align*}

Solving the above equations for the unknowns gives

\begin{align*} a_{1}&=-\frac {2 b b_{3}}{a}\\ a_{2}&=-2 b_{3}\\ a_{3}&=0\\ b_{1}&=0\\ b_{2}&=0\\ b_{3}&=b_{3} \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 &= -\frac {2 \left (a x +b \right )}{a} \\ \eta &= u \\ \end{align*}
The next step is to determine the canonical coordinates \(R,S\). The canonical coordinates map \(\left ( x,u\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 u}{\eta } = dS \tag {1} \end{align*}

The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial x} + \eta \frac {\partial }{\partial u}\right ) S(x,u) = 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)\). Therefore

\begin{align*} \frac {du}{dx} &= \frac {\eta }{\xi }\\ &= \frac {u}{-\frac {2 \left (a x +b \right )}{a}}\\ &= -\frac {a u}{2 a x +2 b} \end{align*}

This is easily solved to give

\begin{align*} u \left (x \right ) = \frac {c_1}{\sqrt {a x +b}} \end{align*}

Where now the coordinate \(R\) is taken as the constant of integration. Hence

\begin{align*} R &= u \sqrt {a x +b} \end{align*}

And \(S\) is found from

\begin{align*} dS &= \frac {dx}{\xi } \\ &= \frac {dx}{-\frac {2 \left (a x +b \right )}{a}} \end{align*}

Integrating gives

\begin{align*} S &= \int { \frac {dx}{T}}\\ &= -\frac {\ln \left (a x +b \right )}{2} \end{align*}

Where the constant of integration is set to zero as we just need one solution. 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,u) S_{u} }{ R_{x} + \omega (x,u) R_{u} }\tag {2} \end{align*}

Where in the above \(R_{x},R_{u},S_{x},S_{u}\) are all partial derivatives and \(\omega (x,u)\) is the right hand side of the original ode given by

\begin{align*} \omega (x,u) &= \frac {-54 \left (a x +b \right )^{{3}/{2}} u^{3} a^{2} x^{2}-108 \left (a x +b \right )^{{3}/{2}} u^{3} a b x -54 \left (a x +b \right )^{{3}/{2}} u^{3} b^{2}+18 u \left (a x +b \right )^{{5}/{2}}-9 a^{3} x^{2}-18 a^{2} b x -4 a^{2} x^{2}-9 a \,b^{2}-8 a b x -4 b^{2}}{54 \left (a x +b \right )^{{7}/{2}}} \end{align*}

Evaluating all the partial derivatives gives

\begin{align*} R_{x} &= \frac {u a}{2 \sqrt {a x +b}}\\ R_{u} &= \sqrt {a x +b}\\ S_{x} &= -\frac {a}{2 a x +2 b}\\ S_{u} &= 0 \end{align*}

Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.

\begin{align*} \frac {dS}{dR} &= \frac {27 a \sqrt {a x +b}}{\left (9 a +4\right ) \sqrt {a x +b}+54 \left (a x +b \right ) u \left (\left (a x +b \right ) u^{2}-\frac {a}{2}-\frac {1}{3}\right )}\tag {2A} \end{align*}

We now need to express the RHS as function of \(R\) only. This is done by solving for \(x,u\) in terms of \(R,S\) from the result obtained earlier and simplifying. This gives

\begin{align*} \frac {dS}{dR} &= \frac {27 a}{54 R^{3}+\left (-27 a -18\right ) R +9 a +4} \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\).

Since the ode has the form \(\frac {d}{d R}S \left (R \right )=f(R)\), then we only need to integrate \(f(R)\).

\begin{align*} \int {dS} &= \int {\frac {27 a}{54 R^{3}-27 R a -18 R +9 a +4}\, dR}\\ S \left (R \right ) &= -\ln \left (3 R -1\right )+\frac {\ln \left (18 R^{2}+6 R -9 a -4\right )}{2}-\frac {\operatorname {arctanh}\left (\frac {36 R +6}{18 \sqrt {2 a +1}}\right )}{\sqrt {2 a +1}} + c_2 \end{align*}
\begin{align*} S \left (R \right )&= -\ln \left (3 R -1\right )+\frac {\ln \left (18 R^{2}+6 R -9 a -4\right )}{2}-\frac {\operatorname {arctanh}\left (\frac {6 R +1}{3 \sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \end{align*}

To complete the solution, we just need to transform the above back to \(x,u\) coordinates. This results in

\begin{align*} -\frac {\ln \left (a x +b \right )}{2} = -\ln \left (3 u \left (x \right ) \sqrt {a x +b}-1\right )+\frac {\ln \left (18 \left (a x +b \right ) u \left (x \right )^{2}+6 u \left (x \right ) \sqrt {a x +b}-9 a -4\right )}{2}-\frac {\operatorname {arctanh}\left (\frac {6 u \left (x \right ) \sqrt {a x +b}+1}{3 \sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \end{align*}

Substituting \(u=u \left (x \right )+\frac {1}{3 \sqrt {a x +b}}\) in the above solution gives

\begin{align*} -\frac {\ln \left (a x +b \right )}{2} = -\ln \left (3 \left (u \left (x \right )+\frac {1}{3 \sqrt {a x +b}}\right ) \sqrt {a x +b}-1\right )+\frac {\ln \left (18 \left (a x +b \right ) \left (u \left (x \right )+\frac {1}{3 \sqrt {a x +b}}\right )^{2}+6 \left (u \left (x \right )+\frac {1}{3 \sqrt {a x +b}}\right ) \sqrt {a x +b}-9 a -4\right )}{2}-\frac {\operatorname {arctanh}\left (\frac {6 \left (u \left (x \right )+\frac {1}{3 \sqrt {a x +b}}\right ) \sqrt {a x +b}+1}{3 \sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \end{align*}

Simplifying the above gives

\begin{align*} -\frac {\ln \left (a x +b \right )}{2} &= -\ln \left (u \left (x \right ) \sqrt {a x +b}\right )+\frac {\ln \left (2 u \left (x \right ) \sqrt {a x +b}+2 \left (a x +b \right ) u \left (x \right )^{2}-a \right )}{2}-\frac {\operatorname {arctanh}\left (\frac {2 u \left (x \right ) \sqrt {a x +b}+1}{\sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \\ \end{align*}
Substituting \(u \left (x \right )=\frac {1}{y}\) in the above solution gives
\[ -\frac {\ln \left (a x +b \right )}{2} = -\ln \left (\frac {\sqrt {a x +b}}{y}\right )+\frac {\ln \left (\frac {2 \sqrt {a x +b}}{y}+\frac {2 a x +2 b}{y^{2}}-a \right )}{2}-\frac {\operatorname {arctanh}\left (\frac {\frac {2 \sqrt {a x +b}}{y}+1}{\sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \]
Simplifying the above gives
\begin{align*} -\frac {\ln \left (a x +b \right )}{2} &= -\ln \left (\frac {\sqrt {a x +b}}{y}\right )+\frac {\ln \left (\frac {-a y^{2}+2 \sqrt {a x +b}\, y+2 a x +2 b}{y^{2}}\right )}{2}-\frac {\operatorname {arctanh}\left (\frac {2 \sqrt {a x +b}+y}{y \sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \\ \end{align*}

Summary of solutions found

\begin{align*} -\frac {\ln \left (a x +b \right )}{2} &= -\ln \left (\frac {\sqrt {a x +b}}{y}\right )+\frac {\ln \left (\frac {-a y^{2}+2 \sqrt {a x +b}\, y+2 a x +2 b}{y^{2}}\right )}{2}-\frac {\operatorname {arctanh}\left (\frac {2 \sqrt {a x +b}+y}{y \sqrt {2 a +1}}\right )}{\sqrt {2 a +1}}+c_2 \\ \end{align*}
2.23.4.2 Solved using first_order_ode_LIE

42.883 (sec)

Entering first order ode LIE solver

\begin{align*} y^{\prime } y&=\frac {y}{\sqrt {a x +b}}+1 \\ \end{align*}
Writing the ode as
\begin{align*} y^{\prime }&=\frac {y +\sqrt {a x +b}}{\sqrt {a x +b}\, 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*}

To determine \(\xi ,\eta \) then (A) is solved using ansatz. Making bivariate polynomials of degree 1 to use as anstaz gives

\begin{align*} \tag{1E} \xi &= x a_{2}+y a_{3}+a_{1} \\ \tag{2E} \eta &= x b_{2}+y b_{3}+b_{1} \\ \end{align*}
Where the unknown coefficients are
\[ \{a_{1}, a_{2}, a_{3}, b_{1}, b_{2}, b_{3}\} \]
Substituting equations (1E,2E) and \(\omega \) into (A) gives
\begin{equation} \tag{5E} b_{2}+\frac {\left (y +\sqrt {a x +b}\right ) \left (b_{3}-a_{2}\right )}{\sqrt {a x +b}\, y}-\frac {\left (y +\sqrt {a x +b}\right )^{2} a_{3}}{\left (a x +b \right ) y^{2}}-\left (\frac {a}{2 \left (a x +b \right ) y}-\frac {\left (y +\sqrt {a x +b}\right ) a}{2 \left (a x +b \right )^{{3}/{2}} y}\right ) \left (x a_{2}+y a_{3}+a_{1}\right )-\left (\frac {1}{\sqrt {a x +b}\, y}-\frac {y +\sqrt {a x +b}}{\sqrt {a x +b}\, y^{2}}\right ) \left (x b_{2}+y b_{3}+b_{1}\right ) = 0 \end{equation}
Putting the above in normal form gives
\[ -\frac {2 \left (a x +b \right )^{{5}/{2}} a_{3}-4 a b x \,y^{2} b_{3}+8 a b x y a_{3}+3 a b x \,y^{2} a_{2}-2 \left (a x +b \right )^{{3}/{2}} a x \,y^{2} b_{2}+3 \left (a x +b \right )^{{3}/{2}} a x y a_{2}-4 \left (a x +b \right )^{{3}/{2}} a x y b_{3}-\sqrt {a x +b}\, a^{2} x^{2} y a_{2}-\sqrt {a x +b}\, a^{2} x \,y^{2} a_{3}-\sqrt {a x +b}\, a^{2} x y a_{1}-\sqrt {a x +b}\, a b \,y^{2} a_{3}-\sqrt {a x +b}\, a b y a_{1}-2 a^{2} x^{2} y^{2} b_{3}+4 a^{2} x^{2} y a_{3}+2 \left (a x +b \right )^{{3}/{2}} y^{2} a_{3}-2 \left (a x +b \right )^{{3}/{2}} b b_{1}+a^{2} x^{2} y^{2} a_{2}-a^{2} x \,y^{3} a_{3}-a^{2} x \,y^{2} a_{1}-a b \,y^{3} a_{3}-a b \,y^{2} a_{1}-2 \left (a x +b \right )^{{3}/{2}} a \,x^{2} b_{2}+\left (a x +b \right )^{{3}/{2}} a \,y^{2} a_{3}-2 \left (a x +b \right )^{{3}/{2}} b \,y^{2} b_{2}-2 \left (a x +b \right )^{{3}/{2}} a x b_{1}+\left (a x +b \right )^{{3}/{2}} a y a_{1}-2 \left (a x +b \right )^{{3}/{2}} b x b_{2}+2 \left (a x +b \right )^{{3}/{2}} b y a_{2}-4 \left (a x +b \right )^{{3}/{2}} b y b_{3}+2 b^{2} y^{2} a_{2}-2 b^{2} y^{2} b_{3}-\sqrt {a x +b}\, a b x y a_{2}+4 b^{2} y a_{3}}{2 \left (a x +b \right )^{{5}/{2}} y^{2}} = 0 \]
Setting the numerator to zero gives
\begin{equation} \tag{6E} -2 \left (a x +b \right )^{{5}/{2}} a_{3}+4 a b x \,y^{2} b_{3}-8 a b x y a_{3}-3 a b x \,y^{2} a_{2}+2 \left (a x +b \right )^{{3}/{2}} a x \,y^{2} b_{2}-3 \left (a x +b \right )^{{3}/{2}} a x y a_{2}+4 \left (a x +b \right )^{{3}/{2}} a x y b_{3}+\sqrt {a x +b}\, a^{2} x^{2} y a_{2}+\sqrt {a x +b}\, a^{2} x \,y^{2} a_{3}+\sqrt {a x +b}\, a^{2} x y a_{1}+\sqrt {a x +b}\, a b \,y^{2} a_{3}+\sqrt {a x +b}\, a b y a_{1}+2 a^{2} x^{2} y^{2} b_{3}-4 a^{2} x^{2} y a_{3}-2 \left (a x +b \right )^{{3}/{2}} y^{2} a_{3}+2 \left (a x +b \right )^{{3}/{2}} b b_{1}-a^{2} x^{2} y^{2} a_{2}+a^{2} x \,y^{3} a_{3}+a^{2} x \,y^{2} a_{1}+a b \,y^{3} a_{3}+a b \,y^{2} a_{1}+2 \left (a x +b \right )^{{3}/{2}} a \,x^{2} b_{2}-\left (a x +b \right )^{{3}/{2}} a \,y^{2} a_{3}+2 \left (a x +b \right )^{{3}/{2}} b \,y^{2} b_{2}+2 \left (a x +b \right )^{{3}/{2}} a x b_{1}-\left (a x +b \right )^{{3}/{2}} a y a_{1}+2 \left (a x +b \right )^{{3}/{2}} b x b_{2}-2 \left (a x +b \right )^{{3}/{2}} b y a_{2}+4 \left (a x +b \right )^{{3}/{2}} b y b_{3}-2 b^{2} y^{2} a_{2}+2 b^{2} y^{2} b_{3}+\sqrt {a x +b}\, a b x y a_{2}-4 b^{2} y a_{3} = 0 \end{equation}
Simplifying the above gives
\begin{equation} \tag{6E} -2 \left (a x +b \right )^{{5}/{2}} a_{3}+a b x \,y^{2} a_{2}+2 \left (a x +b \right )^{{3}/{2}} a x \,y^{2} b_{2}-3 \left (a x +b \right )^{{3}/{2}} a x y a_{2}+4 \left (a x +b \right )^{{3}/{2}} a x y b_{3}-2 \left (a x +b \right ) a x \,y^{2} a_{2}+2 \left (a x +b \right ) a x \,y^{2} b_{3}+\sqrt {a x +b}\, a^{2} x^{2} y a_{2}+\sqrt {a x +b}\, a^{2} x \,y^{2} a_{3}+\sqrt {a x +b}\, a^{2} x y a_{1}+\sqrt {a x +b}\, a b \,y^{2} a_{3}+\sqrt {a x +b}\, a b y a_{1}-4 \left (a x +b \right )^{2} y a_{3}-2 \left (a x +b \right )^{{3}/{2}} y^{2} a_{3}+2 \left (a x +b \right )^{{3}/{2}} b b_{1}+a^{2} x^{2} y^{2} a_{2}+a^{2} x \,y^{3} a_{3}+a^{2} x \,y^{2} a_{1}+a b \,y^{3} a_{3}+a b \,y^{2} a_{1}+2 \left (a x +b \right )^{{3}/{2}} a \,x^{2} b_{2}-\left (a x +b \right )^{{3}/{2}} a \,y^{2} a_{3}+2 \left (a x +b \right )^{{3}/{2}} b \,y^{2} b_{2}+2 \left (a x +b \right )^{{3}/{2}} a x b_{1}-\left (a x +b \right )^{{3}/{2}} a y a_{1}+2 \left (a x +b \right )^{{3}/{2}} b x b_{2}-2 \left (a x +b \right )^{{3}/{2}} b y a_{2}+4 \left (a x +b \right )^{{3}/{2}} b y b_{3}-2 \left (a x +b \right ) b \,y^{2} a_{2}+2 \left (a x +b \right ) b \,y^{2} b_{3}+\sqrt {a x +b}\, a b x y a_{2} = 0 \end{equation}
Since the PDE has radicals, simplifying gives
\[ 2 b^{2} x \sqrt {a x +b}\, b_{2}-2 b^{2} \sqrt {a x +b}\, y a_{2}+4 b^{2} \sqrt {a x +b}\, y b_{3}-2 b \sqrt {a x +b}\, y^{2} a_{3}+2 a^{2} x^{2} \sqrt {a x +b}\, y^{2} b_{2}+4 a^{2} x^{2} \sqrt {a x +b}\, y b_{3}+4 a b \,x^{2} \sqrt {a x +b}\, b_{2}-2 a x \sqrt {a x +b}\, y^{2} a_{3}-4 a b x \sqrt {a x +b}\, a_{3}+4 a b x \sqrt {a x +b}\, b_{1}+4 a b x \,y^{2} b_{3}-8 a b x y a_{3}-3 a b x \,y^{2} a_{2}-2 \sqrt {a x +b}\, a^{2} x^{2} y a_{2}+2 a^{2} x^{2} y^{2} b_{3}-4 a^{2} x^{2} y a_{3}-a^{2} x^{2} y^{2} a_{2}+a^{2} x \,y^{3} a_{3}+a^{2} x \,y^{2} a_{1}+a b \,y^{3} a_{3}+a b \,y^{2} a_{1}-2 b^{2} y^{2} a_{2}+2 b^{2} y^{2} b_{3}+4 a b x \sqrt {a x +b}\, y^{2} b_{2}+2 a^{2} x^{3} \sqrt {a x +b}\, b_{2}-2 a^{2} x^{2} \sqrt {a x +b}\, a_{3}+2 a^{2} x^{2} \sqrt {a x +b}\, b_{1}+2 b^{2} \sqrt {a x +b}\, y^{2} b_{2}-2 b^{2} \sqrt {a x +b}\, a_{3}+2 b^{2} \sqrt {a x +b}\, b_{1}+8 a b x \sqrt {a x +b}\, y b_{3}-4 \sqrt {a x +b}\, a b x y a_{2}-4 b^{2} y a_{3} = 0 \]
Looking at the above PDE shows the following are all the terms with \(\{x, y\}\) in them.
\[ \left \{x, y, \sqrt {a x +b}\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 {a x +b} = v_{3}\right \} \]
The above PDE (6E) now becomes
\begin{equation} \tag{7E} 2 a^{2} v_{1}^{2} v_{3} v_{2}^{2} b_{2}-a^{2} v_{1}^{2} v_{2}^{2} a_{2}-2 v_{3} a^{2} v_{1}^{2} v_{2} a_{2}+a^{2} v_{1} v_{2}^{3} a_{3}+2 a^{2} v_{1}^{3} v_{3} b_{2}+2 a^{2} v_{1}^{2} v_{2}^{2} b_{3}+4 a^{2} v_{1}^{2} v_{3} v_{2} b_{3}+4 a b v_{1} v_{3} v_{2}^{2} b_{2}+a^{2} v_{1} v_{2}^{2} a_{1}-4 a^{2} v_{1}^{2} v_{2} a_{3}-2 a^{2} v_{1}^{2} v_{3} a_{3}+2 a^{2} v_{1}^{2} v_{3} b_{1}-3 a b v_{1} v_{2}^{2} a_{2}-4 v_{3} a b v_{1} v_{2} a_{2}+a b v_{2}^{3} a_{3}+4 a b v_{1}^{2} v_{3} b_{2}+4 a b v_{1} v_{2}^{2} b_{3}+8 a b v_{1} v_{3} v_{2} b_{3}-2 a v_{1} v_{3} v_{2}^{2} a_{3}+2 b^{2} v_{3} v_{2}^{2} b_{2}+a b v_{2}^{2} a_{1}-8 a b v_{1} v_{2} a_{3}-4 a b v_{1} v_{3} a_{3}+4 a b v_{1} v_{3} b_{1}-2 b^{2} v_{2}^{2} a_{2}-2 b^{2} v_{3} v_{2} a_{2}+2 b^{2} v_{1} v_{3} b_{2}+2 b^{2} v_{2}^{2} b_{3}+4 b^{2} v_{3} v_{2} b_{3}-2 b v_{3} v_{2}^{2} a_{3}-4 b^{2} v_{2} a_{3}-2 b^{2} v_{3} a_{3}+2 b^{2} v_{3} b_{1} = 0 \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} 2 a^{2} v_{1}^{3} v_{3} b_{2}+2 a^{2} v_{1}^{2} v_{3} v_{2}^{2} b_{2}+\left (-a^{2} a_{2}+2 a^{2} b_{3}\right ) v_{1}^{2} v_{2}^{2}+\left (-2 a^{2} a_{2}+4 a^{2} b_{3}\right ) v_{1}^{2} v_{2} v_{3}-4 a^{2} v_{1}^{2} v_{2} a_{3}+\left (-2 a^{2} a_{3}+2 a^{2} b_{1}+4 a b b_{2}\right ) v_{1}^{2} v_{3}+a^{2} v_{1} v_{2}^{3} a_{3}+\left (4 a b b_{2}-2 a a_{3}\right ) v_{1} v_{2}^{2} v_{3}+\left (a^{2} a_{1}-3 a b a_{2}+4 a b b_{3}\right ) v_{1} v_{2}^{2}+\left (-4 a b a_{2}+8 a b b_{3}\right ) v_{1} v_{2} v_{3}-8 a b v_{1} v_{2} a_{3}+\left (-4 a b a_{3}+4 a b b_{1}+2 b^{2} b_{2}\right ) v_{1} v_{3}+a b v_{2}^{3} a_{3}+\left (2 b^{2} b_{2}-2 b a_{3}\right ) v_{2}^{2} v_{3}+\left (a b a_{1}-2 b^{2} a_{2}+2 b^{2} b_{3}\right ) v_{2}^{2}+\left (-2 b^{2} a_{2}+4 b^{2} b_{3}\right ) v_{2} v_{3}-4 b^{2} v_{2} a_{3}+\left (-2 b^{2} a_{3}+2 b^{2} b_{1}\right ) v_{3} = 0 \end{equation}
Setting each coefficients in (8E) to zero gives the following equations to solve
\begin{align*} a^{2} a_{3}&=0\\ a b a_{3}&=0\\ -4 a^{2} a_{3}&=0\\ 2 a^{2} b_{2}&=0\\ -4 b^{2} a_{3}&=0\\ -8 a b a_{3}&=0\\ -2 a^{2} a_{2}+4 a^{2} b_{3}&=0\\ -a^{2} a_{2}+2 a^{2} b_{3}&=0\\ -2 b^{2} a_{2}+4 b^{2} b_{3}&=0\\ -2 b^{2} a_{3}+2 b^{2} b_{1}&=0\\ 2 b^{2} b_{2}-2 b a_{3}&=0\\ -4 a b a_{2}+8 a b b_{3}&=0\\ 4 a b b_{2}-2 a a_{3}&=0\\ a b a_{1}-2 b^{2} a_{2}+2 b^{2} b_{3}&=0\\ a^{2} a_{1}-3 a b a_{2}+4 a b b_{3}&=0\\ -4 a b a_{3}+4 a b b_{1}+2 b^{2} b_{2}&=0\\ -2 a^{2} a_{3}+2 a^{2} b_{1}+4 a b b_{2}&=0 \end{align*}

Solving the above equations for the unknowns gives

\begin{align*} a_{1}&=\frac {2 b b_{3}}{a}\\ a_{2}&=2 b_{3}\\ a_{3}&=0\\ b_{1}&=0\\ b_{2}&=0\\ b_{3}&=b_{3} \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 &= \frac {2 a x +2 b}{a} \\ \eta &= y \\ \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 \\ &= y - \left (\frac {y +\sqrt {a x +b}}{\sqrt {a x +b}\, y}\right ) \left (\frac {2 a x +2 b}{a}\right ) \\ &= \frac {-2 \sqrt {a x +b}\, y +\left (y^{2}-2 x \right ) a -2 b}{a y}\\ \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 \sqrt {a x +b}\, y +\left (y^{2}-2 x \right ) a -2 b}{a y}}} dy \end{align*}

Which results in

\begin{align*} S&= \frac {\ln \left (-a \,y^{2}+2 a x +2 b +2 \sqrt {a x +b}\, y \right )}{2}+\frac {\sqrt {a x +b}\, \operatorname {arctanh}\left (\frac {-2 a y +2 \sqrt {a x +b}}{2 \sqrt {2 a^{2} x +2 a b +a x +b}}\right )}{\sqrt {2 a^{2} x +2 a b +a x +b}} \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 +\sqrt {a x +b}}{\sqrt {a x +b}\, y} \end{align*}

Evaluating all the partial derivatives gives

\begin{align*} R_{x} &= 1\\ R_{y} &= 0\\ S_{x} &= \frac {4 a \left (\frac {\left (\left (-\frac {y^{2}}{2}+x \right ) a +y^{2}+b \right ) \sqrt {a x +b}}{2}+\left (\left (-\frac {y^{2}}{4}+x \right ) a +b \right ) y \right )}{\sqrt {a x +b}\, \left (-a \,y^{2}+2 a x +2 b +2 \sqrt {a x +b}\, y \right )^{2}}\\ S_{y} &= -\frac {2 a y \left (\left (\left (-\frac {y^{2}}{2}+x \right ) a +b \right ) \sqrt {a x +b}+\left (a x +b \right ) y \right )}{\sqrt {a x +b}\, \left (-a \,y^{2}+2 a x +2 b +2 \sqrt {a x +b}\, y \right )^{2}} \end{align*}

Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.

\begin{align*} \frac {dS}{dR} &= 0\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} &= 0 \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\).

Since the ode has the form \(\frac {d}{d R}S \left (R \right )=f(R)\), then we only need to integrate \(f(R)\).

\begin{align*} \int {dS} &= \int {0\, dR} + c_2 \\ S \left (R \right ) &= c_2 \end{align*}

To complete the solution, we just need to transform the above back to \(x,y\) coordinates. This results in

\begin{align*} \frac {\sqrt {a x +b}\, \operatorname {arctanh}\left (\frac {-a y+\sqrt {a x +b}}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )}}\right )}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )}}+\frac {\ln \left (2 \sqrt {a x +b}\, y+\left (-y^{2}+2 x \right ) a +2 b \right )}{2} = c_2 \end{align*}

Simplifying the above gives

\begin{align*} \frac {\sqrt {a x +b}\, \operatorname {arctanh}\left (\frac {-a y+\sqrt {a x +b}}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )}}\right )}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )}}+\frac {\ln \left (-a y^{2}+2 \sqrt {a x +b}\, y+2 a x +2 b \right )}{2} &= c_2 \\ \end{align*}

Summary of solutions found

\begin{align*} \frac {\sqrt {a x +b}\, \operatorname {arctanh}\left (\frac {-a y+\sqrt {a x +b}}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )}}\right )}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )}}+\frac {\ln \left (-a y^{2}+2 \sqrt {a x +b}\, y+2 a x +2 b \right )}{2} &= c_2 \\ \end{align*}
2.23.4.3 Maple. Time used: 0.079 (sec). Leaf size: 153
ode:=y(x)*diff(y(x),x) = 1/(a*x+b)^(1/2)*y(x)+1; 
dsolve(ode,y(x), singsol=all);
 
\[ \frac {2 \,\operatorname {arctanh}\left (\frac {-\sqrt {a x +b}\, y a +a x +b}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )^{2}}}\right ) a x}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )^{2}}}+\frac {2 \,\operatorname {arctanh}\left (\frac {-\sqrt {a x +b}\, y a +a x +b}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )^{2}}}\right ) b}{\sqrt {\left (2 a +1\right ) \left (a x +b \right )^{2}}}+\ln \left (\left (a y^{2}-2 a x -2 b \right ) \sqrt {a x +b}-2 y \left (a x +b \right )\right )-\frac {\ln \left (a x +b \right )}{2}-c_1 = 0 \]

Maple trace

Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying 1st order linear 
trying Bernoulli 
trying separable 
trying inverse linear 
trying homogeneous types: 
trying Chini 
differential order: 1; looking for linear symmetries 
differential order: 1; found: 1 linear symmetries. Trying reduction of order 
1st order, trying the canonical coordinates of the invariance group 
   -> Calling odsolve with the ODE, diff(y(x),x) = y(x)/(2*a*x+2*b)*a, y(x) 
      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
<- 1st order, canonical coordinates successful
 

Maple step by step

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y \left (x \right ) \left (\frac {d}{d x}y \left (x \right )\right )=\frac {y \left (x \right )}{\sqrt {a x +b}}+1 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & \frac {d}{d x}y \left (x \right ) \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=\frac {\frac {y \left (x \right )}{\sqrt {a x +b}}+1}{y \left (x \right )} \end {array} \]
2.23.4.4 Mathematica. Time used: 0.091 (sec). Leaf size: 90
ode=y[x]*D[y[x],x]==(a*x+b)^(-1/2)*y[x]+1; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [-\frac {\frac {2 \arctan \left (\frac {\frac {a y(x)}{\sqrt {a x+b}}-1}{\sqrt {-2 a-1}}\right )}{\sqrt {-2 a-1}}+\log \left (-\frac {a y(x)^2}{a x+b}+\frac {2 y(x)}{\sqrt {a x+b}}+2\right )}{a}=\frac {\log (a x+b)}{a}+c_1,y(x)\right ] \]
2.23.4.5 Sympy. Time used: 4.426 (sec). Leaf size: 119
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
y = Function("y") 
ode = Eq(y(x)*Derivative(y(x), x) - 1 - y(x)/sqrt(a*x + b),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ C_{1} + \frac {\left (1 - \frac {1}{\sqrt {2 a + 1}}\right ) \log {\left (\frac {y{\left (x \right )}}{\sqrt {a x + b}} + \frac {2}{\sqrt {2 a + 1}} - \frac {1}{a} + \frac {1}{a \sqrt {2 a + 1}} \right )}}{2} + \frac {\left (1 + \frac {1}{\sqrt {2 a + 1}}\right ) \log {\left (\frac {y{\left (x \right )}}{\sqrt {a x + b}} - \frac {2}{\sqrt {2 a + 1}} - \frac {1}{a} - \frac {1}{a \sqrt {2 a + 1}} \right )}}{2} + \frac {\log {\left (2 a x + 2 b \right )}}{2} = 0 \]