critical points rational inequalities