My lecture notes state the following.
definition We say that $x$ in $X$ is a fixed point of a function $f$ from $X$ taking values in $X$ if $f(x)=x$.
theorem If $f:[a,b]\rightarrow :[a,b]$ is continuously differentiable, then $f$ has at least one fixed point.
I am confused because it seems easy to find a counter-example.
counter-example Let $a=3$, $b=4$ and $f(x)=1$. Then $f$ is continuously differentiable and there is no $x$ in $[3,4]$ such that $x=1$.
Am I overseeing something?