On inequalities with alternating signs