1 Introduction

Dirichlet’s problem for a class of nonlinear differential equations with nonstandard growth condition is a subject of a study of boundedness and compactness results in variable exponent Lebesgue and Sobolev spaces. In this paper, the exponent functions are characterized for the weighted Hardy’s operator to be bounded and compact, to get its application to the solvability problem of the first boundary value problem for a concrete class of nonlinear ode coming from the physics.

Mostly log-regularity condition near origin and infinity is considered in a study the boundedness and compactness results for Hardy’s operator in weighted variable exponent Lebesgue spaces (see, e.g., [4,5,6, 13,14,15]). The originality of the present study placed also in that, we do not use traditional logarithmic regularity condition for the exponent functions. In place, the conditions of almost decreasing (a.d.) and (or) almost increasing (a.i.) are assumed near the origin and l. The idea of use a.i. (or a.d.) condition is new and essentially comes from [9, 11, 12]. The cited studies show effectiveness of this conditions (a.i. or a.d.) in study the boundedness and compactness properties of Hardy’s operator in variable exponent Lebesgue space.

The equations with nonstandard growth condition appear, e.g., in modeling the so-called "Winslow effect" phenomena for smart materials [20]. For solvability of the arising nonlinear differential equations, Ambrosetti–Rabinovich’s mountain pass theorem approach turns out fruitful (see, e.g., [3, 18, 19]). In addition, the variable exponent and variable order approaches find application in the theory of nonlinear pde and modeling of different physical phenomena of modern applied science (see, e.g., [1, 2, 10, 16, 17, 21, 22]).

In light of the mentioned results on problem (1), Theorem 3.6 turns out to be actual, since it states \( \lambda _1=0 \) for the eigenvalue problem (2) (since for any \( \lambda >0 \), there exist a solution of the eigenvalue problem). According to [7], if \( p^- >1 \), then there are a sequence of discreet eigenvalues \( \lambda _n \) with \( \lambda _\infty =\lim \sup \lambda _n= \infty \) and \( \lambda _1=\lim \inf \lambda _n \ge 0 \) of the eigenvalue problem:

$$\begin{aligned} {\left\{ \begin{array}{ll} \text{ div } \left( \vert \nabla u\vert ^{p(x)-2} \nabla u \right) +\lambda \vert u \vert ^{p(x)-2}u =0 \quad \text {in} \quad \Omega \subset {\mathbb {R}}^N, \\ u=0 \quad \text {on} \quad \partial \Omega , \end{array}\right. } \end{aligned}$$
(1)

which implies that the list eigenvalue may be equal to zero. In [7], it was proved that this problem may has \( \lambda _1=0 \) provided that there exists an open set \( U\subset \Omega \) and a point \( x_0 \in U \), such that \( p(x_0)< (\text {or} > ) p(x) \) for all \( x\in \partial \Omega . \)

Note, the list eigenvalue of the problem (1) is positive in the case of constant exponent (or according to [8], for one-dimensional case with monotony variable exponent p(x) ).

2 Notation, definitions

For \( 1<p<\infty \), the \( p^\prime \) denotes conjugate number, \( \frac{1}{p}+\frac{1}{p^\prime }=1 \); for \( p=\infty \), the \( p^\prime =1 \), and for \( p=1 \), the \( p^\prime =\infty \). The notations \( p^{+}={\sup }_{t\in (0,l)} \, p(t) \) and \( p^{-}={\inf }_{t \in (0,l)}\, p(t) \) are used to denote essential maximum and minimum values of a measurable function \( p(\cdot ) \). \( \chi _{E} \)-denotes the characteristic function of set E.

\( C, C_{1}, C_{2}, \ldots \) denote different constants, the values of which are not essential and may be varied in each appearance.

Denote \( Hf(x)=\int \nolimits _{0}^{x}f(t)\mathrm{d}t \)—the Hardy operator and \( H^{*}f(x)=\int \nolimits _{x}^{l}f(t)\, \mathrm{d}t \)—its conjugate.

We say that the function \( g:(0,l) \rightarrow (0,\infty ) \) is almost increasing (decreasing) if there exists a constant \( C>0 \), such that for any \( 0<t_1<t_2<l \), the inequality \( g(t_{1})\le Cg(t_{2}) \, ( g(t_{1})\ge Cg(t_{2})) \) holds.

Define the following variable exponent spaces that will be used in this paper. For a function f(x) and the exponent p(x) , define the modular

$$\begin{aligned} I_{p(\cdot )}(f)=\int \limits _0^l \vert f(x)\vert ^{p(x)} \, {\text {d}}x. \end{aligned}$$

The variable exponent Lebesgue space \( L^{p(\cdot )}(0,l) \) is a space of measurable functions \( f: (0,l)\rightarrow {\mathbb {R}}^n \) with finite norm:

$$\begin{aligned} \Vert f(x) \Vert _{L^{p(\cdot )}(0,l)}=\inf \left\{ \lambda >0: I_{p(\cdot )}\left( \frac{ f(x)}{\lambda } \right) \le 1 \right\} . \end{aligned}$$

Denote \( L^{p(\cdot ), \beta }(0,l) \) the space of measurable functions in (0, l) with finite norm \( \Vert x^\beta f(x) \Vert _{L^{p(.)}(0,l)}\).

\( W_\beta ^{1, p(\cdot )} (0,l) \) denotes a Sobolev space of absolutely continuous functions \( f:(0,l)\rightarrow \mathbb {R}, \, f(0)=0 \) endowed with a norm:

$$\begin{aligned} \Vert f \Vert _{W_\beta ^{1, p(\cdot )}(0,l)} =\Vert x^{\beta }f^\prime (x) \Vert _{L^{p(\cdot )}(0,l)} . \end{aligned}$$

Denote \( \tilde{L}^{p,\beta }(0,l) \) a space of measurable functions with finite norm \( \Vert (xl-x^2)^{\beta } f(x)\Vert _{L^{p(\cdot )}(0,l)} .\) Denote \( \tilde{W}_\beta ^{1, p(\cdot )}(0,l) \) a Sobolev space of absolutely continuous functions on (0, l) with \( y(0)=y(l)=0 \) and having a finite norm:

$$\begin{aligned} \left\| y\right\| _{\tilde{W}_\beta ^{1, p(.)}(0,l)}=\left\| d(x)^{\beta }\frac{{\text {d}}y}{{\text {d}}x}\right\| _{L^{p(\cdot )}(0,l)}, \end{aligned}$$

where \( d(x)=\min \{x,l-x\}. \) Since \( xl-x^2 \) for \( 0<x<l \) is equivalently to ld(x) , sometimes, we may use expression \( lx-x^2 \) in place of ld(x).

Denote \( \bar{W}_\beta ^{1, p(\cdot )}(0,l) \) a closure of \(C_0^\infty (0,l)\) functions in the norm of space \( \tilde{W}_\beta ^{1, p(\cdot )}(0, l). \)

Definition

Consider the eigenvalue problem:

$$\begin{aligned} {\left\{ \begin{array}{ll} \frac{\mathrm{d}}{{\text {d}}x}\Big ( d(x)^{\beta p(x)} \big \vert \frac{{\text {d}}y}{{\text {d}}x} \big \vert ^{p(x)-2} \frac{{\text {d}}y}{{\text {d}}x} \Big ) +\lambda \, b(x) \vert y(x) \vert ^{q(x)-2} y(x) d(x)^{q(x)(\beta -\frac{1}{p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)} )}=0,\\ 0<x<l, \, \, y(0)=y(l)=0, \, \, \lambda \in {\mathbb {R}}, \end{array}\right. } \end{aligned}$$
(2)

where b(x) is a positive bounded measurable function on (0, l).

We say that the function \( y=y(x) \) is a solution of the preceding problem if \(y \in \bar{W}_\beta ^{1, p(\cdot )}(0, l) \) and for any \( v \in \bar{W}_\beta ^{1, p(\cdot )}(0, l) \), it holds the identity

$$\begin{aligned} \int \limits _0^l d(x)^{\beta p(x)} \big \vert y^\prime \big \vert ^{p(x)-2} y^\prime (x) v^\prime (x) {\text {d}}x +\lambda \, \int \limits _0^l b(x)\vert y(x) \vert ^{q(x)-2} y(x) v(x) d(x)^{q(x) \big (\beta {-}1 / p^\prime (x)-(1+\varepsilon ) / q(x) \big )} \, {\text {d}}x = 0.\nonumber \\ \end{aligned}$$
(3)

3 Main results

Following main results are obtained in this paper.

Theorem 3.1

Let \( q, p: (0,l) \rightarrow (1,\infty ) \) be measurable functions on (0, l) , such that

$$\begin{aligned} 1< p^- \le p(x) \le q(x) \le q^+< \infty \end{aligned}$$
(4)

and

$$\begin{aligned} \beta < 1-\frac{1}{p^-}. \end{aligned}$$
(5)

Assume that p be monotony increasing near origin and there exists \( \varepsilon >0 \), such that the function \( x^{\beta - \frac{1}{p^{\prime }(x)}+\varepsilon } \) a.d. on a little \( \delta \)-neighborhood of origin.

Then, operator H acts boundedly from \( L^{p(\cdot ), \beta } (0, l) \) into \( L^{q(\cdot ), \beta -\frac{1}{p^{\prime }(\cdot )}-\frac{1}{q(\cdot )}}(0,l) \). Moreover, the norm of mapping depends on \( p^{-}, p^{+}, \varepsilon , \beta , \delta . \)

For any absolutely continues function, \( y:(0,l)\rightarrow \mathbb {R} \) with \( y(0)=0 \) Theorem 3.1 immediately gives the inequality:

$$\begin{aligned} \left\| x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}} y(x)\right\| _{L^{q(x)}(0,l)}\le C\left\| x^{\beta }y^\prime (x)\right\| _{L^{p(x)}(0,l)}, \end{aligned}$$
(6)

