I want to prove that if we have a continuous function from the closed interval [0,1] to the closed interval [0,1], that there exists a value y in [0,1] such that $f(y)=y$.
I have an idea of a theorem that I want to use: Let f is a continuous real function on the interval [a,b]. If f(a) < f(b) and if c is a number such that f(a)< c < f(b), then there exists a point x in (a,b) such that f(x)=c.
So I know that f(0) < f(1). So according to this theorem, for some number in between 0 and 1, there exists a point in the domain such that f(x)=this number. But I'm having trouble coming up with the argument