\documentclass[reqno]{amsart}
\usepackage{hyperref}

\AtBeginDocument{{\noindent\small
\emph{Electronic Journal of Differential Equations},
Vol. 2017 (2017), No. 273, pp. 1--16.\newline
ISSN: 1072-6691. URL: http://ejde.math.txstate.edu or http://ejde.math.unt.edu}
\thanks{\copyright 2017 Texas State University.}
\vspace{8mm}}

\begin{document}
\title[\hfilneg EJDE-2017/273\hfil 
Characterization of solutions]
{Characterization of solutions to equations involving the $p(x)$-Laplace operator}

\author[I. D. St\^ircu, V. F. U\c{t}\u{a} \hfil EJDE-2017/273\hfilneg]
{Iulia Dorotheea St\^ircu, Vasile Florin U\c{t}\u{a}}

\address{Iulia Dorotheea St\^ircu \newline
 Department of Mathematics, University of Craiova,
 200585 Craiova, Romania}
 \email{iulia.stircu@hotmail.com}

 \address{Vasile Florin U\c{t}\u{a} \newline
 Department of Mathematics, University of Craiova,
 200585 Craiova, Romania}
 \email{uta.vasi@yahoo.com}

\dedicatory{Communicated by Vicentiu D. Radulescu}

\thanks{Submitted July 27, 2017. Published November 5, 2017.}
\subjclass[2010]{35D30, 35J60, 58E05}
\keywords{Nonlinear eigenvalue problem; $p(x)$-Laplacian; critical point;
\hfill\break\indent  variable exponent Sobolev spaces;  mountain-pass theorem}

\begin{abstract}
 In this article we study two problems, a nonlinear eigenvalue problem
 involving the $p(x)$-Laplacian and a subcritical boundary value problem
 for the same operator. We work on the variable exponent Sobolev spaces
 and use one of the variants of the Mountain-Pass Lemma.
\end{abstract}

\maketitle
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{corollary}[theorem]{Corollary}
\allowdisplaybreaks

\section{Introduction}

 In the previous few decades, variable exponent Sobolev spaces attracted
 a lot of interest in the study of the partial differential equations.
Problems involving the $p(x)$-Laplace operator such as
 $$
\Delta_{p(x)}:=\operatorname{div}(|\nabla u|^{p(x)-2}\nabla u),
$$
where $p$ is a continuous nonconstant function, were intensely studied.
This differential operator is a natural generalization of the $p$-Laplace
operator $\Delta_p:=\operatorname{div}(|\nabla u|^{p-2})\nabla u)$, where
$p>1$ is a real constant. Due to the fact that the $p(x)$-Laplacian
is nonhomogeneous, it possess more complicated nonlinearities than the
$p$-Laplace operator. For more details we refer to
\cite{alsaedi, bib1, bib25, bib2, bib5, bib6, bib19, konate, bib16, bib15}.

The variable exponent Sobolev spaces are used to model various phenomenona
 which are the image restoration and the modeling of the electrorheoleogical
and thermorheological fluids. The first major discovery on the
electrorheological fluids (or smart fluids) was in 1949, known as the
Winslow effect, and it describes the behavior of certain fluids that
become solids or quasi-solids when they are subjected to an electric field.
 Electrorheological fluids have been used in robotics and space technology.
The experimental research has been mainly in the United States, for instance
in NASA laboratories.

In this article we establish two results. The first one proves an alternative
for a nonlinear eigenvalue problem involving the $p(x)$-Laplacian.
Several ideas developed in the study of the spectrum of such general operators
in divergence form are developed by  Mih\u{a}ilescu,  R\u{a}dulescu,
Repov\u{s} in \cite{bib31},  Molica Bisci,  Repov\u{s} in \cite{bib32},
 and  St\u{a}ncu\c{t},  St\^ircu in \cite{bib33}.
In the second part we study an existence result of a subcritical boundary
value problem for the same operator. To prove our first result we use
a mountain pass lemma on the product space
$W_0^{1,p(\cdot)}(\Omega)\times\mathbb{R}$, considering a special
hyperplane which is intended to separating surface instead of a
sphere \cite{ bib16, bib13}. The result obtained in the second problem
is based on a special version of the mountain pass lemma of
Ambrosetti-Rabinowitz \cite{bib10}. For more details about the Mountain-Pass
Lemma we  refer to \cite{bib25,bib26,bib24}.

This article is organized as follows.
In the next section we make a brief introduction of the variable exponent
Sobolev spaces that is natural to look for weak solutions of this kind of problems.
In section 3 we establish the main results concerning our first problem
and we prove them. Finally, section 4 is dedicated to the study of the
second problem of this paper which implies the $p(x)$-Laplace operator.

\section{Preliminaries}

Let $\Omega$ be a bounded domain in $\mathbb{R}^N$. We define
$$
C_+(\Omega)=\big\{p\in C(\overline{\Omega}):\min_{x\in\Omega}p(x)>1 \big\}
$$
and for any continuous function $p:\overline{\Omega}\to(1,\infty)$, denote
$$
p^-=\inf_{x\in\Omega}p(x)\quad\text{and}\quad p^+=\sup_{x\in\Omega}p(x). 
$$
For any $p\in C_+(\overline{\Omega})$ we define the 
\emph{variable exponent Lebesgue space}
$$
L^{p(x)}(\Omega)=\big\{u:\Omega\to\mathbb{R} \text{ a measurable function}: 
\int_\Omega |u|^{p(x)}\,dx<\infty\big\}.
$$
Equipped with the Luxemburg norm
$$
|u|_{p(x)}=\inf\big\{\mu>0:\int_\Omega\big|\frac{u(x)}{\mu}\big|^{p(x)}\,dx
\leq 1\big\},
$$
$L^{p(x)}(\Omega)$ becomes a Banach space.

If $p(x)=p\equiv$constant for every $x\in \Omega$, then the 
$L^{p(x)}(\Omega)$ space is reduced to the classic Lebesgue space
 $L^{p}(\Omega)$ and the Luxemburg norm becomes the standard norm in 
$L^{p}(\Omega)$, $\|u\|_{L^p}=\left(\int_\Omega |u(x)|^{p}\,dx\right)^{1/p}$.

For $1<p^-\leq p^+<\infty$, $L^{p(x)}(\Omega)$ is a reflexive uniformly 
convex Banach space, and for any measurable bounded exponent $p$, 
the $L^{p(x)}(\Omega)$ space is separable.

If $p_1$ and $p_2$ are two variable exponents such that $p_1(x)\leq p_2(x)$ 
almost everywhere in $\Omega$, with $|\Omega|<\infty$, then there exists 
a continuous embedding
$$
L^{p_2(x)}(\Omega)\hookrightarrow L^{p_1(x)}(\Omega)
$$
whose norm does not exceed $|\Omega|+1$.