i.e., the following assertion takes place.

Theorem 3.2

Let \( q, p: (0, l) \rightarrow (1, \infty ) \) be measurable functions satisfying (4) and (5). Let p be monotony increasing near origin and there exists \( \varepsilon >0 \), such that the function \( x^{\beta -\frac{1}{p^{\prime }}+\varepsilon } \) a.d. on a little \( \delta \) neighborhood of origin.

Then, the identity operator maps boundedly space of functions \( y\in \bar{W}_\beta ^{1, p(\cdot )}(0,l) \) with \( y(0)=0 \) into \( L^{q(\cdot ), \beta -\frac{1}{p^{\prime }(\cdot )}-\frac{1}{q(\cdot )}}(0, l). \) Moreover, the norm of mapping is estimated by a constant depending on \( p(\cdot ), q(\cdot ), \varepsilon , \delta , \beta . \)

Theorem 3.3

Let \( q, p: (0, l) \rightarrow (1, \infty ) \) be measurable functions satisfying (4) and (5). Let \( p(\cdot ) \) be increasing near origin and there exists \( \varepsilon >0 \) such that \( x^{\beta -\frac{1}{p^{\prime }(x)}+\varepsilon } \) a.d. a little \( \delta \)-neighborhood of origin.

Then, operator H acts compactly \( L^{p(\cdot ),\beta } (0, l) \) into \( L^{q(\cdot ), \beta - \frac{1}{p^{\prime }(\cdot )} - \frac{1-\varepsilon }{q(\cdot )}}(0, l). \)

Below using Theorem 3.1, 3.2 we prove the next assertion.

Theorem 3.4

Let \( q, p: (0, l) \rightarrow (1, \infty ) \) be measurable functions satisfying (4) and (5). Let p be monotone increasing near origin and decreasing near l. In addition, assume that there exists \( \varepsilon >0 \), such that \( x^{\beta -\frac{1}{p^{\prime }(\cdot )}+\varepsilon } \) is a.d. near origin and a.i. near l on a little \( \delta \)-neighborhood.

Then, for all absolutely continuous functions \( y:(0,l)\rightarrow {\mathbb {R}}\) with \( y(0)=y(l)=0 \), it holds

$$\begin{aligned} \left\| d(x)^{^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)} }}y\right\| _{L^{q(\cdot )}(0, l)}\le C\left\| d(x)^{^{\beta }}y^{\prime }\right\| _{L^{p(\cdot )}(0, l)}, \end{aligned}$$

where the constant \( C>0 \) depends on \( p(\cdot ), q(\cdot ), \beta , \delta , \varepsilon . \)

Theorem 3.5

Let \( q, p: (0, l) \rightarrow (1, \infty ) \) be measurable functions satisfying (4) and (5). Let \( p(\cdot ) \) be a monotone increasing near origin, and decreasing near l. Assume that there exists \( \varepsilon >0 \), such that the function \( x^{\beta - \frac{1}{p^\prime (\cdot )}+\varepsilon } \) be a.d. near origin, and a.i. near l on a little \( \delta \)-neighborhood. Then, the identity operator maps compactly \( \tilde{W}_\beta ^{1, p(\cdot )} (0, l) \) to \( \tilde{L}^{q(\cdot ), \beta -\frac{1}{p^{\prime } (\cdot )}-\frac{1-\varepsilon }{q(\cdot )}}(0, l). \)

The proof of Theorem 3.5 is similarly to the proof of Theorem 3.4.

The following assertion takes place for the eigenvalue problem (2).

Theorem 3.6

Let \( q, p: (0, l)\rightarrow (1, \infty ) \) be measurable functions satisfying

$$\begin{aligned} 1< p^- \le p(x) \le p^+<q^-\le q(x) \le q^+< \infty \end{aligned}$$
(7)

and the real number \( \beta \) satisfies (5). Assume that p(x) increases near origin and decreases near l. Furthermore, there exist \( \varepsilon >0 \), such that the function \( x^{\beta -\frac{1}{p^\prime (x)}+\varepsilon } \) a.d. near origin and a.i. near l on a \( \delta \) -neighborhood.

Then, for any \( \lambda >0 \), there exist a nontrivial positive solution of the eigenvalue problem (2) in space \( \bar{W}_\beta ^{1, p(\cdot )}(0, l) \).

4 Proof of the results

To start the proof of Theorem 3.1, we need on the next assertion.

Lemma 4.1

