1 Introduction

The main purpose of the paper is to state a class of inequalities in \(\mathbb {R}^N\) which generalizes the weighted Hardy inequalities to the case of a more general type of potentials than inverse square potentials. The method we introduce to get the result is a generalization of the vector field technique used in [19] to prove the classical Hardy inequality. The estimates we prove fit in the framework of the study of boundedness of multiplication operators defined in Sobolev spaces and of the related embedding results.

When V is an inverse square potential, weighted Hardy inequalities have been studied in [10, 17], in the case of Gaussian measures, and in [8, 11, 12] in the setting of more general measures.

In the paper we state the inequality

$$\begin{aligned} \int _{\mathbb {R}^N}V\varphi ^2\mu (x)dx \le \int _{\mathbb {R}^N}|\nabla \varphi |^2\mu (x)dx +K\int _{\mathbb {R}^N}\varphi ^2\mu (x)dx, \end{aligned}$$
(2)

with K constant, for functions in a weighted Sobolev space \(H^1_\mu \), for a class of potentials V, \(0\le V\in L_{loc}^1(\mathbb {R}^N)\), and for weight functions \(\mu \) of a quite general type.

The estimate includes the case of the Lebesgue measure and the weighted Hardy inequality with V inverse square potential.

The main reason we are interested in this kind of inequality lies in the applications to the study of Kolmogorov operators

$$\begin{aligned} Lu=\varDelta u+\frac{\nabla \mu }{\mu }\cdot \nabla u, \end{aligned}$$
(3)

defined on smooth functions, perturbed by singular potentials, and of the related evolution problems

$$\begin{aligned} (P)\quad \left\{ \begin{array}{ll} \partial _tu(x,t)=Lu(x,t)+V(x)u(x,t),&{}\,x\in \mathbb {R}^N, t>0,\\ u(\cdot ,0)=u_0\ge 0,&{}u_0\in L_\mu ^2, \end{array} \right. \end{aligned}$$

where \(L_\mu ^2:=L^2(\mathbb {R}^N, d\mu )\), with \(d\mu (x)=\mu (x)dx\).

In the applications to existence of weak positive solutions to problem (P) we follow Cabré-Martel’s approach using the relation between the weak solution of (P) and the bottom of the spectrum of the operator \(-(L+V)\)

$$\begin{aligned} \lambda _1(L+V):=\inf _{\varphi \in H^1_\mu \setminus \{0\}} \left( \frac{\int _{\mathbb {R}^N}|\nabla \varphi |^2\,d\mu -\int _{\mathbb {R}^N}V\varphi ^2\,d\mu }{\int _{\mathbb {R}^N}\varphi ^2\,d\mu } \right) . \end{aligned}$$

When \(\mu =1\) Cabré and Martel in [2] showed that the boundedness of \(\lambda _1(\varDelta +V)\) is a necessary and sufficient condition for the existence of positive exponentially bounded in time solutions to the associated initial value problem. Later in [8, 12, 17] similar results have been extended to Kolmogorov operators perturbed by inverse square potentials. The proof uses some properties of the operator L and of its corresponding semigroup in \(L_\mu ^2(\mathbb {R}^N)\).

The existence of positive solutions to (P) is related to the Hardy type inequality (2). This is due to the relationship between the estimate of the bottom of the spectrum \(\lambda _1(L+V)\) and the inequality.

The paper is organized as follows.

In Sect. 2 we present the class of potentials we consider in the paper and give some examples. In Sect. 3 we state, as a first step, an unweighted Hardy type inequality introducing a generalized vector field method and observing the connection with the embedding results. In Sect. 4 we introduce a class of weight functions and state a weighted inequality. Section 5 is devoted to an application to evolution problems.

2 A class of potentials

The class of potentials V we consider in unweighted case is of the type

\((H_1)\):

\(\quad V=V(x)\in L^1_{loc}(\mathbb {R}^N) \quad \hbox {and}\quad 0\le V\le V_f:=-\frac{\varDelta f}{f},\) where the radial functions f fulfil

\((H_2)\):

(i) \(\quad f>0, \quad f\in C^2(\mathbb {R}^N) \quad \hbox {or}\quad f\in C^2(\mathbb {R}^N\setminus \{0\})\);

(ii) \(\quad -\frac{\varDelta f}{f}\ge 0\).

Under the condition \(f\in C^2(\mathbb {R}^N)\) in \(H_2)\), we can integrate by parts in the proof of the inequalities in the next Sections. We need ii) in \(H_2)\) to apply Fatou’s lemma in the proof and to obtain nonnegative potentials V on the left-hand side in the inequalities.

