I'm trying to show that there's an $f \in H^1(\mathbb{R}^2)$ which is not ae equal to a continuous function. Per a couple of suggestions, I've decided to look at the function $f(x) = (-\log(|x|))^{\frac{1}{2}}$ for $|x| < 1$ and $0$ otherwise. It's not hard to see that $f \in L^2(\mathbb{R}^2)$ and that $f$ is differentiable everywhere on $\mathbb{R}^2 \setminus (\mathbb{S}^1 \cup \{0\})$.
In $|x| < 1$, $\frac{\partial f}{\partial x_j}(x) = \frac{-x_j}{|x|^2 (-\log(|x|)^{\frac{1}{2}})} $. But, unless I'm missing something really obvious (and I think I am!), this isn't square integrable on $|x| < 1$ (integrating in polar coordinates reduces to evaluating something of the form $\int_0^1 \frac{1}{r \log(r)} dr$. I've also looked at $( - \log(|x|)^{\alpha}$ for various values of $\alpha$, but none of these functions seem to have a derivative which is square integrable on $|x| < 1$.
Can someone point me in the right direction here?
Edit:
Suppose that $f(x) = (- \log(|x|))^{\alpha}$ for $|x| < \frac{1}{2}$, say. Then for $f \in L^2$, we need to have that $\int_{B(0; \frac{1}{2})} (f(x))^2 < \infty$. Integrating in polar coordinates, that is
$\displaystyle \int_0^{\frac{1}{2}} r (-\log(r))^{2 \alpha} dr < \infty$. So we can use any value of $\alpha > 0$ here.
Next, in $\{|x| < \frac{1}{2}\}$, $\frac{\partial f}{\partial x_j}(x) = \alpha (-\log(|x|))^{\alpha - 1} (\frac{-1}{|x|}) \frac{x_j}{|x|} = \frac{ - \alpha x_j (-\log(|x|))^{\alpha - 1}}{|x|^2}$.
For this to be in $L^2$, I'd need that
$\displaystyle -\infty > \alpha\pi \int_0^{\frac{1}{2}} r(\frac{r (-\log(r))^{\alpha - 1}}{r^2})^2 dr = -\alpha \pi \int_0^{\frac{1}{2}} \frac{1}{r} (-\log(r))^{2\alpha - 2} dr$
but that never happens for any value of $\alpha$ (that's easy to see by making the substitution $u = (- \log(r))$.
So I must be doing something horribly wrong here, but I don't see where.