Plot all lines in the -plane. For a query point , you want the line giving minimum . Different lines win at different values.
A steep negative slope wins for small . A gentle slope wins for large . At any , exactly one line (or a tie) gives the minimum. The set of points where each line is optimal forms the lower envelope. Only lines on this envelope ever contribute to answers. Lines strictly above it are useless.