Let the conditions of Theorem 3.1 be satisfied, that is, p(x) increases in (0, l) and be a.d. near origin. There exists \( \varepsilon >0 \), such that the function \( x^{\beta -\frac{1}{p^{\prime }(x)}+\varepsilon } \) a.d. on a little \( \delta \)-neighborhood of origin. Let \( t \in A_{n}(x)=(2^{-n-1}x, 2^{-n}x] \) and \( x\in (0,l). \)

Then, it holds

$$\begin{aligned} t^{-\frac{1}{p^{\prime }(t)}}\le Ct^{-\frac{1}{(p_{x,n}^{-})^{\prime }}}, \end{aligned}$$

where \( p_{x,n}^{-}=\underset{t \in A_{n}(x)}{\inf } \, p(t). \)

Proof of Lemma 4.1

Let \( y\in A_{n}(x) \) be a point, where \( t^{-\frac{1}{p^{\prime }(y)}}\le 2t^{-\frac{1}{(p_{x,n}^{-})^{\prime }}} \). Let \( y<t \) and both points ty lie in \( A_{n}(x) \). Applying a.d. of the function \( x^{\beta -\frac{1}{p^{\prime }(x)}+\varepsilon } \), it follows:

$$\begin{aligned} t^{\beta -\frac{1}{p^{\prime }(t)}+\varepsilon } \le C\, y^{\beta -\frac{1}{ p^{\prime }(y)}+\varepsilon }. \end{aligned}$$

In addition, using \( t,y \in A_{n}(x) \) and \( (p_{x,n}^{-})^{\prime }>1 \) it follows

$$\begin{aligned} t^{-\frac{1}{p^{\prime }(t)}} \le 2^{\beta +\varepsilon }C\, y^{-\frac{1}{ p^{\prime }(y)}} \le 2^{\beta +2+\varepsilon } C\, t^{-\frac{1}{ (p_{x,n}^{-})^{\prime }}}. \end{aligned}$$

If \( y>t \) using increasing \( p,\frac{1}{p^{\prime }} \) also will be increasing. Since \( \frac{1}{p^{\prime }(t)}<\frac{1}{p^{\prime }(y)} \), it follows

$$\begin{aligned} \left( \frac{1}{t}\right) ^{\frac{1}{p^{\prime }(t)}}\le C\left( \frac{1}{t} \right) ^{\frac{1}{p^{\prime }(y)}}\le 2Ct^{-\frac{1}{(p_{x,n}^{-})^{\prime }}}, \end{aligned}$$

where \( C=l^{\frac{1}{p^{-^{\prime }}}}+l^{\frac{1}{ p^{+^{\prime }}}}. \)

Lemma 4.1 has been proved.

Proof of Theorem 3.1

Let \( f:(0,l)\rightarrow (0,\infty ) \) be a positive measurable function. It holds the identity

$$\begin{aligned} Hf(x)=\overset{\infty }{\underset{n=1}{\sum }}\overset{2^{-n}x}{\underset{ 2^{-n-1}x}{\int }}f(t)\mathrm{d}t, x\in (0,l). \end{aligned}$$
(8)

Assume \( \Vert t^{\beta } f(t) \Vert _{L^{p(\cdot )}(0,l)}=1 \). Using the triangle property of \( p(\cdot ) \) norms

$$\begin{aligned} \left\| x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}Hf\right\| _{L^{q(\cdot )}(0,l)}\le \overset{\infty }{\underset{n=1}{\sum }}\left\| x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{\int } f(t)\mathrm{d}t\right\| _{L^{q(\cdot )}(0,l)}. \end{aligned}$$
(9)

Derive estimation for every summand in (9). For this purpose, get an estimation for the proper modular:

$$\begin{aligned} I_{q(\cdot )}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}} \underset{A_{n}(x)}{\int }f(t)\mathrm{d}t\right) =\int \limits _0^l \left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{ \int }f(t)\mathrm{d}t\right) ^{q(x)}{\text {d}}x. \end{aligned}$$

Using the assumption on \( \beta \) and almost decreasing of \( x^{\beta - \frac{1}{p^{\prime }}+\varepsilon } \), we have

$$\begin{aligned} I_{q(x)}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{ \int }f(t)\mathrm{d}t\right)&=\int \limits _0^l \left( x^{\beta -\frac{1}{p^{\prime }(x)} +\varepsilon }\underset{A_{n}(x)}{\int }f(t)\mathrm{d}t\right) ^{q(x)}\frac{{\text {d}}x}{ x^{1+\varepsilon q(x)}}\nonumber \\&\le C^{q+}2^{-n\varepsilon q^{-}} \int \limits _0^l \frac{{\text {d}}x}{x}\left( \underset{A_{n}(x)}{\int }t^{\beta }f(t)t^{-\frac{1}{p^{\prime }(t)}}\mathrm{d}t \right) ^{q(x)}. \end{aligned}$$
(10)

Notice, applying a.d. of \( x^{\beta -\frac{1}{p^{\prime }(x)} +\varepsilon } \), and Lemma 4.1 it has been used that \( x^{\beta -\frac{1}{p^{\prime }(x)} +\varepsilon }\le C t^{\beta -\frac{1}{p^{\prime }(t)}+\varepsilon } \) for \( 2^{-n-1} x <t \le 2^{-n}x \) and \( 0<x<l. \) Therefore, and applying Hölder’s inequality from (10), it follows