The class of radial functions f for \(|x|=\rho \in [r_0,+\infty [\) satisfying \(H_2)\) is such that

$$\begin{aligned} f'' +\frac{N-1}{\rho }f'= \frac{\left( f'\rho ^{N-1}\right) '}{\rho ^{N-1}}\le 0, \end{aligned}$$

where \(f'\), \(f''\) are the first and the second derivatives with respect to \(\rho \), respectively. So the radial functions are such that \( f'\rho ^{N-1}\) is decreasing, from which

$$\begin{aligned} f'(r)\le \frac{f'(r_0)\,r_0^{N-1}}{r^{N-1}}, \quad \qquad r_0\le r. \end{aligned}$$

If we integrate in \([r_0, r]\), \(r_0> 0\), we get

$$\begin{aligned} f(r)\le \frac{c_1}{r^{N-2}}+c_2, \end{aligned}$$

where \(c_1= - \frac{f'(r_0)\,r_0^{N-1}}{N-2}\) and \(c_2=\frac{f'(r_0)\,r_0}{N-2}+f(r_0)\), or, equivalently,

$$\begin{aligned} f(r)\le \frac{c_3}{r^{N-2}}-\frac{c_3}{r_0^{N-2}}+f(r_0), \end{aligned}$$

where \( c_3=-\frac{f'(r_0)\,r_0^{N-1}}{N-2}\), that is the function \(f(r)-\frac{c_3}{r^{N-2}}\) is decreasing.

This class includes the function

$$\begin{aligned} f_\varepsilon (x)=\frac{1}{(\varepsilon +|x|^2)^{\frac{\alpha }{2}}}, \quad \varepsilon >0, \qquad \alpha \in ]0, N-2[, \end{aligned}$$
(4)

used to get the Hardy inequality with potential \( V=\frac{c}{|x|^2}\), \(c\in ]0, (N-2)^2/4]\) in [11] and, through the vector field method, with \(\alpha =2\), in [19] .

An example of function \( f\in C^2(\mathbb {R}^N{\setminus }\{0\})\) verifying \(H_2)\) is represented by \( f(x)=\frac{1}{\log ^\alpha (1+|x|)}\), for \(\alpha \in ]0, N-2]\), which generates a potential

which behaves like \(\frac{c_\alpha }{|x|^2}\) near to zero.

In the case when \( f(x)=\frac{\log (1+|x|)}{|x|^\alpha }\), \(\alpha \in [1, N-2]\), the potential

$$\begin{aligned} V_{f}=\frac{\alpha (N-2-\alpha )}{|x|^2}- \frac{N-1-2\alpha }{|x|(1+|x|)\log (1+|x|)}+\frac{1}{(1+|x|)^2\log (1+|x|)}. \end{aligned}$$

behaves like \(\frac{c_\alpha }{|x|^2}\) when |x| goes to zero if \(N\ge 4\) and as \(\frac{1}{|x|}\) if \(N=3\). If \(\alpha \ge \frac{N-1}{2}\), we get

$$\begin{aligned} V=\frac{-\alpha ^2+\alpha (N-2)}{|x|^2}\le V_{f}. \end{aligned}$$

Another admissible potential V related to f is

$$\begin{aligned} V=\frac{1}{(1+|x|)^2\log (1+|x|)}\le V_{f}, \end{aligned}$$

where the singularity in zero is of different type.

In general, under assumptions \(H_2)\), the functions \(f=f(r)\) solves the linear differential equation for suitable potentials \(V_f\)

$$\begin{aligned} f'' +\frac{N-1}{r}f'+f V_f=0 \end{aligned}$$

or equivalently, by placing \(u=\frac{f'}{f}\), the Riccati equation

$$\begin{aligned} u'=-u^2-\frac{N-1}{r}u-V_f. \end{aligned}$$

In a forthcoming paper we study examples of functions f to get improved Hardy inequality in bounded sets in \(\mathbb {R}^N\).

3 First step: unweighted Hardy type inequalities

The estimate in the next Theorem concerns the case of Lebesgue measure.

Theorem 1

Under the condition \(H_1)\) and \(H_2)\), we get the estimate

$$\begin{aligned} \int _{\mathbb {R}^N}V\varphi ^2\,dx \le \int _{\mathbb {R}^N}|\nabla \varphi |^2\,dx \end{aligned}$$
(5)

for any functions \(\varphi \in H^1(\mathbb {R}^N)\).

Proof

By density, it is enough to prove (5) for every \(\varphi \in C_{c}^{\infty }(\mathbb {R}^N)\).

As a first step we suppose \( f\in C^2(\mathbb {R}^N)\) and prove that it holds

