2.1403   ODE No. 1403

\[ y''(x)=-y'(x) \left (\frac {-\text {a1}-\text {b1}+1}{x-\text {c1}}+\frac {-\text {a2}-\text {b2}+1}{x-\text {c2}}+\frac {-\text {a3}-\text {b3}+1}{x-\text {c3}}\right )-\frac {y(x) \left (\frac {\text {a1} \text {b1} (\text {c1}-\text {c2}) (\text {c1}-\text {c3})}{x-\text {c1}}+\frac {\text {a2} \text {b2} (\text {c2}-\text {c1}) (\text {c2}-\text {c3})}{x-\text {c2}}+\frac {\text {a3} \text {b3} (\text {c3}-\text {c1}) (\text {c3}-\text {c2})}{x-\text {c3}}\right )}{(x-\text {c1}) (x-\text {c2}) (x-\text {c3})} \] Mathematica : cpu = 8.65497 (sec), leaf count = 316

DSolve[Derivative[2][y][x] == -((((a1*b1*(c1 - c2)*(c1 - c3))/(-c1 + x) + (a2*b2*(-c1 + c2)*(c2 - c3))/(-c2 + x) + (a3*b3*(-c1 + c3)*(-c2 + c3))/(-c3 + x))*y[x])/((-c1 + x)*(-c2 + x)*(-c3 + x))) - ((1 - a1 - b1)/(-c1 + x) + (1 - a2 - b2)/(-c2 + x) + (1 - a3 - b3)/(-c3 + x))*Derivative[1][y][x],y[x],x]
 

\[\left \{\left \{y(x)\to c_1 (x-\text {c1})^{\text {a1}} (x-\text {c2})^{\text {a2}} (x-\text {c3})^{\text {b3}} \text {HeunG}\left [\frac {\text {c1}-\text {c3}}{\text {c1}-\text {c2}},\frac {\text {a1} (\text {c1} (-\text {a3}-2 \text {b1}-\text {b2}+2)+\text {c2} (\text {a3}+\text {b1}-1)+\text {c3} (\text {b1}+\text {b2}-1))+\text {c2} (-\text {a2} \text {b2}+(\text {a3}-1) \text {b3}+\text {b1} \text {b3})+\text {c3} (\text {a2} \text {b1}+\text {a2} (\text {b2}-1)-\text {a3} \text {b3})+(1-\text {b1}) \text {c1} (\text {a2}+\text {b3})}{\text {c1}-\text {c2}},-\text {a3}-\text {b1}-\text {b2}+2,\text {a1}+\text {a2}+\text {b3},\text {a1}-\text {b1}+1,\text {a2}-\text {b2}+1,\frac {\text {c1}-x}{\text {c1}-\text {c2}}\right ]+c_2 (x-\text {c2})^{\text {a2}} (x-\text {c1})^{\text {b1}} (x-\text {c3})^{\text {b3}} \text {HeunG}\left [\frac {\text {c1}-\text {c3}}{\text {c1}-\text {c2}},\frac {\text {c2} (\text {a1} \text {b3}-\text {a2} \text {b2}+(\text {a3}-1) \text {b3})+\text {c3} (\text {a1} \text {a2}+\text {a2} (\text {b2}-1)-\text {a3} \text {b3})+(1-\text {a1}) \text {c1} (\text {a2}+\text {b3})+\text {b1} (\text {c1} (-2 \text {a1}-\text {a3}-\text {b2}+2)+\text {c2} (\text {a1}+\text {a3}-1)+\text {c3} (\text {a1}+\text {b2}-1))}{\text {c1}-\text {c2}},-\text {a1}-\text {a3}-\text {b2}+2,\text {a2}+\text {b1}+\text {b3},-\text {a1}+\text {b1}+1,\text {a2}-\text {b2}+1,\frac {\text {c1}-x}{\text {c1}-\text {c2}}\right ]\right \}\right \}\] Maple : cpu = 0.777 (sec), leaf count = 298

dsolve(diff(diff(y(x),x),x) = -((1-a1-b1)/(x-c1)+(1-a2-b2)/(x-c2)+(1-a3-b3)/(x-c3))*diff(y(x),x)-1/(x-c1)/(x-c2)/(x-c3)*(a1*b1*(c1-c3)*(c1-c2)/(x-c1)+a2*b2*(c2-c1)*(c2-c3)/(x-c2)+a3*b3*(c3-c2)*(c3-c1)/(x-c3))*y(x),y(x))
 

\[y \left (x \right ) = \left (x -\operatorname {c2} \right )^{\operatorname {a2}} \left (x -\operatorname {c3} \right )^{\operatorname {b3}} \left (\left (x -\operatorname {c1} \right )^{\operatorname {a1}} \operatorname {HeunG}\left (\frac {\operatorname {c1} -\operatorname {c3}}{\operatorname {c1} -\operatorname {c2}}, \frac {\left (\left (-\operatorname {a3} -2 \operatorname {b1} -\operatorname {b2} +2\right ) \operatorname {c1} +\left (\operatorname {a3} +\operatorname {b1} -1\right ) \operatorname {c2} +\operatorname {c3} \left (\operatorname {b1} +\operatorname {b2} -1\right )\right ) \operatorname {a1} -\left (\operatorname {b1} -1\right ) \left (\operatorname {a2} +\operatorname {b3} \right ) \operatorname {c1} +\left (\operatorname {b1} \operatorname {b3} -\operatorname {a2} \operatorname {b2} +\operatorname {b3} \left (-1+\operatorname {a3} \right )\right ) \operatorname {c2} +\left (\operatorname {a2} \operatorname {b1} +\left (\operatorname {b2} -1\right ) \operatorname {a2} -\operatorname {a3} \operatorname {b3} \right ) \operatorname {c3}}{\operatorname {c1} -\operatorname {c2}}, \operatorname {a2} +\operatorname {b3} +\operatorname {a1} , 2-\operatorname {a3} -\operatorname {b1} -\operatorname {b2} , \operatorname {a1} -\operatorname {b1} +1, \operatorname {a2} -\operatorname {b2} +1, \frac {-x +\operatorname {c1}}{\operatorname {c1} -\operatorname {c2}}\right ) c_{1}+\left (x -\operatorname {c1} \right )^{\operatorname {b1}} \operatorname {HeunG}\left (\frac {\operatorname {c1} -\operatorname {c3}}{\operatorname {c1} -\operatorname {c2}}, \frac {\left (\left (-2 \operatorname {a1} -\operatorname {a3} -\operatorname {b2} +2\right ) \operatorname {c1} +\left (-1+\operatorname {a1} +\operatorname {a3} \right ) \operatorname {c2} +\operatorname {c3} \left (\operatorname {a1} +\operatorname {b2} -1\right )\right ) \operatorname {b1} -\left (\operatorname {a2} +\operatorname {b3} \right ) \left (\operatorname {a1} -1\right ) \operatorname {c1} +\left (\operatorname {a1} \operatorname {b3} -\operatorname {a2} \operatorname {b2} +\operatorname {b3} \left (-1+\operatorname {a3} \right )\right ) \operatorname {c2} +\left (\operatorname {a1} \operatorname {a2} +\left (\operatorname {b2} -1\right ) \operatorname {a2} -\operatorname {a3} \operatorname {b3} \right ) \operatorname {c3}}{\operatorname {c1} -\operatorname {c2}}, \operatorname {a2} +\operatorname {b3} +\operatorname {b1} , 2-\operatorname {a1} -\operatorname {a3} -\operatorname {b2} , -\operatorname {a1} +\operatorname {b1} +1, \operatorname {a2} -\operatorname {b2} +1, \frac {-x +\operatorname {c1}}{\operatorname {c1} -\operatorname {c2}}\right ) c_{2}\right )\]