$$\begin{aligned}&I_{q(\cdot )}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{ \int }f(t)\mathrm{d}t\right) \nonumber \\&\quad \le C^{q^{+}}2^{-n\varepsilon q^{-}} \int \limits _0^l \left( \underset{A_{n}(x)}{\int }\left( t^{\beta }f(t)\right) ^{p_{x,n}^{-}}\mathrm{d}t\right) ^{\frac{q(x)}{ p_{x,n}^{-}}}\left( \underset{A_{n}(x)}{\int }t^{-\frac{(p_{x,n}^{-})'}{ p^{\prime }(t)}}\mathrm{d}t\right) ^{\frac{q(x)}{(p_{x,n}^{-})^\prime }}\frac{{\text {d}}x}{x}. \end{aligned}$$
(11)

Applying Lemma 4.1 and estimate (11), it follows from (10) that

$$\begin{aligned} I_{q(\cdot )}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{ A_{n}(x)}{\int }f(t)\mathrm{d}t\right) \le \left( C_1\ln 2\right) ^{\frac{q^{+}}{p^{-}}}2^{-n\varepsilon q^{-}}C^{q^{+}}\int \limits _0^l \left( \underset{A_{n}(x)}{\int }\left( t^{\beta }f(t)\right) ^{p_{x,n}^{-}}\mathrm{d}t\right) ^{\frac{q(x)}{(p_{x,n}^{-})}}\frac{{\text {d}}x}{x} . \end{aligned}$$

Since

$$\begin{aligned} \underset{A_{n}(x)}{\int }\left( t^{\beta }f(t)\right) ^{p_{x,n}^{-}}\mathrm{d}t\le \underset{A_{n}(x)}{\int }\left( t^{\beta }f(t)\right) ^{p(t)}\mathrm{d}t +\underset{ A_{n}(x)}{\int }\mathrm{d}t \le 1+2^{-n}x\le 1+2^{-n}l\le l+1 \end{aligned}$$

it follows

$$\begin{aligned}&I_{q(\cdot )}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{ A_{n}(x)}{\int }f(t)\mathrm{d}t\right) \\&\quad \le \left( C_1\ln 2\right) ^{q^{+}}2^{-n\varepsilon q^{-}}(l+1)^{q^{+}} \int \limits _0^l \left( \frac{1}{l+1}\underset{A_{n}(x)}{\int }\left( t^{\beta } f(t)\right) ^{p_{x,n}^{-}}\mathrm{d}t\right) ^{\frac{q(x)}{(p_{x,n}^{-})} }\frac{{\text {d}}x}{x} \\&\quad \le \left( C\ln 2(l+1)\right) ^{q^{+}}2^{-n\varepsilon q^{-}}\int \limits _{0}^{l}\left( \frac{1}{l+1}\underset{A_{n}(x) }{\int }\left[ \left( t^{\beta }f(t)\right) ^{p(t)}+1\right] \mathrm{d}t\right) ^{ \frac{p(x)}{(p_{x,n}^{-})}}\frac{{\text {d}}x}{x} \\&\quad \le 2^{-n\varepsilon q^{-}}C_1^{q^{+}}(l+1) ^{q^{+}-1}\int \limits _0^l \left( \underset{ A_{n}(x)}{\int }\left[ \left( t^{\beta }f(t)\right) ^{p(t)}+1\right] \mathrm{d}t\right) \frac{{\text {d}}x}{x} . \end{aligned}$$

Therefore

$$\begin{aligned}&I_{q(\cdot )}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{ A_{n}(x)}{\int }f(t)\mathrm{d}t\right) \\&\quad \le 2^{-n\varepsilon q^{-}}C_{3} C^{q^{+}} \int \limits _0^l \left( \underset{A_{n}(x)}{\int }\left[ \left( t^{\beta }f(t)\right) ^{p(t)}+1\right] \mathrm{d}t\right) \frac{{\text {d}}x}{x} \\&\quad \le 2^{-n\varepsilon q^{-}}C_{3} \int \limits _0^{2^{-n}l} \left[ \left( t^{\beta }f(t)\right) ^{p(t)}+1\right] \left( \int \limits _{2^{n}t}^{2^{n+1}t} \frac{{\text {d}}x}{x}\right) \mathrm{d}t \\&\quad =2^{-n\varepsilon q^{-}}C^{q^{+}}C_{3}\ln 2\overset{2^{-n}l}{\underset{0}{ \int }}\left[ \left( t^{\beta }f(t)\right) ^{p(t)}+1)\right] \mathrm{d}t \\&\quad \le 2^{-n\varepsilon q^{-}} C^{q^{+}}C_{3}\ln 2(1+2^{-n}l)=C_{4}2^{-n\varepsilon q^{-}}. \end{aligned}$$

It has been proved that

$$\begin{aligned} I_{q(\cdot )}\left( x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{ \int }f(t)\mathrm{d}t\right) \le C_{4}\, 2^{-n\varepsilon q^{-}}, \end{aligned}$$

this implies

$$\begin{aligned} \left\| x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{ \int }f(t)\mathrm{d}t\right\| _{L^{q(x)}(0,l)}\le C_{4}^{\frac{1}{q^{+}} }2^{-n\varepsilon \frac{q^{-}}{q^{+}}}. \end{aligned}$$
(12)

Inserting (12) in (9), we get

$$\begin{aligned} \left\| x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\underset{A_{n}(x)}{ \int }Hf\right\| _{L^{q(x)}(0,l)}\le C_{4}^{\frac{1}{q^{+}}}\, \underset{ n=1}{\overset{\infty }{\sum }}2^{-n\varepsilon \frac{q^{-}}{q^{+}}}=C_5. \end{aligned}$$

Theorem 3.1 has been proved.

Proof of Theorem 3.3

To proof Theorem 3.3, we apply the approaches, e.g., in [5, 6]. Insert the operators:

$$\begin{aligned} P_{1}f(x)= & {} \chi _{(0,a)}(x)\, x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{ 1-\varepsilon }{q(x)}}\int \limits _0^xf(t) \, \mathrm{d}t; \\ P_{2}f(x)= & {} \chi _{(a,l)}(x)\, x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{ 1-\varepsilon }{q(x)}}\int \limits _0^a f(t)\mathrm{d}t; \\ P_{3}f(x)= & {} \chi _{(a,l)}(x)\, x^{\beta -\frac{1}{p^{\prime }(x)}-\frac{ 1-\varepsilon }{q(x)}}\int \limits _x^a f(t)\, \mathrm{d}t. \end{aligned}$$

As it was stated in [5], \( P_{3} \) is a limit of finite rank operators, while \( P_{2} \) is a finite rank operator. From Theorem 3.1, it follows that

$$\begin{aligned} \left\| Hf-P_{2}f-P_{3}f\right\| _{L^{q(\cdot )}(0,l)}\le \left\| P_{1}f\right\| _{{L^{q(\cdot )}}(0,l)}\le Ca^{\frac{ \varepsilon }{p^{+}}}\left\| x^{\beta }f(x) \right\| _{L^{p(\cdot )}(0,l)} \end{aligned}$$

or

$$\begin{aligned}&\left\| H-P_{2}-P_{3}\right\| _{L^{p(\cdot ),\beta }\rightarrow L^{q(\cdot ),\beta - \frac{1}{p^{\prime }(\cdot )}-\frac{1-\varepsilon }{q(\cdot )}}} \\&\quad \le \left\| P_{1}\right\| _{L^{p(\cdot ),\beta }\rightarrow L^{p(\cdot ),\beta -\frac{1}{ p^{\prime }(\cdot )}\frac{1-\varepsilon }{q(\cdot )}}}\le Ca^{\frac{\varepsilon }{p^{+}} } \rightarrow 0 \quad \text {as} \quad a \, \rightarrow 0. \end{aligned}$$

This completes the proof of Theorem 3.3. \(\square \)

Proof of Theorem 3.4

Notice, the inequality

$$\begin{aligned} \frac{y(x)}{\left( xl-x^{2}\right) ^{\frac{1}{p^{\prime }(x)}+\frac{1}{q(x)} -\beta }}\le C\left[ \frac{y(x)}{x^{\frac{1}{p^{\prime }(x)}+\frac{1}{ q(x)}-\beta }}+\frac{y(x)}{\left( l-x\right) ^{\frac{1}{p^{\prime }(x)}+ \frac{1}{q(x)}-\beta }}\right] , 0<x<l, \end{aligned}$$

where \( C>0 \) depends on \( l, \beta , p(\cdot ),q(\cdot ) \). The boundedness in \( L^{q(\cdot )}(0,l) \) for the first summand in the right hand side follows from Theorem 3.2, while the boundedness of the second summand easily can be derived using the assertion of Theorem 3.1, i.e., we need to show the inequality:

$$\begin{aligned} \left\| \left( l-x\right) ^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)} }y(x)\right\| _{L^{q(\cdot )}(0,l)}\le C\left\| \left( l-x\right) ^{\beta }y^{\prime }(x)\right\| _{L^{p(\cdot )}(0,l)}, \, \, y(l)=0. \end{aligned}$$

To prove this inequality is the same to show that