$$\begin{aligned} -\int _{\mathbb {R}^N}\frac{\varDelta f}{f}\varphi ^2\,dx \le \int _{\mathbb {R}^N}|\nabla \varphi |^2\,dx. \end{aligned}$$
(6)

To this aim we introduce the vectorial function

$$\begin{aligned} F= -\nabla \log f. \end{aligned}$$

The starting point is the following integral

$$\begin{aligned} \int _{\mathbb {R}^N}\mathrm{div}F \,\varphi ^2\, dx= & {} -\int _{\mathbb {R}^N}\varDelta \log f \varphi ^2 \,dx\nonumber \\= & {} -\int _{\mathbb {R}^N}\frac{\varDelta f}{f}\varphi ^2\,dx+\int _{\mathbb {R}^N}\left| \frac{\nabla f}{f}\right| ^2\varphi ^2\,dx. \end{aligned}$$
(7)

The next step is to estimate the integral on the left-hand side in (7) from above. We integrate by parts taking into account that \(F_j\), \(\frac{\partial F_j}{\partial x_j}\in L_{loc}^1(\mathbb {R}^N)\) where \( F_j=-\frac{1}{f}\frac{\partial f}{\partial x_j}\). Using Hölder’s and Young’s inequalities we get

$$\begin{aligned} \int _{\mathbb {R}^N}\mathrm{div}F \,\varphi ^2 dx= & {} -2\int _{\mathbb {R}^N}^{}\varphi F\cdot \nabla \varphi \, dx \nonumber \\&\le 2\left( \int _{\mathbb {R}^N}|\nabla \varphi |^2 \, dx\right) ^{\frac{1}{2}} \left( \int _{\mathbb {R}^N}\left| \frac{\nabla f}{f}\right| ^2\,\varphi ^2\, dx\right) ^{\frac{1}{2}} \nonumber \\&\le \int _{\mathbb {R}^N}|\nabla \varphi |^2 \, dx+ \int _{\mathbb {R}^N}\left| \frac{\nabla f}{f}\right| ^2 \,\varphi ^2\, dx. \end{aligned}$$
(8)

Putting together (7) and (8) we have

$$\begin{aligned}&-\int _{\mathbb {R}^N}\frac{\varDelta f}{f}\varphi ^2\,dx +\int _{\mathbb {R}^N} \left| \frac{\nabla f}{f}\right| ^2\varphi ^2\,dx \nonumber \\&\quad \le \int _{\mathbb {R}^N}|\nabla \varphi |^2 \, dx+ \int _{\mathbb {R}^N}\left| \frac{\nabla f}{f}\right| ^2 \,\varphi ^2\, dx \end{aligned}$$
(9)

and, then, (6).

If \(f\in C^2(\mathbb {R}^N{\setminus }\{0\})\), reviewing the radial function f as \(f=f(|x|^2)\), we remove the singularity introducing the corresponding function \(f_\varepsilon \), \(\varepsilon >0\), as \(f_\varepsilon = f(\varepsilon +|x|^2)\in C^2(\mathbb {R}^N)\). This is why the gradient of \(|x|^2\) is not singular in zero. So we get \(\lim _{\varepsilon \rightarrow 0} f_\varepsilon (x)=f(x)\) and \(\varDelta f_\varepsilon \rightarrow \varDelta f\). Then we reason as above to get

$$\begin{aligned} -\int _{\mathbb {R}^N}\frac{\varDelta f_\varepsilon }{f_\varepsilon }\varphi ^2\,dx \le \int _{\mathbb {R}^N}|\nabla \varphi |^2\,dx. \end{aligned}$$
(10)

Letting \(\varepsilon \rightarrow 0\) on the left-hand side in (10), by Fatou’s lemma and \(H_1)\), we deduce the inequality (5). \(\square \)

Remark 1

We obtain the classical Hardy inequality if \( f(x)=\frac{1}{|x|^\alpha }\), for \(\alpha \in ]0, N-2[\). We remove the singularity in zero introducing \(f_\varepsilon (x)=f(\varepsilon +|x|^2)= \frac{1}{(\varepsilon +|x|^2)^{\frac{\alpha }{2}}}\) (cf. (4)) which generates the vectorial function \( F(x)= \alpha \,\frac{x}{\varepsilon +|x|^2}\). The potential is \(V_f=\frac{c}{|x|^2}\), \(c=\alpha (N-2-\alpha )\). The maximum value of the constant c is \(c_o=\frac{(N-2)^2}{4}\) attained for \(\alpha =\frac{N-2}{2}\). In general we cannot state the optimality of the inequality (5).

Furthermore we remark that the method we use in the proof of the Theorem 1, in the case \(f_\varepsilon (x)=\frac{1}{\varepsilon +|x|^2}\), results to be the vector field method used in [19] to prove the Hardy inequality.

