I need a hint for the following question:
Let $S$ be a nonempty ordered set such that every nonempty subset $E\subseteq S$ has both a least upper bound and a greatest lower bound. Suppose $f:S \rightarrow S$ is a monotonically increasing function. Show that there exists an $x\in S$ so that $f(x)=x$.
My reasoning so far has been as follows:
I wanted to prove this by contradiction. If we assume the statement is false, this implies that for each $x\in S$, $f(x) > x$ or $f(x) < x$. Let $A:=\{x:f(x)<x\}$, $B:=\{x:f(x)>x\}$.
Let's assume $A$ is empty. Then it is easy to show a contradiction. We know that $\sup(B)\in B$. But that means that $f(\sup(B))>\sup(B)$ which is impossible. The same idea applies if we assume $B$ is empty.
What I am trying to do is prove the case where both $A$ and $B$ are nonempty. To prove the first part I haven't even used the monoticity of the function $f$, so I know that I have to use it at this point. That means trying to find a contradiction by finding $x,y\in S$, $x\le y$, $f(x)>f(y)$. I was trying to look at the supremum and infimum of $A$ and $B$ but that didn't seem to lead me anywhere.
I would appreciate hints!
