Skip to main content

Ground state solutions for a kind of superlinear elliptic equations with variable exponent

Abstract

In this paper, we focus on the existence of ground state solutions for the \(p(x)\)-Laplacian equation

$$ \textstyle\begin{cases} -\Delta _{p(x)}u+\lambda \vert u \vert ^{p(x)-2}u=f(x,u)+h(x) \quad \text{in } \Omega , \\ u=0,\quad \text{on }\partial \Omega . \end{cases} $$

Using the constraint variational method, quantitative deformation lemma, and strong maximum principle, we proved that the above problem admits three ground state solutions, especially speaking, one solution is sign-changing, one is positive, and one is negative. Our results improve on those existing in the literature.

1 Introduction and main results

In this paper, we mainly study the \(p(x)\)-Laplacian equation with variable exponent

$$ \textstyle\begin{cases} -\Delta _{p(x)}u+\lambda \vert u \vert ^{p(x)-2}u=f(x,u)+h(x) \quad \text{in } \Omega , \\ u=0,\quad \text{on }\partial \Omega , \end{cases} $$
(1.1)

where \(\Omega \subset \mathbb{R}^{N}\) (\(N\geq 2\)) is a smooth bounded domain, \(\lambda >0\) is a real parameter, and \(\Delta _{p(x)}\) is the \(p(x)\)-Laplacian operator, that is,

$$ \Delta _{p(x)}=\operatorname{div} \bigl( \vert \nabla u \vert ^{p(x)-2}\nabla u \bigr)=\sum_{i=1}^{N} \biggl( \vert \nabla u \vert ^{p(x)-2}\frac{\partial u}{\partial x_{i}} \biggr), $$

\(p\in C(\bar{\Omega})\) is a Lipschitz function, and it satisfies \(1< p^{-}:=\inf_{x\in \Omega}p(x)\leq p^{+}:=\sup_{x\in \Omega}p(x)< N\), \(h(x)\) is a continuous function satisfying conditions that will be proposed later, and \(f:\Omega \times \mathbb{R}\mapsto \mathbb{R}\) is a Carathéodory function.

A new and interesting research direction is the study of variational problems with \(p(x)\)-growth condition. It has many practical physical meanings, such as the nonlinear elasticity theory [1], stationary thermorheological viscous flows [2], electrorheological fluids [3], image processing [4] and nonlinear Darcy’s law in porous medium [5]. Recently, many scholars have become increasingly concerned about the existence and multiplicity of solutions to the \(p(x)\)-Laplacian problems and have obtained many results under the following two useful conditions:

  1. (f1)

    \(f(x,t)=o(|t|^{p^{+}-2}t)\) as \(t\to 0\) uniformly in \(x\in \Omega \);

  2. (f2)

    there exist \(p^{+}< r(x)< p^{*}(x)\) and some positive constant C such that

    $$\begin{aligned} \bigl\vert f(x,t) \bigr\vert \leq C \bigl(1+ \vert t \vert ^{r(x)-1} \bigr), \end{aligned}$$

where \(p^{*}(x)=\frac{Np(x)}{N-p(x)}\).

As is well known, (f1) and (f2) are standard and are important in many studies. Fan and Zhang [6] considered the cases when the nonlinear term \(f(x,u)\) is \(p(x)\)-superlinear and \(p(x)\)-sublinear with u, respectively, and obtained the existence of infinitely many solutions for problem (1.1) with \(\lambda =0\) and \(h(x)\equiv 0\). Amrouss and Kissi [7] proved that (1.1) has at least two nontrivial solutions with \(\lambda =0\) and \(h(x)\equiv 0\), under adequate variational methods and a variant of the Mountain Pass lemma. The common feature of [6, 7] is that the authors used the well-known Ambrosetti-Rabinowitz’s type conditions, that is

  1. (AR)

    there exist \(\mu >p^{+}\) and \(M_{0}>0\) such that

    $$\begin{aligned} 0< \mu F(x,t)\leq tf(x,t), \quad x\in \Omega , \vert t \vert \geq M_{0}. \end{aligned}$$

However, many functions are superlinear but do not satisfy the (AR) condition. As is well known, the main purpose of using (AR) is to ensure the boundedness of Palais-Smail-type sequences of the corresponding functional. Many scholars attempt to study such problems using weaker conditions. Avci [8] used a variant Fountain theorem and variational method to obtain the existence of infinitely many solutions for the Dirichlet boundary problems. Applying the Morse theory and modified functional methods, Tan and Fang [9] obtained some existence and multiplicity results. Zang [10] proved the existence and multiplicity of the solutions by Cerami condition. Yucedag [11] obtained infinitely many solutions for this problem with two superlinear terms. Liu and Pucci [12] dealt with the existence of a pair of nontrivial nonnegative and nonpositive solutions for a nonlinear weighted quasilinear equation in \(\mathbb{R}^{N}\), which involves a double-phase operator under the Cerami condition instead of the classical Palais-Smale condition. Chu, Xie and Zhou [13] introduced new methods to show the boundedness of Cerami sequences and obtained the existence and multiplicity of solutions for a new Kirchhoff equation. Qin, Tang, and Zhang [14] developed a direct method and used approximation arguments to search for the Cerami sequences of energy functionals, estimated the minimax energy levels of these sequences, and obtained the existence of ground states and nontrivial solutions for a planar Hamiltonian elliptic system with critical exponential growth. Zhang and Zhang [15] obtained the existence of semiclassical ground state solutions via the generalized Nehari manifold method, in which nonlinearity f is continuous but not necessarily of class \(C^{1}\). Li, Nie, and Zhang [16] obtained the existence of normalized ground states by the Sobolev subcritical approximation method for the first time considering mass constraints, Kirchhof-type problems, and Schwartz symmetric rearrangement.

Next, we will continue to make the following assumptions on \(f(x,t)\).

  1. (f3)

    \(\lim_{|t|\to +\infty}\frac{F(x,t)}{|t|^{p^{+}}}=\infty \) uniformly in \(x\in \Omega \), where \(F(x,t)=\int _{0}^{t}f(x,s)\,ds \);

  2. (f4)

    for each \(x\in \Omega \), \(\frac{f(x,t)}{|t|^{p^{+}-1}}\) is an increasing function of t on \(\mathbb{R}\setminus \{0\}\).

There are many nonlinear terms \(f(x,t)\) that satisfy (f3) and (f4) but not (AR) (e.g., \(f(x,t)=p^{+}|t|^{p^{+}-2}t\ln (1+t^{2})\)). There are some works that use (f3) and (f4); for example, when \(\lambda =0\) and \(h(x)\equiv 0\), Ge, Zhuge, and Yuan [17] proved that (1.1) possesses one positive ground state solution, one negative ground state solution, and one sign-changing ground state solution; Ge, Zhang, and Hou [18] discussed the existence of the Nehari-type ground state solutions for a superlinear \(p(x)\)- Laplacian equation with potential \(V(x)\) using perturbation methods. However, to the best of our knowledge, there are few results in the literature regarding ground state solutions for problem (1.1) since problem (1.1) is more complicated.

The solution of problem (1.1) is understood in the weak sense, that is, \(u\in W_{0}^{1,p(x)}(\Omega )\) is the solution of problem (1.1) if

$$\begin{aligned} \begin{aligned}[b] & \int _{\Omega} \bigl( \vert \nabla u \vert ^{p(x)-2} \nabla u\cdot \nabla v+\lambda \vert u \vert ^{p(x)-2}u \cdot v \bigr) \,dx - \int _{\Omega}h(x)v\,dx \\ &\quad = \int _{\Omega}f(x,u)v\,dx, \quad \forall v \in W_{0}^{1,p(x)}( \Omega ), \end{aligned} \end{aligned}$$
(1.2)

where \(W_{0}^{1,p(x)}(\Omega )\) is the variable exponent Sobolev space and will be defined in Sect. 2.

The energy functional related to problem (1.1) is represented by

