We have an $N \times N$ squares, filled with integer numbers monotonically increasing in "right" and "down" directions.
So from any point, if you move left the number will get bigger, or if you go one step downwards the number would get bigger.
Using induction (preferably) prove we need $2N-1$ comparisons at most, to find out if a given number is in the square or not.
Each comparison will let us know if the number in the square is bigger, smaller or equal to the number we seek.
Intuitive Algorithm assuming matrix is completely monotonic:
1 worst case: exactly N comparisons
2/3 Worst case: N-1 comparisons
Therefore, total, 2N-1 comparisons.
If you need to use induction, your base case is a 1X1 matrix - trivial. Then, for the inductive step, inside an N+1 X N+1 matrix, there is an NXN matrix that is also doubly monotonic. Implication follows. Constructive proofs are better than inductive in my opinion.
For the general case, I'll have to work that out.