$$\begin{aligned} \left\| \left( l-x\right) ^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)} }\int \limits _x^l g(t)\mathrm{d}t\right\| _{L^{q(\cdot )}(0,l)}\le C\left\| \left( l-x\right) ^{\beta }g(x)\right\| _{L^{p(\cdot )}(0,l)} \end{aligned}$$

for any positive measurable function \( g:(0,l)\rightarrow (0,\infty ) \) .

Using the definition of variable exponent norm, we have

$$\begin{aligned} \left\| (l-x)^\beta g(x)\right\| _{L^{p(\cdot )} (0,l)}=\inf \left\{ \lambda >0: \int \limits _0^l \left| \frac{(l-x)^{\beta }g(x)}{\lambda } \right| ^{p(x)}{\text {d}}x\le 1\right\} \end{aligned}$$

(inserting \( g(x)=f(l-x) \) )

$$\begin{aligned} =\inf \left\{ \lambda >0:\int \limits _0^l \left| \frac{(l-x)^{\beta }f(l-x)}{\lambda } \right| ^{p(x)}{\text {d}}x\le 1\right\} \end{aligned}$$

(changing the variable of integration \( y=l-x \) )

$$\begin{aligned} =\inf \left\{ \lambda >0:\int \limits _0^l \left| \frac{y^{\beta }f(y)}{\lambda }\right| ^{p(l-y)}{\text {d}}y\le 1\right\} =\left\| y^{\beta }f(y)\right\| _{L^{\tilde{p}(y)} ;(0,l)}, \end{aligned}$$

where \( \tilde{p}(x)=p(l-x) \).

On the other hand

$$\begin{aligned}&\left\| \left( l-z\right) ^{\beta -\frac{1}{p^{\prime }(z)}-\frac{1}{q(z)} }\int \limits _z^l g(t)\mathrm{d}t\right\| _{L^{q(\cdot )}(0,l)} \\&\quad =\inf \left\{ \lambda >0:\int \limits _0^l \left| \lambda ^{-1}(l-z)^{\beta -\frac{1}{p^{\prime }(z)}-\frac{1}{q(z)}}\int \limits _z^l g(t)\mathrm{d}t\right| ^{q(z)}{\text {d}}x\le 1\right\} , \end{aligned}$$

inserting \( g(t)=f(l-t) \) in the interior integral:

$$\begin{aligned} =\inf \left\{ \lambda >0:\int \limits _0^l \left| \lambda ^{-1}(l-z)^{\beta -\frac{1}{p^{\prime }(z)}-\frac{1}{q(z)}}\int \limits _z^l f(l-t)\mathrm{d}t\right| ^{q(z)}\mathrm{d}z\le 1\right\} , \end{aligned}$$

changing the variable \( y=l-t \):

$$\begin{aligned} =\inf \left\{ \lambda >0:\int \limits _0^l \left| \lambda ^{-1}(l-z)^{\beta -\frac{1}{p^{\prime }(z)}-\frac{1}{q(z)}} \int \limits _0^{l-z} f(y){\text {d}}y\right| ^{q(z)}\mathrm{d}z\le 1\right\} , \end{aligned}$$

changing the variable \( z=l-x, \)

$$\begin{aligned}&=\inf \left\{ \lambda>0: \int \limits _0^l \left| \lambda ^{-1}x^{\beta -\frac{1}{p^{\prime }(l-x)}-\frac{1}{q(l-x)}} \int \limits _0^x f(y){\text {d}}y\right| ^{q(l-x)}{\text {d}}x\le 1\right\} \\&=\inf \left\{ \lambda >0:\int \limits _0^l \left| \lambda ^{-1}x^{\beta -\frac{1}{p^{\prime }(l-x)}-\frac{1}{q(l-x)}}\int \limits _0^l f(y){\text {d}}y\right| ^{\tilde{q}(x)}{\text {d}}x\le 1\right\} \\&=\left\| x^{\beta -\frac{1}{\tilde{p}^{\prime }(x)}-\frac{1}{ \tilde{q}(x)}} \int \limits _0^x f(y){\text {d}}y\right\| _{L^{ \tilde{q}(\cdot )}(0,l)}. \end{aligned}$$

Now, since the functions \( \tilde{p},\tilde{q} \) satisfies all conditions of Theorem 3.1, we get

$$\begin{aligned}&\left\| (l-x)^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\int \limits _x^l g(t)\mathrm{d}t\right\| _{L^{q(\cdot )}(0,l)}=\left\| t^{\beta -\frac{1}{\tilde{p}^{\prime }(x)}-\frac{1}{\tilde{q}(x)}} \int \limits _0^t f(y){\text {d}}y\right\| _{L^{\widetilde{q}(\cdot )}(0,l)}\\&\quad \le C\left\| x^{\beta }f\right\| _{{\widetilde{p};}(0,l)}=C\left\| (l-x)^{\beta }g\right\| _{L^{q(\cdot )}(0,l)}. \end{aligned}$$

Note, we have used that the condition \( \beta <1-\frac{1}{{\tilde{p}}^-} \) is the same condition \( \beta <1-\frac{1}{p^-}. \)

This completes the proof of inequality:

$$\begin{aligned} \left\| (l-x)^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1}{q(x)}}\int \limits _x^l g(t)\mathrm{d}t\right\| _{L^{q(\cdot )}(0,l)}\le C\left\| (l-x)^{\beta }g(x)\right\| _{L^{q(\cdot )}(0,l)}. \end{aligned}$$

\(\square \)

Proof of Theorem 3.6

To prove this assertion, we shall use the well-known mountain pass theorem approaches. Set \( E=\bar{W}_\beta ^{1, p(\cdot )}(0, l). \) Define the functional

$$\begin{aligned} I_{\lambda }(y)= & {} \int \limits _0^l \frac{1}{p(x)}\Big ( \left| y^{\prime }(x)\right| (xl-x^{2})^{\beta }\Big )^{p(x)}{\text {d}}x-\lambda \int \limits _0^l \frac{b(x)}{q(x)}\Big ( (xl-x^{2})^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}}y_{+}(x) \Big )^{q(x)}{\text {d}}x. \end{aligned}$$

Using the standard argues (see, e.g., [19]), it is not difficult to see that the functional has Gateaux derivative and \(I_{\lambda }\in C^{1}(E,R). \) It means \( I_{\lambda }^{\prime }\in E^{*},\) and \( I_\lambda ^\prime : E\rightarrow E^* \) continuous. Furthermore, for \( \forall v\in E \)

$$\begin{aligned} \left\langle I_{\lambda }^{\prime }(y),v\right\rangle= & {} \int \limits _0^l (xl-x^{2})^{\beta p(x)}\left| y^{\prime }(x)\right| ^{p(x)-2}y^\prime (x)v^\prime (x)\\&-\lambda \int \limits _0^l b(x) (xl-x^{2})^{\left( \beta - \frac{1}{p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}\right) q(x) }y_{+}^{q(x)-1}v(x)\, {\text {d}}x. \end{aligned}$$

Palais–Smale condition. Show that Palais–Smale (PS) condition is satisfied for the problem (2). Let \( \{y_{n}\}\in E \) be a sequence satisfying the conditions:

  1. 1.

    \(\left| I_{\lambda }(y_{n})\right| \le M;\)

  2. 2.

    \(\left\| I^{\prime }(y_{n})\right\| _{E^{*}}\rightarrow 0 \) as \( n\rightarrow \infty .\)

