Function always continuous in a Sobolev Space?

Hy everybody got a quick question.
I know that all function F in a Sobolev Space has a continuous representative called U such as U=F almost everywhere.

Lets take for example: The Sobolev space on ]-1,1[

My question is: if F isn’t continuous is it sure that it isn’t an element of a Sobolev Space?
It was given was given as a necessary condition in my course.

Thanks for the help.

Solutions Collecting From Web of "Function always continuous in a Sobolev Space?"

Your reasoning is correct. If $f$ cannot be redefined on a set of measure zero to become a continuous function, then $f$ is not in $H^1(-1,1)$.

Chances are that sooner or later you will encounter Sobolev functions of more than one variable. Those need not have a continuous representative. For example, $f(x,y)=\sqrt{-\log(x^2+y^2)}$ is in $H^1(D)$ where $D$ is the disk in two dimensions. It cannot be made continuous, or even bounded, by changing its values on a set of measure zerp.