Weighted Hardy-Sobolev type inequalities with boundary terms J. M. do Ó, M.F. Furtado, E.S. Medeiros, J. Ratzkin Abstract . In this paper, we establish a new class of weighted Hardy–Sobolev type inequalities under mild monotonicity assumptions on the weight function. As a consequence, we derive the corresponding weighted Sobolev and trace-type inequalities. These results play an important role in the analysis of elliptic problems with Neumann or Robin boundary conditions in unbounded domains. 1991 Mathematics Subject Classification 35J55, 35J50, 37K05, 35J62 1. Introduction and Statement of Results Functional inequalities play a critical role in modern analysis and its applications, with the famous inequalities of Hardy and of Sobolev serving as models. The classical Sobolev inequality in \mathbb{R}^{N} takes the form (1.1) \mathcal{S}_{N,p}\left(\int_{\mathbb{R}^{N}}|u|^{\frac{Np}{N-p}}dx\right)^{\frac{N-p}{N}}\leq\int_{\mathbb{R}^{N}}|\nabla u|^{p}dx,\quad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}), where \mathcal{S}_{N,p}>0 is a positive constant and 1\leq p1, in the half-space \mathbb{R}^{N}_{+}=\{x=(x^{\prime},x_{N})\in\mathbb{R}^{N}:x_{N}\geq 0\} . In their classical form, Hardy inequalities express the fact that certain weights can be controlled by the gradient term, revealing a delicate balance between integrability and singularity. It is worth remarking here that ( 1.2 ) holds only when the function u vanishes along the hyperplane \{x_{N}=0\} ; see Remark 3.3 for further commentary. In the book [ 20 ] , the author combines the Sobolev embedding with Hardy inequality to obtain a single statement. Precisely, it was shown that, for those smooth functions on the upper half-space \mathbb{R}^{N}_{+} that vanish on the boundary x_{N}=0 , there holds the sharp Hardy-Sobolev-Maz’ya inequality: (1.3) \left(\int_{\mathbb{R}^{N}_{+}}|u|^{\frac{2N}{N-2}}\,dx\right)^{\!\frac{N-2}{N}}\leq C\int_{\mathbb{R}^{N}_{+}}\left(|\nabla u|^{2}-\frac{|u|^{2}}{4x_{N}^{2}}\right)\,dx,\qquad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}_{+}). This inequality, its generalizations to different powers of the gradient, and the study of optimal constants have attracted considerable attention in recent years. Further extensions of the Hardy–Sobolev–Maz’ya inequality ( 1.3 ) to convex domains have also been investigated; see, for instance, [ 12 , 13 ] and the references therein. These inequalities have been widely used to study existence and Liouville-type results. For instance, in [ 17 , 19 ] , the authors, motivated by the study of Liouville-type results, considered the problem of determining the optimal constant in this inequality. In recent years, several extensions and refinements of Hardy’s inequality have been established, including weighted and anisotropic versions, inequalities with remainder terms, and Hardy–Sobolev-type inequalities involving additional effects of integrability. Such weighted inequalities have found important applications in the study of elliptic and parabolic equations with singular coefficients, in potential theory, and in spectral problems associated with degenerate operators. For u\in C_{0}^{\infty}(\Omega) and 11 and \gamma\in\mathbb{R} . Setting \gamma=0 we recover ( 1.2 ). Our goal in the present manuscript is to prove weighted Hardy-Sobolev inequalities in the domain above a graph in \mathbb{R}^{N} , both for increasing and for decreasing weights. We also explore some, but not all, of the consequences of these weighted inequalities. Our results here include extending ( 1.5 ) to functions that do not vanish along \{x_{N}=0\} provided \gamma>p-1 (see Corollary 3.2 ); additionally we provide a counter-example in Remark 3.3 demonstrating that the condition \gamma>p-1 is sharp. The present work includes that of [ 1 , 2 ] , as well as other works, as special cases. Furthermore, we provide examples showing our conditions on the weight functions cannot be weakened, and so our results are sharp. We also weaken the regularity hypotheses of, for instance, [ 18 ] . It worth mentioning that, while the weight should vanish on the boundary to mimic the classical Hardy inequality, our inequalities apply to functions that do not themselves vanish on the boundary, in contrast to, for instance, [ 7 ] . Let N\geq 2 and p>1 . As in [ 3 , 4 ] , we consider a continuous function \psi:\mathbb{R}^{N-1}\to\mathbb{R} and set \Omega:=\left\{x=(x^{\prime},x_{N})\in\mathbb{R}^{N}:x^{\prime}\in\mathbb{R}^{N-1},\;x_{N}>\psi(x^{\prime})\right\}. We recover the half-space \mathbb{R}^{N}_{+} by setting \psi\equiv 0 . Throughout the paper, we suppose that W and its weak derivative with respect to x_{N} satisfy the basic assumption ( W_{0} ) W:\overline{\Omega}\rightarrow[0,\infty),\quad W\in L^{1}_{\mathrm{loc}}(\Omega),\quad W_{x_{N}}:=\frac{\partial W}{\partial x_{N}}\in L^{1}_{\mathrm{loc}}(\Omega). We present our results in several cases, according to the monotonicity conditions on the weight function W . 1.1. Weighted Hardy inequality and consequences: increasing weight case In our initial results, we focus on weights that are increasing in the x_{N} -direction. We impose the following assumption: ( W_{1}^{+} ) \frac{W^{p}}{[W_{x_{N}}]^{p-1}}\in L^{1}_{\mathrm{loc}}(\Omega),\quad W_{x_{N}}>0\text{ a.e. in }\Omega. Under these conditions, we establish the following result. Theorem 1.1 (Hardy inequality of type I) . Suppose ( W 0 ) and ( W 1 + ). If p>1 then, for any u\in C_{0}^{\infty}(\mathbb{R}^{N}) , the following inequality is satisfied: (1.6) \int_{\Omega}W_{x_{N}}|u|^{p}\,dx+p\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}\,dx^{\prime}\leq p^{p}\int_{\Omega}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}\,dx. The key distinction of the domains in Theorem 1.1 is that their boundaries are merely continuous, unlike the sufficiently smooth boundaries required in earlier work (e.g., [ 18 , Lemma 2] ). This lack of smoothness means the outward normal vector is often undefined (e.g., for Weierstrass-type function graphs), rendering Green’s First Identity and the Divergence Theorem inapplicable. We can also prove Theorem 1.1 for more general domains, including non-convex sets (see Corollary 3.10 ). Following Theorem 1.1 , we prove weighted Sobolev embeddings for both subcritical (Theorem 3.4 ) and critical (Theorem 3.6 ) cases, in addition to a trace embedding theorem (Theorem 3.9 ). 1.2. Weighted Hardy inequality and consequences: decreasing weight case Next, we shall focus on the case of decreasing weights. In addition to (W_{0}) , we further assume that: ( W_{1}^{-} ) \frac{W^{p}}{[-W_{x_{N}}]^{p-1}}\in L^{1}_{\mathrm{loc}}(\Omega),\quad W_{x_{N}}<0\text{ a.e. in }\Omega. In this context, our Hardy-type result takes the following form: Theorem 1.2 (Hardy inequality of type II) . Suppose ( W 0 ) and ( W 1 - ). If p>1 then, for any u\in C_{0}^{\infty}(\mathbb{R}^{N}) , the following inequality holds: (1.7) \int_{\Omega}[-W_{x_{N}}]|u|^{p}dx\leq p^{p}\int_{\Omega}\frac{W^{p}}{\left[-W_{x_{N}}\right]^{p-1}}|\nabla u|^{p}dx+p\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime}. Remark 1.3 . One can modify the proof of Theorem 1.2 to obtain other interesting results. For instance, if W depends only on x_{N} and W_{x_{N}x_{N}}<0 , then -\int_{\Omega}\Delta W|u|^{p}dx\leq p^{p}\int_{\Omega}\frac{|\nabla W|^{p}}{|\Delta W|^{p-1}}|\nabla u|^{p}dx+p\int_{\mathbb{R}^{N-1}}W_{x_{N}}(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime}. In particular, if W_{x_{N}}\leq 0 , then \int_{\Omega}|\Delta W||u|^{p}dx\leq p^{p}\int_{\Omega}\frac{|\nabla w|^{p}}{|\Delta w|^{p-1}}|\nabla u|^{p}dx, which is in accordance with the result stated in [ 8 , Theorem 1] for bounded domains. 1.3. Comparison with previous results Inequalities with non-singular weight were considered in [ 14 ] , where the notion of Bessel pairs was introduced to derive a large class of weighted Hardy-type inequalities of the form ( 1.4 ). More specifically, for a,b>0 , \int_{\mathbb{R}^{N}}(a+b|x|^{\alpha})^{-2/\alpha+\beta}u^{2}\,dx\leq C\int_{\mathbb{R}^{N}}(a+b|x|^{\alpha})^{\beta}|\nabla u|^{2}\,dx,\qquad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}), where the exponents \alpha,\beta satisfy mild assumptions depending on the dimension. Many others have extended this technique of using Bessel pairs to derive Hardy-type inequalities. For related results, see also [ 5 , 7 ] and references therein. We also mention the works [ 16 , 18 , 22 ] , where the authors proved a non-singular Hardy–Sobolev-type inequality involving a boundary trace term. Specifically, for all 10 such that \int_{\Omega}\frac{|u|^{p}}{(1+|x|)^{p}}\,dx\leq C_{1}\int_{\Omega}|\nabla u|^{p}\,dx+C_{2}\int_{\partial\Omega}\frac{|\nu\cdot x|}{(1+|x|)^{p}}|u|\,dS_{x},\qquad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}), where \Omega\subset\mathbb{R}^{N} is an unbounded domain with a noncompact, smooth boundary \partial\Omega , and \nu denotes the unit outward normal vector on \partial\Omega . These inequalities make it possible to study elliptic boundary value problems on unbounded domains, even when the boundary itself is unbounded, using variational methods. 1.4. Organization of the paper The rest of the paper is organized as follows. Section 2 presents several examples that illustrate the consequences of our main results. In Section 3 , we provide the proofs of the main results in the increasing case, whereas Section 4 is devoted to the decreasing case. Finally, Section 5 contains some comments on applications of our results and further research projects. 2. Some examples of weights In this section, we discuss some consequences of our results by considering specific classes of potentials W . Since \Omega is diffeomorphic to \mathbb{R}^{N}_{+} , we restrict our attention to the case \Omega=\mathbb{R}^{N}_{+} . Thus, we pick \psi\equiv 0 in Theorem 1.1 to get (2.1) \int_{\mathbb{R}^{N}_{+}}W_{x_{N}}|u|^{p}dx+p\int_{\mathbb{R}^{N-1}}W(x^{\prime},0)|u|^{p}dx^{\prime}\leq p^{p}\int_{\mathbb{R}^{N}_{+}}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx,\qquad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}). 2.1. Increasing weights In what follows, we present examples of weights to which we can apply the last inequality above. Example 2.1 . If we consider \gamma>0 , \beta0, we have that W_{x_{N}}(x)=\frac{\gamma x_{N}^{\gamma-1}}{|x^{\prime}|^{\beta}},\qquad\frac{W(x)^{p}}{[W_{x_{N}}(x)]^{p-1}}=\frac{1}{\gamma^{p-1}}\frac{x_{N}^{\gamma+p-1}}{|x^{\prime}|^{\beta}}. Consequently, from ( 2.1 ), we derive the following inequality: \int_{\mathbb{R}^{N}_{+}}\frac{1}{x_{N}^{1-\gamma}|x^{\prime}|^{\beta}}|u|^{p}dx\leq\left(\frac{p}{\gamma}\right)^{p}\int_{\mathbb{R}^{N}_{+}}\frac{x_{N}^{\gamma+p-1}}{|x^{\prime}|^{\beta}}|\nabla u|^{p}dx. If 0<\gamma<1 , the function on the left-hand side above can blow up along the entire hyperplane \{x_{N}=0\} , in contrast to the usual Hardy inequalities, where the singularity occurs only at a point. Example 2.2 . Picking \gamma>0 , \beta0, we have that W_{x_{N}}(x)=\frac{\gamma(1+x_{N})^{\gamma-1}}{|x^{\prime}|^{\beta}},\qquad\frac{W(x)^{p}}{[W_{x_{N}}(x)]^{p-1}}=\frac{1}{\gamma^{p-1}}\frac{(1+x_{N})^{\gamma+p-1}}{|x^{\prime}|^{\beta}}. A direct application of ( 2.1 ) yields \int_{\mathbb{R}^{N-1}}\frac{|u|^{p}}{|x^{\prime}|^{\beta}}dx^{\prime}\leq\left(\frac{p}{\gamma}\right)^{p-1}\int_{\mathbb{R}^{N}_{+}}\frac{(1+x_{N})^{\gamma+p-1}}{|x^{\prime}|^{\beta}}|\nabla u|^{p}dx after discarding the first term, which is a Kato-type inequality; see, for instance, [ 9 ] for related results. Moreover, if we consider \beta=0 , and keep all the terms in ( 2.1 ), we obtain \displaystyle\left(\frac{\gamma}{p}\right)^{p}\int_{\mathbb{R}^{N}_{+}}\frac{|u|^{p}}{(1+x_{N})^{1-\gamma}}dx \displaystyle+\left(\frac{\gamma}{p}\right)^{p-1}\int_{\mathbb{R}^{N-1}}|u|^{p}dx^{\prime} \displaystyle\leq\int_{\mathbb{R}^{N}_{+}}(1+x_{N})^{\gamma+p-1}|\nabla u|^{p}dx, and therefore we have obtained a new proof of [ 2 , Theorem 1.1] . Example 2.3 . If W(x):=\log(\mathrm{e}+x_{N}) , then W_{x_{N}}(x)=\frac{1}{e+x_{N}},\qquad\frac{W(x)^{p}}{[W_{x_{N}}(x)]^{p-1}}=(e+x_{N})^{p-1}\log^{p}(e+x_{N}) and therefore ( 2.1 ) becomes \displaystyle\int_{\mathbb{R}^{N}_{+}}\frac{|u|^{p}}{(e+x_{N})}dx+p\int_{\mathbb{R}^{N-1}}|u|^{p}dx^{\prime} \displaystyle\leq p^{p}\int_{\mathbb{R}^{N}_{+}}(e+x_{N})^{p-1}\log^{p}(e+x_{N})|\nabla u|^{p}dx, which is a counterpart of the last inequality obtained in Example 2.2 . Example 2.4 . Let \gamma>0 and consider W(x):=e^{\gamma x_{N}} . Then W_{x_{N}}(x)=\gamma e^{\gamma x_{N}},\qquad\frac{W(x)^{p}}{[W_{x_{N}}(x)]^{p-1}}=\frac{1}{\gamma^{p-1}}e^{\gamma x_{N}} and therefore ( 2.1 ) becomes \gamma\int_{\mathbb{R}^{N}_{+}}e^{\gamma x_{N}}|u|^{p}dx+p\int_{\mathbb{R}^{N-1}}|u|^{p}dx^{\prime}\leq\gamma\left(\frac{p}{\gamma}\right)^{p}\int_{\mathbb{R}^{N}_{+}}e^{\gamma x_{N}}|\nabla u|^{p}dx. Example 2.5 . If W(x):=\arctan(x_{N}) , then W_{x_{N}}(x)=\frac{1}{1+x_{N}^{2}},\qquad\frac{W(x)^{p}}{[W_{x_{N}}(x)]^{p-1}}=\frac{\arctan^{p}(x)}{(1+x_{N}^{2})^{p-1}} and therefore ( 2.1 ) gives \int_{\mathbb{R}^{N}_{+}}\frac{|u|^{p}}{(1+x_{N}^{2})}dx\leq\left(\frac{p\pi}{2}\right)^{p}\int_{\mathbb{R}^{N}_{+}}(1+x_{N}^{2})^{p-1}|\nabla u|^{p}dx. 2.2. Decreasing weights In what follows, we present examples of weights to which we can apply the Theorem 1.2 . Example 2.6 . Let p>1 , \gamma0 and consider W(s):=e^{-\gamma x_{N}} . Then -W_{x_{N}}(x)=\gamma e^{-\gamma x_{N}},\qquad\frac{W(x)^{p}}{[-W_{x_{N}}(x)]^{p-1}}=\frac{1}{(-\gamma)^{p-1}}e^{-\gamma x_{N}}. and therefore \gamma\int_{\mathbb{R}^{N}_{+}}e^{-\gamma x_{N}}|u|^{p}dx\leq p\int_{\mathbb{R}^{N-1}}|u|^{p}dx^{\prime}+\frac{p^{p}}{(-\gamma)^{p-1}}\int_{\mathbb{R}^{N}_{+}}e^{-\gamma x_{N}}|\nabla u|^{p}dx. 3. Proofs and Consequences in the Increasing Case This section presents the proofs of Theorem 1.1 , that is, the Hardy inequality for increasing weight functions W , together with several consequences, including weighted Sobolev embeddings. Proof of Theorem 1.1 . Given u\in C_{0}^{\infty}(\mathbb{R}^{N}) and x^{\prime}\in\mathbb{R}^{N-1} , we have that \int_{\psi(x^{\prime})}^{\infty}\left(W|u|^{p}\right)_{x_{N}}dx_{N}=-W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime})|^{p} and therefore we can use W_{x_{N}}\in L^{1}_{loc}({\Omega}) to get \int_{\psi(x^{\prime})}^{\infty}W_{x_{N}}|u|^{p}dx_{N}+\int_{\psi(x^{\prime})}^{\infty}W(|u|^{p})_{x_{N}}dx_{N}=-W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime})|^{p}. Integrating over \mathbb{R}^{N-1} and using Fubini’s Theorem, we obtain \displaystyle-\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime} \displaystyle=\int_{\Omega}W_{x_{N}}|u|^{p}dx+\int_{\Omega}W(|u|^{p})_{x_{N}}dx \displaystyle=\int_{\Omega}W_{x_{N}}|u|^{p}dx+\int_{\Omega}pW|u|^{p-2}u\frac{\partial u}{\partial x_{N}}dx. Hence (3.1) \int_{\Omega}W_{x_{N}}|u|^{p}dx+\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime}\leq p\int_{\Omega}W|u|^{p-1}|\nabla u|dx. Recall that, for any \varepsilon>0 and a,\,b\geq 0 , Young’s inequality yields ab=\left(\frac{\varepsilon}{p-1}\right)^{(p-1)/p}a\left(\frac{p-1}{\varepsilon}\right)^{(p-1)/p}b\leq\frac{\varepsilon}{p}a^{p/(p-1)}+\frac{1}{p}\left(\frac{p-1}{\varepsilon}\right)^{p-1}b^{p}. Now, taking into account that W_{x_{N}}>0 , we have W|u|^{p-1}|\nabla u|=\Big(\left[W_{x_{N}}\right]^{(p-1)/p}|u|^{p-1}\Big)\Big(W\left[W_{x_{N}}\right]^{{-(p-1)/p}}|\nabla u|\Big). Since W^{p}/[W_{x_{N}}]^{p-1}\in L^{1}_{loc}(\Omega) , we can pick \varepsilon=(p-1)/p and use the above expression to obtain \displaystyle p\int_{\Omega}W|u|^{p-1}|\nabla u|dx \displaystyle\leq\varepsilon\int_{\Omega}W_{x_{N}}|u|^{p}dx+\left(\frac{p-1}{\varepsilon}\right)^{p-1}\int_{\Omega}\frac{W^{p}}{\left[W_{x_{N}}\right]^{p-1}}|\nabla u|^{p}dx \displaystyle=\frac{p-1}{p}\int_{\Omega}W_{x_{N}}|u|^{p}dx+p^{p-1}\int_{\Omega}\frac{W^{p}}{\left[W_{x_{N}}\right]^{p-1}}|\nabla u|^{p}dx. Replacing the above inequality in ( 3.1 ) we obtain the desired result. ∎ Next, we highlight our inequality in the case of the upper half-space \mathbb{R}^{N}_{+} , which can be obtained by setting \psi\equiv 0 . Corollary 3.1 . Suppose ( W 0 ) and ( W 1 + ). Then, for any u\in C_{0}^{\infty}(\mathbb{R}^{N}) , the following inequality is satisfied: (3.2) \int_{\mathbb{R}^{N}_{+}}W_{x_{N}}|u|^{p}dx+p\int_{\mathbb{R}^{N-1}}W(x^{\prime},0)|u|^{p}dx^{\prime}\leq p^{p}\int_{\mathbb{R}^{N}_{+}}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx. In particular, if u\in C_{0}^{\infty}(\mathbb{R}^{N}_{+}) , then \int_{\mathbb{R}^{N}_{+}}W_{x_{N}}|u|^{p}dx\leq p^{p}\int_{\mathbb{R}^{N}_{+}}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx. As a consequence, we have the following: Corollary 3.2 . For any \gamma>p-1 the following inequality holds (3.3) \left|\frac{\gamma-p+1}{p}\right|^{p}\int_{\mathbb{R}^{N}_{+}}\frac{|u|^{p}}{x_{N}^{p-\gamma}}\,dx\leq\int_{\mathbb{R}^{N}_{+}}x_{N}^{\gamma}|\nabla u|^{p}\,dx,\qquad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}). Proof. For any \varepsilon>0 , we consider the weight W_{\varepsilon}(x):=(\varepsilon+x_{N})^{\theta} , with \theta>0 , and use Corollary 3.1 to get \theta\int_{\mathbb{R}^{N}_{+}}(\varepsilon+x_{N})^{\theta-1}|u|^{p}dx+p\varepsilon^{\theta}\int_{\mathbb{R}^{N-1}}|u(x^{\prime},0)|^{p}dx^{\prime}\leq\frac{p^{p}}{\theta^{p-1}}\int_{\mathbb{R}^{N}_{+}}(\varepsilon+x_{N})^{p+\theta-1}|\nabla u|^{p}dx. Picking \theta=\gamma-p+1>0 and letting \varepsilon\rightarrow 0^{+} we obtain ( 3.3 ). ∎ Remark 3.3 . Corollary 3.2 shows that, if \gamma>-1 , inequality ( 1.5 ) holds in C_{0}^{\infty}(\mathbb{R}^{N}) . Moreover, the interval (p-1,+\infty) is optimal in the sense that inequality ( 1.5 )is false if \gamma\leq p-1 . In fact, if \gamma\leq p-1 , a function \phi\in C_{0}^{\infty}(\mathbb{R}^{N}) such that \phi\equiv 1 in the unit ball B_{1}(0) provides a counter-example, which one can see from the following computation: +\infty=\left|\frac{\gamma-p+1}{p}\right|^{p}\int_{B_{1}(0)\cap\mathbb{R}^{N}_{+}}\frac{1}{x_{N}^{p-\gamma}}\,dx\leq\left|\frac{\gamma-p+1}{p}\right|^{p}\int_{\mathbb{R}^{N}_{+}}\frac{|\phi|^{p}}{x_{N}^{p-\gamma}}\,dx\leq\int_{\mathbb{R}^{N}_{+}}x_{N}^{\gamma}|\nabla\phi|^{p}dx<\infty, which is a contradiction. In particular, this shows that the validity of the classical Hardy inequality in the upper half-space, as stated in ( 1.2 ) (which corresponds to \gamma=0 ), does not hold for functions that do not vanish along \{x_{N}=0\} . Similarly, the Hardy-Sobolev-Maz’ya inequality ( 1.3 ) does not hold in C_{0}^{\infty}(\mathbb{R}^{N}) . This highlights how the situation changes when we consider functions in C_{0}^{\infty}(\mathbb{R}^{N}) instead of C_{0}^{\infty}(\mathbb{R}^{N}_{+}) in the context of Hardy-type inequalities. We also emphasise that, in view of inequality ( 3.3 ) and a scaling argument, we conjecture that the following weighted Hardy-Sobolev-Maz’ya inequality C_{0}\left(\int_{\mathbb{R}^{N}_{+}}x_{N}^{\frac{N\gamma}{N-p}}|u|^{p^{*}}dx\right)^{p/p^{*}}\leq\int_{\mathbb{R}^{N}_{+}}x_{N}^{\gamma}|\nabla u|^{p}\,dx-\frac{1}{(\gamma-p+1)^{p}}\int_{\mathbb{R}^{N}_{+}}\frac{|u|^{p}}{x_{N}^{p-\gamma}}\,dx,\qquad\forall\,u\in C_{0}^{\infty}(\mathbb{R}^{N}), holds for any \gamma>p-1 and some constant C_{0}=C_{0}(N,p,\gamma) , where p^{*}:=Np/(N-p) . 3.1. Weighted Sobolev embeddings: the increasing case To establish the upcoming results, let \mathcal{D}_{W}^{+} denote the completion of C_{0}^{\infty}(\mathbb{R}^{N}) with respect to the norm \|\cdot\|_{\mathcal{D}_{W}^{+}} given by \|u\|_{\mathcal{D}_{W}^{+}}:=\left(\int_{\Omega}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx\right)^{1/p}. We interpolate the weighted Hardy inequality ( 1.6 ) with classical Sobolev inequalities to derive weighted Sobolev embeddings. Such embeddings play a central role in the analysis of nonlinear elliptic equations. We first introduce some notation. For all q\geq 1 and non-negative V\in L^{1}_{loc}(\Omega) , define the weighted Lebesgue space L^{q}(\Omega,V):=\left\{u\in L^{1}_{loc}(\Omega)\,:\,\|u\|_{q,V}:=\left(\int_{\Omega}V(x)|u|^{q}dx\right)^{1/q}<+\infty\right\}. From now on, we assume that \psi\in C^{1}(\mathbb{R}^{N-1},\mathbb{R}) , since we shall make use of the change of variables theorems. If we denote, for s\in[0,p] , q(s):=\frac{(N-s)p}{(N-p)}, and assume ( W_{2}^{+} ) \text{there exists }c_{1}>0\text{ such that }\frac{W^{p}}{[W_{x_{N}}]^{p-1}}\geq c_{1}\text{ a.e. in }\Omega. we shall prove the following: Theorem 3.4 (Sobolev embedding) . Suppose ( W 0 ), ( W 1 + ) and ( W 2 + ). If 10 , for any x\in\Omega . Then, given u\in C_{0}^{\infty}(\mathbb{R}^{N}) , we may invoke Theorem 1.1 to get C_{1}\int_{\Omega}|u|^{p}dx\leq p^{p}\int_{\Omega}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx. Moreover, from ( W 2 + ), we obtain \int_{\Omega}|\nabla u|^{p}dx\leq\frac{1}{c_{1}}\int_{\Omega}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx. So, under this setting, we obtain the continuous embedding \mathcal{D}_{W}^{+}\hookrightarrow W^{1,p}(\Omega). In our next result, we are interested in giving a precise meaning to the values of functions in \mathcal{D}_{W}^{+} on the boundary \partial\Omega . To this end, we assume that \psi:\mathbb{R}^{n-1}\to\mathbb{R} is a globally Lipschitz continuous function, and we use the standard notation p_{*}:=p(N-1)/(N-p) for the critical Sobolev exponent of the trace embedding. We shall prove the following result: Theorem 3.9 (Trace Embedding) . Suppose ( W 0 ), ( W 1 + ) and ( W 2 + ). In addition, suppose W_{x_{N}}\in L^{\infty}(\Omega) , if 10 such that \sqrt{1+\|\nabla\psi(x^{\prime})\|^{2}}\leq C_{1},\qquad\forall\,x^{\prime}\in\mathbb{R}^{N-1}. Thus, in view of Theorem 1.1 one has (3.8) \displaystyle\|u\|_{L^{p}(\partial\Omega,W)}^{p} \displaystyle=\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime})||u(x^{\prime},\psi(x^{\prime}))|^{p}\sqrt{1+\|\nabla\psi(x^{\prime})\|^{2}}dx^{\prime} \displaystyle\leq C_{1}\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime})||u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime} \displaystyle\leq C_{1}p^{p-1}\|u\|_{\mathcal{D}_{W}^{+}}^{p}. From the above inequality, we conclude that the trace embedding \mathcal{D}_{W}^{+}\hookrightarrow L^{p}(\partial\Omega,W) is continuous. Concerning q=p_{*} , we pick x^{\prime}\in\mathbb{R}^{N-1} and notice that \displaystyle W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p_{*}}= \displaystyle-\int_{\psi(x^{\prime})}^{\infty}\left(W|u|^{p_{*}}\right)_{x_{N}}dx_{N} \displaystyle\leq \displaystyle\int_{\psi(x^{\prime})}^{\infty}W_{x_{N}}|u|^{p_{*}}dx_{N}+p_{*}\int_{\psi(x^{\prime})}^{\infty}W|u|^{p_{*}-1}|\nabla u|dx_{N}. Integrating over \mathbb{R}^{N-1} and using Fubini’s Theorem, we get (3.9) \int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p_{*}}dx^{\prime}\leq\int_{\Omega}W_{x_{N}}|u|^{p_{*}}dx+p_{*}\int_{\Omega}W|u|^{p_{*}-1}|\nabla u|dx. It follows from Remark 3.5 that \int_{\Omega}W_{x_{N}}|u|^{p_{*}}dx\leq C_{2}\|u\|^{p_{*}}_{\mathcal{D}_{W}^{+}}. Moreover, we can use W|u|^{p_{*}-1}|\nabla u|=\Big([W_{x_{N}}]^{(p-1)/p}|u|^{p_{*}-1}\Big)\Big(W[W_{x_{N}}]^{{-(p-1)/p}}|\nabla u|\Big), Hölder’s inequality with exponents p/(p-1) and p , and Theorem 3.4 again, to obtain \displaystyle\int_{\Omega}W|u|^{p_{*}-1}|\nabla u|dx \displaystyle\leq\left(\int_{\Omega}W_{x_{N}}|u|^{p^{*}}dx\right)^{(p-1)/p}\|u\|_{\mathcal{D}_{W}^{+}} \displaystyle\leq C_{2}\|u\|_{\mathcal{D}_{W}^{+}}^{p_{*}-1}\|u\|_{\mathcal{D}_{W}^{+}}=C_{3}\|u\|_{\mathcal{D}_{W}^{+}}^{q}. Using the above inequalities and arguing as in the proof of case q=p , we get \|u\|_{L^{p_{*}}(\partial\Omega,W)}^{p_{*}}\leq C_{2}\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p_{*}}dx^{\prime}\leq C_{4}\|u\|_{\mathcal{D}_{W}^{+}}^{p_{*}}, with C_{4}=C_{1}p^{p-1}(C_{2}+p_{*}C_{3}) , and therefore the embedding \mathcal{D}_{W}^{+}\hookrightarrow L^{p_{*}}(\partial\Omega) is also continuous. The case q\in(p,p_{*}) can be proved using interpolation, as done in the proof of Theorem 3.6 . We omit the details. Suppose now that p=N . Let q\geq N and u\in C_{0}^{\infty}(\mathbb{R}^{N}) . Arguing as in the proof of ( 3.9 ), we obtain (3.10) \displaystyle\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{q}dx^{\prime} \displaystyle\leq\int_{\Omega}W_{x_{N}}|u|^{q}dx+q\int_{\Omega}W|u|^{q-1}|\nabla u|dx \displaystyle\leq C_{1}\|u\|^{q}_{\mathcal{D}_{W}^{+}}+q\int_{\Omega}W|u|^{q-1}|\nabla u|dx, where we have used Theorem 3.6 in the last inequality. Since (q-1)N/(N-1)\geq N , we can use Hölder’s inequality with exponents N/(N-1) and N , and Theorem 3.4 again to obtain \displaystyle\int_{\Omega}W|u|^{q-1}|\nabla u|dx \displaystyle\leq\left(\int_{\Omega}W_{x_{N}}|u|^{(q-1)N/(N-1)}dx\right)^{(N-1)/N}\|u\|_{\mathcal{D}_{W}^{+}} \displaystyle\leq C_{2}\|u\|_{\mathcal{D}_{W}^{+}}^{q-1}\|u\|_{\mathcal{D}_{W}^{+}}=C_{2}\|u\|_{\mathcal{D}_{W}^{+}}^{q} and the result follows from ( 3.10 ) and expression ( 3.8 ) with p replaced by q . ∎ Let \psi_{1},\psi_{2}:\mathbb{R}^{N-1}\to\mathbb{R} be continuous functions with \psi_{1}(x^{\prime})<\psi_{2}(x^{\prime}) , for any x^{\prime}\in\mathbb{R}^{N-1} . A version of Theorem 1.1 also holds when \Omega=\Omega_{1}\cup\Omega_{2} where \Omega_{1}=\{x=(x^{\prime},x_{N}):x_{N}<\psi_{1}(x^{\prime})\}\quad\text{and}\quad\Omega_{2}=\{x=(x^{\prime},x_{N}):\psi_{2}(x^{\prime})0 , write W|u|^{p-1}|\nabla u|=\big([-W_{x_{N}}]^{\frac{p-1}{p}}|u|^{p-1}\big)\big(W[-W_{x_{N}}]^{-\frac{p-1}{p}}|\nabla u|\big). and apply Young’s inequality to obtain p\int_{\Omega}W|u|^{p-1}|\nabla u|\,dx\leq\varepsilon\int_{\Omega}[-W_{x_{N}}]|u|^{p}\,dx+\left(\frac{p-1}{\varepsilon}\right)^{p-1}\int_{\Omega}\frac{W^{p}}{[-W_{x_{N}}]^{p-1}}|\nabla u|^{p}\,dx. Choosing \varepsilon:=(p-1)/p and substituting into the previous inequality, the result follows. ∎ 4.1. Weighted Sobolev embeddings: The decreasing case Assume that the weight function W is decreasing in the x_{N} -direction. We introduce the space \mathcal{D}_{W}^{-} as the completion of C_{0}^{\infty}(\mathbb{R}^{N}) with respect to the norm \|u\|_{\mathcal{D}_{W}^{-}}:=\left(\int_{\Omega}\frac{W^{p}}{[-W_{x_{N}}]^{p-1}}\,|\nabla u|^{p}\,dx+\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))\,|u(x^{\prime},\psi(x^{\prime}))|^{p}\,dx^{\prime}\right)^{1/p}. We further assume that ( W_{2}^{-} ) \text{there exists }c_{2}>0\text{ such that }\frac{W^{p}}{[-W_{x_{N}}]^{p-1}}\geq c_{2}\quad\text{a.e. in }\Omega. Under this assumption, we establish the following result. Theorem 4.1 . Suppose ( W 0 ), ( W 1 - ) and ( W 2 - ). If 10 , and therefore the theorem holds q=N^{2}/(N-1) . Moreover, Theorem 1.2 implies that the result also holds for q=N . Hence, we can use interpolation to fulfil the interval q\in[N,N^{2}/(N-1)] . Since N0 , 0\leq s\leq p and q\in[p,p_{*}] such that |f(x,t)|\leq C_{1}[W_{x_{N}}(x)]^{s/p}|t|^{q(s)},\qquad\forall\,(x,t)\in\Omega\times\mathbb{R}, and |g(x^{\prime},t)|\leq C_{1}W(x^{\prime},\psi(x^{\prime}))|t|^{q},\qquad\forall\,(x^{\prime},t)\in\partial\Omega\times\mathbb{R}. Under these condition, we may use standard calculations to show that J\in C^{1}(\mathcal{D}_{W}^{+},\mathbb{R}) . Concerning the p -quadratic part of the functional I , we assume that 0\leq a(x)\leq a_{0}W_{x_{N}}(x),\quad 0\leq b(x^{\prime})\leq b_{0}W(x^{\prime}),\qquad\forall\,\,x\in\Omega,\,x^{\prime}\in\partial\Omega. From our embedding results, we obtain C_{2}>0 such that \int_{\Omega}a(x)|u|^{p}dx\leq C_{2}\|u\|_{\mathcal{D}_{W}^{+}}^{p},\quad\int_{\partial\Omega}b(x^{\prime})|u|^{p}d\sigma\leq C_{2}\|u\|_{\mathcal{D}_{W}^{+}}^{p}, for any u\in\mathcal{D}_{W}^{+} . We now define \|u\|_{E}:=\left(\int_{\Omega}\rho(x)\,|\nabla u|^{p}\,dx-\mu_{1}\int_{\Omega}a(x)|u|^{p}\,dx-\mu_{2}\int_{\partial\Omega}b(x^{\prime})\,|u|^{p}\,d\sigma\right)^{1/p} and use all the above inequalities to write \|u\|_{E}^{p}\geq\Big(C_{0}-(\lambda+\mu)C_{2}\Big)\|u\|_{\mathcal{D}_{W}^{+}}^{p},\qquad\forall\,u\in\mathcal{D}_{W}^{+}. So, if the parameters \lambda,\,\mu are small, our functional behaves like I(u)\sim\|u\|_{E}^{p}-J(u) , for any u\in E , where E is the Banach space \mathcal{D}_{W}^{+} endowed with the (equivalent) norm \|\cdot\| . We can handle the borderline case p=N in the same way, just replacing the growth condition on f and g by |f(x,t)|\leq C_{1}W_{x_{N}}(x)|t|^{q_{1}},\quad|g(x^{\prime},t)|\leq C_{1}W(x^{\prime},\psi(x^{\prime}))|t|^{q_{2}}, for exponents q_{1},\,q_{2}\in[N,+\infty) . Example 5.2 . Another application of our results is the study of nonlinear elliptic problems with Robin boundary conditions of the form (5.2) \left\{\begin{array}[]{rcll}-\operatorname{div}\!\big(\rho(x)\,|\nabla u|^{p-2}\nabla u\big)&=&f(x,u),&\text{in }\Omega,\\ \rho(x^{\prime})\,|\nabla u|^{p-2}(\nabla u\!\cdot\!\nu)+b(x^{\prime})|u|^{p-2}u&=&g(x^{\prime},u),&\text{on }\partial\Omega.\end{array}\right. The main difference here is that the non-negative potential b appears on the left-hand side of the boundary condition. In this case, considering the weighted Sobolev space E defined by the completion of C_{0}^{\infty}(\mathbb{R}^{N}) with repecto to the norm \|u\|_{E}:=\left(\int_{\Omega}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx+\int_{\Omega}W_{x_{N}}|u|^{p}dx\right)^{1/p}, we see that in the space E the Friedrich norm \|u\|_{F}:=\left(\int_{\Omega}\frac{W^{p}}{[W_{x_{N}}]^{p-1}}|\nabla u|^{p}dx+\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime})|^{p}dx^{\prime}\right)^{1/p}, is equivalent to \|\cdot\|_{E} . Thus, we can assume similar conditions as in the Example 5.1 in order to address results of existence and Liouville type results for this class of problems, see for instance [ 17 ] . Example 5.3 . Of course, we can also consider the case where W is decreasing. More precisely, by combining the Hardy-type inequality ( 1.7 ) with the Sobolev embedding established for the decreasing case, we can treat problem ( 5.2 ) with the weighted function \rho satisfying \rho(x)\geq C_{0}\,\frac{[W(x_{N})]^{p}}{[-W_{x_{N}}(x_{N})]^{p-1}},\qquad\forall\,x\in\Omega. We point out that in this case we are not able to consider the Neumann boundary condition, that is, b\equiv 0 . Nevertheless, it is possible to take \rho\equiv 1 in this setting (see, for instance, Example 2.6 ). 5.2. Further Research Directions • Is the constant c(\gamma,p)=\left(\frac{\gamma-p+1}{p}\right)^{p} in the inequality ( 3.3 ) optimal and/or achieved? • As already mentioned, using inequality ( 3.3 ) together with a scaling argument, it is natural to expect that the following weighted Hardy–Sobolev–Maz’ya type inequality holds: \displaystyle C_{0}\left(\int_{\mathbb{R}^{N}_{+}}x_{N}^{\frac{N\gamma}{N-p}}|u|^{p^{*}}\,dx\right)^{\!p/p^{*}}\leq\int_{\mathbb{R}^{N}_{+}}x_{N}^{\gamma}|\nabla u|^{p}\,dx-\frac{1}{(\gamma-p+1)^{p}}\int_{\mathbb{R}^{N}_{+}}\frac{|u|^{p}}{x_{N}^{\,p-\gamma}}\,dx, for all u\in C_{0}^{\infty}(\mathbb{R}^{N}_{+}) , \gamma>p-1 and some constant C_{0}=C_{0}(N,p,\gamma) . Is this really true? • Is it possible to prove Theorem 3.6 when the weight W depends also of x^{\prime} with no additional condition, see Remark 3.7 ? • The inequality ( 1.2 ) in Theorem 1.2 has the form (5.3) \displaystyle\int_{\Omega}[-W_{x_{N}}]|u|^{p}dx \displaystyle\leq A\int_{\Omega}\frac{W^{p}}{\left[-W_{x_{N}}\right]^{p-1}}|\nabla u|^{p}dx \displaystyle+B\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime} where A and B are positive constants. As is well known, see for instance [ 10 ] , the first best constant associated to ( 5.3 ) is defined by A_{\mathrm{opt}}:=\inf\Bigl\{A\in\mathbb{R}:\mbox{there exists }B\in\mathbb{R}\mbox{ such that }\eqref{AB}\mbox{ is valid}\Bigr\} whose corresponding inequality is given by (5.4) \displaystyle\int_{\Omega}[-W_{x_{N}}]|u|^{p}dx \displaystyle\leq A_{\mathrm{opt}}\int_{\Omega}\frac{W^{p}}{\left[-W_{x_{N}}\right]^{p-1}}|\nabla u|^{p}dx \displaystyle+B\int_{\mathbb{R}^{N-1}}W(x^{\prime},\psi(x^{\prime}))|u(x^{\prime},\psi(x^{\prime}))|^{p}dx^{\prime}. Now, it is natural to investigate the second-best constant associated with ( 5.4 ), defined by B_{\mathrm{opt}}:=\inf\Bigl\{B\in\mathbb{R}:\eqref{Aoptimal}\text{ holds with this value of }B\Bigr\}. Thus, one may investigate the precise value of optimal constants A_{\mathrm{opt}} and B_{\mathrm{opt}} in the above inequality. • If we assume that W_{1},W_{2} are positive weights, can we prove an inequality as below \int_{\Omega}W_{1}|u|^{p}+C_{1}\int_{\partial\Omega}W_{2}|u|^{p}\leq C_{2}\int_{\Omega}|\nabla u|^{p}dx,\quad\forall u\in C_{0}^{\infty}(\mathbb{R}^{N}), for some constants C_{1},C_{2}>0? Can we prove the same result above when the co-dimension is greater than one? • We observe that the monotonicity of W plays a decisive role in determining the position of the boundary term in our inequalities. A natural question arises: is this monotonicity assumption necessary in order to obtain results of this type? • In view of the Sobolev embedding in the borderline case p=N , a natural question is whether a Trudinger–Moser type inequality holds in the spaces \mathcal{D}_{W}^{+} and \mathcal{D}_{W}^{-} . Funding: J. M. do Ó acknowledges partial support from CNPq through grants 312340/2021-4, 409764/2023-0, 443594/2023-6, CAPES MATH AMSUD grant 88887.878894/2023-00. M. Furtado was partially supported by CNPq/Brazil and FAPDF/Brazil. E. Medeiros acknowledges partial support from CNPq through grant 310885/2023-0 and Paraíba State Research Foundation (FAPESQ), grant no 3034/2021. J. Ratzkin is partially supported by the Deutsche Forschungsgemeinschaft (DFG) through grant # 561401741. Ethical Approval: Not applicable. Competing interests: Not applicable. Authors’ contributions: All authors contributed to the study conception and design. All authors performed material preparation, data collection, and analysis. The authors read and approved the final manuscript. Availability of data and material: Not applicable. Ethical Approval: All data generated or analyzed during this study are included in this article. Consent to participate: All authors consent to participate in this work. Conflict of interest: The authors declare that they have no conflict of interest. Consent for publication: All authors consent for publication.