ODE No. 105

\[ a x y(x)^2+b y(x)+c x+d+x y'(x)=0 \] Mathematica : cpu = 0.221277 (sec), leaf count = 473

DSolve[d + c*x + b*y[x] + a*x*y[x]^2 + x*Derivative[1][y][x] == 0,y[x],x]
 

\[\left \{\left \{y(x)\to \frac {c_1 \left (i \sqrt {a} e^{-i \sqrt {a} \sqrt {c} x} \left (b \left (-\sqrt {c}\right )-i \sqrt {a} d\right ) U\left (1-\frac {-\sqrt {c} b-i \sqrt {a} d}{2 \sqrt {c}},b+1,2 i \sqrt {a} \sqrt {c} x\right )-i \sqrt {a} \sqrt {c} e^{-i \sqrt {a} \sqrt {c} x} U\left (-\frac {-\sqrt {c} b-i \sqrt {a} d}{2 \sqrt {c}},b,2 i \sqrt {a} \sqrt {c} x\right )\right )-i \sqrt {a} \sqrt {c} e^{-i \sqrt {a} \sqrt {c} x} L_{\frac {-\sqrt {c} b-i \sqrt {a} d}{2 \sqrt {c}}}^{b-1}\left (2 i \sqrt {a} \sqrt {c} x\right )-2 i \sqrt {a} \sqrt {c} e^{-i \sqrt {a} \sqrt {c} x} L_{\frac {-\sqrt {c} b-i \sqrt {a} d}{2 \sqrt {c}}-1}^b\left (2 i \sqrt {a} \sqrt {c} x\right )}{a \left (c_1 e^{-i \sqrt {a} \sqrt {c} x} U\left (-\frac {-\sqrt {c} b-i \sqrt {a} d}{2 \sqrt {c}},b,2 i \sqrt {a} \sqrt {c} x\right )+e^{-i \sqrt {a} \sqrt {c} x} L_{\frac {-\sqrt {c} b-i \sqrt {a} d}{2 \sqrt {c}}}^{b-1}\left (2 i \sqrt {a} \sqrt {c} x\right )\right )}\right \}\right \}\] Maple : cpu = 0.241 (sec), leaf count = 844

dsolve(x*diff(y(x),x)+a*x*y(x)^2+b*y(x)+c*x+d = 0,y(x))
 

\[y \left (x \right ) = -\frac {4 c^{2} \left (-\frac {c_{1} \left (a^{3} c^{2} d^{2}+a^{2} b^{2} c^{3}-2 \left (-a c \right )^{\frac {3}{2}} a b c d -2 \left (-a c \right )^{\frac {5}{2}} b d \right ) \KummerU \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (2 \sqrt {-a c}\, d +c \left (b +2\right )\right )}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right )}{4}+a^{2} c^{2} \left (a \,c^{3} \left (a d -b \sqrt {-a c}\right ) \KummerM \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (2 \sqrt {-a c}\, d +c \left (b +2\right )\right )}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right )+a \,c^{3} \left (b \sqrt {-a c}+a d \right ) \KummerM \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +2 a d c \sqrt {-a c}+a b \,c^{2}}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right )-\frac {\KummerU \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +2 a d c \sqrt {-a c}+a b \,c^{2}}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right ) c_{1} \left (b c -\sqrt {-a c}\, d \right )}{2}\right )\right )}{-c_{1} \left (a^{2} b^{2} c^{4} \sqrt {-a c}+2 a c \,d^{2} \left (-a c \right )^{\frac {5}{2}}+\left (-a c \right )^{\frac {7}{2}} d^{2}\right ) \KummerU \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (2 \sqrt {-a c}\, d +c \left (b +2\right )\right )}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right )+4 a^{2} \left (a^{2} c^{2} \left (\sqrt {-a c}\, d +b c \right ) \KummerM \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (2 \sqrt {-a c}\, d +c \left (b +2\right )\right )}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right )+a^{2} c^{2} \left (b c -\sqrt {-a c}\, d \right ) \KummerM \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +2 a d c \sqrt {-a c}+a b \,c^{2}}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right )+\frac {\KummerU \left (\frac {\left (-a c \right )^{\frac {3}{2}} d +2 a d c \sqrt {-a c}+a b \,c^{2}}{2 c^{2} a}, \frac {\left (-a c \right )^{\frac {3}{2}} d +a c \left (\sqrt {-a c}\, d +c \left (b +1\right )\right )}{c^{2} a}, 2 x \sqrt {-a c}\right ) c_{1} \left (b \sqrt {-a c}+a d \right )}{2}\right ) c^{4}}\]