If $f$ is a continuous function on a closed interval, how can I show that there exists some $x$ on $f$ that $f(x)=x$?
I know it will require the Intermediate Value Theorem. Initially I thought of letting $g(x)=f(x)-x$, and showing that there exists $x$ such that $g(x)=0$ implying $f(x)=x$, but don't have any information about $f$ on either end of the interval.
The function $g$ defined by $g(x)=f(x)-x$ is continuous and
$$g(0)g(1)\le0$$ so by IVT there's $x_0\in[0,1]$ s.t. $g(x_0)=0\iff f(x_0)=x_0$.