If a-d are numeric are numbers then x can be Symbol, else it should be a Dummy. I guess you better check for numerical coefficients else roots is going to fail on multivariate input.