The problem is the following: let [MATH]f:[0,1] \to [0,1][/MATH] a continuous function. Show that [MATH]f[/MATH] has a fixed point in [MATH][0,1][/MATH]; that is, there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]f(x_0)=x_0[/MATH].
My textbook solves this problem like this: "The function [MATH]g[/MATH] defined by [MATH]g(x)=f(x)-x[/MATH] with [MATH]x \in [0,1][/MATH] is continuous, and [MATH]g(0)=f(0) \geq 0[/MATH], and [MATH]g(1)=f(1)-1 \leq 0[/MATH]. Since [MATH]g[/MATH] has the intermediate value property, there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]g(x_0)=0[/MATH]."
I've tried to solve it myself, in the following way: by hypothesis [MATH]f[/MATH] is continuous in [MATH][0,1][/MATH], so [MATH]f[/MATH] satisfies the intermediate value theorem. So for all [MATH]\lambda \in [0,1][/MATH] there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]f(x_0)=\lambda[/MATH]. Since [MATH]\lambda \in [0,1][/MATH] is arbitrary and [MATH]x_0 \in [0,1][/MATH], choosing [MATH]\lambda = x_0[/MATH] it follows that there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]f(x_0)=x_0[/MATH].
Is my approach correct? Or is somehow wrong and I should've done as the textbook? Thank you.
My textbook solves this problem like this: "The function [MATH]g[/MATH] defined by [MATH]g(x)=f(x)-x[/MATH] with [MATH]x \in [0,1][/MATH] is continuous, and [MATH]g(0)=f(0) \geq 0[/MATH], and [MATH]g(1)=f(1)-1 \leq 0[/MATH]. Since [MATH]g[/MATH] has the intermediate value property, there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]g(x_0)=0[/MATH]."
I've tried to solve it myself, in the following way: by hypothesis [MATH]f[/MATH] is continuous in [MATH][0,1][/MATH], so [MATH]f[/MATH] satisfies the intermediate value theorem. So for all [MATH]\lambda \in [0,1][/MATH] there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]f(x_0)=\lambda[/MATH]. Since [MATH]\lambda \in [0,1][/MATH] is arbitrary and [MATH]x_0 \in [0,1][/MATH], choosing [MATH]\lambda = x_0[/MATH] it follows that there exists [MATH]x_0 \in [0,1][/MATH] such that [MATH]f(x_0)=x_0[/MATH].
Is my approach correct? Or is somehow wrong and I should've done as the textbook? Thank you.