1 Introduction

The study of differential equations and variational problems involving non-standard p-growth conditions has attracted special attention. Such problems often arise in the modeling of several phenomena such as electrorheological fluids, image restoration, magnetostatics problems, and many other problems in elastic mechanics [33, 36, 46]. Due to their widespread applications, the investigation of nonlinear elliptic boundary value problems involving the p(x)-Laplacian operators have been reported using different approaches [1, 5, 13, 16, 18, 25, 26, 39, 42,43,44]. Meanwhile, there have been many authors who focused their works on the study of the equations involving the p(x)-Laplacian operators and obtained some important results; the reader can consult the papers [4, 7, 15, 17, 20,21,22, 27, 29, 30, 34, 35].

On the other hand, the notion of variable exponent Lebesgue spaces introduced by Orlicz in the paper [31]. In [46], Zhikov presented a new direction of investigation, which created the relationship between spaces with variable exponent and variational integrals under nonstandard growth conditions. Some interesting results concerning the generalized Lebesgue spaces and the generalized Lebesgue–Sobolev spaces can be found in [8, 9], and references therein.

Recently in [40], Vetro investigated a nonlinear p(x)-Kirchhoff type problem with the Dirichlet boundary condition, in the case of a reaction term depending on the gradient (convection). Utilizing a topological attitude based on the Galerkin method, he studied the existence of two notions of solutions: strong generalized solutions and weak solutions. Further, the authors in [46] used minimax approaches in conjunction with the Trudinger-Moser inequality to investigate a particular kind of the weighted Kirchhoff problem and found some existence results of a solution in the subcritical exponential growth situation with positive energy. For more information in this area refer to [14, 17, 20, 41]. Yet, in the event that the Catheodory reaction is gradient dependent, some approximation methods such as the Galerkin method are regarded as essential resources for understanding the p(x)-Laplace equation since the problem loses its variational character in this scenario. In [38], Sousa studied a version of the abstract lower and upper-solution method for some operators. Indeed, he presented, the existence of a positive solution for a new class of fractional systems of the Kirchhoff type with \(\psi \)-Hilfer operators via the method of sub and supersolutions.

Motivated by the results of the above-mentioned work, we prove some existence results of solutions for elliptic boundary value problems with p(x)-Laplacian of the following form