As a consequence of Theorem 1 we deduce the boundedness of the multiplication operator

$$\begin{aligned} \varphi \rightarrow V^{\frac{1}{2}}\varphi \end{aligned}$$
(11)

defined in the Sobolev space \(H^1(\mathbb {R}^N)\) and which takes values in \(L^2(\mathbb {R}^N)\)

$$\begin{aligned} \Vert V^{\frac{1}{2}}\varphi \Vert _{L^2(\mathbb {R}^N)}\le c \Vert \varphi \Vert _{H^1(\mathbb {R}^N)}, \end{aligned}$$

where c is a constant independent of V and \(\varphi \), and, then, we get an embedding result.

For \(L^p\) estimates for multiplication operators and embedding results of this type with some applications to elliptic equations see [3,4,5,6,7, 16].

4 Weighted Hardy type inequalities

Now we consider the Hardy type inequality in the weighted case. Let \(\mu \ge 0\) be a weight function on \(\mathbb {R}^N\). We define the weighted Sobolev space \(H^1_\mu =H^1(\mathbb {R}^N, \mu (x)dx)\) as the space of functions in \(L^2_\mu :=L^2(\mathbb {R}^N, \mu (x)dx)\) whose weak derivatives belong to \(L_\mu ^2\).

The conditions on \(\mu \) which we need are the following.

\((H_3)\):

(i) \(\quad \sqrt{\mu }\in H^1_{loc}(\mathbb {R}^N)\);

(ii) \(\quad \mu ^{-1}\in L_{loc}^1(\mathbb {R}^N)\);

(iii) there exist constants \(K_1, K_2\in \mathbb {R}\) such that under the hypothesis \(H_2)\) on f it holds

$$\begin{aligned} \nabla \log f\cdot \nabla \mu \le \left( K_1 +K_2 \frac{x}{|x|^2}\cdot \frac{\nabla f}{f}\right) \mu \end{aligned}$$
(12)

with \(K_2\) so that

$$\begin{aligned} -\frac{\varDelta f}{f}-K_2\,\frac{x}{|x|^2}\cdot \frac{\nabla f}{f}= -\frac{f''}{f}-\frac{(N+K_2-1)}{r}\frac{f'}{f}\ge 0. \end{aligned}$$
(13)

Let us observe that under the assumptions (i) and (ii) in the hypothesis \(H_3)\) the space \(C_c^{\infty }(\mathbb {R}^N)\) is dense in \(H_{\mu }^1\) (see e.g. [20]). So we can regard \(H_{\mu }^1\) as the completion of \(C_c^{\infty }(\mathbb {R}^N)\) with respect to the Sobolev norm

$$\begin{aligned} \Vert \cdot \Vert _{H^1_\mu }^2 := \Vert \cdot \Vert _{L^2_\mu }^2 + \Vert \nabla \cdot \Vert _{L^2_\mu }^2. \end{aligned}$$

The condition (13) is the same as ii) in \(H_2)\) with \(N+K_2\) in place of N.

The condition (12) states a relation between f and \(\mu \) and can be rewritten as follows

$$\begin{aligned} \frac{f'}{f}\left( \frac{\mu '}{\mu }-\frac{K_2}{r}\right) \le K_1, \qquad r=|x|. \end{aligned}$$
(14)

For f fixed, it is a condition for \(\mu \). For example if f is as in (4), good weight functions to get weighted Hardy inequalities are the functions

$$\begin{aligned} \mu (x)=\frac{1}{|x|^\gamma }e^{-\delta |x|^m}, \quad \delta \ge 0, \quad \gamma <N-2, \end{aligned}$$

for suitable values of \(\gamma \) and m (see [11]). Conversely, for \(\mu \) fixed, (14) represents a condition on f. If, for example, \(\mu (x)=e^{-\delta |x|^2}\), a Gaussian function, \(K_2>0\), starting with (14) and integrating in \([r_0, r]\), \(r_0>0\), we get the necessary condition

$$\begin{aligned} f(r)\ge f(r_0)\left( \frac{2\delta r_0^2+K_2}{2\delta r^2+K_2}\right) ^{\frac{K_1}{4\delta }}. \end{aligned}$$

The assumption on the potential V in the weighted case is the following

\(H_4)\):

   \(V=V(x)\in L^1_{loc}(\mathbb {R}^N)\) and

$$\begin{aligned} 0\le V\le V_f :=-\frac{\varDelta f}{f}-K_2 \frac{x}{|x|^2}\cdot \frac{\nabla f}{f}. \end{aligned}$$
(15)