To show PS condition, we should prove the sequence \( \{y_n\}\in E \) is compact, i.e., contains a converging in E subsequence \( y_{n_k} \rightarrow y\in E. \)

To show it, first, establish the boundedness of \(\{y_{n}\} \) in E. Using 1), it follows

$$\begin{aligned}&\int \limits _0^l \frac{\left| (xl-x^{2})^{\beta }\left| y_{n}^{\prime }\right| \right| ^{p(x)}}{p(x)}{\text {d}}x-\int \limits _0^l \frac{\lambda b(x)}{q(x)}\left[ (xl-x^{2})^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}}(y_{n})_{+} \right] ^{q(x)}{\text {d}}x\le M. \end{aligned}$$

Then

$$\begin{aligned} \frac{1}{p^{+}}\int \limits _0^l (xl-x^{2})^{\beta p(x)}\left| y_{n}^{\prime }\right| ^{p(x)}{\text {d}}x\le \frac{\lambda }{q^{-}}\int \limits _0^l b(x) \left( (xl-x^{2})^{\beta -\frac{1}{p^{\prime }(x)}-\frac{ 1-\varepsilon }{q(x)}}(y_{n})_{+}\right) ^{q(x)}{\text {d}}x+M. \end{aligned}$$
(13)

On the other hand, using condition 2), \(\Vert I_{\lambda }^{\prime }(y_{n})\Vert _{E^*}=o(1) \) as \( n\rightarrow \infty . \) It means

$$\begin{aligned} \left\langle I_{\lambda }^{\prime }(y_n),v\right\rangle =o(1)\, \left\| v \right\| _E , \, \, \forall v \in E . \end{aligned}$$
(14)

In particular, inserting \( v=y_n, \) we get

$$\begin{aligned} \left\langle I_{\lambda }^{\prime }(y_n),y_n\right\rangle =o(1)\, \left\| y_{n}\right\| _E, \end{aligned}$$

that is

$$\begin{aligned}&\lambda \int \limits _0^l b(x) \left( (xl-x^{2})^{\beta -\frac{1}{ p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}}\right) ^{q(x)}(y_{n})_{+}^{q(x)-1}y_n {\text {d}}x\\&\quad =o(1)\left\| y_{n}\right\| _E +\int \limits _0^l \left( (xl-x^{2})^{\beta }\left| y_{n}^{\prime }\right| \right) ^{p(x)}{\text {d}}x \end{aligned}$$

Inserting this, it follows

$$\begin{aligned} \left( \frac{1}{p^{+}}-\frac{1}{q^{-}}\right) \int \limits _0^l \left( (xl-x^{2})^{\beta }\left| y_{n}^{\prime }\right| \right) ^{p(x)}{\text {d}}x\le M+\frac{o(1)}{q^-}\left\| y_{n}\right\| _E \end{aligned}$$

From this, since \( q^{-}>p^{+}, \) it follows

$$\begin{aligned} \int \limits _0^l \left( (xl-x^{2})^{\beta }\left| y_{n}^{\prime }\right| \right) ^{p(x)}{\text {d}}x\le \frac{2Mp^{+}q^{-}}{ q^{-}-p^{+}}+\frac{o(1)}{q^-}\left\| y_{n}\right\| _E \end{aligned}$$

or

$$\begin{aligned} \left\| (xl-x^2)^\beta y^\prime _{n}(x)\right\| _{L^{p(\cdot )}(0,l)} ^{p^{-}}\le \frac{2Mp^{+}q^{-}}{ q^{-}-p^{+}}+o(1)\left\| y_{n}\right\| _E . \end{aligned}$$

Using Young’s inequality and \( p^->1 \) from here, it follows

$$\begin{aligned} \Vert (xl-x^{2})^{\beta } y_{n}^{\prime }(x)\Vert _{L^{p(\cdot )}(0,l)}\le C(M). \end{aligned}$$
(15)

This completes the boundedness of \( \{y_{n}\} \) in E. \(\square \)

Applying well-known fact, there exists a weak convergent subsequence \( y_{n_{k}} \rightarrow y \) in E. Denote it again \( y_{n}. \) It follows from the compact embedding Theorem 3.3 that a strong convergence \( y_{n}\rightarrow y\ \) in \(\ \ L^{q(\cdot ),\beta - \frac{1}{p^{\prime }(\cdot )}-\frac{1-\varepsilon }{q(\cdot )}}(0,l) \) holds, that is

$$\begin{aligned} \Vert y_{n}-y\Vert _{L^{q(\cdot ),\beta -\frac{1}{p^{\prime }(\cdot )}-\frac{1-\varepsilon }{q(\cdot )}}(0,l)} \rightarrow 0. \end{aligned}$$

Now, we are ready to show the strong convergence \( y_{n}\rightarrow y \) in E . For this, insert \( v=y_{n}-y \)in (14):

$$\begin{aligned}&\int \limits _0^l ( xl-x^{2})^{\beta p(x)}\left| y_{n}^{\prime }\right| ^{p(x)-2}y_{n}^{\prime }(y_{n}^{\prime }-y^\prime )\\&\quad -\lambda \int \limits _0^l b(x) (xl-x^{2})^{\left( \beta -\frac{1 }{p^{\prime }(x)}-\frac{1-\delta }{q(x)}\right) q(x)}(y_{n})_{+}^{q(x)-1}(y_{n}-y)=o(1)\left\| y_{n}-y\right\| _E . \end{aligned}$$

From this, since \( y_{n}\rightarrow y \) in \( L^{q(\cdot ),\beta -\frac{1}{p^{\prime }(\cdot )} -\frac{1-\varepsilon }{q(\cdot )}}(0,l), \) and using Holder’s inequality, it follows

$$\begin{aligned}&\left| \int \limits _0^l b(x) (xl-x^{2})^{\left( \beta -\frac{ 1}{p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}\right) q(x)}(y_{n})_{+}^{q(x)-1}(y_{n}-y)\right| \\&\quad \le C \left\| \left( (lx-x^{2})^{\beta -\frac{1}{p^{\prime }(\cdot )}- \frac{1-\varepsilon }{q(\cdot )}} (y_{n})_{+}\right) ^{q(x)-1}\right\| _{L^{q^{\prime }(x)}(0,l)}\, \, \left\| y_{n}-y\right\| _{L^{q(\cdot ),\beta -\frac{1}{p^{\prime }(\cdot )}- \frac{1-\varepsilon }{q(\cdot )}}(0,l)}\\&\quad =o(1)\left\| (y_{n})_+(lx-x^{2})^{\beta -\frac{1}{p^{\prime }(\cdot )}-\frac{ 1-\varepsilon }{q(\cdot )}}\right\| _{L^{q(\cdot )}(0,l)}^{q^{+}-1}\rightarrow 0, \end{aligned}$$

where also has been used Theorem 3.4 and the estimate (15), to assert the bounded ness \( \{y_{n}\} \) in \( L ^{^{q(\cdot ),\beta -\frac{1}{p^{\prime }(\cdot )}- \frac{1-\varepsilon }{q(\cdot )}}}(0,l). \)

Therefore