$$\begin{aligned} J(u)= \int _{\Omega}\frac{1}{p(x)} \bigl( \vert \nabla u \vert ^{p(x)}+\lambda \vert u \vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u\, dx- \int _{\Omega}F(x,u)\,dx . \end{aligned}$$
(1.3)

If \(u\in W_{0}^{1,p(x)}(\Omega )\) is a solution of problem (1.1) with \(u^{\pm}\neq 0\), then u is called a sign-changing solution of problem (1.1), where \(u^{\pm}\) are defined as follows,

$$\begin{aligned} u^{+}(x):=\max \bigl\{ u(x),0 \bigr\} \quad \text{and}\quad u^{-}(x):=\min \bigl\{ u(x),0 \bigr\} . \end{aligned}$$
(1.4)

For the convenience of further discussions, we set

$$\begin{aligned} & \Xi := \bigl\{ u\in W_{0}^{1,p(x)}(\Omega ): \bigl\langle J^{\prime}(u),u^{+} \bigr\rangle = \bigl\langle J^{\prime}(u),u^{-} \bigr\rangle =0, u^{\pm}\neq 0 \bigr\} , \\ &\Psi := \bigl\{ u\in W_{0}^{1,p(x)}(\Omega ): \bigl\langle J^{\prime}(u),u \bigr\rangle =0, u\neq 0 \bigr\} , \end{aligned}$$

and let

$$\begin{aligned} \xi :=\inf_{u\in \Xi }J(u),\qquad \psi :=\inf _{u\in \Psi}J(u). \end{aligned}$$

To obtain the desired results, the following assumption is made for \(h(x)\).

  1. (h1)

    for any \(u\in \Psi \) and \(h\in L^{2}(\mathbb{R}^{N})\), we have \(\langle h(x),u\rangle \leq 0\).

Now, we present our main results:

Theorem 1.1

Assume that (f1)(f4) and (h1) hold, then for any \(\lambda >0\), problem (1.1) admits a sign-changing solution \(u_{0}\in \Xi \) such that

$$\begin{aligned} J(u_{0})=\inf_{u\in \Xi }J(u). \end{aligned}$$

Theorem 1.2

Assume that \(p\in C^{1}(\bar{\Omega})\), (f1)(f4) and (h1) hold, then for any \(\lambda >0\), problem (1.1) admits at least a positive ground state solution and a negative ground state solution.

Combining Theorem 1.1 and Theorem 1.2, we can obtain the following result.

Corollary 1.3

Assume that \(p\in C^{1}(\bar{\Omega})\), (f1)(f4) and (h1) hold, then for any \(\lambda >0\), problem (1.1) admits at least a ground state sign-changing solution, a positive ground state solution, and a negative ground state solution.

This paper is organized as follows. Section 2 introduces some preliminary knowledge of variable exponent spaces and gives some preliminary lemmas needed to prove our results. Section 3 presents the proof of Theorem 1.1 and Theorem 1.2.

2 Preliminaries

In this section, we will give out some results on the variable exponent Sobolev space, which come from [6, 1923] and references therein.

For \(p\in C(\bar{\Omega})\), let

$$\begin{aligned} C_{+}(\bar{\Omega})= \bigl\{ p\in C(\bar{ \Omega}):p(x)>1\text{ for all } x\in \bar{\Omega} \bigr\} . \end{aligned}$$

For any \(p\in C_{+}(\bar{\Omega})\), we introduce the variable exponent Lebesgue space defined by

$$\begin{aligned} L^{p(x)}(\Omega )={}& \biggl\{ u: u \text{ is a measurable real-valued function such that} \\ & \int _{ \Omega} \bigl\vert u(x) \bigr\vert ^{p(x)} \,dx < +\infty \biggr\} \end{aligned}$$

endowed with the Luxemburg norm

$$\begin{aligned} \vert u \vert _{p(x)}=\inf \biggl\{ \mu >0: \int _{\Omega} \biggl\vert \frac{u(x)}{\mu} \biggr\vert ^{p(x)}\,dx \leq 1 \biggr\} , \end{aligned}$$

which is a separable and reflexive Banach space. The fundamental properties of variable exponent Lebesgue spaces can be found in [21, 24].

Proposition 2.1

[19] The space \(L^{p(x)}(\Omega )\) is separable, uniformly convex, and reflexive, and its conjugate space is \(L^{q(x)}(\Omega )\), where \(\frac{1}{p(x)}+\frac{1}{q(x)}=1\). For all \(u\in L^{p(x)}(\Omega )\), \(v\in L^{q(x)}(\Omega )\), the Hölder inequality

$$\begin{aligned} \biggl\vert \int _{\Omega}uv\, dx \biggr\vert \leq \biggl( \frac{1}{p^{-}}+ \frac{1}{q^{-}} \biggr) \vert u \vert _{p(x)} \vert v \vert _{q(x)} \end{aligned}$$

holds.

When dealing with generalized Lebesgue and Sobolev spaces, the module \(\rho (u)\) of space \(L^{p(x)}(\Omega )\) plays an important role, and we set

$$\begin{aligned} \rho (u)= \int _{\Omega} \vert u \vert ^{p(x)}\,dx . \end{aligned}$$

Proposition 2.2

[20] For all \(u\in L^{p(x)}(\Omega )\), the following properties are valid:

  1. (i)

    For \(u\neq 0\), \(|u|_{p(x)}=\mu \Leftrightarrow \rho (\frac{u}{\mu})=1\);

  2. (ii)

    \(|u|_{p(x)}<1\ (=1;>1)\Leftrightarrow \rho (u)<1\ (=1;>1)\);

  3. (iii)

    If \(|u|_{p(x)}\geq 1\), then \(|u|_{p(x)}^{p^{-}}\leq \rho (u)\leq |u|_{p(x)}^{p^{+}}\);

  4. (iv)

    If \(|u|_{p(x)}\leq 1\), then \(|u|_{p(x)}^{p^{+}}\leq \rho (u)\leq |u|_{p(x)}^{p^{-}}\).

The variable exponent Sobolev space \(W^{1,p(x)}(\Omega )\) is defined as

$$\begin{aligned} W^{1,p(x)}= \bigl\{ u\in L^{p(x)}(\Omega ): \vert \nabla u \vert \in L^{p(x)}(\Omega ) \bigr\} , \end{aligned}$$

and is equipped with the norm

$$\begin{aligned} \Vert u \Vert _{1,p(x)}= \vert u \vert _{p(x)}+ \vert \nabla u \vert _{p(x)}. \end{aligned}$$
(2.1)

Then \(W_{0}^{1,p(x)}(\Omega )\) is defined as the completion of \(C_{0}^{\infty}(\Omega )\) with respect to the norm \(\Vert u \Vert _{1,p(x)}\).

Proposition 2.3

[21] If \(q\in C_{+}(\bar{\Omega})\) and \(1\leq q(x)\leq p^{*}(x)\), then for all \(x\in \bar{\Omega}\), there is a continuous embedding

$$\begin{aligned} W^{1,p(x)}(\Omega )\hookrightarrow L^{q(x)}(\Omega). \end{aligned}$$

If replacewith <, the embedding is compact.

Proposition 2.4

[21] In \(W_{0}^{1,p(x)}(\Omega )\), the Poincare inequality holds, that is, there is a constant \(C_{0}>0\), such that

$$\begin{aligned} \Vert u \Vert _{1,p(x)}\leq C_{0} \Vert \nabla u \Vert _{L^{p(x)}( \Omega )}, \end{aligned}$$
(2.2)

for all \(u\in W_{0}^{1,p(x)}(\Omega )\).

Remark 2.5

By Proposition 2.4, there exists \(c_{q(x)}>0\) such that

$$\begin{aligned} \vert u \vert _{q(x)}\leq c_{q(x)} \Vert u \Vert _{1,p(x)},\quad \forall u\in W_{0}^{1,p(x)}( \Omega ). \end{aligned}$$
(2.3)

From Proposition 2.4, it is easy to see that \(|\nabla u|_{p(x)}\) is an equivalent norm on \(W_{0}^{1,p(x)}(\Omega )\).

For the convenience of future discussion, we will set \(\Vert u \Vert = \Vert u \Vert _{1,p(x)}\).

Proposition 2.6

[18] Let

$$\begin{aligned} I(u)= \int _{\Omega} \bigl( \vert \nabla u \vert ^{p(x)}+ \vert u \vert ^{p(x)} \bigr)\,dx , \quad \forall u\in W_{0}^{1,p(x)}( \Omega ). \end{aligned}$$

Then

  1. (i)

    For \(u\neq 0\), \(\Vert u \Vert =\mu \Leftrightarrow \rho (\frac{u}{\mu})=1\);

  2. (ii)

    \(\Vert u \Vert <1\ (=1;>1)\Leftrightarrow \rho (u)<1\ (=1;>1)\);

  3. (iii)

    If \(\Vert u \Vert \geq 1\), then \(\Vert u \Vert ^{p^{-}}\leq \rho (u)\leq \Vert u \Vert ^{p^{+}}\);

  4. (iv)

    If \(\Vert u \Vert \leq 1\), then \(\Vert u \Vert ^{p^{+}}\leq \rho (u)\leq \Vert u \Vert ^{p^{-}}\).

Proposition 2.7

[23] For a.e. \(x\in \Omega \), let p and q be measurable functions such that \(p\in L^{\infty}(\Omega )\) and \(1< p(x)q(x)\leq \infty \). Let \(0\neq u\in L^{q(x)}(\Omega )\), then

$$\begin{aligned} & \vert u \vert _{p(x)q(x)}\leq 1\quad \Rightarrow \quad \vert u \vert _{p(x)q(x)}^{p^{+}}\leq \bigl\vert |u \vert ^{p(x)} \bigr|_{q(x)}\leq \vert u \vert _{p(x)q(x)}^{p^{-}}, \\ & \vert u \vert _{p(x)q(x)}\geq 1\quad \Rightarrow\quad \vert u \vert _{p(x)q(x)}^{p^{-}}\leq \bigl\vert |u \vert ^{p(x)} \bigr|_{q(x)}\leq \vert u \vert _{p(x)q(x)}^{p^{+}}. \end{aligned}$$

To study problem (1.1), a functional in \(W_{0}^{1,p(x)}(\Omega )\) is defined as follows:

$$\begin{aligned} T(u):= \int _{\Omega}\frac{1}{p(x)} \vert \nabla u \vert ^{p(x)}\,dx . \end{aligned}$$

From [25], we know that \(T\in C^{1}(W_{0}^{1,p(x)},\mathbb{R})\) and the double phase operator \(-\operatorname{div}(|\nabla u|^{p(x)-2}\nabla u)\) is the derivative operator of T in the weak sense. We let \(\Gamma =T^{\prime}:W_{0}^{1,p(x)}(\Omega )\to (W_{0}^{1,p(x)}( \Omega ))^{*}\), and we have

$$\begin{aligned} \bigl\langle \Gamma (u),v \bigr\rangle = \int _{\Omega} \vert \nabla u \vert ^{p(x)-2}\nabla u \cdot \nabla v\,dx, \end{aligned}$$

for all \(u,v\in W_{0}^{1,p(x)}(\Omega )\). The dual space of \(W_{0}^{1,p(x)}(\Omega )\) is denoted as \((W_{0}^{1,p(x)}(\Omega ))^{*}\), and \(\langle \cdot ,\cdot \rangle \) denotes the paring between \(W_{0}^{1,p(x)}(\Omega )\) and \((W_{0}^{1,p(x)}(\Omega ))^{*}\). Then, one has the following proposition.

Proposition 2.8

[6] \(\Gamma :W_{0}^{1,p(x)}(\Omega )\to W_{0}^{1,p(x)}(\Omega )^{*}\) is a mapping of type \((S)_{+}\), i.e., if \(u_{n}\rightharpoonup u\) in \(W_{0}^{1,p(x)}(\Omega )\) and \(\limsup_{m\to +\infty}\langle \Gamma (u_{n})-\Gamma (u),u_{n}-u \rangle \leq 0\), then \(u_{n}\to u\) in \(W_{0}^{1,p(x)}(\Omega )\).

To prove the Theorem 1.2, we need the following strong comparison theorem:

Lemma 2.9

[22] Let \(u\geq 0\) be a weak up-solution of \(-\operatorname{div}(|\nabla u|^{p(x)-2}\nabla u)=0\) and \(u\not \equiv 0\). Then, for any compact subset \(G\subset \Omega \) with \(G\neq \emptyset \), there is a constant \(c>0\) such that \(u(x)\geq c\) for any \(x\in G\).

In the following, some lemmas will be proved, which are very important for obtaining our main results.

Lemma 2.10

If assumptions (f1)(f4) and (h1) hold, we have

$$\begin{aligned} J(u)& \geq J \bigl(su^{+}+tu^{-} \bigr)+ \frac{1-s^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u),u^{+} \bigr\rangle +\frac{1-t^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u),u^{-} \bigr\rangle \\ &\quad{} + \int _{\Omega}g(s) \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx + \int _{\Omega}g(t) \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad \forall u=u^{+}+u^{-}\in W_{0}^{1,p(x)}( \Omega ), s,t\geq 0, \end{aligned}$$
(2.4)

where \(g(i)=\frac{1-i^{p(x)}}{p(x)}-\frac{1-i^{p^{+}}}{p^{+}}\), \(i\geq 0\), \(x\in \Omega \).

Proof

$$\begin{aligned} &J(u)-J \bigl(su^{+}+tu^{-} \bigr) \\ &\quad = \int _{\Omega}\frac{1-s^{p(x)}}{p(x)} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx + \int _{ \Omega}\frac{1-t^{p(x)}}{p(x)} \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}\,dx \\ &\quad \quad{}+ \int _{\Omega}\frac{\lambda}{p(x)} \bigl(1-s^{p(x)} \bigr) \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx + \int _{\Omega}\frac{\lambda}{p(x)} \bigl(1-t^{p(x)} \bigr) \bigl\vert u^{-} \bigr\vert ^{p(x)}\,dx \\ &\quad \quad{}+ \int _{\Omega} \bigl[F \bigl(x,su^{+} \bigr)-F \bigl(x,u^{+} \bigr) \bigr]\,dx + \int _{\Omega} \bigl[F \bigl(x,tu^{-} \bigr)-F \bigl(x,u^{-} \bigr) \bigr]\,dx \\ &\quad \quad{}+ \int _{\Omega}(s-1)h(x)u^{+}\,dx + \int _{\Omega}(t-1)h(x)u^{-}\,dx \\ &\quad = \int _{\Omega}\frac{1-s^{p(x)}}{p(x)} \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+ \lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx + \int _{\Omega}\frac{1-t^{p(x)}}{p(x)} \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad \quad{}+ \int _{\Omega} \bigl[F \bigl(x,su^{+} \bigr)-F \bigl(x,u^{+} \bigr) \bigr]\,dx + \int _{\Omega} \bigl[F \bigl(x,tu^{-} \bigr)-F \bigl(x,u^{-} \bigr) \bigr]\,dx \\ &\quad \quad{}+ \int _{\Omega}(s-1)h(x)u^{+}\,dx + \int _{\Omega}(t-1)h(x)u^{-}\,dx \\ &\quad = \int _{\Omega}g(s) \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx + \int _{\Omega}g(t) \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad \quad{}+\frac{1-s^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u),u^{+} \bigr\rangle + \int _{\Omega} \biggl[\frac{1-s^{p^{+}}}{p^{+}}f \bigl(x,u^{+} \bigr)u^{+}+F \bigl(x,su^{+} \bigr)-F \bigl(x,u^{+} \bigr) \biggr]\,dx \\ &\quad \quad{}+\frac{1-t^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u),u^{-} \bigr\rangle + \int _{\Omega} \biggl[\frac{1-t^{p^{+}}}{p^{+}}f \bigl(x,u^{-} \bigr)u^{-}+F \bigl(x,tu^{-} \bigr)-F \bigl(x,u^{-} \bigr) \biggr]\,dx \\ &\quad \quad{}+ \int _{\Omega} \biggl(\frac{1-t^{p^{+}}}{p^{+}}+t-1 \biggr)h(x)u^{-}\,dx + \int _{\Omega} \biggl(\frac{1-s^{p^{+}}}{p^{+}}+s-1 \biggr)h(x)u^{+}\,dx . \end{aligned}$$
(2.5)

We set \(z(t)=\frac{1-t^{p^{+}}}{p^{+}}if(x,i)+F(x,ti)-F(x,i)\), and take the derivative of \(z(t)\) yields

$$\begin{aligned} \frac{\partial z(t)}{\partial t}=if(x,ti)-t^{p^{+}-1}if(x,i)=i \vert t \vert ^{p^{+}-1} \vert i \vert ^{p^{+}-1} \biggl[ \frac{f(x,ti)}{ \vert ti \vert ^{p^{+}-1}}-\frac{f(x,i)}{ \vert i \vert ^{p^{+}-1}} \biggr]. \end{aligned}$$
(2.6)