The next result is an inequality of Hardy type with weight. To obtain the result we introduce a suitable vectorial function F and use the method introduced in Sect. 2 in the case \(\mu =1\).

Theorem 2

Under the conditions (i) in \((H_2)\), \((H_3)\) and \((H_4)\), the following inequality with potential V holds

$$\begin{aligned} \int _{\mathbb {R}^N}V\varphi ^2\,d\mu \le \int _{\mathbb {R}^N}|\nabla \varphi |^2\,d\mu +K_1\int _{\mathbb {R}^N}\varphi ^2\,d\mu , \end{aligned}$$
(16)

for any functions \(\varphi \in H^1_\mu \).

Proof

As in the Theorem 1 it is enough to prove (16) for any \(\varphi \in C_{c}^{\infty }(\mathbb {R}^N)\). As in the previous proof we suppose \(f\in C^2(\mathbb {R}^N)\) at first.

We introduce the function

$$\begin{aligned} F= -\mu \,\nabla \log f. \end{aligned}$$

The divergence of the vector field assumes the form

$$\begin{aligned} \mathrm{div}F=-\mu \,\varDelta \log f-\nabla \log f\cdot \nabla \mu = -\frac{\varDelta f}{f}\mu +\left| \frac{\nabla f}{f}\right| ^2\mu -\frac{\nabla f}{f}\cdot \nabla \mu . \end{aligned}$$

So, by hypothesis (iii) in \((H_3)\), we obtain from below

$$\begin{aligned} \int _{\mathbb {R}^N}\mathrm{div}F \,\varphi ^2 dx= & {} -\int _{\mathbb {R}^N}\frac{\varDelta f}{f}\varphi ^2\,d\mu + \int _{\mathbb {R}^N}\left| \frac{\nabla f}{f}\right| ^2\varphi ^2\,d\mu \nonumber \\&\quad -\int _{\mathbb {R}^N}\frac{\nabla f}{f}\cdot \frac{\nabla \mu }{\mu }\varphi ^2 \,d\mu \ge \int _{\mathbb {R}^N}\frac{\varDelta f}{f}\varphi ^2\,d\mu \nonumber \\&\quad +\int _{\mathbb {R}^N}\left| \frac{\nabla f}{f}\right| ^2\varphi ^2\,d\mu \nonumber \\&\quad -K_1\int _{\mathbb {R}^N}\varphi ^2 \,d\mu -K_2\int _{\mathbb {R}^N}\frac{x}{|x|^2}\cdot \frac{\nabla f}{f}\varphi ^2\,d\mu . \end{aligned}$$
(17)

To estimate the integral on the left-hand side in (17) from above, reasoning as in the proof of Theorem 1 to get (8), we integrate by parts.

To this aim we need to \(F_j\), \(\frac{\partial F_j}{\partial x_j}\in L_{loc}^1({\mathbb {R}}^N)\) where \(F_j\), for \(j=1,\dots n\), is the j-th component of F. For the partial derivatives of \(F_j\), it is sufficient that \(-\frac{1}{f}\frac{\partial f}{\partial x_j}{\sqrt{\mu }}\in L^2_{loc}(\mathbb {R}^N)\) and \(\frac{1}{f}\frac{\partial ^2 f}{\partial x_j^2}\mu \in L^1_{loc}(\mathbb {R}^N)\). In particular, for any K compact set in \(\mathbb {R}^N\), \(F_j\) belongs to \(L_{loc}^1(\mathbb {R}^N)\) since \(\mu \in L_{loc}^1(\mathbb {R}^N)\) by (i) in \((H_3)\).

On the other hand

$$\begin{aligned} \int _K\left| \frac{\partial F_j}{\partial x_j}\right| \,dx\le & {} \int _K\left| \frac{1}{f}\frac{\partial f}{\partial x_j}\right| ^2\mu (x)\,dx+ \int _K\left| -\frac{1}{f}\frac{\partial ^2 f}{\partial x_j^2}\right| \mu (x)\,dx \nonumber \\&\quad + \int _K\left| -\frac{1}{f}\frac{\partial f}{\partial x_j}\frac{\partial \mu }{\partial x_j}\right| \,dx. \end{aligned}$$
(18)

The last term on the right-hand side in (18) can be estimated using Hölder’s inequality