$$\begin{aligned} {\left\{ \begin{array}{ll} -\Delta _{p(x)}\jmath (x) = f(x,\jmath (x)), &{} x \in \Omega ,\\ \jmath (x) = 0, &{} x \in \partial {\Omega }, \end{array}\right. } \end{aligned}$$
(1.1)

where

$$\begin{aligned} -\Delta _{p(x)}(\jmath ) = div\left( \Vert \nabla \jmath (x)\Vert ^{p(x)-2} \nabla \jmath (x)\right) , \end{aligned}$$

and \(\Omega \) is a smooth bounded domain in \( \mathbb {R}^{N} (N\ge 2)\), \( p(x)\in C(\overline{\Omega })\) is \(\log \)-Hölder continuous with values in \( (1, +\infty )\), and \( f: \Omega \times \mathbb {R}\longrightarrow \mathbb {R}\) is a Carathéodory function, satisfying some growth conditions [12]. Problem (1.1) naturally describes applications in fluid mechanics and thus it is of a great significance for engineers and scientists. Fixed point arguments based on Schaefer’s and Schauder’s fixed point theorems as well as the method of sub-supersolution are used for proving the main theorems. Indeed, the existence results of the weak solutions for the p-Laplacian BVPs have been established in [19, 23, 28], while the variational and topological methods were used in [6, 11, 32, 45], and the simple variational arguments based on the Mountain-Pass theorem was used in [28]. The structure of the nonlinearity f in (1.1) suggests that the assumptions made about it are less restrictive than in previous discoveries. The paper discusses major findings within the variable exponent Sobolev space, as well as via utilizing fundamental properties of the p(x)-Laplacian and Nemytskii operators.

The article is structured as follows. Section 2 presents some fundamental concepts which are essential to prove the results in the next sections. The main results together with an interesting example are explicitly delivered in Sects. 2 and 3. A brief conclusion is given in Sect. 4.

2 Preliminary Results

Here, we present some essential results on the variable exponent Sobolev space and state some basic properties of the p(x)-Laplacian and Nemytskii operators. For more details, we orient the reader to [8, 9, 12, 19, 23, 28].

Let \(\Omega \subset \mathbb {R}^{N} (N\ge 2)\) be an open bounded subset with smooth boundary \( \partial \Omega \) and set

$$\begin{aligned}C_{+}(\overline{\Omega }):=\{g: g\in C(\overline{\Omega }),\ g(x)>1 \ \text{ for } \text{ all }\;\; x\in \overline{\Omega }\},\end{aligned}$$

and

$$\begin{aligned} D = \left\{ \jmath :\Omega \rightarrow \mathbb {R}; \; \text{ is } \text{ a } \text{ measurable } \text{ real--valued } \right\} . \end{aligned}$$

For \(p\in C_{+}(\overline{\Omega })\), we define

$$\begin{aligned} p^{-}:=\displaystyle \min _{x\in \overline{\Omega }}p(x),~~ p^{+}:=\displaystyle \max _{x\in \overline{\Omega }}p(x).\end{aligned}$$

Clearly, \(1< p^{-}\le p^{+}<\infty ,\) and

$$\begin{aligned} L^{p(x)} (\Omega ) = \left\{ {\mathrm{{\jmath }} \in D:\;\int _\Omega | \mathrm{{\jmath }}(x)|^{p(x)} dx < \infty \;} \right\} .\end{aligned}$$

We define the Luxemburg norm by:

$$\begin{aligned} \left\| \mathrm{{\jmath }} \right\| _{p(x)} = \inf \;\left\{ {\tau > 0:\int _\Omega | \frac{{\mathrm{{\jmath }}(x)}}{\tau }|^{p(x)} dx \le 1} \right\} .\end{aligned}$$

Further, \( \left( L^{p(x)}(\Omega ), \Vert \jmath \Vert _{p(x)}\right) \) are Banach spaces which are reflexive if and only if \(1< p^{-}\le p^{+} <\infty . \) Due to the inclusion of the Lebesgue spaces, we get: if \( 0<|\Omega |<\infty \) and \(p_1(\cdot )\), \(p_2(\cdot )\) are variable exponents such that \(p_1(x) \le p_2(x)\) a.e. \( x \in \Omega \), then, there exists a continuous embedding \(L^{p_2(x)}(\Omega )\hookrightarrow L^{p_1(x)}(\Omega ).\)

Moreover, if \(L^{p'(x)}(\Omega )\) is the conjugate space of \(L^{p(x)}(\Omega ),\) where \(\frac{1}{p(x)}+\frac{1}{p^{\prime }(x)}=1\), then:

$$\begin{aligned} \Big |\int _{\Omega }\jmath v dx\Big |\le \Big (\frac{1}{p^{-}}+\frac{1}{(p^{\prime })^{-}}\Big )\Vert \jmath \Vert _{p(x)}\Vert v\Vert _{p^{\prime }(x)} \le 2\Vert \jmath \Vert _{p(x)} \Vert v\Vert _{p^{\prime }(x)}, \ \ \in L^{p(x)}(\Omega ), v\in L^{p'(x)}(\Omega ). \end{aligned}$$
(2.1)

In the sequel, we employ the modular and its properties, which is \(\sigma _{p(x)}:L^{p(x)}(\Omega )\rightarrow \mathbb {R}\), defined by

$$\begin{aligned}\sigma _{p(x)}(\jmath ):=\int _{\Omega }|\jmath |^{p(x)}dx.\end{aligned}$$

It should be noticed that the \(\log \)–Hölder continuous and Carathéodory functions are defined as follows.

Definition 2.1

The variable exponent p(x) is \(\log \)–Hölder continuous if there exists \(C > 0\) with

$$\begin{aligned} |p(x)-p(y)|\le \frac{C}{-log \Vert x -y\Vert },\end{aligned}$$

for \(x,y\in \mathbb {R}^{N}\), and \(\Vert x-y\Vert \le \frac{1}{2}.\)

Definition 2.2

A function \(f: \Omega \times \mathbb {R}\longrightarrow \mathbb {R}\) is Carathéodory function, if \(f(.,\eta )\) be measurable on \(\mathbb {R}\) and \(f(\xi ,.)\) is continuous on \(\mathbb {R}\).

Proposition 2.3

[12] For all \(\jmath , v\in L^{p(x)}(\Omega )\), we have

$$\begin{aligned}&\Vert \jmath \Vert _{p(x)}<1\ (resp. =1;>1) \Leftrightarrow \sigma _{p(x)}(\jmath )<1\ (resp. =1;>1),\\&\Vert \jmath \Vert _{p(x)}<1\Longrightarrow \Vert \jmath \Vert _{p(x)}^{p^{+}}\le \sigma _{p(x)}(\jmath )\le \Vert \jmath \Vert _{p(x)}^{p^{-}} ,\\&\Vert \jmath \Vert _{p(x)} > 1\Longrightarrow \Vert \jmath \Vert _{p(x)}^{p^{-}}\le \sigma _{p(x)}(\jmath )\le \Vert \jmath \Vert _{p(x)}^{p^{+}} ,\\&\sigma _{p(x)}(\jmath -v)\rightarrow 0\Leftrightarrow |\jmath -v|_{p(x)}\rightarrow 0. \end{aligned}$$

It follows that

$$\begin{aligned}\Vert \jmath \Vert _{p(x)}\le \sigma _{p(x)}(\jmath ) + 1,\end{aligned}$$

and

$$\begin{aligned}\sigma _{p(x)}(\jmath ) \le \Vert \jmath \Vert _{p(x)}^{p^{+}}+ \Vert \jmath \Vert _{p(x)}^{p^{-}}. \end{aligned}$$

Definition 2.4

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

$$\begin{aligned}W^{1,p(x)}(\Omega )=\Big \{\jmath \in L^{p(x)}(\Omega ):\Vert \nabla \jmath \Vert \in L^{p(x)}(\Omega )\Big \},\end{aligned}$$

with the norm

$$\begin{aligned} \Vert \jmath \Vert _{1,p(x)}:=\Vert \jmath \Vert _{p(x)}+\Vert \nabla \jmath \Vert _{p(x)}. \end{aligned}$$

Remark 2.5

The closure of \(C_{0}^{\infty }(\Omega )\) in \( W^{1,p(x)}(\Omega )\) is denoted by \( W_{0}^{1,p(x)}(\Omega )\), and we define

$$\begin{aligned}p^{*}(x):= {\left\{ \begin{array}{ll} \dfrac{Np(x)}{N-p(x)},\quad \;\;\;\text{ if }\;\; p(x) < N,\\ +\infty , \;\;\; \quad \quad \quad \text{ if } \;\; p(x)\ge N. \end{array}\right. }\end{aligned}$$

Definition 2.6

Suppose \(\Gamma \) and \(\Lambda \) be real Banach spaces, \(S \subset \Gamma \) be nonempty and the symbols \(\rightharpoonup \) and \(\rightarrow \) denotes the weak and strong convergence, respectively. The mapping \(\mathcal {L}:S\rightarrow \Lambda \) is called bounded if the projection of any bounded set in \(\Gamma \) under \(\mathcal {L}\) be a bounded set in \(\Lambda \).

Definition 2.7

Suppose \(\Gamma \) be a real reflexive Banach space, \(\Gamma ^{*}\) be its dual and \(S \subset \Gamma \) be nonempty. A mapping \(\mathcal {L}:S\rightarrow \Gamma ^{*}\) is said to be of class \((S_{+})\), if for any \(\left\{ \gamma _{n}\right\} \) in \(\Gamma \), where \(\gamma _{n}\rightharpoonup \gamma \) and \(\overline{lim} \left\langle \mathcal {L}(\gamma _{n}),\gamma _{n}-\gamma \right\rangle \le 0\), we can conclude that \(\gamma _{n}\rightarrow \gamma \).

Proposition 2.8

([8])

  1. (i)

    The spaces \( W^{1,p(x)}(\Omega )\) and \( W_{0}^{1,p(x)}(\Omega )\) are separable reflexive Banach spaces.

  2. (ii)

    If \(\gamma \in C_{+}(\overline{\Omega })\) and \(\gamma (x) < p^{*}(x) \) for \( x \in \overline{\Omega },\) then the embedding from \( W^{1,p(x)}(\Omega )\) to \(L^{\gamma (x)}(\Omega )\) is continuous and compact.

  3. (iii)

    There exists \(\vartheta _{0} > 0, \) with

    $$\begin{aligned} \Vert \jmath \Vert _{p(x)}\le \vartheta _{0}\Vert \nabla \jmath \Vert _{p(x)}, \;\; \jmath \in W_{0}^{1,p(x)}(\Omega ), \end{aligned}$$
    (2.2)

    which implies that, \( \Vert \nabla \jmath \Vert _{p(x)}\) and \(\Vert \jmath \Vert _{1,p(x)}\) are equivalent norms on \(W_{0}^{1,p(x)}(\Omega )\).

The Nemytskii operator will play an essential role in the subsequent discussion.

Proposition 2.9

([19]) Let \(f: \Omega \times \mathbb {R} \rightarrow \mathbb {R} \) be a Carathéodory function and satisfies the growth condition

$$\begin{aligned}|f(x,s)| \le a|s|^{\frac{p_{1}(x)}{p_{2}(x)}} + g(x), \; \forall x \in \Omega , s \in \mathbb {R}, \end{aligned}$$

where \( p_{1}(.), p_{2}(.) \in C_{+}(\overline{\Omega }), g \in L^{p_{2}(x)}(\Omega )\) and \(a \ge 0\) is a constant. Then the Nemytskii operator \(N_{f}\) satisfies:

  1. (i)

    \(N_{f}\left( L^{p_{1}(x)}(\Omega )\right) \subset L^{p_{2}(x)}(\Omega ),\)

  2. (ii)

    \(N_{f}\) is continuous from \( L^{p_{1}(x)}(\Omega ) \) to \(L^{p_{2}(x)}(\Omega ),\)

  3. (iii)

    \(N_{f}\) maps bounded set into bounded set.

Further, it is important to review the properties of p(x)-Laplacian operator. We consider the following functional \(\varphi \) defined by

$$\begin{aligned} \varphi (\jmath ) = \displaystyle {\int _{\Omega }}\dfrac{1}{p(x)}\Vert \nabla \jmath \Vert ^{p(x)}\ dx, \quad \quad \jmath \in W_{0}^{1,p(x)}(\Omega ).\end{aligned}$$

Here \(\varphi \) is continuously Fréchet differentiable and \(\varphi '(\jmath ) = -\Delta _{p(x)}\jmath , \) for all \( \jmath \in W_{0}^{1,p(x)}(\Omega )\) where

$$\begin{aligned} - \Delta _{p(x)}:\,W_{0}^{1,p(x)}(\Omega ) \longrightarrow \widetilde{W}_{0}^{1,p(x)}(\Omega ),\end{aligned}$$

with

$$\begin{aligned} \langle - \Delta _{p(x)}\jmath , v \rangle = \displaystyle {\int _{\Omega }}\dfrac{1}{p(x)}\Vert \nabla \jmath \Vert ^{p(x)-2}\nabla \jmath \nabla v\ dx, \quad \jmath , v \in W_{0}^{1,p(x)}(\Omega ), \end{aligned}$$

where, \( \widetilde{W}_{0}^{1,p(x)}(\Omega )\) is a dual space of \( W_{0}^{1,p(x)}(\Omega ).\)

Proposition 2.10

[12] The mapping \(- \Delta _{p(x)}:\,W_{0}^{1,p(x)}(\Omega ) \longrightarrow \widetilde{W}_{0}^{1,p(x)}(\Omega )\) satisfies the following:

  1. (i)

    \(- \Delta _{p(x)}\) is a homeomorphism from \( W_{0}^{1,p(x)}(\Omega )\) to \( \widetilde{W}_{0}^{1,p(x)}(\Omega )\);

  2. (ii)

    \( - \Delta _{p(x)}\) is a continuous, bounded and monotone operator;

  3. (iii)

    \( - \Delta _{p(x)}\) is a mapping of type \( S_{+}\);

  4. (iv)

    The operator \( - \Delta _{p(x)}\) has a continuous inverse mapping \( \left( - \Delta _{p(x)}\right) ^{-1} :\,\widetilde{W}_{0}^{1,p(x)}(\Omega ) \longrightarrow W_{0}^{1,p(x)}(\Omega )\);

  5. (v)

    \( \left( - \Delta _{p(x)}\right) ^{-1}\) is bounded and satisfies the \( S_{+}\) condition.

Proof

The proofs of (i–iii) are given in literature. We only prove (iv) and (v).

Proof of (iv). Suppose \(\beta _{n}, \beta \in \widetilde{W}_{0}^{1,p(x)}(\Omega )\), and \(\beta _{n} \rightarrow \beta \). Let \(\alpha _{n}=\left( -\Delta _{p(x)}\right) ^{-1}\left( \beta _{n}\right) \) and \(\alpha =\left( -\Delta _{p(x)}\right) ^{-1}\left( \beta \right) \), then it’s obvious that \( -\Delta _{p(x)}\left( \alpha _{n}\right) =\beta _{n}\) and \( -\Delta _{p(x)}\left( \alpha \right) =\beta \), thus \(\left\{ \alpha _{n} \right\} \) is bounded in \(W_{0}^{1,p(x)}(\Omega )\). If \(\alpha _{n} \rightarrow \alpha ^{*}\), then

$$ lim_{n\rightarrow \infty } \left\langle -\Delta _{p(x)}\left( \alpha _{n}\right) - \left( -\Delta _{p(x)}\right) \left( \alpha ^{*}\right) , \alpha _{n}-\alpha ^{*}\right\rangle =lim_{n\rightarrow \infty } \left\langle \beta _{n},\alpha _{n}-\alpha ^{*}\right\rangle =0, $$

considering that \(-\Delta _{p(x)}\) is of type \(S_{+}\) and \(\alpha _{n} \rightarrow \alpha ^{*}\), we conclude that \(\alpha _{n} \rightarrow \alpha \). Therefore \(\left( -\Delta _{p(x)}\right) ^{-1}\) is continuous.

Proof of (v). Due to the continuity of \(\left( -\Delta _{p(x)}\right) ^{-1}\), it is clear that it is bounded. Now we show that \(\left( -\Delta _{p(x)}\right) ^{-1}\) is of type \(S_{+}\). Suppose \(\beta _{n} \in \widetilde{W}_{0}^{1,p(x)}(\Omega )\) and \(\beta _{n} \rightharpoonup \beta \), so there exist \(\alpha _{n}, \alpha \in W_{0}^{1,p(x)}(\Omega )\) such that \(\left( -\Delta _{p(x)}\right) ^{-1}\beta _{n}=\alpha _{n}\) and \(\left( -\Delta _{p(x)}\right) ^{-1}\beta =\alpha \) and \(\alpha _{n}\rightharpoonup \alpha \), that is, \(\left( -\Delta _{p(x)}\right) \alpha _{n}=\beta _{n}\) and \(\left( -\Delta _{p(x)}\right) \alpha =\beta \). Further, assume that \(limsup_{n\rightarrow \infty } \left\langle \left( -\Delta _{p(x)}\right) ^{-1}\beta _{n},\beta _{n}-\beta \right\rangle \le 0\), so we get

$$ limsup_{n\rightarrow \infty } \left\langle \left( \alpha _{n},-\Delta _{p(x)}\left( \alpha _{n}\right) -\left( -\Delta _{p(x)}\beta \right) \right\rangle \right\rangle \le 0. $$

Since \(-\Delta _{p(x)}\) is of type \(S_{+}\), we conclude that \(\alpha _{n} \rightarrow \alpha \). By the continuity of \(\left( -\Delta _{p(x)}\right) ^{-1}\), we get \(\alpha _{n} \rightarrow \alpha \). \(\square \)

We close this section with recalling some important fixed point theorems.

Theorem 2.11

(Classical Schaefer’s fixed point theorem [37]) Let \( T:X\rightarrow X\) a continuous function which is compact on each bounded subset of X. Then, either \( \jmath = \lambda T\jmath \) has a solution for \( \lambda = 1\), or the set of all such solutions \(\jmath \), (\( 0< \lambda < 1 \)) are unbounded.

Theorem 2.12

(Schauder’s fixed point theorem [2, 3]) Let D be a closed and convex subset of a normed linear space X. Then every compact, continuous map \( T:\; D\longrightarrow D\) has at least one fixed point.

3 Main Results

Let \( I_{1} \) be the embedding of \( W_{0}^{1,p(x)}(\Omega )\) into \(L^{\eta (x)}(\Omega )\) and \( I_{2}\) the embedding of \( L^{\delta (x)}(\Omega ) \) into \(\widetilde{W}_{0}^{1,p(x)}(\Omega )\) which is the dual space of \( W_{0}^{1,p(x)}(\Omega ).\) We recall that \( \delta (x)\) is the conjugate of \(\eta (x).\) Let \( F:\; L^{\eta (x)}(\Omega )\ \longrightarrow \ L^{\delta (x)}(\Omega )\) be the Nemytskii operator defined by \( F\jmath (x) = f(x,\jmath (x))\) and \( \overline{F}:\; W_{0}^{1,p(x)}(\Omega )\longrightarrow \widetilde{W}_{0}^{1,p(x)}(\Omega ),\) defined by

$$\begin{aligned}\langle \overline{F}\jmath , v \rangle = \displaystyle {\int _{\Omega }}f(x,\jmath )v \,dx,\;\; \forall \jmath , v \in W_{0}^{1,p(x)}(\Omega ), \end{aligned}$$

where

$$\begin{aligned}\overline{F}:\; W_{0}^{1,p(x)}(\Omega ) \overset{I_{1}}{\longrightarrow } L^{\eta (x)}(\Omega ) \overset{F}{\longrightarrow } L^{\delta }(\Omega ) \overset{I_{2}}{\longrightarrow } \widetilde{W}_{0}^{1,p(x)}(\Omega ). \end{aligned}$$

Let

$$\begin{aligned} T:\; W_{0}^{1,p(x)}(\Omega ) \longrightarrow W_{0}^{1,p(x)}(\Omega )\end{aligned}$$

be the operator given by

$$\begin{aligned} T \jmath = (-\Delta _{p(x)})^{-1} \overline{F} \jmath .\end{aligned}$$

We transfer problem (1.1) into a fixed point problem of some operators. One can easily see that u is a solution of problem (1.1) if only if

$$\begin{aligned} \jmath = (-\Delta _{p(x)})^{-1}\overline{F}\jmath . \end{aligned}$$

Let \(\vartheta _{0} \) be such that \( \Vert \jmath \Vert _{p(x)}\le \vartheta _{0}\Vert \nabla \jmath \Vert _{p(x)}, \; \jmath \in W_{0}^{1,p(x)}(\Omega )\) and \( \vartheta _{1} \) the constant of the embedding of \( L^{p(x)}(\Omega ) \; \text{ into }\; L^{\eta (x)}(\Omega ).\) We make use of the following assumptions:

\(A_1.\):

\(|f(x,s)|\le \zeta (x) + c|s|^{\eta (x)-1}\; \text{ where }\; c>0,\, \eta (x) \in C_{+}(\overline{\Omega }), \;\eta (x) < p^{*}(x), \; \forall (x,s) \in \Omega \times \mathbb {R}, \) with \(1< \wp ^{-} \le \wp (x)\le \wp ^{+} < p^{-}, \frac{1}{\wp (x)} +\frac{1}{\delta (x)}= 1,\;\; \zeta (x)\in \left( L^{\delta (x)}(\Omega )\cap L^{p'(x)}(\Omega )\right) ,\)

\(A_2.\):

\(0<c<\dfrac{1}{2\kappa ^{p^{+}-1}\left( \vartheta _{0}\vartheta _{1}\right) ^{p^{-}} }, \; \text{ and }\; \Vert \zeta \Vert _{p'(x)}<\dfrac{1}{2\vartheta _{0}\kappa ^{p^{+}-1}} -c\vartheta _{0}^{p^{-}-1}\vartheta _{1}^{p^{-}},\;\text{ for } \text{ some }\; \kappa \; \text{ in }\; \left[ 0\;1 \right] ,\) where \(p'(x)\) is the conjugate of p(x).

Theorem 3.1

Under the assumptions \(A_1\) and \(A_2\), problem (1.1) admits at least a non-trivial solution in \(W_{0}^{1,p(x)}(\Omega ).\)

Proof

To complete the proof, we split the process into three parts: the operator T is well defined, T is compact and the set \( B = \left\{ {\mathrm{{\jmath }} \in W_0^{1,p(x)} (\Omega ):\;\mathrm{{\jmath }} = \kappa T\mathrm{{\jmath }},\;\kappa \in \left[ {0\;1} \right] } \right\} \) is bounded.

  1. (i)

    T is well defined. It is clear that the operator   \( T:\, W_{0}^{1,p(x)}(\Omega )\overset{\overline{F}}{\longrightarrow } \widetilde{W}_{0}^{1,p(x)}(\Omega ) \overset{(-\Delta _{p(x)})^{-1}}{\longrightarrow } W_{0}^{1,p(x)}(\Omega ) \) is well defined;

  2. (ii)

    T is compact. Let \( (\jmath _n)\) be a bounded sequence in the reflexive space \( W_{0}^{1,p(x)}(\Omega ).\) Then, there exist \( \jmath _0\) and a subsequence which we also denote \( (\jmath _n)\) that \( \jmath _n \) converge weakly to \(\jmath _0 \) in \( W_{0}^{1,p(x )}(\Omega ).\) By the strong continuity of \( \overline{F}\) (Lemma 2.7, [28]), we have \( \overline{F}(\jmath _n) \longrightarrow \overline{F}(\jmath _0)\) in \(\widetilde{W}_{0}^{1,p(x)}(\Omega ). \) By the continuity of the operator \( (-\Delta _{p(x)})^{-1} \) (according to the fourth assertion in Proposition 2.10), we have \((-\Delta _{p(x)})^{-1}\overline{F}(\jmath _n) \longrightarrow (-\Delta _{p(x)})^{-1}\overline{F}(\jmath _0),\) that is, \( T(\jmath _n)\longrightarrow T(\jmath _0);\)

  3. (iii)

    The set B is bounded. In fact, we prove that for \(\jmath \in B\), there exists \(R> 0 \; \text{ with }\; \Vert \nabla \jmath \Vert _{p(x)} \le R. \) Considering \( \jmath \in B\), we have two cases.

    • If \( \Vert \nabla \jmath \Vert \le 1, \) then B is bounded.

    • If \( \Vert \nabla \jmath \Vert > 1, \) then by using modular’s properties, we proceed as follows: for \( \jmath = \kappa T\jmath \), and assuming \(\kappa \ne 0, \) we have \( \dfrac{\jmath }{\kappa }= T\jmath = (-\Delta _{p(x)})^{-1} \overline{F}\jmath .\) Therefore,

      $$\begin{aligned} -\Delta _{p(x)}\left( \dfrac{\jmath }{\kappa }\right) = \overline{F}\jmath ,\end{aligned}$$

      and consequently,

    $$\begin{aligned}\displaystyle {\int _{\Omega }}|\nabla \left( \dfrac{\jmath }{\kappa }\right) |^{p(x)-2}\nabla \left( \dfrac{\jmath }{\kappa }\right) \nabla v\ dx = \displaystyle {\int _{\Omega }}f(x,{\jmath })v \,dx, \quad \forall v \in W_{0}^{1,p(x)}(\Omega ). \end{aligned}$$

    Using Hölder–type inequality, propositions 2.32.8 and the embedding of \( L^{p(x)}(\Omega ) \) into \( L^{\eta (x)}(\Omega )\), we have

    $$\begin{aligned} \frac{1}{\kappa ^{p^{+}}}\sigma _{p(x)}(\nabla \jmath )\le \sigma _{p(x)}\nabla \left( \frac{\jmath }{\kappa }\right)\le & {} \frac{1}{\kappa } \displaystyle {\int _{\Omega }}f(x,\jmath (x))\jmath (x)\, dx.\\ \end{aligned}$$

    Furthermore, we get

    $$\begin{aligned} \sigma _{p(x)}(\nabla \jmath )\le & {} \kappa ^{p^{+}-1}\displaystyle {\int _{\Omega }}f(x,\jmath (x))\jmath (x)\, dx\\\le & {} \kappa ^{p^{+}-1}\Big [\displaystyle {\int _{\Omega }} |\zeta (x)\jmath (x)| + c\displaystyle {\int _{\Omega }}|\jmath (x)|^{\eta (x)} \ dx \Big ],\\\le & {} \kappa ^{p^{+}-1}\Big [2|\zeta |_{p'(x)}\Vert \jmath \Vert _{p(x)} + c\sigma _{\eta (x)}(\jmath )\\\le & {} \kappa ^{p^{+}-1}\Big [2|\zeta |_{p'(x)}\vartheta _{0}\Vert \nabla \jmath \Vert _{p(x)} + c\sigma _{\eta (x)}(\jmath )\\\le & {} \kappa ^{p^{+}-1}\Big [2|\zeta |_{p'(x)}\vartheta _{0}\left( \sigma _{p(x)}(\nabla \jmath ) +1\right) + c\sigma _{\eta (x)}(\jmath ). \end{aligned}$$

    Therefore, we obtain

    $$\begin{aligned} \Big (1 - 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)}\Big ) \sigma _{p(x)}(\nabla \jmath )\le 2\kappa ^ {p^{+}-1}\vartheta _{0}| \zeta |_{p'(x)} + \kappa ^{p^{+}-1}c\sigma _{\eta (x)}(\jmath ), \end{aligned}$$
    $$\begin{aligned} \Big (1 - 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)}\Big ) \sigma _{p(x)}(\nabla \jmath )\le 2\kappa ^{p^{+}-1}\vartheta _ {0}| \zeta |_{p'(x)} + \kappa ^{p^{+}-1}c\Big (\Vert \jmath \Vert _{\eta (x)}^{\eta ^{+}}+ \Vert \jmath \Vert _{\eta (x)}^{\eta ^{-}} \Big ), \end{aligned}$$
    $$\begin{aligned} \Big (1 - 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)}\Big ) \sigma _{p(x)}(\nabla \jmath )\le 2\kappa ^{p^{+}-1} \vartheta _{0}|\zeta |_{p'(x)} + 2\kappa ^{p^{+}-1}c(\vartheta _{0}\vartheta _{1})^{p^{-}}\Vert \nabla \jmath \Vert ^{p^{-}}_ {p(x)}, \end{aligned}$$
    $$\begin{aligned}{} & {} \Big (1 - 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)}\Big ) \Vert \nabla \jmath \Vert _{p(x)}^{p^{-}}\\{} & {} \quad \le 2\kappa ^{p^{+}-1} \vartheta _{0}|\zeta |_{p'(x)} + 2\kappa ^{p^{+}-1}c(\vartheta _{0}\vartheta _{1})^{p^{-}}\Vert \nabla \jmath \Vert ^{p^{-}}_ {p(x)},\\{} & {} \Big (1 - 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)} - 2\kappa ^{p^{+}-1}c(\vartheta _{0}\vartheta _{1})^{p^{-}} \Big ) \Vert \nabla \jmath \Vert _{p(x)}^{p^{-}}\le 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)}. \end{aligned}$$

    From assumption \(A_2\); \(\Vert \zeta \Vert _{p^{\prime }(x)}<\frac{1}{2v_0\kappa ^{p^{+}-1}}-c{v_0}^{p^{-}-1}{v_1}^{p^{-}}\), hence by multiplying the both sides of this inequality in \(2v_0\kappa ^{p^{+}-1}\) we get

    $$\begin{aligned}&2v_0\kappa ^{p^{+}-1}\Vert \zeta \Vert _{p^{\prime }(x)}<1-2v_0\kappa ^{p^{+}-1}c{v_0}^{p^{-}-1}{v_1}^{p^{-}}, \end{aligned}$$

    Thus

    $$\begin{aligned}1 -2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)} - 2\kappa ^{p^{+}-1}c( \vartheta _{0}\vartheta _{1})^{p^{-}} > 0, \end{aligned}$$

    and

    $$\begin{aligned} \Vert \nabla \jmath \Vert _{p(x)}^{p^{-}} \le \dfrac{2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)}}{1 - 2\kappa ^{p^{+}-1}\vartheta _{0}|\zeta |_{p'(x)} - 2\kappa ^{p^{+}-1}c(\vartheta _{0}\vartheta _{1})^{p^{-}}}. \end{aligned}$$

    That is, B is bounded.

By Schaefer’s fixed point theorem, the operator T has a fixed point \( \jmath \) which is the solution of (1.1). \(\square \)

For our purpose, we consider the following associated problem to (1.1)

$$\begin{aligned} {\left\{ \begin{array}{ll}\displaystyle {\int _{\Omega }}\Vert \nabla \jmath \Vert ^{p(x)-2}\nabla \jmath \nabla v\, dx = \displaystyle {\int _{\Omega }}f(x,\jmath )v\, dx,\;\;\;\forall v \in W_{0}^{1,p(x)}(\Omega ),\\ \jmath \in W_{0}^{1,p(x)}(\Omega ). \end{array}\right. }\end{aligned}$$
(3.1)

Our approach is based on the principle of the sub-super-solution for which the reader can consult [10, 24]. By the sub-solution and the super-solution of (3.1), where, \(\vartheta , \nu \in W_{0}^{1,p(x)}(\Omega ) \) satisfying

$$\begin{aligned} \displaystyle {\int _{\Omega }}|\nabla \vartheta |^{p(x)-2}\nabla \vartheta \nabla v\, dx \le \displaystyle {\int _{\Omega }}f(x,\vartheta )v\, dx,\end{aligned}$$

and

$$\begin{aligned}\displaystyle {\int _{\Omega }}|\nabla \jmath |^{p(x)-2}\nabla \nu \nabla v\, dx\ge \displaystyle {\int _{\Omega }}f(x,\nu )v\, dx,\;\;\forall v \in W_{0}^{1,p(x)}(\Omega ), v \ge 0.\end{aligned}$$

We assume the following conditions:

\(A_3.\):

There exist a subsolution \(\vartheta \in W_{0}^{1,p(x)}(\Omega )\) and a supersolution \(\nu \in W_{0}^{1,p(x)}(\Omega ) \) of (3.1) with \(\vartheta \le \nu . \)

\(A_4.\):

For fixed \( x \in \Omega , \; f(x,s)\) is a nondecreasing function of s for \(\vartheta (x)\le s\le \nu (x).\)

Theorem 3.2

Under the assumptions \( A_1, A_3\) and \( A_4\), (1.1) has at least one solution.

Proof

Consider the subset \( D \subset W_{0}^{1,p(x)}(\Omega ) \) defined as follow

$$\begin{aligned} D = \left\{ \jmath \in W_{0}^{1,p(x)}(\Omega ):\, \vartheta (x)\le \jmath (x)\le \nu (x), \;\forall x \in \Omega \right\} , \end{aligned}$$

and

$$\begin{aligned}T:\; D \longrightarrow W_{0}^{1,p(x)}(\Omega ),\; \; T\jmath = (-\Delta _{p(x)})^{-1}\overline{F}\jmath . \end{aligned}$$

The proof will be completed in several steps.

Step 1::

D is convex. For \( \jmath , w \in D \) and \( t \in \left[ 0, 1\right] \), it is clear to see that \( t\jmath + (1 - t)w \in D.\)

Step 2::

D is closed. If \( (\jmath _n)\) be a sequence in D which converge to \( \jmath _0\) in \(W_{0}^{1,p(x)}(\Omega ).\) Then, \( \jmath _n \longrightarrow \jmath _0 \) in \( L^{p(x)}(\Omega ).\) Therefore, there exists a subsequence also denoted \( (\jmath _{n}) \in L^{p(x)}(\Omega ) \) and \(\psi \in L^{p(x)}(\Omega )\) with \( \jmath _n(x) \longrightarrow \jmath _0(x)\) and \( |\jmath _n(x)| \le \psi (x), \, a.e., x \in \Omega .\) Since \( \vartheta (x) \le \jmath _n(x) \le \nu (x),\) passing to the limit when \(n\rightarrow \infty \), we get \(\vartheta (x) \le \jmath (x) \le \nu (x),\) and hence \(\jmath \in D\).

Step 3::

\( T:\; D \overset{\overline{F}}{\longrightarrow } \widetilde{W}_{0}^{1,p(x)}(\Omega )\overset{ (-\Delta _{p(x)})^{-1}}{\longrightarrow } W_{0}^{1,p(x)}(\Omega ) \) is strongly continuous. Let \( (\jmath _n)\subset D \) be a sequence such that converges weakly to \( \jmath _{0}\) in D. By the strong continuity of \( \overline{F},\) it follows that \( \overline{F}(\jmath _n)\longrightarrow \overline{F}(\jmath _0)\) and the strong convergence of \( T(\jmath _n)\longrightarrow T({{{\jmath }}}_0)\) is ensured by the continuity of \((-\Delta _{p(x)})^{-1}.\)

Step 4::

T is compact.

Step 5::

D is bounded. For \( \jmath \in D, \) we have \( \Arrowvert \jmath \Arrowvert \le \Arrowvert \vartheta \Arrowvert + \Arrowvert \nu \Arrowvert .\)

Step 6::

\( T(D) \subset D. \) Because, if \( \jmath \in D \), then \( \vartheta (x)\le \jmath (x)\le \nu (x), \;x \in \Omega .\) Using assumptions \( A_3\) and \(A_4\) we have \( f(x,\vartheta (x))\le f(x, \jmath (x))\le f(x, \nu (x)).\) Therefore, for any \( v \in W_{0}^{1,p(x)}(\Omega ), \, v \ge 0\) we have

$$\begin{aligned} \displaystyle {\int _{\Omega }}f(x,\vartheta (x))v(x)\, dx\le \displaystyle {\int _{\Omega }}f(x, \jmath (x))v(x)\, dx \le \displaystyle {\int _{\Omega }} f(x, \nu (x))v(x)\, dx.\end{aligned}$$

By the definition of \(\vartheta \) and \(\nu \) we can write

$$\begin{aligned} \displaystyle {\int _{\Omega }}|\nabla \vartheta |^{p(x)-2} \nabla \vartheta \nabla v\,dx&\le \displaystyle {\int _{\Omega }}f(x,\vartheta (x))v(x)\, dx\\&\le \displaystyle {\int _{\Omega }} f(x, \nu (x))v(x)\, dx \\&\le \displaystyle {\int _{\Omega }}|\nabla \nu |^{p(x)-2}\nabla \nu \nabla v\,dx, \end{aligned}$$

that is,

$$\begin{aligned}\langle -\Delta _{p(x)}\vartheta , v \rangle \le \langle \overline{F}\jmath , v \rangle \le \langle -\Delta _{p(x)}\nu , v\rangle .\end{aligned}$$

According to the maximum principle and the monotonicity of \( (-\Delta _{p(x)})^{-1},\) we have

$$\begin{aligned} \vartheta \le T \jmath \le \nu ,\end{aligned}$$

which implies

$$\begin{aligned}\vartheta (x) \le T \jmath (x) \le \nu (x),\;\;\;\; \forall x \in \Omega . \end{aligned}$$

By the Schauder’s fixed point Theorem 2.12, T has a fixed point which is a solution for (1.1). \(\square \)

Remark 3.3

If in Theorems 3.1 and 3.2, we assume that there exists \( x_0 \in \Omega \) with \( f(x_0, 0) \ne 0,\) then the solution of problem (1.1) is non trivial.

For the purpose of support, we provide an example that is completely consistent with the theoretical findings.

Example 3.4

Let \(X=\mathbb {R}^2\), \(\Omega =\{(x_1,x_2):\frac{1}{9}<{x_1}^2+{x_2}^2<\frac{1}{4}\}\). Define \( p:\overline{\Omega }\rightarrow \mathbb {R}\), by

$$\begin{aligned}p(x=(x_1,x_2)):=1+\frac{{x_2}^2}{{x_1}^2}.\end{aligned}$$

Therefore, we have

$$\begin{aligned} p^{\prime }(x=(x_1,x_2)):= \left. {\left\{ \begin{array}{ll} \infty , &{} x\in \Omega _1^p, \\ 1, &{}x\in \Omega _\infty ^p, \\ \frac{p(x)}{p(x)-1}, &{} x\in \Omega , \\ \end{array}\right. } \right. \end{aligned}$$
(3.2)

where \(\Omega _1^p=\{x\in \Omega :p(x)=1\}\) and \(\Omega _\infty ^p=\{x\in \Omega :p(x)=\infty \}\), we can obtain; \(p^{\prime }(x:=(x_1,x_2))=1+\frac{{x_1}^2}{{x_2}^2}\).

Consider the following p(x)–Laplacian Dirichlet problem:

$$\begin{aligned} {\left\{ \begin{array}{ll} -\Delta _{p(x)}\jmath = f(x,\jmath )=f(x_1,x_2,\jmath ((x_1,x_2))=\jmath (x_1,x_2)+2x_1x_2, \quad \;\\ \quad x=(x_1,x_2) \in \Omega ,\\ \jmath = 0 \qquad \quad \quad \quad \quad x \in \partial \Omega . \end{array}\right. } \end{aligned}$$
(3.3)

Setting \(\vartheta _1=1\), \(\kappa =1\) and \( \vartheta _0\ge \frac{\Vert \jmath \Vert _{p(x)}}{\Vert \nabla \jmath \Vert _{p(x)}}, \) we obtain

$$\begin{aligned}0<c<\frac{1}{2{\vartheta _0}^{p^{-}}}. \end{aligned}$$

Therefore, condition \(A_2\) of Theorem 3.1 is satisfied. Moreover, \(A_1\) of Theorem 3.1 holds. Hence, it is easy to see that f is a Carathéodory function and the conditions of Theorem 3.1 are satisfied. Therefore, we conclude that problem (3.3) admits at least a non–trivial solution in \(W_{0}^{1,p(x)}(\Omega ).\)

4 Conclusion

Despite its significance, the investigation of the existence of solutions for elliptic BVPs with the p(x)-Laplacian equation has received limited attention from interested scholars who have elaborated on this topic using various methodologies.

In this paper, we present some different conditions that allow using of variational and topological methods in the case of p(x)-Laplacian to prove the existence of solutions for elliptic BVPs with the p(x)-Laplacian equation. Main theorems are proven using fixed point theorems and the sub-supersolution approach. The paper presents key discoveries on the variable exponent Sobolev space, as well as basic features of the p(x)-Laplacian and Nemytskii operators. When compared to earlier findings, the assumptions made concerning the nonlinearity f in (1.1) appear to be less restrictive given its structure.

It should be emphasised that the findings of this study are significant since they provide a novel approach for establishing the primary results, which can be used to examine solutions for Kirchhoff’s non-local version of the p-Laplace equations in the future.