From (2.6) and (f4), for any \(i\in (-\infty ,0)\cup (0,+\infty )\), we have

$$ \textstyle\begin{cases} \frac{\partial z(t)}{\partial t}< 0,&\text{if } 0< t< 1 , \\ \frac{\partial z(t)}{\partial t}>0,& \text{if } t>1 . \end{cases} $$
(2.7)

Therefore, from (2.7), we get

$$\begin{aligned} z(t)\geq z(1)\geq 0. \end{aligned}$$
(2.8)

Next, through simple calculations, \(\frac{1-i^{p^{+}}}{p^{+}}+i-1\leq 0\) can be obtained. Combined with hypothesis (h1), it can be concluded that

$$\begin{aligned} \int _{\Omega} \biggl(\frac{1-s^{p^{+}}}{p^{+}}+s-1 \biggr)h(x)u^{+}\,dx + \int _{\Omega} \biggl(\frac{1-t^{p^{+}}}{p^{+}}+t-1 \biggr)h(x)u^{-}\,dx \geq 0 . \end{aligned}$$
(2.9)

Combining (2.5), (2.8), and (2.9) completes the proof. □

The following two corollaries come from Lemma 2.10.

Corollary 2.11

Assume that (f1)(f4) and (h1) hold. From Lemma 2.10, if \(u=u^{+}+u^{-}\in \Xi \), then we have

$$\begin{aligned} J(u)=J \bigl(u^{+}+u^{-} \bigr)=\max _{s,t\geq 0}J \bigl(su^{+}+tu^{-} \bigr). \end{aligned}$$

Corollary 2.12

Assume that (f1)(f4) and (h1) hold. From Lemma 2.10, if \(u\in \Psi \), then we have

$$\begin{aligned} J(u)=\max_{t\geq 0}J(tu). \end{aligned}$$

Lemma 2.13

Assume that (f1)(f4) and (h1) hold. If \(u\in W_{0}^{1,p(x)}(\Omega )\) with \(u^{\pm}\neq 0\), then there is a unique positive number pair \((s_{u},t_{u})\) such that

$$\begin{aligned} s_{u}u^{+}+t_{u}u^{-} \in \Xi . \end{aligned}$$

Proof

For any \(u\in W_{0}^{1,p(x)}(\Omega )\) with \(u^{\pm}\neq 0\), define the functions \(g(s,t)\) and \(h(s,t): [0,+\infty )\times [0,+\infty )\to \mathbb{R}\) as

$$\begin{aligned} g(s,t)= \bigl\langle J^{\prime} \bigl(su^{+}+tu^{-} \bigr),su^{+} \bigr\rangle \quad \text{and} \quad h(s,t)= \bigl\langle J^{\prime} \bigl(su^{+}+tu^{-} \bigr),tu^{-} \bigr\rangle ,\quad \text{respectively}. \end{aligned}$$

By simple calculation, it can be concluded that

$$\begin{aligned} \begin{aligned} g(s,t)& = \int _{\Omega}s^{p(x)} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx + \int _{\Omega} \lambda s^{p(x)} \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx \\ &\quad{} - \int _{\Omega}f \bigl(x,su^{+} \bigr)su^{+} \,dx - \int _{\Omega}h(x)su^{+}\,dx , \\ h(s,t)& = \int _{\Omega}t^{p(x)} \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}\,dx + \int _{\Omega} \lambda t^{p(x)} \bigl\vert u^{-} \bigr\vert ^{p(x)}\,dx \\ &\quad{} - \int _{\Omega}f \bigl(x,tu^{-} \bigr)tu^{-} \,dx - \int _{\Omega}h(x)tu^{-}\,dx . \end{aligned} \end{aligned}$$
(2.10)

By assumptions (f1) and (f2), one has that for every \(\varepsilon >0\), there exists a \(C_{\varepsilon}>0\) such that

$$\begin{aligned} \begin{aligned} & \bigl\vert f(x,t) \bigr\vert \leq \varepsilon \vert t \vert ^{p^{+}-1}+C_{\varepsilon} \vert t \vert ^{r(x)-1},\quad \forall (x,t)\in \Omega \times \mathbb{R}, \\ & \bigl\vert F(x,t) \bigr\vert \leq \varepsilon \vert t \vert ^{p^{+}}+C_{\varepsilon} \vert t \vert ^{r(x)}, \quad \forall (x,t)\in \Omega \times \mathbb{R}, \end{aligned} \end{aligned}$$
(2.11)

where \(p^{+}< r(x)< p^{*}\).

Therefore, for \(0< s<1\), by Proposition 2.2, Proposition 2.4, Proposition 2.6 and (2.11), one has

$$\begin{aligned} g(s,t)&\geq s^{p^{+}} \int _{\Omega} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx +\lambda s^{p^{+}} \int _{\Omega} \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx - \int _{\Omega} \bigl(\varepsilon s^{p^{+}} \bigl\vert u^{+} \bigr\vert ^{p^{+}}+C_{ \varepsilon}s^{r(x)} \bigl\vert u^{+} \bigr\vert ^{r(x)} \bigr)\,dx \\ &\quad{}-s \int _{\Omega}h(x)u^{+}\,dx \\ &\geq \min \{1,\lambda \}s^{p^{+}} \int _{\Omega} \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+ \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx - \int _{\Omega} \bigl(\varepsilon s^{p^{+}} \bigl\vert u^{+} \bigr\vert ^{p(x)}+C_{ \varepsilon }s^{r(x)} \bigl\vert u^{+} \bigr\vert ^{r(x)} \bigr)\,dx \\ &\quad{}-s \biggl\vert \int _{\Omega}h(x)u^{+}\,dx \biggr\vert \\ &\geq \textstyle\begin{cases} \min \{1,\lambda \}s^{p^{+}} \Vert u^{+} \Vert ^{p^{+}}- \varepsilon s^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u^{+} \Vert ^{p^{+}}-C_{ \varepsilon}s^{r^{-}}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}}\} \Vert u^{+} \Vert ^{r^{-}} \\ \quad{} - sc_{2} \vert h \vert _{2} \Vert u^{+} \Vert ,\quad \text{if } \Vert u^{+} \Vert < 1, \\ \min \{1,\lambda \}s^{p^{+}} \Vert u^{+} \Vert ^{p^{-}}- \varepsilon s^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u^{+} \Vert ^{p^{+}}-C_{ \varepsilon}s^{r^{-}}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}}\} \Vert u^{+} \Vert ^{r^{+}} \\ \quad{} - sc_{2} \vert h \vert _{2} \Vert u^{+} \Vert ,\quad \text{if } \Vert u^{+} \Vert >1. \end{cases}\displaystyle \end{aligned}$$
(2.12)

Similarly, for \(0< t<1\), we have

$$\begin{aligned} h(s,t)&\geq t^{p^{+}} \int _{\Omega} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx +\lambda t^{p^{+}} \int _{\Omega} \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx - \int _{\Omega} \bigl(\varepsilon t^{p^{+}} \bigl\vert u^{+} \bigr\vert ^{p^{+}}+C_{ \varepsilon}t^{r(x)} \bigl\vert u^{+} \bigr\vert ^{r(x)} \bigr)\,dx \\ &\geq \textstyle\begin{cases} \min \{1,\lambda \}t^{p^{+}} \Vert u^{-} \Vert ^{p^{+}}- \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u^{-} \Vert ^{p^{+}}-C_{ \varepsilon}t^{r^{-}}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}}\} \Vert u^{-} \Vert ^{r^{-}} \\ \quad{} - tc_{2} \vert h \vert _{2} \Vert u^{-} \Vert ,\quad \text{if } \Vert u^{-} \Vert < 1, \\ \min \{1,\lambda \}t^{p^{+}} \Vert u^{-} \Vert ^{p^{-}}- \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u^{-} \Vert ^{p^{+}}-C_{ \varepsilon}t^{r^{-}}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}}\} \Vert u^{-} \Vert ^{r^{+}} \\ \quad{} - tc_{2} \vert h \vert _{2} \Vert u^{-} \Vert ,\quad \text{if } \Vert u^{-} \Vert >1. \end{cases}\displaystyle \end{aligned}$$
(2.13)

Because \(p^{+}< r^{-}\) and \(u^{\pm}\neq 0\), from (2.12), (2.13) and arbitrariness of ε, it is easy to obtain that \(g(s,s)>0\) and \(h(s,s)>0\) when s is sufficiently small.

Next, by (2.8), let \(t=0\), we have

$$\begin{aligned} \frac{1}{p^{+}}if(x,i)-F(x,i)\geq 0,\quad i\in \mathbb{R} \setminus \{0\}. \end{aligned}$$
(2.14)

Therefore, by (2.14) and (f3), if \(s>1\), we have

$$\begin{aligned} g(s,t)&\leq s^{p^{+}} \int _{\Omega} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx +\lambda s^{p^{+}} \int _{\Omega} \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx \\ &\quad {}-p^{+} \int _{\Omega}F \bigl(x,su^{+} \bigr)\,dx +s \int _{\Omega} \bigl\vert h(x)u^{+} \bigr\vert \,dx \\ &\leq s^{p^{+}} \int _{\Omega} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx +\lambda s^{p^{+}} \int _{\Omega} \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx \\ &\quad {}-p^{+} \int _{\Omega} \frac{F(x,su^{+})}{ \vert su^{+} \vert ^{p^{+}}} \bigl\vert su^{+} \bigr\vert ^{p^{+}}\,dx +s \vert h \vert _{2} \bigl\vert u^{+} \bigr\vert _{2} \\ &= s^{p^{+}} \biggl( \int _{\Omega} \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}\,dx +\lambda \int _{\Omega} \bigl\vert u^{+} \bigr\vert ^{p(x)}\,dx \\ &\quad {}-p^{+} \int _{u^{+}\neq 0} \frac{F(x,su^{+})}{ \vert su^{+} \vert ^{p^{+}}} \bigl\vert u^{+} \bigr\vert ^{p^{+}}\,dx \biggr)+s \vert h \vert _{2} \bigl\vert u^{+} \bigr\vert _{2}. \end{aligned}$$
(2.15)

Similarly, for \(t>1\), one obtains

$$\begin{aligned} h(s,t)&\leq t^{p^{+}} \biggl( \int _{\Omega} \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}\,dx + \lambda \int _{\Omega} \bigl\vert u^{-} \bigr\vert ^{p(x)}\,dx -p^{+} \int _{u^{-}\neq 0} \frac{F(x,tu^{-})}{ \vert tu^{-} \vert ^{p^{+}}} \bigl\vert u^{-} \bigr\vert ^{p^{+}}\,dx \biggr) \\ &\quad {}+s \vert h \vert _{2} \bigl\vert u^{-} \bigr\vert _{2}. \end{aligned}$$
(2.16)

By (2.15) and (2.16), when \(t>0\) is sufficiently large, we have \(g(t,t)<0\) and \(h(t,t)<0\). To sum up, there exists \(0< S< T\) such that

$$\begin{aligned} g(T,T)>0,\qquad h(T,T)>0\quad \text{and}\quad g(S,S)< 0,\qquad h(S,S)< 0. \end{aligned}$$
(2.17)

By (2.10) and (2.17), for any \(t\in [S,T ]\), we have

$$\begin{aligned} g(T,t)>0,\qquad g(S,t)< 0,\quad \text{and}\quad h(T,t)>0,\quad h(S,t)< 0. \end{aligned}$$

Therefore, according to Miranda’s theorem [26], one can find \((s_{u},t_{u})\in (S,T)\times (S,T)\) such that \(g(s_{u},t_{u})=0\), \(h(s_{u},t_{u})=0\), that is \(s_{u}u^{+}+t_{u}u^{-}\in \Xi \).

Finally, we prove the uniqueness of \((s_{u},t_{u})\). Let \((s_{1},t_{1}), (s_{2},t_{2})\in \Xi \) be such that

$$\begin{aligned} g(s_{1},t_{1})=h(s_{1},t_{1})=g(s_{2},t_{2})=h(s_{2},t_{2})=0. \end{aligned}$$
(2.18)

By Lemma 2.10, (2.10) and (2.18), we have

