Let $I = \mathbb{R}$ and let $W^{1,2}(I,\mathbb{R})$ be the Sobolev space of function from $I$ to $\mathbb{R}$ (one time weakly differentiable and contained in $L^{2}$) and $C^{0}(I,\mathbb{R})$ be the space of continuous function from $I$ to $\mathbb{R}$.
Question: How can one prove that there exists an inclusion $W^{1,2}(I,\mathbb{R}) \hookrightarrow C^{0}(I,\mathbb{R})$ which is bounded (continuous)?
In the case where $I$ is a open bounded interval the above is definitely true (by proving it first for smooth function with compact support and then using a density arguement). What about the case when $I$ is unbounded?
Greetings, Dani
PS: In order to apply the idea of Pietro Majer from the post When is Sobolev space a subset of the continuous functions?, isn't it necessary $\Omega \subset \mathbb{R}$ to be bounded subset? I do not understand his arguement in the case $\Omega = \mathbb{R}$ ?.