$$\begin{aligned} \begin{aligned} \int _K \left| -\frac{1}{f}\frac{\partial f}{\partial x_j}\frac{\partial \mu }{\partial x_j}\right| \,dx&\le \left( \int _K \left| -\frac{1}{f}\frac{\partial f}{\partial x_j}\right| ^2\mu (x)\,dx \right) ^{\frac{1}{2}} \left( \int _K \left| \frac{1}{{\sqrt{\mu }}}\frac{\partial \mu }{\partial x_j}\right| ^2\,dx \right) ^{\frac{1}{2}} \\&\le 4\left( \int _K \left| -\frac{1}{f}\frac{\partial f}{\partial x_j}\right| ^2\,d\mu \right) ^{\frac{1}{2}} \left( \int _K \left| {\nabla {\sqrt{\mu }}}\right| ^2\,dx\right) ^{\frac{1}{2}}. \end{aligned} \end{aligned}$$

Then \( \frac{\partial F_j}{\partial x_j}\) is locally integrable by (i) in \((H_3)\). In analogy to (8) we get

$$\begin{aligned} \int _{\mathbb {R}^N}\mathrm{div}F \,\varphi ^2 \,dx= & {} -2\int _{\mathbb {R}^N}\varphi F\cdot \nabla \varphi \, dx \nonumber \\&\le \int _{\mathbb {R}^N}|\nabla \varphi |^2 \, d\mu + \int _{\mathbb {R}^N} \left| -\frac{\nabla f}{ f}\right| ^2\,\varphi ^2\, d\mu . \end{aligned}$$
(19)

From (17) and (19) we deduce that

$$\begin{aligned}&-\int _{\mathbb {R}^N}\frac{\varDelta f}{f}\varphi ^2\,d\mu -K_2\int _{\mathbb {R}^N}\left( \frac{x}{|x|^2}\cdot \frac{\nabla f}{f}\right) \varphi ^2\,d\mu \nonumber \\&\quad \le \int _{\mathbb {R}^N}|\nabla \varphi |^2 \, d\mu + K_1\int _{\mathbb {R}^N}\varphi ^2 \,d\mu . \end{aligned}$$
(20)

If \(f\in C^2(\mathbb {R}^N\setminus \{0\})\) we argue as in the proof of Theorem 1 to avoid the singularity by means the introduction of functions \(f_\varepsilon \in C^2(\mathbb {R}^N)\) which approximate f getting

$$\begin{aligned}&-\int _{\mathbb {R}^N}\frac{\varDelta f_\varepsilon }{f_\varepsilon }\varphi ^2\,d\mu -K_2\int _{\mathbb {R}^N}\frac{x}{|x|^2}\cdot \frac{\nabla f_\varepsilon }{f_\varepsilon }\varphi ^2\,d\mu \nonumber \\&\quad \le \int _{\mathbb {R}^N}|\nabla \varphi |^2 \, d\mu + K_1\int _{\mathbb {R}^N}\varphi ^2 \,d\mu . \end{aligned}$$
(21)

The condition (13) in \((H_3)\) allow us to apply Fatou’s lemma. So, letting \(\varepsilon \rightarrow 0\) on the left-hand side in (21) we deduce (20) and, so, the inequality (16) taking into account (15). \(\square \)

A weighted Hardy inequality was stated in [11] with f as in (4), which generates the potential \( V=\frac{c}{|x|^2}\), with \(c\in ]0,(N+K_2-2)^2/4]\), using a different method. We observe that the Theorem 2 includes the case of inverse square potentials.

Remark 2

In an alterative way we can suppose

$$\begin{aligned} -\frac{1}{f}\frac{\partial f}{\partial x_j}{\sqrt{\mu }}\in L^2_{loc}(\mathbb {R}^N),\quad \frac{1}{f}\frac{\partial ^2 f}{\partial x_j^2}\mu \in L^1_{loc}(\mathbb {R}^N) \end{aligned}$$

in place of hypothesis (i) in \((H_2)\). The proof of the Theorem 2 would be slightly different with more attention to show local integrability and to apply integration by parts.

To conclude, we observe that from Theorem 2 we get the following estimate for the multiplication operator (11)

$$\begin{aligned} \Vert V^{\frac{1}{2}}\varphi \Vert _{L^2_\mu }\le c \Vert \varphi \Vert _{H^1_\mu }. \end{aligned}$$

5 An application to evolution problems

The purpose is to show an application of Hardy inequalities to evolution problems of the type

$$\begin{aligned} (P)\quad \left\{ \begin{array}{ll} \partial _tu(x,t)=Lu(x,t)+V(x)u(x,t), &{}\,x\in {{\mathbb {R}}}^N, t>0,\\ u(\cdot ,0)=u_0\ge 0, &{}u_ 0\in L_\mu ^2, \end{array} \right. \end{aligned}$$

where \(L+V\) is the Kolmogorov operator

$$\begin{aligned} Lu=\varDelta u +\frac{\nabla \mu }{\mu }\cdot \nabla u, \end{aligned}$$
(22)

on smooth functions, perturbed by a potential V which fulfils condition \(H_4)\). The weight function \(\mu \) in the drift term belongs to \(C^{1,\lambda }_{loc}(\mathbb {R}^N{\setminus }\{0\})\).

