Theory of differential inequalities with applications to singular perturbation problems and method of lines