Text this: Łojasiewicz inequality at infinity for a pair of polynomials and some applications.