In particular we state an existence result for weak solutions to the initial value problem (P) if a Hardy type inequality holds.

We say that u is a weak solution to (P) if, for each \(T, R>0 \), we have

$$\begin{aligned} u\in C(\left[ 0, T \right] , L^2_\mu ), \quad Vu\in L^1(B_R \times \left( 0,T\right) , d\mu dt ) \end{aligned}$$

and

$$\begin{aligned} \int _0^T \int _{\mathbb {R}^N}u(-\partial _t\phi - L\phi )\,d\mu dt -\int _{\mathbb {R}^N}u_0\phi (\cdot ,0)\,d\mu = \int _0^T \int _{\mathbb {R}^N} Vu\phi \, d\mu dt \end{aligned}$$

for all \(\phi \in W_2^{2,1}(\mathbb {R}^N \times \left[ 0,T\right] )\) having compact support with \(\phi (\cdot , T)=0\), where \(B_R\) denotes the open ball of \(\mathbb {R}^N\) of radius R centered at 0. For any \(\varOmega \subset \mathbb {R}^N\), \( W_2^{2,1}(\varOmega \times (0,T)) \) is the parabolic Sobolev space of the functions \(u\in L^2(\varOmega \times (0,T)) \) having weak space derivatives \(D_x^{\alpha } u\in L^2(\varOmega \times (0,T))\) for \(|\alpha |\le 2\) and weak time derivative \(\partial _t u \in L^2(\varOmega \times (0,T))\) equipped with the norm

$$\begin{aligned} \begin{aligned} \Vert u\Vert _{W_2^{2,1}(\varOmega \times (0,T))}&{:}{=} \Biggl ( \Vert u\Vert _{L^2(\varOmega \times (0,T))}^2 + \Vert \partial _t u\Vert _{L^2(\varOmega \times (0,T))}^2 \, \\&\quad + \sum _{1\le |\alpha |\le 2} \Vert D^{\alpha }u\Vert _{L^2(\varOmega \times (0,T))}^2 \Biggr )^{\frac{1}{2}}. \end{aligned} \end{aligned}$$

In the standard setting one considers \(\mu \in C^{1,\lambda }_{loc}(\mathbb {R}^N)\) for some \(\lambda \in (0,1)\) and \(\mu >0\) for any \(x\in \mathbb {R}^N\). In this case it is known that the operator L with domain

$$\begin{aligned} D_{max}(L)=\lbrace u\in C_b(\mathbb {R}^N)\cap W_{loc}^{2,p}(\mathbb {R}^N) \text { for all } 1<p<\infty , Lu\in C_b(\mathbb {R}^N)\rbrace \end{aligned}$$

is the weak generator of a not necessarily \(C_0\)-semigroup in \(C_b(\mathbb {R}^N)\). Since \(\int _{\mathbb {R}^N}Lu\,d\mu =0\) for any \(u\in C_c^{\infty }(\mathbb {R}^N)\), then \(d\mu =\mu (x)dx\) is the invariant measure for this semigroup in \(C_b(\mathbb {R}^N)\). So we can extend it to a positivity preserving and analytic \(C_0\)-semigroup \(\lbrace T(t)\rbrace _{t\ge 0}\) on \(L^2_\mu \), whose generator is still denoted by L (see [18]).

When the assumptions on \(\mu \) allow degeneracy at one point, we require the following conditions to get that L generates a semigroup:

\((H_5)\):

\(\quad \mu \in C_{loc}^{1,\lambda }(\mathbb {R}^N\setminus \{0\})\), \(\lambda \in (0,1)\), \(\mu \in H^{1}_{loc}(\mathbb {R}^N)\), \(\frac{\nabla \mu }{\mu }\in L^r_{loc}(\mathbb {R}^N)\) for some \(r>N\), and \(\inf _{x\in K}\mu (x)>0\) for any compact set \(K\subset \mathbb {R}^N\).

We remark that the condition \((H_5)\) implies (i) in \((H_3)\). Indeed if \(\mu \in H^{1}_{loc}(\mathbb {R}^N)\) then \(\mu \in L^{1}_{loc}(\mathbb {R}^N)\) and \(\nabla \mu \in L^{2}_{loc}(\mathbb {R}^N)\). Moreover \(\frac{\nabla \mu }{\mu }\in L^2_{loc}(\mathbb {R}^N)\) since \(r>2\). So we get

