0

Suppose that function $f:\mathbb[0,1]\to\mathbb{R}$ is continuous and that $f(x)>2$ if $0\leq x< 1$. Is it necessarily the case that $f(1)>2$?

So I'm thinking about setting $f(1)\leq2$ and try to prove that $f$ is continuous at $x=1$. So it means that when ${x_n}\to1$, $f(x_n)\to f(1)$ but that's all I can think of.

2 Answers2

1

Consider $f(x) = 3-x{}{}{}{}{}$.

mrf
  • 43,639
1

No. Take $$f(x) = -x+3$$ In general, you will only get that $f(1) \geq 2$