Consider the equation $$x^2y''-8xy'+20y=0.$$ From an undergraduate ODE course, it is known that the two linearly are $y_1=x^5$ and $y_2=x^4$. However, why don't we consider solutions, for example, like the following one: $$ y=\left\{ \begin{array}{c} x^5\;\;{\mbox{if}}\;\;x\leq 0\\ 0\;\;{\mbox{if}}\;\;x> 0. \end{array} \right. $$ While the solution above is only differentiable 4 times, it is a perfectly good solution to the equation.
I understand that the point $x=0$ is singular and thus the uniqueness theorem does not apply there. Also this is not unique to that equation or that solution. The same type of solutions could be obtained for other equations with singular points. The example above is convenient because it is a simple differential equation with explicit solutions.
But my question is this: is there a reason why solutions such as the one above are not considered? Is it just because it is too complicated to be included in textbooks? Perhaps because they do not extend to solutions when the independent variable is allowed to be complex? Or perhaps people shy away to solutions that are not smooth (i.e. not in $C^\infty$) when smooth solutions exist?