Beispiel (dafür, daß der Satz nicht gilt, wenn M nicht abgeschlossen ist)

f(x) = 1 x, M = (0, 1]. Offenbar ist f in M nicht beschränkt.

PICT