Giving a counterexample for the extension lemma of smooth functions

314 Views Asked by At

enter image description here

I am supposed to give a counterexample showing the conclusion is false when $A$ is not closed. I tried to find one when $M$ is Euclidean space but kept failing... Could anyone please show me a counterexample?

1

There are 1 best solutions below

1
On

Consider $f(x)=1/x$ defined on $\mathbb{R}-\{0\}$, you cannot extend it at $0$