$$\begin{aligned} J \bigl(s_{1}u^{+}+t_{1}u^{-} \bigr)& \geq \frac{s_{1}^{p^{+}}-s_{2}^{p^{+}}}{p^{+}s_{1}^{p^{+}}} \bigl\langle J^{ \prime} \bigl(s_{1}u^{+}+t_{1}u^{-} \bigr),s_{1}u^{+} \bigr\rangle + \frac{t_{1}^{p^{+}}-t_{2}^{p^{+}}}{p^{+}t_{1}^{p^{+}}} \bigl\langle J^{ \prime} \bigl(s_{1}u^{+}+t_{1}u^{-} \bigr),t_{1}u^{-} \bigr\rangle \\ &\quad{} + \int _{\Omega} \biggl(\frac{s_{1}^{p(x)}-s_{2}^{p(x)}}{p(x)}- \frac{s_{1}^{p^{+}}-s_{2}^{p^{+}}}{p^{+}s_{1}^{p^{+}}}s_{1}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + \int _{\Omega} \biggl(\frac{t_{1}^{p(x)}-t_{2}^{p(x)}}{p(x)}- \frac{t_{1}^{p^{+}}-t_{2}^{p^{+}}}{p^{+}t_{1}^{p^{+}}}t_{1}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + J \bigl(s_{2}u^{+}+t_{2}u^{-} \bigr) \\ & = \int _{\Omega} \biggl(\frac{s_{1}^{p(x)}-s_{2}^{p(x)}}{p(x)}- \frac{s_{1}^{p^{+}}-s_{2}^{p^{+}}}{p^{+}s_{1}^{p^{+}}}s_{1}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + \int _{\Omega} \biggl(\frac{t_{1}^{p(x)}-t_{2}^{p(x)}}{p(x)}- \frac{t_{1}^{p^{+}}-t_{2}^{p^{+}}}{p^{+}t_{1}^{p^{+}}}t_{1}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + J \bigl(s_{2}u^{+}+t_{2}u^{-} \bigr) \end{aligned}$$
(2.19)

and

$$\begin{aligned} J \bigl(s_{2}u^{+}+t_{2}u^{-} \bigr)& \geq \frac{s_{2}^{p^{+}}-s_{1}^{p^{+}}}{p^{+}s_{2}^{p^{+}}} \bigl\langle J^{ \prime} \bigl(s_{2}u^{+}+t_{2}u^{-} \bigr),s_{2}u^{+} \bigr\rangle + \frac{t_{2}^{p^{+}}-t_{1}^{p^{+}}}{p^{+}t_{2}^{p^{+}}} \bigl\langle J^{ \prime} \bigl(s_{2}u^{+}+t_{2}u^{-} \bigr),t_{2}u^{-} \bigr\rangle \\ &\quad{} + \int _{\Omega} \biggl(\frac{s_{2}^{p(x)}-s_{1}^{p(x)}}{p(x)}- \frac{s_{2}^{p^{+}}-s_{1}^{p^{+}}}{p^{+}s_{2}^{p^{+}}}s_{2}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + \int _{\Omega} \biggl(\frac{t_{2}^{p(x)}-t_{1}^{p(x)}}{p(x)}- \frac{t_{2}^{p^{+}}-t_{1}^{p^{+}}}{p^{+}t_{2}^{p^{+}}}t_{2}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + J \bigl(s_{1}u^{+}+t_{1}u^{-} \bigr) \\ & = \int _{\Omega} \biggl(\frac{s_{2}^{p(x)}-s_{1}^{p(x)}}{p(x)}- \frac{s_{2}^{p^{+}}-s_{1}^{p^{+}}}{p^{+}s_{2}^{p^{+}}}s_{2}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{+} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{+} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + \int _{\Omega} \biggl(\frac{t_{2}^{p(x)}-t_{1}^{p(x)}}{p(x)}- \frac{t_{2}^{p^{+}}-t_{1}^{p^{+}}}{p^{+}t_{2}^{p^{+}}}t_{2}^{p(x)} \biggr) \bigl( \bigl\vert \nabla u^{-} \bigr\vert ^{p(x)}+\lambda \bigl\vert u^{-} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad{} + J \bigl(s_{1}u^{+}+t_{1}u^{-} \bigr). \end{aligned}$$
(2.20)

Combining (2.19) and (2.20), we have \(s_{1}=s_{2}\) and \(t_{1}=t_{2}\). Therefore, one has that \((s_{u},t_{u})\) is the unique positive pair such that \(s_{u}u^{+}+t_{u}u^{-}\in \Xi \). The proof is completed. □

Lemma 2.14

Assume that (f1)(f4) and (h1) hold. Then, we have

$$\begin{aligned} \xi =\inf_{u\in \Xi }J(u)=\inf_{u\in W_{0}^{1,p(x)}(\Omega ),u^{\pm} \neq 0} \max_{s,t\geq 0}J \bigl(su^{+}+tu^{-} \bigr). \end{aligned}$$

Proof

By Corollary 2.11, we can deduce that

$$\begin{aligned} \inf_{u\in W_{0}^{1,p(x)}(\Omega ),u^{\pm}\neq 0}\max_{s,t\geq 0}J \bigl(su^{+}+tu^{-} \bigr) \leq \inf_{u\in \Xi } \max_{s,t\geq 0}J \bigl(su^{+}+tu^{-} \bigr)= \inf_{u\in \Xi }J(u)=\xi . \end{aligned}$$
(2.21)

On the other hand, by Lemma 2.13, for any \(u\in W_{0}^{1,p(x)}(\Omega )\) with \(u^{\pm}\neq 0\), we can deduce that

$$\begin{aligned} \max_{s,t\geq 0}J \bigl(su^{+}+tu^{-} \bigr)\geq J \bigl(s_{u}u^{+}+t_{u}u^{-} \bigr)\geq \inf_{u\in \Xi }J(u)=\xi , \end{aligned}$$
(2.22)

which implies

$$\begin{aligned} \inf_{u\in W_{0}^{1,p(x)}(\Omega ),u^{\pm}\neq 0}\max_{s,t\geq 0}J \bigl(su^{+}+tu^{-} \bigr) \geq \xi . \end{aligned}$$
(2.23)

Combining (2.21) and (2.22), we can deduce that

$$\begin{aligned} \xi =\inf_{u\in W_{0}^{1,p(x)}(\Omega ),u^{\pm}\neq 0}\max_{s,t \geq 0}J \bigl(su^{+}+tu^{-} \bigr). \end{aligned}$$
(2.24)

The proof is completed. □

Lemma 2.15

Assume that (f1)(f4) and (h1) hold. Then \(\xi >0\) can be achieved.

Proof

First, prove that \(\inf_{u\in \Psi}J(u)>0\). For \(\forall u\in \Psi \), we have \(\langle J^{\prime}(u),u\rangle =0\), that is

$$\begin{aligned} \int _{\Omega} \bigl( \vert \nabla u \vert ^{p(x)}+ \lambda \vert u \vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u\, dx= \int _{\Omega}f(x,u)u\, dx. \end{aligned}$$
(2.25)

By (2.11) and Remark 2.5, we have

$$\begin{aligned} \int _{\Omega}f(x,u)u\, dx&\leq \int _{\Omega} \bigl(\varepsilon \vert u \vert ^{p^{+}}+C_{ \varepsilon} \vert u \vert ^{r(x)} \bigr) \,dx \\ &\leq \varepsilon \vert u \vert _{p^{+}}^{p^{+}}+C_{\varepsilon} \max \bigl\{ \vert u \vert _{r(x)}^{r^{-}}, \vert u \vert _{r(x)}^{r^{+}} \bigr\} \\ &\leq \varepsilon c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}+C_{ \varepsilon}\max \bigl\{ c_{r(x)}^{r^{-}} \Vert u \Vert ^{r^{-}},c_{r(x)}^{r^{+}} \Vert u \Vert ^{r^{+}} \bigr\} . \end{aligned}$$
(2.26)

By Proposition 2.1, Remark 2.5, Proposition 2.6 and (h1), one obtains

$$\begin{aligned} & \int _{\Omega} \bigl( \vert \nabla u \vert ^{p(x)}+ \lambda \vert u \vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u\, dx \\ &\quad \geq \textstyle\begin{cases} \min \{1,\lambda \} \Vert u \Vert ^{p^{+}},& \text{if } \Vert u \Vert < 1, \\ \min \{1,\lambda \} \Vert u \Vert ^{p^{-}},& \text{if } \Vert u \Vert >1. \end{cases}\displaystyle \end{aligned}$$
(2.27)

Combining (2.23), (2.26), and (2.27), for any \(u\in \Psi \) with \(\Vert u \Vert <1\), we have

$$\begin{aligned} \varepsilon c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}+C_{ \varepsilon}\max \bigl\{ c_{r(x)}^{r^{-}} \Vert u \Vert ^{r^{-}},c_{r(x)}^{r^{+}} \Vert u \Vert ^{r^{+}} \bigr\} \geq \min \{1,\lambda \} \Vert u \Vert ^{p^{+}}. \end{aligned}$$
(2.28)

Due to the arbitrariness of ε, from (2.28), we can deduce that

$$\begin{aligned} \Vert u \Vert \geq \biggl( \frac{1}{2C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}} \biggr)^{\frac{1}{r^{-}-p^{+}}}>0. \end{aligned}$$
(2.29)

Therefore, there exists a positive constant \(\kappa _{0}<1\) such that

$$\begin{aligned} \Vert u \Vert \geq \kappa _{0},\quad \forall u\in \Psi . \end{aligned}$$
(2.30)

By hypothesis (h1), (2.11) and (2.29), we have

$$\begin{aligned} J(tu)&= \int _{\Omega}\frac{t^{p(x)}}{p(x)} \bigl( \vert \nabla u \vert ^{p(x)}+ \lambda \vert u \vert ^{p(x)} \bigr)\,dx - \int _{\Omega}F(x,tu)\,dx -t \int _{\Omega}h(x)u\, dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}} \int _{\Omega}t^{p(x)} \bigl( \vert \nabla u \vert ^{p(x)}+\lambda \vert u \vert ^{p(x)} \bigr)\,dx - \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon} \int _{\Omega}t^{r(x)} \vert u \vert ^{r(x)}\,dx \\ &\quad{}-t \int _{\Omega} \bigl\vert h(x)u \bigr\vert \,dx \\ &\geq \textstyle\begin{cases} \frac{\min \{1,\lambda \}}{p^{+}}t^{p^{+}} \Vert u \Vert ^{p^{+}}- \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{ \varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{-}} \Vert u \Vert ^{r^{-}} \\ \quad {}-tc_{2} \vert h \vert _{2} \Vert u \Vert , \quad \text{if } 0\leq t\leq 1, \kappa _{0}\leq \Vert u \Vert \leq 1, \\ \frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{+}}- \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{ \varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{+}} \\ \quad {}-tc_{2} \vert h \vert _{2} \Vert u \Vert ,\quad \text{if } t>1, \kappa _{0} \leq \Vert u \Vert \leq 1, \\ \frac{\min \{1,\lambda \}}{p^{+}}t^{p^{+}} \Vert u \Vert ^{p^{-}}- \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{ \varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{-}} \Vert u \Vert ^{r^{+}} \\ \quad {}-tc_{2} \vert h \vert _{2} \Vert u \Vert , \quad \text{if } 0\leq t\leq 1, \Vert u \Vert >1, \\ \frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{-}}- \varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{ \varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{+}} \\ \quad {}-tc_{2} \vert h \vert _{2} \Vert u \Vert , \quad \text{if } t>1, \Vert u \Vert >1. \end{cases}\displaystyle \end{aligned}$$
(2.31)

From Corollary 2.12 and (2.31), we have

$$\begin{aligned} J(u)&=\max_{t\geq 0}J(tu) \\ &\geq \textstyle\begin{cases} \max_{t\geq 0} (\frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{+}}-\varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{-}} \\ -tc_{2} \vert h \vert _{2} \Vert u \Vert ),\quad \text{if }0\leq t\leq 1, \kappa _{0}\leq \Vert u \Vert \leq 1, \\ \max_{t\geq 0} (\frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{+}}-\varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{+}} \\ -tc_{2} \vert h \vert _{2} \Vert u \Vert ),\quad \text{if }t>1, \kappa _{0} \leq \Vert u \Vert \leq 1, \\ \max_{t\geq 0} (\frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{-}}-\varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{+}} \\ -tc_{2} \vert h \vert _{2} \Vert u \Vert ), \quad \text{if } 0\leq t\leq 1, \Vert u \Vert >1, \\ \max_{t\geq 0} (\frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{-}}-\varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{+}} \\ -tc_{2} \vert h \vert _{2} \Vert u \Vert ), \quad \text{if } t>1, \Vert u \Vert >1. \end{cases}\displaystyle \\ &\geq \textstyle\begin{cases} \max_{t\geq 0} (\frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{+}}-\varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{-}} \\ -tc_{2} \vert h \vert _{2} \Vert u \Vert ), \quad \text{if } 0\leq t\leq 1, \kappa _{0}\leq \Vert u \Vert \leq 1, \\ \max_{t\geq 0} (\frac{\min \{1,\lambda \}}{p^{+}}t^{p^{-}} \Vert u \Vert ^{p^{-}}-\varepsilon t^{p^{+}}c_{p^{+}}^{p^{+}} \Vert u \Vert ^{p^{+}}-C_{\varepsilon}\max \{c_{r(x)}^{r^{-}},c_{r(x)}^{r^{+}} \}t^{r^{+}} \Vert u \Vert ^{r^{+}} \\ -tc_{2} \vert h \vert _{2} \Vert u \Vert ), \quad \text{if } 0\leq t\leq 1, \Vert u \Vert >1. \end{cases}\displaystyle \end{aligned}$$
(2.32)

