There exists an embedding relation “$\subset$” or “$\supset$” between $C^{\infty}_c (\mathbb{R}^n)$ and $H^1(\mathbb{R}^n)$?
Could anyone give me an example? Thank you in advance!
There exists an embedding relation “$\subset$” or “$\supset$” between $C^{\infty}_c (\mathbb{R}^n)$ and $H^1(\mathbb{R}^n)$?
Could anyone give me an example? Thank you in advance!
A smooth compactly supported function has weak derivatives of all order that are in every $L^p$ space. In particular, $$ C^\infty_c (\mathbb R^n)\subset H^1(\mathbb R^n).$$ In fact more is true, $C^\infty_c(\mathbb R^n)$ is dense in $H^1(\mathbb R^n)$. A $C^1_c$ function that is not smooth shows that $H^1\neq C^\infty_c$.
"bump functions" are your standard example of a function in $C^\infty_c$, and there's lots of discussion on them already on MSE. For example : Where can we find examples of smooth functions with compact support? Is there a book?. This example is related to the smooth but non-analytic function in this wikipedia page.
These examples are for 1 variable but it is trivial to modify them for higher dimensions by e.g. forcing them to be radially symmetric, or multiplying toegether one for each coordinate.