A Singular Differential Equation Stemming from an Optimal Control Problem in Financial Economics