We define the conjugate variable exponent $p':\overline\Omega\to(1,\infty)$, 
satisfying $\frac{1}{p(x)}+\frac{1}{p'(x)}=1$, for every
$x\in\overline\Omega$.
We denote by $L^{p'(x)}(\Omega)$ the conjugate space of the $L^{p(x)}(\Omega)$.

If $u\in L^{p(x)}(\Omega)$ and $v\in L^{p'(x)}(\Omega)$ then the 
H\" older type inequality holds:
\begin{equation}\label{holder}
\Big|\int_\Omega uv\,\,dx\Big|
\leq\Big(\frac{1}{p^-}+\frac{1}{{p'}^-}\Big)|u|_{p(x)}|v|_{p'(x)}
\leq 2|u|_{p(x)}|v|_{p'(x)}.
\end{equation}

The modular of the $L^{p(x)}(\Omega)$ space, defined by the mapping 
$\rho_{p(x)}:L^{p(x)}(\Omega)\to \mathbb{R}$,
$$
\rho_{p(x)}(u)=\int_\Omega|u(x)|^{p(x)}\,dx,
$$
has an important role in manipulating the generalized Lebesgue spaces.
If $p(x)=p\equiv$constant for every $x\in\Omega$, then the modular 
$\rho_{p(x)}(u)$ becomes $\|u\|_{L^p}^p$.

If $p(x)\not\equiv$constant in $\Omega$ and $u,u_n\in L^{p(x)}(\Omega)$ then 
the following relations hold:
\begin{gather}\label{modular1}
|u|_{p(x)}<1\;\Rightarrow\;|u|_{p(x)}^{p^+}\leq\rho_{p(x)}(u)\leq|u|_{p(x)}^{p^-},\\
\label{modular2}
|u|_{p(x)}>1\;\Rightarrow\;|u|_{p(x)}^{p^-}\leq\rho_{p(x)}(u)\leq|u|_{p(x)}^{p^+},\\
\label{modular3}
|u|_{p(x)}=1\;\Rightarrow\; \rho_{p(x)}(u)=1,\\
\label{modular4}
|u_n-u|_{p(x)}\to0\;\Leftrightarrow\;\rho_{p(x)}(u_n-u)\to 0.
\end{gather}
For more details about these variable exponent Lebesgue spaces see 
\cite{bib3, bib7, bib12}.

Finally, we define the \emph{variable exponent Sobolev space}
$W^{1,p(x)}(\Omega)$ by
$$
W^{1,p(x)}(\Omega)=\big\{u\in L^{p(x)}(\Omega):|\nabla u|\in L^{p(x)}(\Omega)\big\}
$$
equipped with the equivalent norms
\begin{gather*}
\|u\|_{p(x)}=|u|_{p(x)}+|\nabla u|_{p(x)}, \\
\|u\|=\inf\big\{\mu>0 : \int_{\Omega}\Big(\Big|\frac{\nabla u(x)}{\mu}\Big|^{p(x)}
+\Big|\frac{u(x)}{\mu}\Big|^{p(x)}\Big)\,dx\leq1\Big\}.
\end{gather*}

We define $W^{1,p(x)}_0(\Omega)$ as the closure of $C^{\infty}_0(\Omega)$ 
with respect to the norm $\|\cdot\|_{p(x)}$ or
$$
W^{1,p(x)}_0(\Omega)=\big\{u: u|_{\partial\Omega}=0,
 u\in L^{p(x)}(\Omega), |\nabla u|\in L^{p(x)}(\Omega)\big\}.
$$

If $p^->1$, the function spaces $W^{1,p(x)}(\Omega)$ and 
$W^{1,p(x)}_0(\Omega)$ are reflexive, uniformly convex Banach spaces. 
Furthermore, for any measurable bounded exponent $p$, the spaces 
$W^{1,p(x)}(\Omega)$ and $W^{1,p(x)}_0(\Omega)$ are separable.

For the density of $C_{0}^{\infty}(\Omega)$ in $W^{1,p(x)}_0(\Omega)$ we 
consider $p\in C_+(\overline{\Omega})$ to be logarithmic H\" older continuous, 
so there exists $M>0$ such that
\begin{equation*}
|p(x)-p(y)|\leq\frac{-M}{\log (|x-y|)}, \quad\text{for every }
x,y\in\Omega \text{ with } |x-y|\leq\frac{1}{2}.
\end{equation*}
Moreover, if $\Omega$ is bounded and $p$ is global logarithmic H\" older continuous, 
which means, there exist $C_1, C_2>0$ two constants and $p_\infty$ a real 
constant such that
\begin{gather*}
|p(x)-p(y)|\leq\frac{C_1}{\log \big(e+\frac{1}{|x-y|}\big)}, \quad
\text{for every } x,y\in\Omega, \\
\left|p(x)-p_\infty\right|\leq\frac{C_2}{\log (e+|x|)}, \quad\text{for every } 
x\in\Omega
\end{gather*}
then, on the space $W^{1,p(x)}(\Omega)$ we have the 
Poincar\'e type inequality, so, there exists a constant $C>0$ such that
 \begin{equation}
 |u|_{p(x)}\leq C|\nabla u|_{p(x)}, \quad \forall u\in W^{1,p(x)}_0(\Omega).
 \end{equation}
If $\Omega\subset \mathbb{R}^N$ is a bounded domain and $p$ is global 
log-H\" older continuous on $W^{1,p(x)}_0(\Omega)$, we can work with 
the norm $|\nabla u|_{p(x)}$ equivalent with $\|u\|_{p(x)}$.

As well, we remark that if $s\in C_+(\overline{\Omega})$ and $s(x)<p^*(x)$ 
for every $x\in\overline{\Omega}$, where $p^*(x)=\frac{Np(x)}{N-p(x)}$ and 
$p(x)<N$, the embedding
 $$
W^{1,p(x)}_0(\Omega)\hookrightarrow L^{s(x)}(\Omega)
$$
is compact and continuous.

We define the \emph{modular} of the space $W^{1,p(x)}(\Omega)$ as the mapping
$\varrho: W^{1,p(x)}(\Omega)\to\mathbb{R}$ defined by
$$
\varrho_{p(x)}(u)=\int_\Omega\big(|\nabla u|^{p(x)}+|u|^{p(x)}\big)\,dx.
$$
Then, if $u$, $(u_n)\in W^{1,p(x)}(\Omega)$, the following relations hold:
\begin{gather}\label{modular1 w1p}
\|u\|_{p(x)}<1\;\Rightarrow\;\|u\|_{p(x)}^{p^+}\leq\varrho_{p(x)}(u)
 \leq\|u\|_{p(x)}^{p^-}, \\
\label{modular2 w1p}
\|u\|_{p(x)}>1\;\Rightarrow\;\|u\|_{p(x)}^{p^-}
\leq\varrho_{p(x)}(u)\leq\|u\|_{p(x)}^{p^+}, \\
\label{modular4 w1p}
\|u_n-u\|_{p(x)}\to0\;\Leftrightarrow\; \varrho_{p(x)}(u_n-u)\to0.
\end{gather}
For more properties about these spaces we refer 
\cite{bib18, bib4, bib30, bib17, bib22, bib14, bib20}.
We note that, for simplicity, throughout this paper we use $\|\cdot\|$ 
instead of $\|\cdot\|_{W^{1,p(x)}_0}$.

\section{A nonlinear eigenvalue problem involving the $p(x)$-Laplacian}

Throughout this paper we assume that $p$ satisfies the following properties:
\begin{equation}\label{ipoteza}
\begin{gathered}
p\in C_{+}(\overline{\Omega}),\\
1<p^{-}\leq p(x) \leq p^{+}<\infty,\\
p \text{ is global log-H\"{o}lder continuous}.
\end{gathered}
\end{equation}

Let $\Omega$ be a bounded domain in $\mathbb{R}^N$.
In this section we are concerned in the study of the following nonlinear 
eigenvalue problem involving the $p(x)$-Laplacian
\begin{equation}\label{EQI1}
\begin{gathered}
-\Delta_{p(x)}u=\lambda f(x,u)\quad \text{in } \Omega,\\
u=0\quad  \text{on } \partial\Omega,\\
0<\lambda\leq a,
\end{gathered}
\end{equation}
with constraints on eigenvalues, where $a$ is a positive constant and the 
function $f$ satisfies the following conditions
\begin{itemize}
\item[(H1)] $f$ is a measurable function in $x\in\Omega$ and continuous in 
$u\in\mathbb{R}$, with $f(x,0)\not=0$ on a subset of $\Omega$ 
(where $|\Omega|>0$); then, $f$ is a $Carath\acute{e}odory$ function;

\item[(H2)] $|f(x,u)|\leq c_1 + c_2 |u|^{q(x)-1}$ for almost everywhere in 
$\Omega$ and all $u\in\mathbb{R}$, where $c_1$ and $c_2$ are two positive constants, 
$q\in C_+(\overline{\Omega})$ and 
$1<p^{-}\leq p(x)\leq p^{+}< q^{-}\leq q(x)\leq q^{+}<p^*(x)$, where
\begin{equation*}
p^*(x)=\begin{cases}
\frac{Np(x)}{N-p(x)}, &\text{if } p(x)<N\\
+\infty, &\text{if } p(x)\geq N.
\end{cases}
\end{equation*}

\item[(H3)] for a.e. $x\in\Omega$ and every $u\in\mathbb{R}$, there exist 
$b_1\geq0$ and $b_2\geq0$ two constants, $\beta$ a continuous function and 
$\nu$ a constant with $1\leq\beta(x)<p(x)<\nu$ such that
$$
f(x,u)u-\nu\int_0^u f(x,t)dt\geq-b_1-b_2|u|^{\beta(x)}.
$$
\end{itemize}

We say that $u \in W_{0}^{1,p(x)}(\Omega)$ is a \emph{weak solution} of problem 
\eqref{EQI1} if
$$ 
\int_{\Omega} {|\nabla u|^{p(x)-2}\nabla u \cdot\nabla \varphi}\,dx
- \lambda \int_{\Omega}{f(x,u)\varphi}\,dx=0 , \quad
\text{for all }\varphi \in W_{0}^{1,p(x)}(\Omega).
$$

\begin{remark} \label{rmk3.1} \rm
 If $p,q:\Omega\to(1,\infty)$ are Lipschitz continuous, $p^+<N$ and 
$p(x)\leq q(x)\leq p^*(x)$ for every $x\in\Omega$, then there exists a 
continuous embedding $W^{1,p(x)}_0(\Omega) \\ \hookrightarrow L^{q(x)}(\Omega)$ 
(see \cite{bib14}). Thus, there exists a positive constant $C>0$ such that
 \begin{equation}\label{THI-11}
 |u|_{q(x)}\leq C\|u\|_{W^{1,p(x)}_0}, \quad \text{for any }
 u\in W^{1,p(x)}_0(\Omega).
 \end{equation}
\end{remark}

For using them later, we denote:
\begin{equation}\label{THI-12}
a_1=2c_1 |1|_{q'(x)}\quad\text{and}\quad
a_2=C\left(2c_1|1|_{q'(x)}+c_2(q^-)^{-1}\right).
\end{equation}

We first state a version of the Mountain-Pass Theorem by Ambrosetti 
and Rabinowitz.

\begin{lemma}[\cite{bib16}] \label{LemaMP1}
 Let $X$ be a Banach space and let $J\in C^1(X\times\mathbb{R},\mathbb{R})$ 
be a functional satisfying the hypotheses:

(i) there exist $\rho>0$ and $\alpha>0$ two constants such that 
$J(v,\rho)\geq\alpha$, for every $v\in X$;

 (ii) there exists $r>\rho$ with $J(0,0)=J(0,r)=0$.
Then we have a critical value of $J$, denoted by
 $$
c:=\inf_{g\in\Gamma}\max_{0\leq\tau\leq1} J(g(\tau)),
$$
 where
$$
\Gamma=\left\{g\in C([0,1]),X\times\mathbb{R}); g(0)=(0,0), g(1)=(0,r)\right\}
$$
and
$$
c\geq \inf_{v\in X}{J(v,\rho)}\geq \alpha > 0.
$$
\end{lemma}

Now, we give our result concerning the nonlinear eigenvalue problem \eqref{EQI1}.

\begin{theorem}\label{TH1}
 Suppose that relation \eqref{ipoteza} holds and the hypotheses
{\rm (H1)--(H3)} are satisfied by the function 
$f:\Omega\times\mathbb{R}\to\mathbb{R}$. Let $\gamma:\mathbb{R}\to\mathbb{R}$ 
be a $C^1$ function such that, for some constants $0<\rho<r$, $\sigma>0$, 
the following relations hold:
\begin{itemize} % $(\gamma_1)$ 
\item[(1)] $\gamma(0)=\gamma(r)=0$;

\item[(2)]  $\gamma(\rho)=\dfrac{a_1 + a_2}{\sigma + 1}$;

\item[(3)]  $\lim_{|t|\to\infty}\gamma(t)=+\infty$;

\item[(4)]  $\gamma'(t)<0$ if and only if $t<0$ or $\rho<t<r$.
\end{itemize}
 Then, for every $a>0$, the one the following alternatives holds:
\begin{itemize}
\item[(a)] for the problem \eqref{EQI1}, $a>0$ is an eigenvalue with the
corresponding eigenfunction $u\in W^{1,p(x)}_0(\Omega)$ established by
 $$
\alpha\leq-\int_\Omega\int_0^{u(x)}f(x,t)\,dt\,\,dx
+\frac{1}{a}\int_\Omega \frac{1}{p(x)}|\nabla u|^{p(x)}\,dx\leq a_1 +\alpha
$$
 or

\item[(b)] one can state $z>0$ a number which satisfies
 \begin{equation}\label{THI-31}
 \rho<z<r
 \end{equation}
 and determines by means of the following relations an eigensolution 
$(u,\lambda)\in  W^{1,p(x)}_0(\Omega)\times(0,a]$ of the problem \eqref{EQI1}:
 \begin{gather}\label{THI-13}
 \|u\|= |z|^{-\sigma/q^-}\left(-\gamma'(z)\right)^{1/q^-}
\Big(\int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx\Big)^{-1/q^-}, \\
\label{THI-14}
 \lambda^{-1}= z \big(-\gamma'(z)\big)
\Big(\int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx\Big)^{-1}+a^{-1} , \\
 \label{THI-15}
 \begin{aligned}
 \alpha &\leq z^{\sigma+1}\|u\|^{q^-}\int_{\Omega}{\frac{1}{p(x)}
 |\nabla u|^{p(x)}}\,dx+(\sigma+1)\gamma(z) \\
&\quad -\int_\Omega\int_0^{u(x)}f(x,t)\,dt\,\,dx
  +\frac{1}{a}\int_\Omega \frac{1}{p(x)}|\nabla u|^{p(x)}\,dx\leq a_1 +\alpha.
 \end{aligned}
 \end{gather}
\end{itemize}
\end{theorem}


\begin{proof}
Our purpose is to establish problem \eqref{EQI1} in terms of Lemma \ref{LemaMP1}.
 Therefore, we set a $C^1$ functional 
$J: W^{1,p(x)}_0(\Omega)\times\mathbb{R}\to\mathbb{R}$ associated to our problem, 
defined by
\begin{equation}\label{THI-17}
\begin{aligned}
J(v,t)&=|t|^{\sigma+1}\|v\|^{q^-}\int_{\Omega} {\frac{1}{p(x)}|\nabla v|^{p(x)}}\,dx
 +(\sigma+1)\gamma(t) \\
&\quad -\int_\Omega\int_0^{v(x)}{f(x,t)}\,dt\,\,dx
 +\frac{1}{a}\int_\Omega {\frac{1}{p(x)}|\nabla v|^{p(x)}}\,dx.
\end{aligned}
\end{equation}

First, we remark that from (1) in the assumptions and \eqref{THI-17},  condition
 $(ii)$ of Lemma \ref{LemaMP1} is satisfied.

We may assume, without loss of generality, that $|u|_{q(x)}<1$ and 
$\|u\|<1$, for all $u\in W^{1,p(x)}_0(\Omega)$.

Therefore, by (H2), \eqref{THI-11} and \eqref{THI-12} we deduce that for any
$v\in W^{1,p(x)}_0(\Omega)$,
\begin{equation}\label{THI-18}
\begin{aligned}
\int_\Omega\int_0^{v(x)}f(x,t)\,dt\,\,dx
&\leq c_1\int_\Omega v(x)\,dx + c_2\int_\Omega \frac{1}{q(x)}|v(x)|^{q(x)}\,dx\\
&\leq 2c_1 |1|_{q'(x)}|v|_{q(x)}+\frac{c_2}{q^-}\int_\Omega |v(x)|^{q(x)}\,dx\\
&\leq 2c_1|1|_{q'(x)}|v|_{q(x)}+\frac{c_2}{q^-}|v|^{q^-}_{q(x)}\\
&\leq 2c_1|1|_{q'(x)}+\left(2c_1|1|_{q'(x)}+c_2(q^-)^{-1} \right)|v|^{q^-}_{q(x)}\\
&\leq 2c_1|1|_{q'(x)}+ C\left(2c_1|1|_{q'(x)}+c_2(q^-)^{-1}\right)\|v\|^{q^-}\\
&=a_1+a_2\|v\|^{q^-}.
\end{aligned}
\end{equation}

To apply the mountain pass theorem with a separating surface, established 
in Lemma \ref{LemaMP1}, we need to prove that the functional $J$ satisfies
the condition $J(v, \rho) > \alpha > 0$, for every $v\in W^{1,p(x)}_0(\Omega)$ 
and $\rho$ a fixed constant. So, by \eqref{THI-17}, \eqref{THI-18} and assumption (2)
of this theorem,
\begin{align*}
 J(v,\rho)
&\geq \frac{\rho^{\sigma+1}}{p^+}\|v\|^{q^-}\int_{\Omega}{|\nabla v|^{p(x)}}\,dx
+(\sigma+1)\gamma(\rho)-a_1-a_2\|v\|^{q^-}\\
&\quad +\frac{1}{ap^+}\int_{\Omega}{|\nabla v|^{p(x)}}\,dx\\
 &\geq\|v\|^{q^-}\Big(\frac{\rho^{\sigma+1}}{p^+}\|v\|^{p^+}-a_2\Big)
+(\sigma+1)\gamma(\rho)-a_1
 \geq\alpha,
\end{align*}
for every $v\in W^{1,p(x)}_0(\Omega)$. Therefore, the hypothesis (i) in
 Lemma \ref{LemaMP1} is satisfied.

Now we verify if the functional $J$ satisfies the Palais-Smale condition. 
Let be $(v_n,t_n)$ in $W^{1,p(x)}_0(\Omega)\times\mathbb{R}$ a sequence 
such that $J(v_n,t_n)$ is bounded and
$$
J'(v_n,t_n)=\left(J_v(v_n,t_n),J_t(v_n,t_n)\right)\to 0 \quad
\text{in } W^{-1,p'(x)}(\Omega)\times\mathbb{R},
$$
where $p'(x)=\frac{p(x)}{p(x)-1}$.
Hence,
\begin{gather}\label{THI-19}
|J(v_n,t_n)|\leq M, \\
\label{THI-20}
\begin{aligned}
-J_v(v_n,t_n)
&=|t_n|^{\sigma+1}\|v_n\|^{q^-}\Delta_{p(x)}v_n
 + f(\cdot,v_n)+a^{-1}\Delta_{p(x)}v_n \\
& \to 0 \quad \text{in } W^{-1,p'(x)}(\Omega),
\end{aligned} \\
\label{THI-21}
J_t(v_n,t_n)=|t_n|^{\sigma}(\operatorname{sgn}t_n)\|v_n\|^{q^-}
\int_\Omega \frac{1}{p(x)}|\nabla v_n|^{p(x)}\,dx
+\gamma'(t_n)\to0 \quad \text{in } \mathbb{R}.
\end{gather}

By \eqref{THI-17}, \eqref{THI-18} and \eqref{THI-19} we deduce that
$$
\|v_n\|^{q^-}\Big(|t_n|^{\sigma+1}\int_\Omega \frac{1}{p(x)}|\nabla v_n|^{p(x)}\,dx
-a_2\Big)+(\sigma+1)\gamma(t_n)-a_1\leq M.
$$
Using hypothesis (3) in this theorem, we can prove the sequence $(t_n)$ is 
bounded in $\mathbb{R}$.
We may suppose that $(v_n)$ is bounded away from zero. Forwards, we 
consider two cases.
\smallskip

\noindent\textbf{Case 1:} We suppose that along a subsequence we have $t_n\to0$. 
Thus, by (4), we obtain that
$\gamma'(t_n)\to\gamma(0)=0$.
Therefore, by \eqref{THI-21},
\begin{equation}\label{THI-22}
|t_n|^{\sigma}\|v_n\|^{q^-}\int_\Omega \frac{1}{p(x)}|\nabla v_n|^{p(x)}\,dx\to0
\quad \text{as } n\to\infty.
\end{equation}
From \eqref{THI-17}, \eqref{THI-19} and \eqref{THI-22} we infer that
\begin{equation}\label{THI-23}
\int_\Omega\int_0^{v_n(x)} f(x,\tau)d\tau \,dx
-\frac{1}{a}\int_\Omega\frac{1}{p(x)}|\nabla v_n|^{p(x)}\,dx \quad
\text{is bounded in } \mathbb{R}.
\end{equation}

By \cite[Proposition 12.3.2]{bib23} there exists a function 
$g \in L^{p'(x)}(\Omega)$ such that \\
 $\|\Delta_{p(x)} v_n\|_{W^{-1,p'(x)}}\approx\|g\|_{L^{p'(x)}}$. We know that 
$t_n\to0$ and $v_n$ is bounded away from zero, then from \eqref{THI-22} it follows 
that
\begin{align*}
 & |t_n|^{\sigma+1}\|v_n\|^{q^-}\|\Delta_{p(x)} v_n\|_{W^{-1,p'(x)}}\\
 &\approx |t_n||t_n|^{\sigma}\|v_n\|^{q^-}
 \int_{\Omega}{\frac{1}{p(x)}|\nabla v_n|^{p(x)}}\,dx
\Big(\int_{\Omega}{\frac{1}{p(x)}|\nabla v_n|^{p(x)}}\,dx\Big)^{-1}\|g\|_{L^{p'(x)}}
\to 0
\end{align*}
as $ n\to\infty$.
Then, by \eqref{THI-20} we obtain
\begin{equation}\label{THI-24}
f(\cdot,v_n)+a^{-1}\Delta_{p(x)}v_n\to0\quad \text{as } n\to\infty.
\end{equation}

Taking into account \eqref{THI-23} and \eqref{THI-24} we have that for any 
constant $M>0$, considering $\nu>2$ in (H3),
\begin{align*}
& M+\nu^{-1}\|v_n\| \\
&\geq \frac{1}{a}\int_\Omega \frac{1}{p(x)}|\nabla v_n|^{p(x)}\,dx
 -\int_\Omega\int_0^{v_n(x)}f(x,\tau)d\tau \,dx \\
&\quad +\frac{1}{\nu}\Big(\int_\Omega f(x,v_n)v_n \,dx
+\frac{1}{a}\int_\Omega \left(\Delta_{p(x)} v_n\right)v_n \,dx\Big)\\
&\geq \frac{1}{ap^+}\|v_n\|^{p^+}-\int_\Omega\int_0^{v_n(x)}f(x,\tau)d\tau \,dx
  +\frac{1}{\nu}\int_\Omega f(x,v_n)v_n \,dx-\frac{1}{a\nu}\|v_n\|^{p^-}\\
&= \frac{1}{a}\Big(\frac{1}{p^+}\|v_n\|^{p^+ - p^-}-\frac{1}{\nu}\Big)\|v_n\|^{p^-}
  +\frac{1}{\nu}\int_\Omega\Big(f(x,v_n)v_n-
 \nu\int_0^{v_n(x)}f(x,\tau)d\tau\Big)\,dx,
\end{align*}
for $n$ large enough. By (H3) and \eqref{THI-11} we can provide that there 
exist two constants $e_1\geq0$ and $e_2\geq0$ such that
\begin{align*}
 M+\nu^{-1}\|v_n\|
&\geq\frac{1}{a}\Big(\frac{1}{p^+}\|v_n\|^{p^+ - p^-}-\frac{1}{\nu}\Big)\|v_n\|^{p^-}
- \frac{1}{\nu}\int_\Omega\big(b_1+b_2|v_n|^{\beta(x)}\big)\,dx\\
&\geq\frac{1}{a}\Big(\frac{1}{p^+}\|v_n\|^{p^+ - p^-}-\frac{1}{\nu}\Big)
\|v_n\|^{p^-}-e_1-e_2\|v_n\|^{\beta^-}.
\end{align*}

Since $1\leq\beta^- \leq \beta(x)\leq \beta^+ <p^- \leq p(x)\leq p^+ <\nu$, 
the last inequality ensures that $(v_n)$ is bounded in $W^{1,p(x)}_0(\Omega)$.

We remark  that  hypothesis (H2) ensures that the restriction of Nemytskii's 
operator to $W^{1,p(x)}_0(\Omega)$,
$$
v\in W^{1,p(x)}_0(\Omega)\mapsto f(\cdot, v(\cdot))\in W^{-1,p'(x)}(\Omega),
$$
is a compact mapping, namely, it maps any bounded set onto a relatively 
compact set (see \cite{bib5}). So, passing eventually to a subsequence,
\begin{equation}\label{THI-25}
f(\cdot,v_n(\cdot)) \text{ converges in } W^{-1,p'(x)}(\Omega).
\end{equation}
Therefore, relations \eqref{THI-24} and \eqref{THI-25} ensure that there 
exists a convergent subsequence of $(v_n)$ in $W^{1,p(x)}_0(\Omega)$.
\smallskip

\noindent\textbf{Case 2:} 
We suppose that $(t_n)$ is bounded away from zero. By \eqref{THI-21} we deduce 
that $(v_n)$ is bounded in $W^{1,p(x)}_0(\Omega)$ and consequently, \eqref{THI-25} 
comes true. From \eqref{THI-20} we obtain that
$$
\Delta_{p(x)}v_n\left(a|t_n|^{\sigma+1}\|v_n\|^{q^-}+1\right)
\text{ converges in } W^{-1,p'(x)}(\Omega).
$$
Then, $(\Delta_{p(x)} v_n)$ is convergent in $W^{-1,p'(x)}(\Omega)$. 
Hence, we finally obtain that, up to a subsequence, $(v_n)$ is convergent in 
$W^{1,p(x)}_0(\Omega)$. This ends the proof that the functional $J$ satisfies 
the Palais-Smale condition.

Taking into account that the hypotheses of Lemma \ref{LemaMP1} are satisfied,
there exists $(u,z)$ in $W^{1,p(x)}_0(\Omega)\times\mathbb{R}$ which satisfies
\begin{gather}\label{THI-26}
-\Delta_{p(x)} u=\frac{1}{|z|^{\sigma+1}\|u\|^{q^-}+a^{-1}} f(\cdot,u), \\
\label{THI-27}
|z|^{\sigma}(\operatorname{sgn} z)\|u\|^{q^-}
\int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx+\gamma'(z)=0, \\
\label{THI-28}
\begin{aligned}
&|z|^{\sigma+1}\|u\|^{q^-}\int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx
 +(\sigma+1)\gamma(z)\\
&-\int_\Omega\int_0^{u(x)} f(x,z)\,dt\,dz
  +\frac{1}{a}\int_\Omega \frac{1}{p(x)}|\nabla u|^{p(x)}\,dx\geq\alpha.
\end{aligned}
\end{gather}
Relation \eqref{THI-27} leads us to
\begin{equation}\label{THI-29}
z\gamma'(z)\leq0.
\end{equation}

We consider two possibilities:

(i) If $z=0$ the statement $(a)$ of Theorem \ref{TH1} follows from
\eqref{THI-26} and \eqref{THI-28}. From the definition of $c$ and $\Gamma$ 
in Lemma \ref{LemaMP1}, taking into account the path $g\in\Gamma$ given by
$g(t)=(0,tr)$, for $0\leq t\leq1$, we obtain the second inequality of (a) 
in the Theorem \ref{TH1}.

(ii) In the case that $z\neq 0$, we argue by contradiction. 
If $z<0$ then, following the assumption $(\gamma_4)$, we obtain that $\gamma'(z)<0$,
which is a contradiction with \eqref{THI-29}. Hence, we only consider that 
$z>0$. Again, by (4) in Theorem \ref{TH1} we obtain that
\begin{equation}\label{THI-30}
\rho\leq t\leq r.
\end{equation}

If $t=\rho$ or $t=r$, by \eqref{THI-27} and $(\gamma_4)$, we have $u=0$. 
Thus, we obtain a contradiction between \eqref{THI-26} and hypothesis (H1). 
So, we showed that \eqref{THI-30} is reduced to \eqref{THI-31}. 
Because $z>0$, \eqref{THI-27} yields to \eqref{THI-13}.

Relation \eqref{THI-20} proves that 
$(u,\lambda)\in W^{1,p(x)}_0(\Omega)\times\mathbb{R}$ is an eigensolution of
 problem \eqref{EQI1}, where
\begin{equation}\label{THI-31'}
\lambda=\frac{1}{|z|^{\sigma+1}\|u\|^{q^-}+a^{-1}}.
\end{equation}
Replacing $\|u\|$ as determined by \eqref{THI-13} in \eqref{THI-31'} 
we obtain \eqref{THI-14}. From Lemma \ref{LemaMP1}, making use of
the path $g(t)=(0,tr), \;0\leq t\leq1$, the inequality \eqref{THI-15} follows.
\end{proof}

\begin{corollary}\label{cor1}
 Suppose that the hypotheses {\rm (H1)--(H3)} are satisfied by a function 
$f: \Omega\times\mathbb{R}\to\mathbb{R}$, with the assumption that 
\eqref{ipoteza} holds. Let be a number $a>0$ which is not an eigenvalue of 
problem \ref{EQI1}. So, there exists a sequence 
$\left(u_n, \lambda_n\right)\in W_{0}^{1,p(x)}(\Omega)\times(0,a)$ of 
eigensolutions of \eqref{EQI1} which satisfies
 $$
u_n\to 0 \text{ in } W_{0}^{1,p(x)}(\Omega) \quad\text{and } 
\lambda_n^{-1}\|u_n\|^{p^-}\to 0 \text{ as } n\to \infty.$$
\end{corollary}

\begin{proof}
 Let be $\varepsilon>0$. For any such $\varepsilon$, we can establish 
$\gamma_{\varepsilon}\in C^1 \left(\mathbb{R},\mathbb{R}\right)$ which 
satisfies the hypotheses (1)--(4) of Theorem \ref{TH1} with 
$\rho = \rho_{\varepsilon} < r = r_{\varepsilon}$, depending on $\varepsilon$, 
and $\sigma>0$, $\alpha>0$ independent of $\varepsilon$ such that
 \begin{equation}\label{THI-32}
|\gamma_{\varepsilon}'(t)| \leq \varepsilon^{q^-}t^{-1}
\int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx, \quad 
\forall t \geq \Big(\frac{p^+a_2}{\|u\|^{p^+}}\Big)^{1/(\sigma+1)}.
 \end{equation}
By Theorem \ref{TH1}, there exists the number 
$z=z_{\varepsilon}\in \left(\rho_{\varepsilon}, r_{\varepsilon}\right)$ 
that describes an eigensolution $(u_{\varepsilon}, \lambda_{\varepsilon})$ 
of problem \eqref{EQI1} by relations \eqref{THI-13} and \eqref{THI-14} with 
$u=u_{\varepsilon}$ and $\lambda = \lambda_{\varepsilon}$.
 Obviously, we can suppose that
 \begin{equation}\label{THI-33}
 z_{\varepsilon}\to +\infty \quad \text{as } \varepsilon \to 0.
 \end{equation}

 Therefore, by \eqref{THI-13}, \eqref{THI-32} and \eqref{THI-33} we obtain
 \begin{equation}\label{THI-35}
 \begin{aligned}
 \|u_{\varepsilon}\|
&= z_{\varepsilon}^{-\sigma/q^-}\big(-\gamma'(z_{\varepsilon})\big)^{1/q^-}
\Big(\int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx\Big)^{-1/q^-}\\
 &\leq \varepsilon z_{\varepsilon}^{-(\sigma+1)/q^-} \to 0 \quad \text{as } 
 \varepsilon \to 0.
 \end{aligned}
 \end{equation}
We have the equality
 $$
-\frac{1}{\lambda_{\varepsilon}}\Delta_{p(x)}u_{\varepsilon} 
= f(x, u_{\varepsilon}).
$$

When $\varepsilon \to 0$, taking into account that $u_{\varepsilon}\to 0$ in 
$W_0^{1,p(x)}(\Omega)$ and the hypothesis (H1), it results that 
$\lambda_{\varepsilon}\to 0$ as $\varepsilon \to 0$. Moreover, by \eqref{THI-14} 
we obtain
 \begin{equation}\label{THI-36*}
\lambda_{\varepsilon}^{-1} - a^{-1} 
= z_{\varepsilon} \big(-\gamma'(z_{\varepsilon})\big)
\Big( \int_{\Omega}{\frac{1}{p(x)}|\nabla u|^{p(x)}}\,dx \Big)^ {-1} 
 \leq \varepsilon^{q^-}.
\end{equation}
By \eqref{THI-35} and \eqref{THI-36*} we remark that
\[
\| u_{\varepsilon} \|^{p^-} ( \lambda_{\varepsilon}^{-1} - a^{-1}) 
\leq \varepsilon^{p^-} z_{\varepsilon}^{\frac{-p^-(\sigma +1)}{q^-}}
\varepsilon^{q^-}
= \varepsilon^{q^- + p^+}z_{\varepsilon}^{\frac{-p^-(\sigma +1)}{q^-}}.
\]
 which means, by \eqref{THI-35}, that
 $\lambda_{\varepsilon}^{-1}\| u_{\varepsilon}\|^{p^-}\to 0 $
 as $\varepsilon \to 0$,
and this completes the proof.
\end{proof}

\begin{corollary} \label{coro3.5}
 Considering the hypotheses of Corollary \ref{cor1}, for any $C^1$ 
function $\gamma:\mathbb{R}\to\mathbb{R}$ which satisfies relations 
{\rm (1)--(4)} in theorem \ref{TH1}, with fixed constants
 $\rho, r, \sigma, \alpha$, there exists a one-to-one mapping from 
$[1, +\infty)$ into the set of eigensolutions $\left( u, \lambda\right)$ 
of  problem \eqref{EQI1}. 
Especially, there exist uncountable many solutions $( u, \lambda)$ of
 \eqref{EQI1}.
\end{corollary}

\begin{proof}
 We first remark that if $\gamma\in C^1 (\mathbb{R}, \mathbb{R})$
satisfies the hypotheses $(\gamma_1)-(\gamma_4)$, where 
$\rho, r, \sigma, \alpha$ are given numbers, then this is true for each 
function $\eta\gamma$, where $\eta\geq 1$ is an arbitrary number.

Assume that there exists some $a>0$ which is not an eigenvalue of \eqref{EQI1}. 
If we apply the Theorem \ref{TH1} with $\eta\gamma$, for $\eta\geq 1$, 
replacing $\gamma$, we can find an eigensolution 
$\left( u_{\eta}, \lambda_{\eta}\right)\in W_0^{1,p(x)}(\Omega)\times (0,a)$ 
and a number $z_{\eta}\in (0,r)$ such that
 \begin{equation}\label{THI-36}
\| u_{\eta}\| = z_{\eta}^{-\sigma/q^-}\big(- \gamma'(z_{\eta})\big)^{1/q^-}
\eta^{1/q^-}\Big(\int_{\Omega}{\frac{1}{p(x)}|\nabla u_\eta|^{p(x)}}\,dx\Big)^{-1/q^-}.
 \end{equation}
From \eqref{THI-31'}, we have
 \begin{equation}\label{THI-37}
 \lambda_{\eta}^{-1} = |z_{\eta}|^{\sigma+1} \| u_{\eta}\|^{q^-} + a^{-1}.
 \end{equation}
Let us consider $\eta_1,\eta_2\geq 1$ where $\eta_1\neq\eta_2$. 
Hence, \eqref{THI-37} proves that $z_{\eta_1}=z_{\eta_2}$. 
Therefore, by \eqref{THI-36}, it follows that $\eta_1 = \eta_2$. 
So, we obtain a contradiction which completes the proof.
\end{proof}

\section{A subcritical boundary value problem with variable exponent}

We consider now the other problem related to the $p(x)$-Laplace operator:
\begin{equation}\label{EqV1}
\begin{gathered}
-\Delta_{p(x)}u=\lambda|u|^{p(x)-2}u+|u|^{q(x)-2}u\quad  \text{in } \Omega,\\
u=0\quad  \text{on } \partial\Omega,\\
u\not\equiv 0 \quad\text{in } \Omega,
\end{gathered}
\end{equation}
where $\Omega\subset\mathbb{R}^N (N>3)$ is a bounded domain with smooth boundary, 
$\lambda>0$ is a real number, $p,q$ are continuous functions on
 $\overline{\Omega}$ which satisfy
$$
1< p(x)<q(x)<p^*(x),
$$
where $p^*(x)=\frac{Np(x)}{N-p(x)}$ and $p(x)<N$, for all $x\in\overline{\Omega}$.

\begin{definition}\label{weak-sol2} \rm
 We say that $u\in W^{1,p(x)}_0(\Omega)$ is a  weak solution of
 problem \eqref{EqV1} if
 $$
\int_\Omega |\nabla u|^{p(x)-2}\nabla u\cdot\nabla\varphi \,dx
=\lambda\int_\Omega |u|^{p(x)-2}u\varphi \,dx
 +\int_\Omega |u|^{q(x)-2}u\varphi \,dx,
$$
 for every $\varphi\in W^{1,p(x)}_0(\Omega)$.
\end{definition}

Finally, we give our existence result.

\begin{theorem}\label{TH2}
 If $\lambda<\lambda_{P^*}$, where
\begin{gather*}
\lambda_{P^*}=\inf_{u\in W^{1,p(x)}_0(\Omega)\setminus\{0\}}
\frac{\int_\Omega |\nabla u|^{p(x)}\,dx}{\int_\Omega |u|^{p(x)}\,dx}, \\
1<p^-\leq p(x)\leq p^+<q^-\leq q(x)\leq q^+<p^*(x),
\end{gather*}
with $p$ satisfying hypothesis \eqref{ipoteza}, then there exists a weak
solution for the problem \eqref{EqV1}.
\end{theorem}

The main tool that we use in the proof of the second result is the Mountain-Pass
Theorem in the following variant.

\begin{theorem}[\cite{bib10}] \label{t25}
 Let $X$ be a real Banach space and $F\in C^1(X,\mathbb{R})$ be a functional 
which satisfies the Palais-Smale condition. If $F$ satisfies the following 
geometric conditions
\begin{itemize}
\item[(1)] there exist two constants $R,c_0>0$ such that $F(u)\geq c_0$, 
for every $u\in X$ with $\|u\|=R$,

\item[(2)] $F(0)<c_0$ and there exists $v\in X$ with $\|v\|>R$ such that $F(v)<c_0$,
then there exists at least a critical point for the functional $F$.
\end{itemize}
\end{theorem}


\begin{proof}[Proof of Theorem \ref{TH2}]
We set
\begin{equation*}
a(u,x)=\begin{cases}
u^{q(x)-1} &\text{if } u\geq0,\\
0 &\text{if } u<0,
\end{cases}
\end{equation*}
and define $A(u,x)=\int_0^{u(x)} a(t,x)dt$.
Denote the functional
$$
E(u)=\int_\Omega \frac{1}{p(x)}|\nabla u|^{p(x)}\,dx
 -\lambda\int_\Omega \frac{1}{p(x)}|u|^{p(x)}\,dx
 -\int_\Omega A(u,x)\,dx.
$$
Note that
$$
A(u,x)=\int_0^{u(x)} a(t,x)dt\leq\frac{1}{q(x)}|u|^{q(x)}=C|u|^{q(x)}
$$
and by the fact that $1<p(x)<q(x)<p^*(x)$, it yields that 
$ W^{1,p(x)}_0(\Omega)\subset L^{q(x)}(\Omega)$, which implies that $E$ 
is well defined on $W^{1,p(x)}_0(\Omega)$.
From \cite{bib5} we have that $E$ is a $C^1$ functional and for every 
$\varphi\in W^{1,p(x)}_0(\Omega)$,
$$
E'(u)(\varphi)=\int_\Omega \left(|\nabla u|^{p(x)-2} \nabla u
\cdot\nabla\varphi-\lambda|u|^{p(x)-2} u\varphi \right)\,dx
-\int_\Omega a(u)\varphi \,dx.
$$
By the Definition \ref{weak-sol2} we observe that the critical points of $E$ 
are weak solutions of the problem \eqref{EqV1}.
\end{proof}

Before proceed to the proof of the Theorem \ref{TH2} we will point out some 
results obtained by  Fan,  Zang,  Zhao from the study of the following 
eigenvalue problem
\begin{equation}  \label{eP*} 
\begin{gathered}
-\Delta_{p(x)} u=\lambda|u|^{p(x)-2}u \quad \text{in } \Omega, \\
u\not\equiv 0 \quad \text{in } \Omega,\\
u=0 \quad \text{on } \partial\Omega.
\end{gathered}
\end{equation}

We introduce the following Rayleigh quotient for the above problem:
$$
\lambda_{P^*}=\inf_{u\in W^{1,p(x)}_0(\Omega)\setminus\{0\}}
\frac{\int_\Omega |\nabla u|^{p(x)}\,dx}{\int_\Omega |u|^{p(x)}\,dx}
$$
and the set
$$
\Lambda=\Lambda_{p(x)}=\{\lambda\in\mathbb{R}
 \lambda\text{ is an eigenvalue of \eqref{eP*}}\}.
$$
So, we can deduce in \cite{bib6},
 $$
\lambda_{P^*}=\inf \Lambda
=\inf\Big\{\frac{\int_\Omega |\nabla u|^{p(x)}\,dx}
{\int_\Omega |u|^{p(x)}\,dx}: u\in W^{1,p(x)}_0(\Omega)\setminus\{0\}\Big\}.
$$

\begin{remark} \label{rmk4.4} \rm
 From the assumption that $\lambda<\lambda_{P^*}$ we obtain a constant 
$C_\lambda>0$ such that, for every $u\in W^{1,p(x)}_0(\Omega)$ one has
 \begin{equation}\label{Rem1-39}
 C_\lambda\int_\Omega |\nabla u|^{p(x)} \,dx
\leq\int_\Omega \left(|\nabla u|^{p(x)}-\lambda|u|^{p(x)}\right)\,dx.
 \end{equation}
\end{remark}

The following results play a crucial role in obtaining the existence of a 
nontrivial weak solution for the problem \eqref{EqV1}.

Considering the fact that the space $X=W^{1,p(x)}_0(\Omega)$ equipped with 
the norm $|\nabla u|_{p(x)}=\|u\|$ is a separable and reflexive Banach space,
 from \cite{bib5} we have the following proposition.

\begin{proposition}\label{-D-hmorph}
 \begin{itemize}
\item[(i)] $-\Delta_{p(x)}:X\to X^*$ is a strictly monotone operator;
\item[(ii)] $-\Delta_{p(x)}$ is a mapping of type $(S_+)$, i.e. if
 $u_n\rightharpoonup u$ in $X$ and
\begin{equation*}
\limsup_{n\to\infty}\big<(-\Delta_{p(x)} u_n)- (-\Delta_{p(x)}u), u_n-u\big>\leq0,
\end{equation*}
then $ u_n\to u$ in $X$;
\item[(iii)] $-\Delta_{p(x)}:X\to X^*$ is a homeomorphism.
\end{itemize}
\end{proposition}

\begin{lemma}\label{Lema-PS}
 Assume that hypotheses of the Theorem \ref{TH2} hold, then $E$ admits 
a Palais-Smale sequence.
\end{lemma}

\begin{proof}
 Let $(u_n)$ be a sequence in $W^{1,p(x)}_0(\Omega)$ such that
 \begin{gather}\label{PS1-5}
 \sup_n|E(u_n)|<+\infty, \\
\label{PS2-6}
 \|E'(u_n)\|_{W^{-1,p'(x)}}\to0,\;\text{ as } n\to\infty.
 \end{gather}
First of all we show that $(u_n)$ is bounded in $W^{1,p(x)}_0(\Omega)$. 
Observe that \eqref{PS2-6} implies that, for every $v\in W^{1,p(x)}_0(\Omega)$,
 \begin{equation}\label{PS3-7}
\begin{aligned}
&\int_\Omega\left(|\nabla u_n|^{p(x)-2}\nabla u_n\cdot\nabla v
-\lambda|u_n|^{p(x)-2}u_n v\right)\,dx \\
&=\int_\Omega a(u_n,x)v\,dx+o(1)\|v\|,
\end{aligned}
 \end{equation}
as $n\to\infty$.
Taking $v=u_n$ we obtain
 \begin{equation}\label{PS4-7'}
 \int_\Omega\big(|\nabla u_n|^{p(x)}-\lambda|u_n|^{p(x)}\big)\,dx
 =\int_\Omega a(u_n,x)u_n\,dx+o(1)\|u_n\|.
 \end{equation}
Note that \eqref{PS1-5} means we can find $M>0$ such that, for any $n\geq1$,
 \begin{equation}\label{PS5-9}
\Big|\int_\Omega \frac{1}{p(x)}\left(|\nabla u_n|^{p(x)}
-\lambda|u_n|^{p(x)}\right)\,dx-\int_\Omega A(u_n,x)\,dx\Big|\leq M.
 \end{equation}
A direct computation shows that
 \begin{equation}\label{PS6-10}
 \int_\Omega a(u_n,x)u_n \,dx=\int_\Omega q(x) A(u_n,x)\,dx.
 \end{equation}
By \eqref{PS4-7'}, \eqref{PS5-9}, \eqref{PS6-10} and $1<p^+<q^-\leq q^+$ we find that
 \begin{equation}\label{PS7-11}
 \int_\Omega A(u_n,x)\,dx= O(1)+o(1)\|u_n\|.
 \end{equation}
Hence, using \eqref{PS4-7'} and \eqref{PS7-11} we obtain
 $$
\int_\Omega\left(|\nabla u_n|^{p(x)}-\lambda|u_n|^{p(x)}\right)\,dx
\leq O(1)+o(1)\|u_n\|.
$$
 Therefore,
 $$
\int_\Omega |\nabla u_n|^{p(x)}\,dx= O(1)+o(1)\|u_n\|,
$$
thus $(u_n)$ is bounded in $W^{1,p(x)}_0(\Omega)$.

 Now, we point out that $(u_n)$ is relatively compact. 
We can write \eqref{PS3-7} as
 \begin{equation}\label{PS8-12}
 \int_\Omega |\nabla u_n|^{p(x)-2}\nabla u_n\cdot\nabla v\,dx
=\int_\Omega \theta(u_n,x)v \,dx+ o(1)\|v\|,
 \end{equation}
for every $v\in W^{1,p(x)}_0(\Omega)$, where
$\theta(u,x)=a(u,x)+\lambda|u|^{p(x)-2}u$,
 and $\lambda<\lambda_{P^*}$.

 It is clear that $\theta$ is continuous, because $q(x)<\frac{Np(x)}{N-p(x)}$, 
for every $x\in\overline{\Omega}$, and there  exists $C>0$ such that
 \begin{equation}\label{PS9-13}
 |\theta(u,x)|\leq C\left(1+ |u|^{(Np(x)-N+p(x))/(N-p(x))}\right),
 \end{equation}
 for every $x\in\overline{\Omega}$ and $u\in\mathbb{R}$.
Furthermore
 \begin{equation}\label{PS10-14}
 \theta(u,x)=o\left(|u|^{Np(x)/(N-p(x))}\right), \quad
\text{as } |u|\to\infty, \text{ uniformly for } x\in\Omega.
 \end{equation}

We define $-\Delta_{p(x)}:W^{1,p(x)}_0(\Omega)\to W^{-1,p'(x)}(\Omega)$, by
 \begin{equation*}
 -\Delta_{p(x)}=-\mathrm{div}\left(|\nabla u|^{p(x)-2}\nabla u\right).
 \end{equation*}
Using Proposition \ref{-D-hmorph} the operator 
$\left(-\Delta_{p(x)}\right)$ is invertible, continuous and the operator
 $$
\left(-\Delta_{p(x)}\right)^{-1}:W^{-1,p'(x)}(\Omega)\to W^{1,p(x)}_0(\Omega)
$$
is continuous. Therefore it is sufficient to prove that $\theta(u_n,x)$
 is relatively compact in $W^{-1,p'(x)}(\Omega)$. 
Using the Sobolev embeddings for variable exponent spaces, this will be 
obtained by proving that a subsequence of $\theta(u_n,x)$ is convergent in
 $$
\Big(L^{Np(x)/(N-p(x))}(\Omega)\Big)^*=L^{Np(x)/(Np(x)-N+p(x))}(\Omega).
$$
Knowing that $(u_n)$ is bounded in 
$W^{1,p(x)}_0(\Omega)\subset L^{Np(x)/(N-p(x))}(\Omega)$, 
we can suppose, up to a subsequence eventually, that
 $$
u_n\to u \in L^{p^*(x)}(\Omega) \text{ a.e. in } \Omega.
$$
Using \cite[Egorov Theorem]{Brezis}, for each $\delta$, there exists 
$B\subset\Omega$, with $|B|<\delta$, such that
 $u_n\to u$,  uniformly in $\Omega\setminus B$.
 So, it is sufficient to prove that
 $$
\int_B\left|\theta(u_n,x)-\theta(u,x)\right|^{Np(x)/(Np(x)-N+p(x))}\,dx<\xi,
$$
 for any fixed $\xi>0$. But by \eqref{PS9-13},
 $$
\int_B\left|\theta(u,x)\right|^{Np(x)/(Np(x)-N+p(x))}\,dx
\leq C\int_B\left(1+|u|^{Np(x)/(N-p(x))}\right)\,dx
$$
 which for a sufficiently small $\delta>0$, can be made small enough.

 By \eqref{PS10-14}, we obtain
 \begin{align*}
&\int_B\left|\theta(u_n,x)-\theta(u,x)\right|^{Np(x)/(Np(x)-N+p(x))}\,dx\\
&\leq\varepsilon\int_B\left|u_n-u\right|^{Np(x)/(N-p(x))}\,dx+C_\varepsilon|B|,
\end{align*}
which can be  made arbitrarily small, by Sobolev embeddings for spaces with 
variable exponent and by the boundedness of $(u_n)$ in $W^{1,p(x)}_0(\Omega)$.
Therefore, $E$ admits a Palais-Smale sequence.
\end{proof}

\begin{lemma}\label{Lema-MP-geom1}
 Under the conditions of Theorem \ref{TH2} for the energy functional
 $E:W^{1,p(x)}_0(\Omega)\to\mathbb{R}$, there exist two constants 
$R,c_0>0$ such that $E(u)\geq c_0$, for every $u\in W^{1,p(x)}_0(\Omega)$ 
with $\|u\|=R$.
\end{lemma}

\begin{proof}
For every $u\in \mathbb{R}$,  we can write
 $|a(u,x)|\leq |u|^{q(x)-1}$.
Hence, for every $u\in\mathbb{R}$,
 \begin{equation}\label{4}
 |A(u,x)|\leq\frac{1}{q(x)}|u|^{q(x)}.
 \end{equation}
Now, \eqref{Rem1-39} and \eqref{4} yield 
 \begin{align*}
 E(u)&=\int_\Omega \frac{1}{p(x)}|\nabla u|^{p(x)}\,dx
 -\lambda\int_\Omega \frac{1}{p(x)}|u|^{p(x)}\,dx-\int_\Omega A(u,x)\,dx\\
 &=\int_\Omega \frac{1}{p(x)}\left(|\nabla u|^{p(x)}-\lambda|u|^{p(x)}\right)\,dx
 -\int_\Omega A(u,x)\,dx\\
 &\geq\frac{C_{\lambda}}{p^+}\int_\Omega |\nabla u|^{p(x)}\,dx
-\frac{1}{q^-}\int_\Omega |u|^{q(x)}\,dx\\
 &= C_1\int_\Omega |\nabla u|^{p(x)}\,dx- C_2\int_\Omega |u|^{q(x)}\,dx,
 \end{align*}
where $C_1$ and $C_2$ are positive constants.

By the hypothesis $1<p^-\leq p^+<q^-\leq q^+<p^*(x)$ the embedding 
$W^{1,p(x)}_0(\Omega) \hookrightarrow L^{q(x)}(\Omega)$ is compact and continuous, 
hence there exists a constant $\tilde C>0$ such that
$$
\|u\|_{L^{q(x)}}\leq \tilde C \|u\|_{W^{1,p(x)}_0}.
$$
Therefore, we may find a constant $C_3>0$, such that
 $$
E(u)\geq C_1\int_\Omega |\nabla u|^{p(x)}\,dx- C_3(\|u\|^{q^+}+\|u\|^{q^-}).
$$
Set $\|u\|=|\nabla u|_{p(x)}<1$. Hence
 $|\nabla u|^{p^+}\leq\rho_{p(x)}(\nabla u)$, which leads to 
 $$
E(u)\geq C_1 |\nabla u|_{p(x)}^{p^+}- C_3(\|u\|^{q^+}+\|u\|^{q^-})
$$
and from the hypothesis $1<p^-\leq p^+<q^-\leq q^+$ we have
 $$
E(u)\geq C_1 |\nabla u|_{p(x)}^{p^+}- C_3(\|u\|^{q^+}+\|u\|^{q^-}).
$$
For $R>0$ small enough, taking $|\nabla u|_{p(x)}=\|u\|=R$, we deduce that
 $E(u)\geq c_0>0$.
\end{proof}

\begin{lemma}\label{Lema-MP-geom2}
 Assuming that the hypotheses of Theorem \ref{TH2} hold, 
for the energy functional $E:W^{1,p(x)}_0(\Omega)\to\mathbb{R}$, 
there exist two constants $R,c_0>0$ such that $E(0)<c_0$ and there exists
 $v\in W^{1,p(x)}_0(\Omega)$ with $\|v\|>R$ such that $E(v)<c_0$.
\end{lemma}

\begin{proof}
 We choose $u_0\in W^{1,p(x)}_0(\Omega)$, $u_0>0$ in $\Omega$ and $t>0$.
From a straightforward computation we obtain
 \begin{align*}
 E(t u_0)
&=\int_\Omega \frac{t^{p(x)}}{p(x)}\left(|\nabla u_0|^{p(x)}
 -\lambda|u_0|^{p(x)}\right)\,dx
 -\int_\Omega \frac{t^{q(x)}}{q(x)}|u_0|^{q(x)}\,dx\\
&\leq \frac{t^{p^+}}{p^-}\int_\Omega \left(|\nabla u_0|^{p(x)}
-\lambda|u_0|^{p(x)}\right)\,dx
- \frac{t^{q^-}}{q^+}\int_\Omega |u_0|^{q(x)}\,dx.
 \end{align*}
Since $p^+<q^-\leq q^+$, for $t$ large enough we obtain
$ E(tu_0)<0<c_0$.
Then we can consider $v=tu_0$ with $\|v\|=t\|u_0\|>R$ such that 
$E(v)<c_0$, for $t>0$ chosen sufficiently large.
\end{proof}

\begin{proof}[Proof of Theorem \ref{TH2} completed]
 Since the Palais-Smale condition and the mountain pass geometry are 
assured by Lemmas \ref{Lema-PS}, \ref{Lema-MP-geom1} and \ref{Lema-MP-geom2}, 
we only have to apply Theorem \ref{t25} and the existence of a nontrivial 
weak solution is assured.
\end{proof}

\begin{thebibliography}{99}

\bibitem{alsaedi} R. Alsaedi;
 Perturbed subcritical Dirichlet problems with variable exponents, 
\emph{Electron. J. Differential Equations}, Vol. 2016 (2016), No. 295, pp. 1-12.

\bibitem{bib1} C. O. Alves, M. A. Souto;
 Existence of solutions for a class of problems in $\mathbb{R}^N$ involving the 
$p(x)$-Laplacian, in Contributions to Nonlinear Analysis, 
A Tribute to D.G. de Figueiredo on the Occasion of his $70$th Birthday 
(T. Cazenave, D. Costa, O. Lopes, R. Man\' asevich, P. Rabinowitz, 
B. Ruf, C. Tomei, Eds.), 
\emph{Series: Progress in Nonlinear Differential Equations and Their Applications}
 \textbf{66}, Birkh\" auster, Basel, 2006, pp.17--32.

\bibitem{bib18} G. Autuori, P. Pucci;
 Asymptotic stability for Kirchoff systems in variable exponent Sobolev spaces, 
\emph{Complex Var. Elliptic Equ.} \textbf{56}(2011), No. 7-9, 715--753.

\bibitem{Brezis} H. Brezis;
 \emph{Analyse fonctionnelle: th\' eorie et applications}, Masson, Paris, 1992.

\bibitem{bib25} M. Cencelj, D. Repov\u{s}, \v{Z}. Virk;
 Multiple perturbations of a singular eigenvalue problem,
 \emph{Nonlinear Anal.}, \textbf{119} (2015), 37--45.

\bibitem{bib2} J. Chabrowski, Y. Fu;
Existence of solutions for $p(x)$-Laplacian problems on a bounded domain, 
\emph{J. Math. Anal. Appl.}, \textbf{306} (2005), 604--618.

\bibitem{bib23} L. Diening, P. Harjulehto, P. H\"ast\"o;
\emph{Lebesgue and Sobolev spaces with variable exponents}, Springer, 2010.

\bibitem{bib3} D. E. Edmunds, J. Lang, A. Nekvinda;
On $L^{p(x)}$ norms, \emph{Proc. Roy. Soc. London Ser. A}, \textbf{455} (1999),
219--225.

\bibitem{bib4} D. E. Edmunds, J. R\'akosn\'ik;
 Sobolev embedding with variable exponent, \emph{Studia Math.}, \textbf{143}
(2000), 267--293.

\bibitem{bib5} X. Fan, Q. Zhang;
 Existence of solutions for $p(x)$-Laplacian Dirichlet problems, 
\emph{Nonlinear Anal.}, \textbf{52} (2003), 1843--1852.

\bibitem{bib6} X. Fan, Q. Zhang, D. Zhao;
 Eigenvalues of $p(x)$-Laplacian Dirichlet problems, 
\emph{J. Math. Anal. Appl.}, \textbf{302} (2005), 306--317.

\bibitem{bib19} R. Filippucci, P. Pucci, V. R\u adulescu;
 Existence and non-existence results for quasilinear elliptic exterior 
problems with nonlinear boundary conditions, 
\emph{Comm. Partial Differential Equations}, \textbf{33} (2008), No. 4-6, 706--717.

\bibitem{bib30} Y. Fu, Y. Shan;
On the removability of isolated singular points for elliptic equations 
involving variable exponent, \emph{Adv. Nonlinear Anal.},
\textbf{5} (2016), no. 2, 121--132.

\bibitem{konate} I. Konate, S. Ouaro;
 Good Radon measure for anisotropic problems with variable exponent, 
{\it Electron. J. Diff. Equ.}, Vol. 2016 (2016), No. 221, pp. 1-19.

\bibitem{bib7} O. Kov\'a\u{c}ik, J. R\'akosn\'ik;
On spaces $L^{p(x)}$ and $W^{1,p(x)}$, \emph{Czechoslovak Math. J.},
\textbf{41} (1991), 592--618.

\bibitem{bib31} M. Mih\u{a}ilescu, V. R\u{a}dulescu, D. Repov\u s;
 On a non-homogeneous eigenvalue problem involving a potential: 
an Orlicz-Sobolev space setting, \emph{J. Math. Pures Appl.}, (9)
\textbf{93} (2010), no. 2, 132--148.

\bibitem{bib32} G. Molica Bisci, D. Repov\u{s}; 
Multiple solutions for elliptic equations involving a general operator 
in divergence form, \emph{Ann. Acad. Sci. Fenn. Math.}, \textbf{39} (2014),
no. 1, 259--273.

\bibitem{bib16} D. Motreanu;
 A new approach in studying one parameter nonlinear eigenvalue problems with 
constraints, \emph{Nonlinear Anal.}, \textbf{60} (2005), No. 3, 443--463.

\bibitem{bib10} D. Motreanu, V. R\u{a}dulescu;
 Existence theorems for some classes of boundary value problems involving the 
$p$-Laplacian, \emph{PanAmerican Math. Journal}, \textbf{7} (1997), No.2, 53--66.

\bibitem{bib15} D. Motreanu, V. R\u{a}dulescu;
 Variational and Nonvariational Methods in Nonlinear Analysis and Boundary 
Value Problems, \emph{Nonconvex Optimization and Its Applications} \textbf{67},
 Kluwer Academic Publishers, Dordrecht, 2003.

\bibitem{bib11} M. Moussaoui, L. Elbouyahyaouy;
 Existence of solutions for Dirichlet problem with $p(x)$-Laplacian, 
\emph{Bol. Soc. Paran. Mat.}, \textbf{33} 2 (2015), 241--248.

\bibitem{bib12} J. Musielak;
 \emph{Orlicz Spaces and Modular Spaces}, Lecture notes in Mathematics
\textbf{1034}, Springer, Berlin, 1983.

\bibitem{bib26} P. Pucci, V. R\u{a}dulescu;
 The impact of the mountain pass theory in nonlinear analysis:
 a mathematical survey, \emph{Boll. Un. Ital. B}, Ser IX, \textbf{III} (2010),
543--582.

\bibitem{bib24} P. Pucci, J. Serrin;
 The structure of the critical set in the Mountain Pass Theorem, 
\emph{Trans. Amer. Math. Soc.}, \textbf{299} (1987), 115--132.

\bibitem{bib17} P. Pucci, Q. Zhang;
 Existence of entire solutions for a class of variable exponent elliptic 
equations, \emph{J. Differential Equations}, \textbf{257} (2014), No. 5,
1529--1566.

\bibitem{bib13} P. H. Rabinowitz;
 Minmax Methods in Critical Point Theory with Applications to Differential 
Equations, \emph{CBMS Reg. Conf. Ser. Math} \textbf{65},
Amer. Math. Soc., Providence, R.I., 1986.

\bibitem{bib22} V. R\u{a}dulescu;
 Nonlinear elliptic equations with variable exponent: old and new, 
\emph{Nonlinear Anal.}, \textbf{121} (2015), 336--369.

\bibitem{bib14} V. R\u{a}dulescu, D. Repov\u{s};
 \emph{Partial Differential Equations with Variable Exponents: Variational
 Methods and Qualitative Analysis}, CRC Press, Taylor and Francis Group,
Boca Raton FL, 320, pp. 2015.

\bibitem{bib20} D. Repov\u{s};
 Stationary waves of Schr\"odinger-type equations with variable exponent, 
\emph{Anal. Appl. (Singap.)}, \textbf{13} (2015), No. 6, 645--661.

\bibitem{bib33} I. St\u{a}ncu\c t, I. St\^ircu;
 Eigenvalue problems for anisotropic equations involving a potential on 
Orlicz-Sobolev type spaces, \emph{Opuscula Math.}, \textbf{36} (2016),
no. 1, 81--101.

\end{thebibliography}


\end{document}