$$\begin{aligned} \int \limits _0^l (lx-x^{2})^{\beta p(x)}\left| y_{n}^{\prime }\right| ^{p(x)-2}y_{n}^{\prime }(y_{n}^{\prime }-y)=o(1)+o(1)\left\| y_{n}-y\right\| _E. \end{aligned}$$

From this, we infer

$$\begin{aligned}&\int \limits _0^l (lx-x^{2})^{\beta p(x)}\left( \left| y_{n}^{\prime }\right| ^{p(x)-2}y_{n}^{\prime }-\left| y_{n}^{\prime }\right| ^{p(x)-2}y^{\prime }\right) (y_{n}^{\prime }-y^\prime ){\text {d}}x\\&\quad +\int \limits _0^l (lx-x^{2})^{\beta p(x)}\left| y_{n}^{\prime }\right| ^{p(x)-2}y^{\prime }(y_{n}^{\prime }-y^\prime ){\text {d}}x=o(1)+o(1)\left\| y_{n}-y\right\| _E . \end{aligned}$$

Since \( y_{n}\rightarrow y \) weakly in E, it holds

$$\begin{aligned} \int \limits _0^l (lx-x^2)^{\beta p(x)}\left| y_{n}^{\prime }\right| ^{p(x)-2}y^{\prime }(y_{n}^{\prime }-y^\prime ){\text {d}}x =o(1) \quad \textit{as} \quad n\rightarrow \infty . \end{aligned}$$

This ensures that

$$\begin{aligned}&\int \limits _0^l (xl-x^{2})^{\beta p(x)}\left( \left| y_{n}^{\prime }\right| ^{p(x)-2}y_{n}^{\prime }-\left| y_{n}^{\prime }\right| ^{p(x)-2}y^{\prime }\right) (y_{n}^{\prime }-y^\prime ){\text {d}}x\\&\quad =o(1)+o(1)\left\| y^\prime _{n}-y^\prime \right\| _E . \end{aligned}$$

In the next, we will apply the following two inequalities:

$$\begin{aligned} \left( \left| y_{n}^{\prime }\right| ^{p(x)-2}y_{n}^{\prime }-\left| y^{\prime }\right| ^{p(x)-2}y^{\prime }\right) \left( y_{n}^{\prime }-y^\prime \right) \ge \gamma _{1}(p)\left| y_{n}^{\prime }-y^{\prime }\right| ^{p(x)} \end{aligned}$$

for \( p(x)\ge 2 \) and

$$\begin{aligned} \left( \left| y_{n}^{\prime }\right| ^{p(x)-2}y_{n}^{\prime }-\left| y_{n}^{\prime }\right| ^{p(x)-2}y^{\prime }\right) \left( y^{\prime }-y^\prime \right) \ge \gamma _{2}(p)\frac{\left| y_{n}^{\prime }-y^{\prime }\right| ^{2}}{\left| y_{n}^{\prime }\right| ^{2-p}+\left| y_{n}^{\prime }\right| ^{2-p}} \end{aligned}$$

for \( 1<p(x)\le 2 \) . Then, for the case \( p(x)\ge 2 \), we get

$$\begin{aligned} \int \limits _0^l (xl-x^{2})^{\beta p(x)}\left| y_{n}^{\prime }-y^{\prime }\right| ^{p(x)}{\text {d}}x=o(1)+o(1)\left\| y_{n}-y\right\| _E. \end{aligned}$$
(16)

As to the case \( 1<p(x)\le 2 \), we have

$$\begin{aligned} \int \limits _0^l \frac{(xl-x^2)^{\beta p(x)}\left( y_{n}^{\prime }-y^{\prime }\right) ^{2}}{\left| y_{n}^{\prime }\right| ^{2-p}+\left| y^{\prime }\right| ^{2-p}}{\text {d}}x\le o(1)+o(1)\left\| y_{n}-y\right\| _E . \end{aligned}$$

Using Young’s inequality from here, it follows that

$$\begin{aligned}&\int \limits _0^l (lx-x^2)^{\beta p(x)}\left| y_{n}^{\prime }-y^{\prime }\right| ^{p(x)}{\text {d}}x\le \varepsilon _{1}\int \limits _0^l \left( \left| y_{n}^{\prime }\right| +\left| y^{\prime }\right| \right) ^{p(x)}(xl-x^2)^{\beta p(x)}{\text {d}}x+\\&\qquad +C(\varepsilon _{1})\int \limits _0^l \frac{\left| y_{n}^{\prime }-y^{\prime }\right| ^{2}(lx-x^2)^{\beta p}}{\left( \left| y_{n}^{\prime }\right| +\left| y^{\prime }\right| \right) ^{2-p}}{\text {d}}x\\&\quad \le M\varepsilon _{1}+C(\varepsilon _{1})\left( o(1)+o(1)\left\| y_{n}-y\right\| _E \right) ,\ \ \forall \varepsilon _{1}>0. \end{aligned}$$

Therefore

$$\begin{aligned} \left\| y_{n}-y\right\| _E^{p^{-}}\le M\varepsilon _{1}+c(\varepsilon _{1})\left( o(1)+o(1)\left\| y_{n}-y\right\| _E \right) , \end{aligned}$$

where M does not depend on \( n\in N \). This and the above estimation together with Young’s inequality yield:

$$\begin{aligned} \left\| y_{n}-y\right\| _E^{p^{-}}\le M\varepsilon _{1}+o(1). \end{aligned}$$

Therefore, \( y_{n} \rightarrow y \) in E.

Now, we are ready to apply the mountain pass theorem. Notice our argues before based on the contrary assumption \( \Vert y_{n}-y\Vert _E \nrightarrow 0.\) Under it, the estimate was established:

$$\begin{aligned} \left\| (xl-x^{2})^{\beta }\left( y_{n}^{\prime }-y^{\prime }\right) \right\| _{L^{p(\cdot )}(0,l)}^{p^{-}}=o(1)+o(1)\left\| (xl-x^2)^\beta (y_{n}^{\prime }-y^{\prime })\right\| _{L^{p(\cdot )}(0,l)}. \end{aligned}$$

Therefore, using assumption \( p^{-}>1 \) and Young’s inequality, we come to the conclusion:

$$\begin{aligned} \left\| (xl-x^{2})^{\beta }\left( y_{n}^{\prime }-y^{\prime }\right) \right\| _{L^{p(\cdot )}(0,l)}=o(1), \end{aligned}$$

i.e., \( y_{n}\rightarrow y \) in E strongly.

This completes the proof of PS-property.

Mountain pass theorem. Apply the Mountain pass theorem to show the existence of solution for the problem (2).

For \( \Vert y\Vert _E \le 1 \), we have

$$\begin{aligned} I_{\lambda }(y)\ge & {} \frac{1}{p^{+}}\int \limits _0^l \left( \frac{\left( (xl-x^{2})^{\beta }\left| y^{\prime }\right| \right) }{ \left\| y\right\| _E}\right) ^{p(x)}\left\| y\right\| _E ^{p^{+}}{\text {d}}x\nonumber \\&-\frac{\lambda }{q^{-}}\int \limits _0^l b(x) \left( \frac{ (xl-x^{2})^{\beta -\frac{1}{p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}}y_{+}}{ \left\| y\right\| _E }\right) ^{q(x)}\left\| y\right\| _E ^{q^{-}}. \end{aligned}$$
(17)

