I would like to find an explicit example of a linear elliptic operator having the following form: $$Lu=-\Delta u +b(x)\cdot \nabla u, $$ where $b\colon \mathbb{R}^n \to \mathbb{R}^n$, and such that there exists a non trivial (weak) solution of the Dirichlet problem $$ \begin{cases} Lu = 0 & \text{in}\ \Omega \\ u=0 & \text{on}\ \partial \Omega\end{cases}.$$ Here $\Omega$ can be any bounded and smooth domain of $\mathbb{R}^n$.
In functional terms, I am trying to convince myself that a first-order perturbation of the Laplacian can alter the spectrum to the point that $0$ becomes an eigenvalue.
Can somebody provide me with such an example? I have tried looking at the one-dimensional case, when $\Omega$ reduces to an interval, but I could not find one.
Thank you for reading.
Let $\phi\colon[\,a,b\,]\to\mathbb{R}$ be a $C^1$ function such that $\int_a^b\phi(t)\,dt=0$. Then $u(x)=\int_a^x\phi(t)\,dt$ is a $C^2$ function such that $u(a)=u(b)=0$ and $$ u''=b\,u'\quad\text{with}\quad b(x)=\frac{\phi'(x)}{\phi(x)}. $$ All explicit examples I have tried give $b$'s that are not in any $L^p$, $1\le p\le\infty$, so that $u$ might not be a weak solution.
On the other hand, it is easy to see that if $b$ is $C^1$, then no regular solution exits. From $u(a)=u(b)$ it follows that $u'(c)=0$ at some $c\in(a,b)$. Since $b$ is regular this implies that $u''(c)=0$. A uniqueness argument implies that $u$ must be constant.