Hence, through basic calculations, it can be concluded that there exists a positive constant \(\kappa _{1}(p^{-},p^{+},r^{-},r^{+},\kappa _{0})\) such that

$$\begin{aligned} J(u)\geq \kappa _{1}, \quad \forall u\in \Psi , \end{aligned}$$

which implies that

$$\begin{aligned} \psi =\inf_{u\in \Psi}J(u)\geq \kappa _{1}>0. \end{aligned}$$

And since \(\Xi \subseteq \Psi \), we have

$$\begin{aligned} \xi =\inf_{u\in \Xi }J(u)\geq \inf_{u\in \Psi}J(u)= \psi >0. \end{aligned}$$

Next, let \(\{u_{n} \}\subset \Xi \) be a sequence of function such that \(J(u_{n})\to \xi \) as \(n\to +\infty \). First, we prove that \(\{u_{n} \}\) is bounded. Arguing by contradiction, suppose that \(\Vert u_{n} \Vert \to +\infty \) as \(n\to +\infty \) and let \(v_{n}=\frac{u_{n}}{ \Vert u_{n} \Vert }\). Passing, if necessary, to a subsequence, we may assume that

$$\begin{aligned} &v_{n}\rightharpoonup v\quad \text{in }W_{0}^{1,p(x)}( \Omega ), \\ &v_{n}\to v\quad \text{in }L^{q(x)}(\Omega ), p(x) \leq q(x)< p^{*}(x), \\ &v_{n}\to v\quad \text{a.e. on }\Omega . \end{aligned}$$
(2.33)

If \(v=0\), then \(v_{n}\to 0\) in \(L^{q(x)}\) with \(1\leq q(x)< p^{*}(x)\). Fix \(M> (\frac{p^{+}(\xi +1)}{\min \{1,\lambda \}} )^{ \frac{1}{p^{-}}}>1\). By (f1) and (f2), there exists \(C_{1}>0\) such that

$$\begin{aligned} F(x,t)\leq \vert t \vert ^{p^{+}}+C_{1} \vert t \vert ^{r(x)},\quad \forall (x,t)\in \Omega \times \mathbb{R}. \end{aligned}$$
(2.34)

Then, using the Lebesgue dominated convergence theorem yields

$$\begin{aligned}& \limsup_{m\to \infty} \int _{\Omega}F(x,Rv_{n})\,dx \\& \quad \leq M^{p^{+}} \lim_{n \to \infty} \vert v_{n} \vert _{p^{+}}^{p^{+}}+C_{1}M^{r^{+}}\lim _{n\to \infty} \max \bigl\{ \vert v_{n} \vert _{r(x)}^{r^{-}}, \vert v_{n} \vert _{r(x)}^{r^{+}} \bigr\} =0. \end{aligned}$$
(2.35)

Let \(t_{n}=\frac{M}{ \Vert u_{n} \Vert }\). Hence, by Proposition 2.1, Corollary 2.12, and (2.35), we have

$$\begin{aligned} \xi +o(1)&=J(u_{n})\geq J(t_{n}u_{n})=J(Mv_{n}) \\ &= \int _{\Omega}\frac{\min \{1,\lambda \}}{p(x)}M^{p(x)} \bigl( \vert \nabla v_{n} \vert ^{p(x)}+\lambda \vert v_{n} \vert ^{p(x)} \bigr)\,dx \\ &\quad {}-M \int _{\Omega}h(x)v_{n}\,dx - \int _{\Omega}F(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}-M \int _{\Omega} \bigl\vert h(x)v_{n} \bigr\vert \,dx - \int _{\Omega}F(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}-M \vert h \vert _{2} \vert v_{n} \vert _{2}- \int _{\Omega}F(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}- \int _{\Omega}F(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}-o(1) \\ &\geq \xi +1+o(1), \end{aligned}$$
(2.36)

which leads to a contradiction. Thus, \(v\neq 0\). By (f3), we have

$$\begin{aligned} \lim_{n\to \infty} \frac{F(x,u_{n}(x))}{ \Vert u_{n} \Vert ^{p^{+}}}=\lim _{n\to \infty}\frac{F(x,u_{n}(x))}{ \vert u_{n}(x) \vert ^{p^{+}}} \bigl\vert v_{n}(x) \bigr\vert ^{p^{+}}=+ \infty , \end{aligned}$$
(2.37)

for all \(x\in \{x\in \mathbb{R}^{N}:v(x)\neq 0 \}\). By (f1) and (f2), there exists \(C_{2}\in \mathbb{R}\) such that

$$\begin{aligned} F(x,t)\geq C_{2},\quad \forall (x,t)\in \Omega \times \mathbb{R}. \end{aligned}$$
(2.38)

Therefore, from Proposition 2.6, (2.37), (2.38) and Fatou’s Lemma, it yields

$$\begin{aligned} 0&=\lim_{n\to \infty} \frac{\xi +o(1)}{ \Vert u_{n} \Vert ^{p^{+}}}=\lim _{n\to \infty} \frac{J(u_{n})}{ \Vert u_{n} \Vert ^{p^{+}}} \\ &=\lim_{n\to \infty} \biggl[ \frac{\int _{\Omega}\frac{1}{p(x)} [ \vert \nabla u_{n} \vert ^{p(x)}+\lambda \vert u_{n} \vert ^{p(x)} ]\,dx }{ \Vert u_{n} \Vert ^{p^{+}}}- \frac{\int _{\Omega}h(x)u_{n}\,dx }{ \Vert u_{n} \Vert ^{p^{+}}}- \frac{\int _{\Omega}F(x,u_{n})\,dx }{ \Vert u_{n} \Vert ^{p^{+}}} \biggr] \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}+\lim_{n\to \infty} \frac{\int _{\Omega} \vert h(x)u \vert \,dx }{ \Vert u_{n} \Vert ^{p^{+}}}- \lim_{n \to \infty} \int _{\Omega} \frac{F(x,u_{n})}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}+\lim_{n\to \infty} \frac{c_{2} \vert h \vert _{2} \Vert u_{n} \Vert }{ \Vert u_{n} \Vert ^{p^{+}}}- \lim_{n\to \infty} \int _{\Omega} \frac{F(x,u_{n})-C_{2}}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}-\liminf_{n\to +\infty} \int _{ \Omega}\frac{F(x,u_{n})-C_{2}}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}-\liminf_{n\to +\infty} \int _{ \Omega}\frac{F(x,u_{n})}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}-\liminf_{n\to +\infty} \frac{F(x,u_{n})}{ \vert u_{n} \vert ^{p^{+}}} \vert v_{n} \vert ^{p^{+}}\,dx \\ &=-\infty . \end{aligned}$$
(2.39)

This is a contradiction; therefore, \(\{u_{n} \}\) is bounded in \(W_{0}^{1,p(x)}(\Omega )\). Without loss of generality, we can assume that

$$\begin{aligned} &u_{n}^{\pm}\rightharpoonup u_{0}^{\pm}\quad \text{in }W_{0}^{1,p(x)}( \Omega ), \\ &u_{n}^{\pm}\to u_{0}^{\pm}\quad \text{in }L^{q(x)}(\Omega ) \text{ for } 1\leq q(x)< p^{*}(x), \\ &u_{n}^{\pm}\to u_{0}^{\pm}\quad \text{a.e. on } \Omega . \end{aligned}$$
(2.40)

Next, we prove that \(u_{0}\in \Xi \) and \(J(u_{0})=\xi \). Since \(\{u_{n} \}_{n\in N}\subset \Xi \), we have \(\{u_{n}^{\pm} \}_{n\in N}\subset \Psi \), that is