$$\begin{aligned} \int _K \left| \nabla \sqrt{\mu }\right| ^2\,dx=\frac{1}{4}\int _K \frac{|\nabla \mu |^2}{\mu }\,dx\le \frac{1}{4}\left( \int _K \left| \frac{\nabla \mu }{\mu }\right| ^2\,dx\right) ^{\frac{1}{2}} \left( \int _K \left| \nabla \mu \right| ^2\,dx\right) ^{\frac{1}{2}}. \end{aligned}$$

An example of weight function satisfying \((H_5)\) is \(\mu =e^{-\delta |x|^m}\), \(\delta , m>0\).

Under assumption \((H_5)\), by [1, Corollary 3.7] we have that the closure of \((L,C_c^{\infty }(\mathbb {R}^N))\) on \(L^2_\mu \) generates a strongly continuous and analytic Markov semigroup \(\lbrace T(t)\rbrace _{t\ge 0}\) on \(L^2_\mu \).

We remark that in the applications to evolution problems we need \(C_0\)-semigroup generation results. Operators of a more general type, perturbed by potentials with different singularities, for which the generation of semigroups was stated, have been studied in [13,14,15] when \(\mu =1\) and in [9] in weighted spaces.

We define the bottom of the spectrum of \(-(L+V)\) as follows

$$\begin{aligned} \lambda _1(L+V):=\inf _{\varphi \in H^1_\mu \setminus \{0\}} \left( \frac{\int _{{{\mathbb {R}}}^N}|\nabla \varphi |^2\,d\mu -\int _{{{\mathbb {R}}}^N}V\varphi ^2\,d\mu }{\int _{{{\mathbb {R}}}^N}\varphi ^2\,d\mu } \right) . \end{aligned}$$

In the case of \(\mu \in C^{1,\lambda }_{loc}(\mathbb {R}^N)\) the authors in [17] extended the existence results in [2] to the Kolmogorov operators.

The following result stated in [8], assuming for \(\mu \) the condition \((H_5)\), shows that the condition \(\lambda _1(L+V)>-\infty \) is a sufficient condition for the existence of an exponentially bounded positive weak solution of (P). We include the condition (ii) in \((H_3)\) to get the density result.

Theorem 3

Let \(0\le V(x)\in L^1_{loc}(\mathbb {R}^N)\). Assume that the weight function \(\mu \) satisfies (ii) in \((H_3)\) and \((H_5)\). Then, if \(\lambda _1(L+V)>-\infty \) there exists a positive weak solution \(u\in C([0,\infty ),L^2_\mu )\) of (P) satisfying the estimate

$$\begin{aligned} \Vert u(t)\Vert _{L^2_\mu }\le Me^{\omega t}\Vert u_0\Vert _{L^2_\mu },\quad t\ge 0 \end{aligned}$$
(23)

for some constants \(M\ge 1\) and \(\omega \in {{\mathbb {R}}}\).

In the next Theorem we state an existence result for weak solutions to the problem (P) associated to the Kolmogorov operators with weights which are not necessarily \((1,\lambda )\)-Hölder continuous in the whole space.

Theorem 4

Assume hypotheses (i) in \((H_2)\) and \((H_4)\) for the potential V and the conditions (ii), (iii) in \((H_3)\) and \((H_5)\) on \(\mu \). Then there exists a positive weak solution \(u\in C([0,\infty ),L^2_\mu )\) of (P) satisfying

$$\begin{aligned} \Vert u(t)\Vert _{L^2_\mu }\le Me^{\omega t}\Vert u_0\Vert _{L^2_\mu },\quad t\ge 0 \end{aligned}$$
(24)

for some constants \(M\ge 1\) and \(\omega \in \mathbb {R}\).

Proof

Under the hypotheses of the Theorem the inequality (16) holds. The result is a consequence of the Theorem 3 and of the inequality (16) taking into account that the weighted Hardy type inequality implies that \(\lambda _1(L+V)>-\infty \). \(\square \)

We observe that, in the case of Schrödinger operators, we relay on the result in [2] and on the Hardy type inequality (5) to get the following result.

Theorem 5

Assume hypotheses \((H_1)\) and \((H_2)\). Then there exists a positive weak solution \(u\in C([0,\infty ),L^2(\mathbb {R}^N)\) of (P) with \(L=\varDelta \) and \(\mu =1\), satisfying

$$\begin{aligned} \Vert u(t)\Vert _{L^2(\mathbb {R}^N)}\le Me^{\omega t}\Vert u_0\Vert _{L^2(\mathbb {R}^N)},\quad t\ge 0 \end{aligned}$$
(25)

for some constants \(M\ge 1\) and \(\omega \in \mathbb {R}\).