For all other cases, there is direct solution to the reduced Riccati given by Eqworld ode0106 and Dr Dobrushkin web page as
If \(n\) satisfies constraint that
Is an integer, then the solution \(y\left ( x\right ) \) will come out using algebraic, exponential and logarithmic functions (including circular functions, such as sin and cosine). If however, \(n\) does not satisfy the above constraint, then (2) can still be used but the solution will come out using Bessel function (also called cylindrical functions).
Hence (2) can be used for any \(n\) to solve the special or reduced Riccati ode.
The constraint that \(\frac {n}{2n+4}\) is an integer, can also be given by saying that \(n=\frac {4k}{1-2k}\) where \(k=\pm 1,\pm 2,\cdots \).
When \(n\) satisfies this, then as mentioned above Eq (2) gives the solution in algebraic, exponential and logarithmic functions. For all other values, Liouville proved no solution exist in terms of elementary functions.
These \(n\) values come out to be \(n=\left \{ \cdots ,-\frac {40}{21},\cdots ,-\frac {8}{5},\frac {-4}{3},-4,-\frac {8}{3},-\frac {12}{5},\cdots ,-\frac {40}{19}\right \} \). We notice that the limit on both ends goes to \(n=-2\) which is the first special case above. Below are two examples to illustrate this. First example will use \(n\) that meets this constraint, and the second example will use \(n\) that does not meet the constraint.
Comparing this to \(y^{\prime }=ax^{n}+by^{2}\) shows that \(a=1,b=1,n=-4\). We see that \(n\) satisfies that \(\frac {n}{2n+4}=1\) which is integer. Hence we expect that applying (2) will give solution in elementary functions. Since \(ab>0\) then applying
Hence
Hence
Simplifying the above gives
Comparing this to \(y^{\prime }=ax^{n}+by^{2}\) shows that \(a=1,b=1,n=3\). We see that \(n\) do not satisfy that \(\frac {n}{2n+4}=\frac {3}{6+4}=\frac {3}{10}\) being an integer. Hence we expect that applying (2) will give solution in cylindrical functions and not elementary functions. Since \(ab>0\) then applying
Hence
Hence
Simplifying the above gives
We see that the solution is in terms of cylindrical functions. Because \(n\) did not satisfy that \(\frac {n}{2n+4}\) is integer. But the main point is that (2) can still be used to solve the special Riccati ode.