For all singular solutions, . So, you are solving the quadratic equation .
For , let . Then . The two solutions differ only by the representation of the constant, so they are equivalent. It applies whenever you are dealing with arbitrary constants, so it arises in particular in differential equations, but may arise elsewhere (I cannot think of an example off the top of my head where else it might show up).