$$\begin{aligned}& \int _{\Omega} \bigl( \bigl\vert \nabla u_{n}^{\pm} \bigr\vert ^{p(x)}\,dx +\lambda \bigl\vert u_{n}^{ \pm} \bigr\vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u_{n}^{\pm}\,dx = \int _{\Omega}f \bigl(x,u_{n}^{ \pm} \bigr)u_{n}^{\pm}\,dx ,\quad \text{and} \\& \bigl\Vert u_{n}^{\pm} \bigr\Vert \geq \kappa _{0}. \end{aligned}$$

By hypothesis (h1), (2.11) and (2.30), we have

$$\begin{aligned} \varepsilon \int _{\Omega} \bigl\vert u_{n}^{\pm} \bigr\vert ^{p^{+}}\,dx +C_{\varepsilon} \int _{\Omega} \bigl\vert u_{n}^{\pm} \bigr\vert ^{r(x)}\,dx & \geq \int _{\Omega}f \bigl(x,u_{n}^{ \pm} \bigr)u_{n}^{\pm}\,dx \\ & = \int _{\Omega} \bigl( \bigl\vert \nabla u_{n}^{\pm} \bigr\vert ^{p(x)}+\lambda \bigl\vert u_{n}^{ \pm} \bigr\vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u_{n}^{\pm}\,dx \\ & \geq \min \{1,\lambda \}\min \bigl\{ \bigl\Vert u_{n}^{\pm} \bigr\Vert ^{p^{-}}, \bigl\Vert u_{n}^{\pm} \bigr\Vert ^{p^{+}} \bigr\} \\ & \geq \min \{1,\lambda \}\min \bigl\{ \kappa _{0}^{p^{-}}, \kappa _{0}^{p^{+}} \bigr\} . \end{aligned}$$
(2.41)

Since \(\{u_{n}\}\) is bounded, there is a constant \(C_{3}>0\) such that

$$\begin{aligned} \min \{1,\lambda \}\min \bigl\{ \kappa _{0}^{p^{-}},\kappa _{0}^{p^{+}} \bigr\} \leq \varepsilon C_{3}+C_{\varepsilon} \int _{\Omega} \bigl\vert u_{n}^{ \pm} \bigr\vert ^{r(x)}\,dx . \end{aligned}$$

Let \(\varepsilon = \frac{\min \{1,\lambda \}\min \{\kappa _{0}^{p^{-}},\kappa _{0}^{p^{+}} \}}{2C_{3}}\), we have

$$\begin{aligned} \int _{\Omega} \bigl\vert u_{n}^{\pm} \bigr\vert ^{r(x)}\,dx \geq \frac{\min \{1,\lambda \}\min \{\kappa _{0}^{p^{-}},\kappa _{0}^{p^{+}} \}}{2C_{\varepsilon}}. \end{aligned}$$

By the compactness of the embedding \(W_{0}^{1,p(x)}(\Omega )\hookrightarrow L^{r(x)}(\Omega )\) with \(p^{+}\leq r(x)\leq p^{*}(x)\), we have

$$\begin{aligned} \int _{\Omega} \bigl\vert u_{0}^{\pm} \bigr\vert ^{r(x)}\,dx \geq \min \frac{\min \{1,\lambda \}\min \{\kappa _{0}^{p^{-}},\kappa _{0}^{p^{+}} \}}{2C_{\varepsilon}}, \end{aligned}$$

which means \(u_{0}^{\pm}\neq 0\). Afterwards, notice that \(u_{n}^{\pm}\to u_{0}^{\pm}\) in \(L^{q(x)}(\Omega )\) with \(1\leq q(x)\leq p^{*}(x)\), by (f1), (f2), the Hölder inequality, and Lebesgue theorem, it yields

$$\begin{aligned} \begin{aligned} &\lim_{n\to +\infty} \int _{\Omega}f \bigl(x,u_{n}^{\pm} \bigr)u_{n}^{\pm}\,dx = \int _{\Omega}f \bigl(x,u_{0}^{\pm} \bigr)u_{0}^{\pm}\,dx , \\ &\lim_{n\to +\infty} \int _{\Omega}F \bigl(x,u_{n}^{\pm} \bigr)\,dx = \int _{\Omega}F \bigl(x,u_{0}^{ \pm} \bigr)\,dx . \end{aligned} \end{aligned}$$
(2.42)

Therefore, by the weak lower semicontinuity of the norm and \(u_{n}^{\pm}\in \Psi \), we can deduce that

$$\begin{aligned} \bigl\langle J^{\prime}(u_{0}),u_{0}^{\pm} \bigr\rangle &= \int _{\Omega} \bigl( \bigl\vert \nabla u_{0}^{\pm} \bigr\vert ^{p(x)}+\lambda \bigl\vert u_{0}^{\pm} \bigr\vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u_{0}^{\pm}\,dx - \int _{\Omega}f \bigl(x,u_{0}^{\pm} \bigr)u_{0}^{ \pm}\,dx \\ &\leq \liminf_{n\to +\infty} \int _{\Omega} \bigl( \bigl\vert \nabla u_{n}^{\pm} \bigr\vert ^{p(x)}+ \lambda \bigl\vert u_{n}^{\pm} \bigr\vert ^{p(x)} \bigr)\,dx \\ &\quad {}-\lim_{n\to +\infty} \int _{ \Omega}h(x)u_{n}^{\pm}\,dx - \int _{\Omega}f \bigl(x,u_{n}^{\pm} \bigr)u_{n}^{\pm}\,dx \\ &=\liminf_{n\to +\infty} \bigl\langle J^{\prime}(u_{n}),u_{n}^{\pm} \bigr\rangle =0. \end{aligned}$$
(2.43)

Hence, from Lemma 2.13, there exists \(s_{0},t_{0}>0\) such that \(s_{0}u_{0}^{+}+t_{0}u_{0}^{-}\in \Xi \). By Lemma 2.10, and (2.43), we get

$$\begin{aligned} \xi &=\lim_{n\to +\infty} \biggl[J(u_{n})- \frac{1}{p^{+}} \bigl\langle J^{ \prime}(u_{n}),u_{n} \bigr\rangle \biggr] \\ &=\lim_{n\to +\infty} \int _{\Omega} \biggl(\frac{1}{p(x)}- \frac{1}{p^{+}} \biggr) \bigl( \vert \nabla u_{n} \vert ^{p(x)}+\lambda \vert u_{n} \vert ^{p(x)} \bigr)\,dx +\lim_{n\to +\infty} \int _{\Omega} \biggl(\frac{1}{p^{+}}-1 \biggr)h(x)u_{n}\,dx \\ &\quad{}+\lim_{n\to +\infty} \int _{\Omega} \biggl[\frac{1}{p^{+}}f(x,u_{n})u_{n}-F(x,u_{n}) \biggr]\,dx \\ &\geq \liminf_{n\to +\infty} \int _{\Omega} \biggl(\frac{1}{p(x)}- \frac{1}{p^{+}} \biggr) \bigl( \vert \nabla u_{n} \vert ^{p(x)}+\lambda \vert u_{n} \vert ^{p(x)} \bigr)\,dx +\lim_{n\to +\infty} \int _{\Omega} \biggl(\frac{1}{p^{+}}-1 \biggr)h(x)u_{n}\,dx \\ &\quad{}+\lim_{n\to +\infty} \int _{\Omega} \biggl[\frac{1}{p^{+}}f(x,u_{n})u_{n}-F(x,u_{n}) \biggr]\,dx \\ &\geq \int _{\Omega} \biggl(\frac{1}{p(x)}-\frac{1}{p^{+}} \biggr) \bigl( \vert \nabla u_{0} \vert ^{p(x)}+ \lambda \vert u_{0} \vert ^{p(x)} \bigr)\,dx + \int _{ \Omega} \biggl(\frac{1}{p^{+}}-1 \biggr)h(x)u_{0}\,dx \\ &\quad{}+ \int _{\Omega} \biggl[\frac{1}{p^{+}}f(x,u_{0})u_{0}-F(x,u_{0}) \biggr]\,dx \\ &=J(u_{0})-\frac{1}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0} \bigr\rangle \\ &\geq J \bigl(s_{0}u_{0}^{+}+t_{0}u_{0}^{-} \bigr)+\frac{1-s_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{+} \bigr\rangle + \frac{1-t_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{-} \bigr\rangle -\frac{1}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0} \bigr\rangle \\ &=J \bigl(s_{0}u_{0}^{+}+t_{0}u_{0}^{-} \bigr)-\frac{s_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{+} \bigr\rangle - \frac{t_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{-} \bigr\rangle \\ &\geq \xi -\frac{s_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{+} \bigr\rangle -\frac{t_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{-} \bigr\rangle , \end{aligned}$$

that is

$$\begin{aligned} \frac{s_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{+} \bigr\rangle +\frac{t_{0}^{p^{+}}}{p^{+}} \bigl\langle J^{\prime}(u_{0}),u_{0}^{-} \bigr\rangle \geq 0. \end{aligned}$$
(2.44)

Combining (2.43) and (2.44), we can deduce that

$$\begin{aligned} \bigl\langle J^{\prime}(u_{0}),u_{0}^{\pm} \bigr\rangle =0\quad \text{and}\quad J(u_{0})= \xi . \end{aligned}$$
(2.45)

The proof is completed. □

Lemma 2.16

Assume that (f1)(f4) and (h1) hold, if \(u_{0}\in \Xi \) and \(J(u_{0})=\xi \), then \(u_{0}\) is a critical point of \(J(u)\).

Proof

Since \(u_{0}\in \Xi \), one has \(\langle J^{\prime}(u_{0}^{\pm}),u_{0}^{\pm}\rangle =0=\langle J^{ \prime}(u_{0}),u_{0}\rangle \). By assumption (f4), for \(0< s\neq 1\) and \(0< t\neq 1\), we have

$$\begin{aligned} J \bigl(su_{0}^{+}+tu_{0}^{-} \bigr)=J \bigl(su_{0}^{+} \bigr)+J \bigl(tu_{0}^{-} \bigr) < J \bigl(u_{0}^{+} \bigr)+J \bigl(u_{0}^{-} \bigr) =J(u_{0})=\xi . \end{aligned}$$
(2.46)

If \(J^{\prime}(u_{0})\neq 0\), then there exist \(\delta >0\) and \(v>0\), such that

$$\begin{aligned} \Vert v-u_{0} \Vert \leq 3\delta : \quad \bigl\Vert J^{\prime}(v) \bigr\Vert \geq v. \end{aligned}$$

Let \(Q=(\frac{1}{2},\frac{3}{2})\times (\frac{1}{2},\frac{3}{2})\) and \(\psi (s,t)=su_{0}^{+}+tu_{0}^{-}\), by (2.46), we have

$$\begin{aligned} \beta =\max_{(s,t)\in \partial Q}J \bigl(\psi (s,t) \bigr)< \xi . \end{aligned}$$
(2.47)

Let \(\varepsilon :=\min \{\frac{\xi -\beta}{4},\frac{v \delta}{8} \}\) and \(B(u,\delta ):= \{v\in W_{0}^{1,p(x)}(\Omega ): \Vert v-u \Vert \leq \delta \}\), by the Quantitative deformation lemma [27], there is a deformation θ such that

  1. (i)

    \(\theta (1,v)=v\) if \(J(v)<\xi -2\varepsilon \) or \(J(v)>\xi +2\varepsilon \),

  2. (ii)

    \(\theta (1,J^{\xi +\varepsilon}\cap B(u,\delta ))\subset J^{\xi - \varepsilon}\),

  3. (iii)

    \(J(\theta (1,v))\) is nonincreasing, \(\forall v\in W_{0}^{1,p(x)}(\Omega )\),

where \(J^{\xi \pm \varepsilon}:= \{v\in W_{0}^{1,p(x)}(\Omega ):J(v) \leq \xi \pm \varepsilon \}\).

It is easy to see that

$$\begin{aligned} \max_{(s,t)\in D}J \bigl(\theta \bigl(1,\psi (s,t) \bigr) \bigr)< \xi . \end{aligned}$$

Next, we show that \(\theta (1,\psi (Q))\cap \Xi \neq \emptyset \). Let \(\phi (s,t)=\theta (1,\psi (s,t))\), \(J_{0}(s,t)=\langle J^{\prime}(su_{0}^{+})u_{0}^{+}, J^{\prime}(tu_{0}^{-})u_{0}^{-} \rangle \) and \(J_{1}(s,t)=\langle \frac{1}{s}J^{\prime}(\phi ^{+}(s,t)),\frac{1}{t}J^{ \prime}(\phi ^{-}(s,t))\rangle \). Note that

$$\begin{aligned} & \bigl\langle J^{\prime} \bigl(tu_{0}^{\pm} \bigr),u_{0}^{\pm}>0 \bigr\rangle \quad \text{if } 0< t< 1, \\ & \bigl\langle J^{\prime} \bigl(tu_{0}^{\pm} \bigr),u_{0}^{\pm}< 0 \bigr\rangle \quad \text{if } t>1. \end{aligned}$$
(2.48)

Therefore, we have that \(\deg (J_{0},Q,0)=1\). On the other hand, by (2.47) and the property (i) of θ, we have that \(\psi =\phi \) on ∂Q. Hence, \(J_{0}=J_{1}\) on ∂Q and \(\deg (J_{0},Q,0)=\deg (J_{1},Q,0)=1\). This indicates that \(J_{1}(s,t)=0\) with some \((s,t)\in Q\), and thus \(\theta (1,\psi (s,t))=\phi (s,t)\in \Xi \). Therefore, \(u_{0}\) is a critical point of \(J(u)\). The proof is completed. □

Lemma 2.17

  1. (i)

    For \(x\in \Omega \), \(t\leq 0\), if \(f(x,t)\geq 0\) and \(u\in W_{0}^{1,p(x)}(\Omega )\) is a solution of problem (1.1), then \(u\geq 0\) hold.

  2. (ii)

    For \(x\in \Omega \), \(t\geq 0\), if \(f(x,t)\leq 0\) and \(u\in W_{0}^{1,p(x)}(\Omega )\) is a solution of problem (1.1), then \(u\leq 0\) hold.

Proof

(i) Define \(\Omega _{1}= \{x\in \Omega :u(x)<0 \}\) and \(\Omega _{2}=\Omega \setminus \Omega _{1}\). Since \(u^{-}=\min \{u,0 \}\) and \(u^{-}\in W_{0}^{1,p(x)}(\Omega )\), we have

$$\begin{aligned} \nabla u^{-}=\textstyle\begin{cases} \nabla u, &\text{in } \Omega _{1}, \\ 0, &\text{in } \Omega _{2}. \end{cases}\displaystyle \end{aligned}$$

Replacing v in (1.2) with \(u^{-}\), we have

$$\begin{aligned} \int _{\Omega} \bigl( \vert \nabla u \vert ^{p(x)-2} \nabla u\cdot \nabla u^{-}+\lambda \vert u \vert ^{p(x)-2}u \cdot u^{-} \bigr)\,dx - \int _{\Omega}h(x)u^{-}\,dx = \int _{\Omega}f(x,u)u^{-}\,dx . \end{aligned}$$
(2.49)

By (h1) and (2.49), we can deduce that

$$\begin{aligned} \int _{\Omega _{1}} \bigl( \vert \nabla u \vert ^{p(x)}+ \lambda \vert u \vert ^{p(x)} \bigr)\,dx &= \int _{ \Omega _{1}}h(x)u\, dx+ \int _{\Omega _{1}}f(x,u)u\,dx \\ &\leq \int _{\Omega _{1}}f(x,u)u\,dx\leq 0. \end{aligned}$$

Therefore, \(|\Omega _{1}|=0\). Similarly, replacing v in (1.2) with \(u^{+}\), we can proof (ii). The proof is completed. □

3 Proof of main results

Proof of Theorem 1.1

Combining Lemma 2.15 and Lemma 2.16, there exists \(u_{0}\in \Xi \) such that

$$\begin{aligned} J(u_{0})=\xi \quad \text{and}\quad J^{\prime}(u_{0})=0. \end{aligned}$$
(3.1)

From (3.1), we know that \(u_{0}\) is a critical point of J; therefore, \(u_{0}\) is a sign-changing solution of problem (1.1). □

Proof of Theorem 1.2

First, we define \(f^{+}=f(x,t)\) for \(t>0\) and \(f^{+}=0\) for \(t\leq 0\), and \(F^{+}(x,t)=\int _{0}^{t}f^{+}(x,s)\,ds \). Let

$$\begin{aligned} J^{+}(u)&= \int _{\Omega}\frac{1}{p(x)} \bigl( \vert \nabla u \vert ^{p(x)}+ \lambda \vert u \vert ^{p(x)} \bigr)\,dx - \int _{\Omega}h(x)u\,dx \\ &\quad {}- \int _{\Omega}F^{+}(x,u)\,dx , \quad \forall u\in W_{0}^{1,p(x)}(\Omega ). \end{aligned}$$

It is easy to verify that for \(f^{+}\) and \(F^{+}\), conditions (f1)–(f4) still hold. There are two claims to consider.

Claim 1

\(J^{+}\) satisfies the (PS)-condition on Ψ. Let \(\{u_{n} \}\subseteq \Omega \) be a (PS)-sequence such that

$$\begin{aligned} \bigl(J^{+} \bigr)^{\prime}(u_{n}) \to 0,\qquad J^{+}(u_{n})\to c, \quad \forall c>0. \end{aligned}$$
(3.2)

First, we prove that \(\{u_{n} \}\) is bounded. Arguing by contradiction, suppose that \(\Vert u_{n} \Vert \to +\infty \) as \(n\to +\infty \) and let \(v_{n}=\frac{u_{n}}{ \Vert u_{n} \Vert }\). Passing, if necessary, to a subsequence, we suppose that

$$\begin{aligned} &v_{n}\rightharpoonup v\quad \text{in }W_{0}^{1,p(x)}( \Omega ), \\ &v_{n}\to v\quad \text{in }L^{q(x)}(\Omega ), p(x) \leq q(x)< p^{*}(x), \\ &v_{n}\to v\quad \text{a.e. on }\Omega . \end{aligned}$$
(3.3)

If \(v=0\), then \(v_{n}\to 0\) in \(L^{q(x)}\) with \(1\leq q(x)< p^{*}(x)\). Fix \(M> (\frac{p^{+}(c+1)}{\min \{1,\lambda \}} )^{ \frac{1}{p^{-}}}>1\). By (f1) and (f2), there exists \(C_{4}>0\) such that

$$\begin{aligned} F^{+}(x,u)\leq \vert u \vert ^{p^{+}}+C_{4} \vert u \vert ^{r(x)},\quad \forall (x,u)\in \Omega \times \mathbb{R}. \end{aligned}$$
(3.4)

Thanks to (3.4) and the Lebesgue dominated convergence theorem, one has

$$ \limsup_{m\to \infty} \int _{\Omega}F(x,Mv_{n})\,dx \leq M^{p^{+}} \lim_{n \to \infty} \vert v_{n} \vert _{p^{+}}^{p^{+}}+C_{4}M^{r^{+}} \lim_{n\to \infty} \max \bigl\{ \vert v_{n} \vert _{r(x)}^{r^{-}}, \vert v_{n} \vert _{r(x)}^{r^{+}} \bigr\} =0. $$
(3.5)

Let \(t_{n}=\frac{M}{ \Vert u_{n} \Vert }\). Hence, by Proposition 2.1, Corollary 2.12 and (3.5), we have

$$\begin{aligned} c+o(1)&=J^{+}(u_{n})\geq J(t_{n}u_{n})=J^{+}(Mv_{n}) \\ &= \int _{\Omega}\frac{1}{p(x)}M^{p(x)} \bigl( \vert \nabla v_{n} \vert ^{p(x)}+ \lambda \vert v_{n} \vert ^{p(x)} \bigr)\,dx -M \int _{\Omega}h(x)v_{n}\,dx - \int _{ \Omega}F^{+}(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}-M \int _{\Omega} \bigl\vert h(x)v_{n} \bigr\vert \,dx - \int _{\Omega}F^{+}(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}-M \vert h \vert _{2} \vert v_{n} \vert _{2}- \int _{\Omega}F^{+}(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}- \int _{\Omega}F^{+}(x,Mv_{n})\,dx \\ &\geq \frac{\min \{1,\lambda \}}{p^{+}}M^{p^{-}}-o(1) \\ &\geq c+1+o(1). \end{aligned}$$
(3.6)

(3.6) is a contradiction. Hence, \(v\neq 0\). By (f3), we have

$$\begin{aligned} \lim_{n\to \infty} \frac{F^{+}(x,u_{n}(x))}{ \Vert u_{n} \Vert ^{p^{+}}}=\lim _{n\to \infty}\frac{F^{+}(x,u_{n}(x))}{ \vert u_{n}(x) \vert ^{p^{+}}} \bigl\vert v_{n}(x) \bigr\vert ^{p^{+}}=+ \infty , \end{aligned}$$
(3.7)

for all \(x\in \{x\in \Omega :v(x)\neq 0 \}\). Hence, it follows from Proposition 2.6, (2.36), (2.37), (2.38), (3.7) and Fatou’s Lemma that

$$\begin{aligned} 0&=\lim_{n\to \infty}\frac{c+o(1)}{ \Vert u_{n} \Vert ^{p^{+}}}= \lim _{n\to \infty} \frac{J^{+}(u_{n})}{ \Vert u_{n} \Vert ^{p^{+}}} \\ &\leq \lim_{n\to \infty} \biggl[ \frac{\int _{\Omega}\frac{1}{p(x)} [ \vert \nabla u_{n} \vert ^{p(x)}+\lambda \vert u_{n} \vert ^{p(x)} ]\,dx }{ \Vert u_{n} \Vert ^{p^{+}}}- \frac{\int _{\Omega}h(x)u_{n}\,dx }{ \Vert u_{n} \Vert ^{p^{+}}}- \frac{\int _{\Omega}F^{+}(x,u_{n})\,dx }{ \Vert u_{n} \Vert ^{p^{+}}} \biggr] \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}+\lim_{n\to \infty} \frac{\int _{\Omega} \vert h(x)u \vert \,dx }{ \Vert u_{n} \Vert ^{p^{+}}}- \lim_{n \to \infty} \int _{\Omega} \frac{F^{+}(x,u_{n})}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}+\lim_{n\to \infty} \frac{c_{2} \vert h \vert _{2} \Vert u_{n} \Vert }{ \Vert u_{n} \Vert ^{p^{+}}}- \lim_{n\to \infty} \int _{\Omega} \frac{F^{+}(x,u_{n})-C_{2}}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}-\liminf_{n\to +\infty} \int _{ \Omega}\frac{F^{+}(x,u_{n})-C_{2}}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}-\liminf_{n\to +\infty} \int _{ \Omega}\frac{F^{+}(x,u_{n})}{ \Vert u_{n} \Vert ^{p^{+}}}\,dx \\ &\leq \frac{\max \{1,\lambda \}}{p^{-}}-\liminf_{n\to +\infty} \frac{F^{+}(x,u_{n})}{ \vert u_{n} \vert ^{p^{+}}} \vert v_{n} \vert ^{p^{+}}\,dx \\ &=-\infty . \end{aligned}$$
(3.8)

(3.8) implies that \(\{u_{n} \}\) is bounded in \(W_{0}^{1,p(x)}(\Omega )\). Without loss of generality, we can assume that

$$\begin{aligned} &u_{n}\rightharpoonup u_{0}\quad \text{in }W_{0}^{1,p(x)}( \Omega ), \\ &u_{n}\to u_{0}\quad \text{in }L^{q(x)}( \Omega )\text{ for } 1\leq q(x)< p^{*}(x), \\ &u_{n}\to u_{0}\quad \text{a.e. on } \Omega . \end{aligned}$$
(3.9)

By (f2), Proposition 2.1, Proposition 2.7 and the boundedness of \(\{u_{n} \}\), we have

$$\begin{aligned} &\lim_{n\to +\infty} \int _{\Omega} \bigl\vert f^{+}(x,u_{n}) \bigr\vert \vert u_{n}-u_{0} \vert \,dx \\ &\quad \leq \lim_{n\to +\infty} \int _{\Omega}C \bigl(1+ \vert u_{n} \vert ^{r(x)-1} \bigr) \vert u_{n}-u_{0} \vert \,dx \\ &\quad \leq C\lim_{n\to +\infty} \int _{\Omega} \vert u_{n} \vert ^{r(x)-1} \vert u_{n}-u_{0} \vert \,dx +C \lim_{n\to +\infty} \int _{\Omega} \vert u_{n}-u_{0} \vert \,dx \\ &\quad \leq 2C\lim_{n\to +\infty}| \vert u_{n} \vert ^{r(x)-1}|_{r^{ \prime}(x)}|u_{n}-u_{0}|_{r(x)}+ \lim_{n\to +\infty}|u_{n}-u_{0}|_{1} \\ &\quad \leq 2C\lim_{n\to +\infty}\max \bigl\{ \vert u_{n} \vert ^{r^{-}-1}_{r(x)}, \vert u_{n} \vert ^{r^{+}-1}_{r(x)} \bigr\} \vert u_{n}-u_{0} \vert _{r(x)}+\lim_{n\to +\infty} \vert u_{n}-u_{0} \vert _{1} \\ &\quad = 0, \end{aligned}$$
(3.10)

and

$$\begin{aligned} \lim_{n\to +\infty} \int _{\Omega}\lambda \vert u_{n} \vert ^{p(x)-2}u_{n}(u_{n}-u_{0})\,dx & \leq \lim_{n\to +\infty} \int _{\Omega} \vert u_{n} \vert ^{p(x)-1} \vert u_{n}-u_{0} \vert \,dx \\ & \leq 2| \vert u_{n} \vert ^{p(x)-1}|_{p^{\prime}(x)}|u_{n}-u_{0}|_{p(x)} \\ & \leq 2\lim_{n\to +\infty}\max \bigl\{ \vert u_{n} \vert ^{p^{-}-1}_{p(x)}, \vert u_{n} \vert ^{p^{+}-1}_{p(x)} \bigr\} \vert u_{n}-u_{0} \vert _{p(x)} \\ & = 0, \end{aligned}$$
(3.11)

where \(\frac{1}{r(x)}+\frac{1}{r^{\prime}(x)}=1\). Therefore, by (f2), (3.10) and (3.11), we can deduce that

$$\begin{aligned} & \bigl\langle \Gamma (u_{n})-\Gamma (u_{0}),u_{n}-u_{0} \bigr\rangle \\ &\quad = \bigl\langle \bigl(J^{+} \bigr)^{\prime}(u_{n})- \bigl(J^{+} \bigr)^{\prime}(u_{0}),u_{n}-u_{0} \bigr\rangle + \int _{\Omega}\lambda \vert u_{n} \vert ^{p(x)-2}u_{n}(u_{n}-u_{0})\,dx \end{aligned}$$
(3.12)
$$\begin{aligned} &\quad \quad{} - \int _{\Omega}\lambda \vert u_{0} \vert ^{p(x)-2}u_{n}(u_{n}-u_{0})\,dx + \int _{ \Omega}f^{+}(x,u_{0}) (u_{n}-u_{0})\,dx \\ &\quad \quad {}- \int _{\Omega}f^{+}(x,u_{n}) (u_{n}-u_{0})\,dx \\ &\quad \to 0,\quad \text{as } n\to +\infty . \end{aligned}$$
(3.13)

So, Γ is of type \((S)_{+}\), and we can deduce that

$$\begin{aligned} u_{n}\to u_{0}\quad \text{in }W_{0}^{1,p(x)}( \Omega ). \end{aligned}$$
(3.14)

The proof of Claim 1 is completed.

From Lemma 2.13, it can be seen that for any \(u\in W_{0}^{1,p(x)}(\Omega )\setminus \{0 \}\), there exists a unique positive number \(t_{u}\) such that \(t_{u}u\in \Psi \). Therefore, one can obtain that if \(\mathbb{B}\) is a unit ball in \(W_{0}^{1,p(x)}(\Omega )\), and by setting \(\gamma (u):=t_{u}u\) to define the homomorphism \(\gamma :\mathbb{B}\to \Psi \), then \(\Vert \gamma (u) \Vert =t_{u}\). Therefore, if \(\gamma ^{-1}\) is the inverse of γ, and \(\gamma ^{-1}\) is defined as \(\gamma ^{-1}(v)=\frac{v}{ \Vert v \Vert }\), then \(\gamma ^{-1}:\Psi \to \mathbb{B}\) is Lipschitz continuous. By (2.30), for any \(v_{1},v_{2}\in \Psi \), we can deduce that

$$\begin{aligned} \bigl\Vert \gamma ^{-1}(v_{1})-\gamma ^{-1}(v_{2}) \bigr\Vert &= \biggl\Vert \frac{v_{1}}{ \Vert v_{1} \Vert }- \frac{v_{2}}{ \Vert v_{2} \Vert } \biggr\Vert \\ &= \biggl\Vert \frac{v_{1}-v_{2}}{ \Vert v_{1} \Vert }+ \frac{( \Vert v_{2} \Vert - \Vert v_{1} \Vert )v_{2}}{ \Vert v_{1} \Vert \Vert v_{2} \Vert } \biggr\Vert \\ &\leq \frac{2}{ \Vert v_{1} \Vert } \Vert v_{1}-v_{2} \Vert \\ &\leq \frac{2}{\kappa _{0}} \Vert v_{1}-v_{2} \Vert . \end{aligned}$$

Next, we define \(\Phi :\mathbb{B}\to \mathbb{R}\) by

$$\begin{aligned} \Phi (u):=J \bigl(\gamma (u) \bigr). \end{aligned}$$

Claim 2

\(\Phi ^{+}\) satisfies the (PS)-condition on \(\mathbb{B}\). Set \(\{u_{n} \}\subset \mathbb{B}\) as a (PS)-sequence of \(\Phi ^{+}\). Let \(v_{n}=\gamma (u_{n})\). Similar to the proof of Lemma 3.7 in [28], we need to prove that \(\{v_{n} \}\subset \Psi \) is a (PS)-sequence of \(\Phi ^{+}\). From Claim 1, we can take the appropriate subsequence, for convenience, still denoted by \(\{v_{n} \}\), and suppose that \(v_{n}\to v_{0}\) and \(u_{n}=\gamma ^{-1}(v_{n})\to \gamma ^{-1}(v_{n})\) with \(n\to +\infty \). We can deduce that \(\Phi ^{+}\) satisfies the (PS)-condition.

Finally, we prove that problem (1.1) admits at least one positive ground state solution and one negative ground state solution. Let \(\{u_{n}^{+} \}\) be a minimizing sequence for \(\Phi ^{+}\). Then, using Ekeland’s variational principle [29], one can suppose that \((\Phi ^{+})^{\prime}(u_{n}^{+})\to 0\). By Claim 2, passing, if necessary, to a subsequence, one can suppose that \(u_{n}^{+}\to u_{0}^{+}\) in \(W_{0}^{1,p(x)}(\Omega )\). Therefore, \(u_{0}^{+}\) is a minimizer of \(\Phi ^{+}\), and from [17], we can deduce that \(v_{0}^{+}:=\gamma (u_{0}^{+})\) is a ground state solution for the equation \((\phi ^{+})^{\prime}(v)=0\), that is

$$\begin{aligned} & \int _{\Omega} \bigl\vert \nabla v_{0}^{+} \bigr\vert ^{p(x)-2}\nabla v_{0}^{+}\nabla \eta \,dx + \int _{\Omega}\lambda \bigl\vert v_{0}^{+} \bigr\vert ^{p(x)-2}v_{0}^{+}\eta _{0} \,dx \\ &\quad = \int _{\Omega}h(x)v_{0}^{+}\,dx + \int _{\Omega}f^{+} \bigl(x,v_{0}^{+} \bigr)\eta \,dx , \quad \forall \eta \in W_{0}^{1,p(x)}(\Omega ). \end{aligned}$$
(3.15)

Since \(f^{+}(x,t)=0\) for \(x\in \Omega \), \(t\leq 0\), from Lemma 2.17 (i), we can conclude that \(u^{+}\geq 0\). Therefore, by (3.15), we have

$$\begin{aligned} & \int _{\Omega} \bigl\vert \nabla v_{0}^{+} \bigr\vert ^{p(x)-2}\nabla v_{0}^{+}\nabla \eta \,dx + \int _{\Omega}\lambda \bigl\vert v_{0}^{+} \bigr\vert ^{p(x)-2}v_{0}^{+}\eta _{0} \,dx \\ &\quad = \int _{\Omega}h(x)v_{0}^{+}\,dx + \int _{\Omega}f \bigl(x,v_{0}^{+} \bigr) \eta \,dx , \quad \forall \eta \in W_{0}^{1,p(x)}(\Omega ), \end{aligned}$$

which indicates that problem (1.1) has a nontrivial ground solution \(u^{+}\geq 0\). Therefore, by Lemma 2.9, we can deduce that \(u^{+}>0\).

Similarly, replace \(f^{+}\) with \(f^{-}\), where \(f^{-}\) is defined as \(f^{-}(x,t)=f(x,u)\) for \(t<0\) and \(f^{-}(x,t)=0\) for \(t\geq 0\), we can deduce that problem (1.1) has a negative ground state solution \(u^{-}<0\). In summary, problem (1.1) has at least one positive ground state solution and one negative ground state solution. The proof is completed.  □

Data availability

Not applicable.

References

  1. Zhikov, V.V.: Averaging of functionals of the calculus of variations and elasticity theory. Math. USSR, Izv. 29(1), 33 (1987)

    Article  Google Scholar 

  2. Antontsev, S.N., Rodrigues, J.F.: On stationary thermo-rheological viscous flows. Ann. Univ. Ferrara, Sez. 7: Sci. Mat. 52(1), 19 (2006)

    Article  MathSciNet  Google Scholar 

  3. Ruzicka, M.: Electrorheological Fluids: Modeling and Mathematical Theory. Lecture Notes in Math., vol. 1748. Springer, Berlin (2000)

    Book  Google Scholar 

  4. Chen, Y., Levine, S., Rao, M.: Variable exponent, linear growth functionals in image restoration. SIAM J. Appl. Math. 66(4), 1383–1406 (2006)

    Article  MathSciNet  Google Scholar 

  5. Antontsev, S.N., Shmarev, S.I.: A model porous medium equation with a variable exponent of nonlinearity: existence, uniqueness and localization properties of solutions. Nonlinear Anal., Theory Methods Appl. 60(3), 515–545 (2005)

    Article  MathSciNet  Google Scholar 

  6. Fan, X.L., Zhang, Q.H.: Existence of solutions for \(p(x)\)-Laplacian Dirichlet problem. Nonlinear Anal., Theory Methods Appl. 52(8), 1843–1852 (2003)

    Article  MathSciNet  Google Scholar 

  7. Amrouss, A.R., Kissi, F.: Multiplicity of solutions for a general \(p(x)\)-Laplacian Dirichlet problem. Arab J. Math. Sci. 19(2), 205–216 (2013)

    Article  MathSciNet  Google Scholar 

  8. Avci, M.: Existence and multiplicity of solutions for Dirichlet problems involving the \(p(x)\)-Laplace operator. Electron. J. Differ. Equ. 2013, 14 (2013)

    MathSciNet  Google Scholar 

  9. Tan, Z., Fang, F.: On superlinear \(p(x)\)-Laplacian problems without Ambrosetti and Rabinowitz condition. Nonlinear Anal., Theory Methods Appl. 75(9), 3902–3915 (2012)

    Article  MathSciNet  Google Scholar 

  10. Zang, A.: \(p(x)\)-Laplacian equations satisfying Cerami condition. J. Math. Anal. Appl. 337(1), 547–555 (2008)

    Article  MathSciNet  Google Scholar 

  11. Yucedag, Z.: Existence of solutions for \(p(x)\) Laplacian equations without Ambrosetti-Rabinowitz type condition. Bull. Malays. Math. Sci. Soc. 38(3), 1023–1033 (2015)

    Article  MathSciNet  Google Scholar 

  12. Liu, J.J., Patrizia, P.: Existence of solutions for a double-phase variable exponent equation without the Ambrosetti-Rabinowitz condition. Adv. Nonlinear Anal. 12(1), 20220292 (2023)

    Article  MathSciNet  Google Scholar 

  13. Chu, C., Xie, Y., Zhou, D.: Existence and multiplicity of solutions for a new \(p(x)\)-Kirchhoff problem with variable exponents. Open Math. 21(1), 20220520 (2023)

    Article  MathSciNet  Google Scholar 

  14. Qin, D.D., Tang, X.H., Zhang, J.: Ground states for planar Hamiltonian elliptic systems with critical exponential growth. J. Differ. Equ. 308, 130–159 (2022)

    Article  MathSciNet  Google Scholar 

  15. Zhang, J., Zhang, W.: Semiclassical states for coupled nonlinear Schrödinger system with competing potentials. J. Geom. Anal. 32(4), 114 (2022)

    Article  MathSciNet  Google Scholar 

  16. Li, Q.Q., Nie, J.J., Zhang, W.: Existence and asymptotics of normalized ground states for a Sobolev critical Kirchhoff equation. J. Geom. Anal. 33(4), 126 (2023)

    Article  MathSciNet  Google Scholar 

  17. Ge, B., Zhuge, X.W., Yuan, W.S.: Ground state solutions for a class of elliptic Dirichlet problems involving the \(p(x)\)-Laplacian. Anal. Math. Phys. 11(3), 120 (2021)

    Article  MathSciNet  Google Scholar 

  18. Ge, B., Zhang, B.L., Hou, G.L.: Nehari-type ground state solutions for superlinear elliptic equations with variable exponent in \(\mathbb{R}^{N}\). Mediterr. J. Math. 18, 1–14 (2021)

    Article  Google Scholar 

  19. Yao, J.: Solutions for Neumann boundary value problems involving \(p(x)\)-Laplace operators. Nonlinear Anal., Theory Methods Appl. 68(5), 1271–1283 (2008)

    Article  MathSciNet  Google Scholar 

  20. Diening, L., Harjulehto, P., Hästö, P., et al.: Lebesgue and Sobolev Spaces with Variable Exponents. Springer, Berlin (2011)

    Book  Google Scholar 

  21. Kováčik, O., Rákosník, J.: On spaces \(L^{p (x)} \) and \(W^{k, p (x)} \). Czechoslov. Math. J. 41(4), 592–618 (1991)

    Article  Google Scholar 

  22. Fan, X.L., Zhao, Y.Z., Zhang, Q.H.: A strong maximum principle for \(p(x)\)-Laplace equations. Chin. J. Contemp. Math. 24(3), 277–282 (2003)

    MathSciNet  Google Scholar 

  23. Edmunds, D., Rákosník, J.: Sobolev embeddings with variable exponent. Stud. Math. 3(143), 267–293 (2000)

    Article  MathSciNet  Google Scholar 

  24. Fan, X.L., Fan, X.: A Knobloch-type result for \(p(t)\)-Laplacian systems. J. Math. Anal. Appl. 282(2), 453–464 (2003)

    Article  MathSciNet  Google Scholar 

  25. Chang, K.C.: Critical Point Theory and Applications. Shanghai Scientific and Technology Press, Shanghai (1996)

    Google Scholar 

  26. Miranda, C.: Un’osservazione su un teorema di Brouwer. Consiglio Nazionale delle Ricerche (1940)

    Google Scholar 

  27. Willem, M.: Minimax Theorems. Springer, Berlin (1997)

    Google Scholar 

  28. Fang, X.D., Szulkin, A.: Multiple solutions for a quasilinear Schrödinger equation. J. Differ. Equ. 254(4), 2015–2032 (2013)

    Article  Google Scholar 

  29. Ekeland, I.: On the variational principle. J. Math. Anal. Appl. 47(2), 324–353 (1974)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the referees for their useful suggestions, which have significantly improved the paper.

Funding

This work is supported by the National Natural Science Foundation of China (No. 11961014) and Guangxi Natural Science Foundation (2021GXNSFAA196040).

Author information

Authors and Affiliations

Authors

Contributions

B.X. and Q.Z. provided equal contribution to this research article. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Qiongfen Zhang.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xiao, B., Zhang, Q. Ground state solutions for a kind of superlinear elliptic equations with variable exponent. Bound Value Probl 2024, 2 (2024). https://doi.org/10.1186/s13661-023-01809-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13661-023-01809-z

Mathematics Subject Classification

Keywords