# $b)$ what happen if $X$ equals $[0,1)$or $(0,1)$? [closed]

Suppose that $f \colon [a, b] \to [a, b]$ is continuous. (Note that the range of $f$ is a subset of $[a, b]$)

$a)$Prove that there exists at least one point $x \in [a, b]$ such that $f(x) = x$. A point with this property is known as a fixed point of $f$.

$b)$ what happen if $X$ equals $[0,1)$or $(0,1)$ ?

for $a)$ :If $f(a)=a$ or $f(b)=b$ then we are done, suppose $f(a)\ne a, f(b) \ne b$

Now what can you say about $g$ below? does it vanish somewhere in $(a,b)$?

$g(x)=f(x)-x$

For $b)$ i don't know ,,,pliz help me...

## closed as off-topic by Shaun, user99914, Math1000, Wouter, choco_addictedApr 8 '18 at 5:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Community, Math1000, Wouter, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.

• Is the question meant to read, what is $f(X)$ if $X=[0,1)$ or $(0,1)$? – Alex Clark Apr 7 '18 at 11:56
• Please, post only one question in one post. Posting several questions in the same post is discouraged and such questions may be put on hold, see meta. – Shaun Apr 7 '18 at 12:46

The range is $[a,b]$, not a subset of $[a,b]$.
a) Let $g(x)=f(x)-x$. Then $g(a)\geqslant 0\geqslant g(b)$. Therefore, $g(c)=0$ for some $c\in[a,b]$, and this means that $f(x)=c$.
b) Let $f(x)=\frac12(x+1)$. The $f\bigl([0,1)\bigr)\subset[0,1)$, but the equation $f(x)=x$ has no solutions in $[0,1)$. Or in $(0,1)$.