Using Theorem 3.1,

$$\begin{aligned} \left\| y\right\| _{\tilde{L}^{q(\cdot ),\beta -\frac{1}{p^{\prime }(\cdot )}-\frac{ 1 }{q(\cdot )}}(0,l)}\le C\left\| y^{\prime }\right\| _{\tilde{ L}^{q(\cdot ),\beta }(0,l)}. \end{aligned}$$
(18)

Then, (18) implies

$$\begin{aligned} I_{\lambda }(y)\ge & {} \frac{1}{p^{+}}\left\| y\right\| _E ^{p^{+}}-\frac{\lambda }{ q^{-}}\int \limits _0^l b(x) \left( \frac{(xl-x^2)^{\beta -\frac{1 }{p^\prime (x)}-\frac{1}{q(x)}}C(l)\, y_+}{\left\| y\right\| _{{\tilde{L}}^{q(\cdot ),\beta -\frac{1}{p^{\prime }(\cdot )}-\frac{1 }{q(\cdot )}}(0,l)}}\right) ^{q(x)}\left\| y\right\| _E ^{q^{-}}\\\ge & {} \frac{1}{p^{+}}\left\| y\right\| _E ^{p^{+}}-\frac{\lambda C_1 C(l)^{q^{+}}}{ q^{-}}\left\| y\right\| _E^{q^{-}}, \end{aligned}$$

where \( C(l)=\max \big ( l^{\frac{2\varepsilon }{q^-}}, \, l^{\frac{2\varepsilon }{q^+}} \big ) \). Hence, for \( \Vert y\Vert _E \le 1 \), it follows

$$\begin{aligned} I_{\lambda }(y)\ge & {} \frac{1}{p^{+}}\left\| y\right\| _E ^{p^{+}}-\frac{ \lambda C_1 C(l)^{q^{+}}}{q^{-}}\left\| y\right\| _E^{q^{-}}\\= & {} \left\| y\right\| _E^{p^{+}}\left( \frac{1}{p^{+}}-\frac{\lambda C_1C(l)^{q^{+}}p^{+}}{ q^{-}}\left\| y\right\| _E^{q^{-}-p^{+}}\right) . \end{aligned}$$

Therefore

$$\begin{aligned} I_{\lambda }(y)\ge \left\| y\right\| _E ^{p^{+}}\frac{\lambda C_1C(l)^{q^{+}}}{ q^{-}}\left( \frac{q^{-}}{\lambda C_1C(l)^{q^{+}}p^{+}}-\left\| y\right\| _E ^{q^{-}-p^{+}}\right) . \end{aligned}$$

If we choose the sphere in E as \(\Vert y\Vert _E =\min \left\{ 1,\left( \frac{q^{-}}{2\lambda C_1C(l)^{q^{+}}p^{+}}\right) ^{\frac{1}{q^{-}-p^{+}}}\right\} \), it follows

$$\begin{aligned} I_{\lambda }(y)\ge \left( \frac{q^{-}}{2\lambda C_1C(l)^{q^{+}}p^{+}}\right) ^{ \frac{1}{q^{-}-p^{+}}}\frac{1}{2}\frac{q^{-}}{2\lambda C_1C(l)^{q^{+}}p^{+}}. \end{aligned}$$

Choose a sphere with radii \( R=\left( \frac{1}{2\lambda C_1C(l)^{q^{+}}p^{+}}\right) ^{\frac{1}{ q^{-}-p^{+}}} \) in E to apply the mountain pass theorem.

Now, it remains to find a point \( y_{0}\in E \) lied out of the ball B(0, R) in E, where \( I_{\lambda }(y_{0})<0 \) . To show it, apply the fibering method: for \( y\in E \) be fixed and sufficiently large \( t>1 \), it holds

$$\begin{aligned} I_{\lambda }(ty)= & {} \int \limits _0^l \frac{t^{p(x)}}{p(x)} \left| (xl-x^{2})^{\beta }y^{\prime }\right| ^{p(x)}{\text {d}}x\\&-\lambda \int \limits _0^l \frac{t^{q(x)}}{q(x)}b(x) \left( (xl-x^{2})^{\beta -\frac{1}{ p^{\prime }(x)}-\frac{1-\varepsilon }{q(x)}}y_{+}\right) ^{q(x)}{\text {d}}x\\\le & {} \frac{t^{p^{+}}}{p^{-}}\int \limits _0^l \left( (xl-x^2)^{\beta }|y^\prime |\right) ^{p(x)}{\text {d}}x\\&-\frac{ t^{q^{-}}\lambda }{q^{+}}\int \limits _0^l b(x) \left( (xl-x^2)^{\beta -\frac{1}{p^{\prime }(x)}-\frac{ 1-\varepsilon }{q(x)}}y_{+}\right) ^{q(x)}{\text {d}}x<0. \end{aligned}$$

Applying mountain pass theorem, there exists a point \( {\tilde{y}}\in E \) with \( I_{\lambda }({\tilde{y}})=c \) and \( I_{\lambda }^{\prime }({\tilde{y}})=0. \) Here

$$\begin{aligned} c=\underset{ \gamma (t)\in \Gamma }{\inf \sup } \, \, \left\{ I_{\lambda }(\gamma (t))\right\} , \end{aligned}$$

where the infimum is taken all over the curves

$$\begin{aligned} \gamma : [0,1]\rightarrow E, \gamma \in C^{1}[0,1;E],\quad \text {and such that} \quad \gamma (0)=0,\gamma (1)={\tilde{y}} . \end{aligned}$$

Therefore, \( I_{\lambda }({\tilde{y}})>0,I^{\prime }({\tilde{y}})=0. \) To show that \( {\tilde{y}} \) is a positive solution of (2), insert \( v={\tilde{y}}_- \) in \( \langle I^{\prime }{\tilde{y}}, v \rangle =0. \)

$$\begin{aligned}&\int \limits _0^l (xl-x^{2})^{\beta p(x)}\left| {\tilde{y}}^{\prime }\right| ^{p(x)-2}{\tilde{y}}^{\prime }{\tilde{y}}_-^{\prime }\\&\quad -\lambda \int \limits _0^l b(x) (xl-x^{2})^{\left( \beta -\frac{1}{p^{\prime }(x)}-\frac{ 1-\varepsilon }{q(x)}\right) q(x)}{\tilde{y}}_{+}^{q(x)-1}{\tilde{y}}_- {\text {d}}x=0. \end{aligned}$$

Since the second integral is zero (\( {\tilde{y}}_{+}^{q(x)-1}{\tilde{y}}_{-}\equiv 0) \), we have

$$\begin{aligned} 0=\int \limits _0^l (xl-x^{2})^{\beta p(x)}\left| {\tilde{y}}_{-}^{\prime }\right| ^{p(x)}{\text {d}}x. \end{aligned}$$

Using Theorem 3.1, it follows \( {\tilde{y}}_-(x)\equiv 0 \); therefore, \( {\tilde{y}}(x)>0 \).

This completes the proof of Theorem 3.6, and which proves the existence of positive solution for problem (2) for any \( \lambda >0 \).