10

If there is none, why?

And for the other side, what about open set $(0, 1)$ to closed set $[0, 1]$ with a continuous function?

Thanks

learner
  • 6,726
haohaolee
  • 403
  • 1
    @learner: I disagree with this edit (and would have rejected it myself), the readability of the post did not improve, and all the effect was bumping up a question from two and a half years ago, instead of letting the newer questions (and lord knows, we don't have a shortage of those) to be seen on the front page. Every edit bumps the question, so bump with care! – Asaf Karagila Apr 08 '13 at 12:28
  • @AsafKaragila: The system already discriminates so strongly in favour of the youngest among questions, which aren't necessarily the most interesting ones, that I don't mind if an older question returns to the front page now and then. Let's say, if I find an annoying typo in a question or answer, even if it is one of my own, I won't hesitate to edit it away. I have no particular opinion about the current question though. But replacing non-math by a math formula is almost always an improvement. – Marc van Leeuwen Apr 08 '13 at 13:05
  • @Marc: Typos are one thing; adding $ symbols to math which wasn't any less readable than it is now (say, compared to things like cos x=sin x) is really just pigging out on the main page resources. – Asaf Karagila Apr 08 '13 at 13:09
  • May I know where you came across this problem? – Yes Mar 31 '15 at 07:01
  • Related: https://math.stackexchange.com/questions/167764 – Watson Nov 29 '18 at 20:14
  • Related: https://math.stackexchange.com/questions/42308/ – Watson Nov 29 '18 at 21:12

2 Answers2

12

HINT: For the first one use the fact that, Continuous image of a compact set is compact.

9

For the other side consider $f: (0,1) \to [0,1]$ defined as $f(x)= |\cos(2\pi x)|^{2}$

Mykie
  • 7,037