1 Introduction

In this paper, we study the existence of solutions for a boundary value problem with nonlinear second-order q-difference equations

{ D q 2 u ( t ) = f ( t , u ( t ) , D q u ( t ) ) , t I , D q u ( 0 ) = 0 , D q u ( 1 ) = α u ( 1 ) ,
(1.1)

where fC(I× R 2 ,R), I={ q n :nN}{0,1}, q(0,1), and α0 is a fixed real number.

The q-difference equations initiated at the beginning of the twentieth century [14] is a very interesting field in difference equations. In the last few decades, it has evolved into a multidisciplinary subject and plays an important role in several fields of physics such as cosmic strings and black holes [5], conformal quantum mechanics [6], nuclear and high energy physics [7]. However, the theory of boundary value problems (BVPs) for nonlinear q-difference equations is still in the initial stages and many aspects of this theory need to be explored. To the best of our knowledge, for the BVPs of nonlinear q-difference equations, a few works were done; see [813] and the references therein. In particular, the study of BVPs for nonlinear q-difference equation with first-order q-difference is yet to be initiated.

The main aim of this paper is to develop some existence and uniqueness results for BVP (1.1). Our results are based on a variety of fixed point theorems such as the Banach contraction mapping principle, the Leray-Schauder nonlinear alternative and the Leray-Schauder continuous theorem. Some examples and special cases are also discussed.

2 Preliminary results

In this section, firstly, let us recall some basic concepts of q-calculus [14, 15].

Definition 2.1 For 0<q<1, we define the q-derivative of a real-value function f as

D q f(t)= f ( t ) f ( q t ) ( 1 q ) t , D q f(0)= lim t 0 D q f(t).

Note that lim q 1 D q f(t)= f (t).

Definition 2.2 The higher-order q-derivatives are defined inductively as

D q 0 f(t)=f(t), D q n f(t)= D q D q n 1 f(t),nN.

For example, D q ( t k )= [ k ] q t k 1 , where k is a positive integer and the bracket [ k ] q =( q k 1)/(q1). In particular, D q ( t 2 )=(1+q)t.

Definition 2.3 The q-integral of a function f defined in the interval [a,b] is given by

a x f(t) d q t:= n = 0 x(1q) q n f ( x q n ) af ( q n a ) ,x[a,b],

and for a=0, we denote

I q f(x)= 0 x f(t) d q t= n = 0 x(1q) q n f ( x q n ) .

Then

a b f(t) d q t= 0 b f(t) d q t 0 a f(t) d q t.

Similarly, we have

I q 0 f(t)=f(t), I q n f(t)= I q I q n 1 f(t),nN.

Observe that

D q I q f(x)=f(x),

and if f is continuous at x=0, then I q D q f(x)=f(x)f(0).

In q-calculus, the product rule and integration by parts formula are

D q (gh)(t)= D q g(t)h(t)+g(qt) D q h(t),
(2.1)
0 x f(t) D q g(t) d q t= [ f ( t ) g ( t ) ] 0 x 0 x D q f(t)g(qt) d q t.
(2.2)

Remark 2.4 In the limit q 1 , the above results correspond to their counterparts in standard calculus.

Definition 2.5 f:I× R 2 R is called an S-Carathéodory function if and only if

  1. (i)

    for each (u,v) R 2 , tf(t,u,v) is measurable on I;

  2. (ii)

    for a.e. tI, (u,v)f(t,u,v) is continuous on R 2 ;

  3. (iii)

    for each r>0, there exists φ r (t) L 1 (I, R + ) with t φ r (t) L 1 (I, R + ) on I such that max{|u|,|v|}r implies |f(t,u,v)| φ r (t), for a.e. I, where L 1 (I, R + )={u C q : 0 1 u(t) d q t exists}, and normed by u L 1 = 0 1 |u(t)| d q t for all u L 1 (I, R + ).

Theorem 2.6 (Nonlinear alternative for single-valued maps [16])

Let E be a Banach space, let C be a closed and convex subset of E, and let U be an open subset of C and 0U. Suppose that F: U ¯ C is a continuous, compact (that is, F( U ¯ ) is a relatively compact subset of C) map. Then either

  1. (i)

    F has a fixed point in U ¯ , or

  2. (ii)

    there is a uU (the boundary of U in C) and λ(0,1) with u=λF(u).

Lemma 2.7 Let yC[0,1], then the BVP

{ D q 2 u ( t ) = y ( t ) , t I , D q u ( 0 ) = 0 , D q u ( 1 ) = α u ( 1 ) ,
(2.3)

has a unique solution

u ( t ) = 0 t ( t q s ) y ( s ) d q s + 0 1 ( 1 α 1 + q s ) y ( s ) d q s = 0 1 G ( t , s ; q ) y ( s ) d q s ,
(2.4)

where

G(t,s;q)= 1 α { 1 α + α t , s t , 1 α + α q s , t s .
(2.5)

Proof Integrating the q-difference equation from 0 to t, we get

D q u(t)= 0 t y(s) d q s+ a 1 .
(2.6)

Integrating (2.6) from 0 to t and changing the order of integration, we have

u(t)= 0 t (tqs)y(s) d q s+ a 1 t+ a 0 ,
(2.7)

where a 1 , a 0 are arbitrary constants. Using the boundary conditions D q u(0)=0, D q u(1)=αu(1) in (2.7), we find that a 1 =0, and

a 1 = 0 1 ( 1 α 1 + q s ) y(s) d q s.

Substituting the values of a 0 and a 1 in (2.7), we obtain

u(t)= 0 t (tqs)y(s) d q s+ 0 1 ( 1 α 1 + q s ) y(s) d q s.

This completes the proof. □

Remark 2.8 For q1, equation (2.4) takes the form

u(t)= 0 t (tqs)y(s) d q s+ a 1 t+ a 0 ,

which is the solution of a classical second-order ordinary differential equation u (t)=y(t) and the associated form of Green’s function for the classical case is

G(t,s)= 1 α { 1 α + α t , s t , 1 α + α s , t s .

We consider the Banach space C q =C(I,R) equipped with the standard norm u=max{ u , D q u }, and =sup{,tI}, u C q .

Define an integral operator T: C p C p by

T u ( t ) = 0 1 G ( t , s ; q ) f ( s , u ( s ) , D q u ( s ) ) d q s = 0 t ( t q s ) f ( s , u ( s ) , D q u ( s ) ) d q s + 0 1 ( 1 α 1 + q s ) f ( s , u ( s ) , D q u ( s ) ) d q s , t I , u C q .
(2.8)

Obviously, T is well defined and u C q is a solution of BVP (1.1) if and only if u is a fixed point of T.

3 Existence and uniqueness results

In this section, we apply various fixed point theorems to BVP (1.1). First, we give the uniqueness result based on Banach’s contraction principle.

Theorem 3.1 Let f:I× R 2 R be a continuous function, and there exists L 1 (t), L 2 (t)C([0,1],[0,+)) such that

| f ( t , u 1 , v 1 ) f ( t , u 2 , v 2 ) | L 1 (t)| u 1 u 2 |+ L 2 (t)| v 1 v 2 |,tI,( u 1 , v 1 ),( u 2 , v 2 ) R 2 .

In addition, suppose either

( H 1 ) Λ<|α| for 0<|α|<1, or

( H 2 ) Λ<1 for |α|1

holds, where Λ= max t [ 0 , 1 ] { L 1 (t)+ L 2 (t)}. Then BVP (1.1) has a unique solution.

Proof Case 1: |α|<1. Let us set sup t I |f(t,0,0)|= M 0 and choose

r M 0 | α | ( 1 δ ) ,
(3.1)

where δ is such that Λ | α | δ1. Now we show that T B r B r , where B r ={u C q :ur}. For each u B r , we have

| T u ( t ) | sup t I | 0 t ( t q s ) f ( s , u ( s ) , D q u ( s ) ) d q s + 0 1 ( 1 α 1 + q s ) f ( s , u ( s ) , D q u ( s ) ) d q s | sup t I | 0 t ( t q s ) ( | f ( s , u ( s ) , D q u ( s ) ) f ( s , 0 , 0 ) | + | f ( s , 0 , 0 ) | ) d q s + 0 1 ( 1 α 1 + q s ) ( | f ( s , u ( s ) , D q u ( s ) ) f ( s , 0 , 0 ) | + | f ( s , 0 , 0 ) | ) d q s | sup t I | 0 t ( t q s ) ( L 1 ( s ) | u ( s ) | + L 2 ( s ) | D q u ( s ) | + | f ( s , 0 , 0 ) | ) d q s + 0 1 ( 1 α 1 + q s ) ( L 1 ( s ) | u ( s ) | + L 2 ( s ) | D q u ( s ) | + | f ( s , 0 , 0 ) | ) d q s | ( Λ u + M 0 ) sup t I | 0 t ( t q s ) d q s + 0 1 ( 1 α 1 + q s ) d q s | ( Λ u + M 0 ) sup t I { | t 2 1 + q + 1 α 1 + q 1 + q | } ( Λ u + M 0 ) 1 | α | ( Λ r + M 0 ) 1 | α | ( Λ | α | + ( 1 δ ) ) r r ,

and

| D q T u ( t ) | | D q T u ( t ) | sup t I | 0 t f ( s , u ( s ) , D q u ( s ) ) d q s | sup t I 0 t ( | f ( s , u ( s ) , D q u ( s ) ) f ( s , 0 , 0 ) | + | f ( s , 0 , 0 ) | ) d q s sup t I 0 t ( L 1 ( s ) | u ( s ) | + L 2 ( s ) | D q u ( s ) | + | f ( s , 0 , 0 ) | ) d q s ( Λ u + M 0 ) ( Λ r + | α | ( 1 δ ) r ) ( Λ | α | + ( 1 δ ) ) r r .

Hence, we obtain that Tur, so T B r B r .

Now, for u,v C q and for each tI, we have

| T u ( t ) T v ( t ) | sup t I | T u ( t ) T v ( t ) | sup t I | 0 t ( t q s ) | f ( s , u ( s ) , D q u ( s ) ) f ( s , v ( s ) , D q v ( s ) ) | d q s + 0 1 ( 1 α 1 + q s ) | f ( s , u ( s ) , D q u ( s ) ) f ( s , v ( s ) , D q v ( s ) ) | d q s | sup t I | 0 t ( t q s ) ( L 1 ( s ) | u ( s ) v ( s ) | + L 2 ( s ) | D q u ( s ) D q v ( s ) | ) d q s + 0 1 ( 1 α 1 + q s ) ( L 1 ( s ) | u ( s ) v ( s ) | + L 2 ( s ) | D q u ( s ) D q v ( s ) | ) d q s | Λ sup t I { | t 2 1 + q + 1 α 1 + q 1 + q | } u v Λ | α | u v < u v ,

and

| D q T u ( t ) D q T v ( t ) | sup t I | D q T u ( t ) D q T v ( t ) | sup t I | 0 t | f ( s , u ( s ) , D q u ( s ) ) f ( s , v ( s ) , D q v ( s ) ) | d q s | sup t I | 0 t ( L 1 ( s ) | u ( s ) v ( s ) | + L 2 ( s ) | D q u ( s ) D q v ( s ) | ) d q s | Λ u v Λ | α | u v < u v .

Therefore, we obtain that TuTv<uv, so T is a contraction. Thus, the conclusion of the theorem follows by Banach’s contraction mapping principle.

Case 2: |α|1. It is similar to the proof of case 1. This completes the proof of Theorem 3.1. □

Corollary 3.2 Assume that f:I× R 2 R is a continuous function and there exist two positive constants L 1 , L 2 such that

| f ( t , u 1 , v 1 ) f ( t , u 2 , v 2 ) | L 1 | u 1 u 2 |+ L 2 | v 1 v 2 |,tI,( u 1 , v 1 ),( u 2 , v 2 ) R 2 .

In addition, suppose either

( H 3 ) L 1 + L 2 <|α| for 0<|α|<1, or

( H 4 ) L 1 + L 2 <1 for |α|1

holds. Then BVP (1.1) has a unique solution.

Corollary 3.3 Assume that f:I× R 2 R is a continuous function and there exist two functions L 1 (t), L 2 (t) L 1 (I, R + ) such that

| f ( t , u 1 , v 1 ) f ( t , u 2 , v 2 ) | L 1 | u 1 u 2 |+ L 2 | v 1 v 2 |,tI,( u 1 , v 1 ),( u 2 , v 2 ) R 2 .

In addition, suppose either

( H 5 ) A+Bq|α|<|α| for 0<|α|<1, or

( H 6 ) A<1 for |α|1

holds, where

A= 0 1 [ L 1 ( s ) + L 2 ( s ) ] d q s,B= 0 1 s [ L 1 ( s ) + L 2 ( s ) ] d q s.

Then BVP (1.1) has a unique solution.

Proof It is similar to the proof of Theorem 3.1. □

The next existence result is based on the Leray-Schauder nonlinear alternative theorem.

Lemma 3.4 Let f:I× R 2 R be an S-Carathéodory function. Then T: C q C q is completely continuous.

Proof The proof consists of several steps.

  1. (i)

    T maps bounded sets into bounded sets in C q .

Let B r ={u C q :ur} be a bounded set in C q and u B r . Then we have

| T u ( t ) | 0 t | t q s | | f ( s , u ( s ) , D q u ( s ) ) | d q s + 0 1 | 1 α 1 + q s | | f ( s , u ( s ) , D q u ( s ) ) | d q s ( 1 + 1 | α | ) 0 1 φ r ( s ) d q s = ( 1 + 1 | α | ) φ r L 1 ,

and

| D q T u ( t ) | 0 t | f ( s , u ( s ) , D q u ( s ) ) | d q s 0 1 φ r (s) d q s= φ r L 1 .

Thus Tumax{ T u , D q T u }(1+ 1 | α | ) φ r L 1 .

  1. (ii)

    T maps bounded sets into equicontinuous sets of C q .

Let r 1 , r 2 I, r 1 < r 2 , and let B r be a bounded set of C q as before. Then, for u B r , we have

| T u ( r 2 ) T u ( r 1 ) | = | 0 r 2 ( r 2 q s ) f ( s , u ( s ) , D q u ( s ) ) d q s 0 r 1 ( r 1 q s ) f ( s , u ( s ) , D q u ( s ) ) d q s | = | 0 r 1 ( r 2 r 1 ) f ( s , u ( s ) , D q u ( s ) ) d q s + r 1 r 2 ( r 2 q s ) f ( s , u ( s ) , D q u ( s ) ) d q s | 0 r 1 | r 2 r 1 | φ r ( s ) d q s + r 1 r 2 | r 2 q s | φ r ( s ) d q s 0 ( r 2 r 1 0 ) ,

and

| d q T u ( r 2 ) D q T u ( r 1 ) | = | 0 r 2 f ( s , u ( s ) , D q u ( s ) ) d q s 0 r 1 f ( s , u ( s ) , D q u ( s ) ) d q s | = | r 1 r 2 f ( s , u ( s ) , D q u ( s ) ) d q s | r 1 r 2 φ r ( s ) d q s 0 ( r 2 r 1 0 ) .

As a consequence of the Arzelá-Ascoli theorem, we can conclude that T: C q C q is completely continuous. This proof is completed. □

Theorem 3.5 Let f:I× R 2 R be an S-Carathéodory function. Suppose further that there exists a real number M>0 such that

| α | M ( 1 + | α | ) φ r L 1 >1

holds, where

φ r L 1 = 0 1 φ r (s) d q s0.

Then BVP (1.1) has at least one solution.

Proof In view of Lemma 3.4, we obtain that T: C q C q is completely continuous. Let λ(0,1) and u=λTu. Then, for tI, we have

| u ( t ) | = | λ T u ( t ) | 0 t | t q s | | f ( s , u ( s ) , D q u ( s ) ) | d q s + 0 1 | 1 α 1 + q s | | f ( s , u ( s ) , D q u ( s ) ) | d q s ( 1 + 1 | α | ) 0 1 φ r ( s ) d q s = ( 1 + 1 | α | ) φ r L 1 ,

and

| D q u ( t ) | = | D q λ T u ( t ) | 0 t | f ( s , u ( s ) , D q u ( s ) ) | d q s 0 1 φ r (s) d q s= φ r L 1 .

Hence, consequently,

| α | u ( 1 + | α | ) φ r L 1 1.

Therefore, there exists M>0 such that uM. Let us set U={u C q :u<M}. Note that the operator T: U ¯ C q is completely continuous (which is known to be compact restricted to bounded sets). From the choice of U, there is no UU such that u=λTu for some λ(0,1). Consequently, by Theorem 2.6, we deduce that T has a fixed point u U ¯ which is a solution of problem (1.1). This completes the proof. □

The next existence result is based on the Leray-Schauder continuation theorem.

Theorem 3.6 Let f:I× R 2 R be an S-Carathéodory function. Suppose further that there exist functions p(t),q(t),r(t) L 1 (I, R + ) with tp(t) L 1 (I, R + ) such that

| f ( t , u , v ) | p(t)|u|+q(t)|v|+r(t), for a.e. tI and (u,v) R 2 .

Then BVP (1.1) has at least one solution provided (N+1)P+ P 1 +Q<1, where N=max{ 1 α ,1 1 α }.

Proof We consider the space

P= { u C q : D q u ( 0 ) = 0 , D q u ( 1 ) = α u ( 1 ) }

and define the operator T 1 :P×[0,1]P by

T 1 (u,λ)=λTu=λ 0 1 G(t,s;q)f ( s , u ( s ) , D q u ( s ) ) d q s,tI.
(3.2)

Obviously, we can see that P C q . In view of Lemma 3.4, it is easy to know that for each λ[0,1], T 1 (u,λ) is completely continuous in P. It is clear that uP is a solution of BVP (1.1) if and only if u is a fixed point of T 1 (,1). Clearly, T 1 (u,0)=0 for each uP. If for each λ[0,1] the fixed points of T 1 (,1) in P belong to a closed ball of P independent of λ, then the Leray-Schauder continuation theorem completes the proof.

Next we show that the fixed point of T 1 (,1) has a priori bound M, which is independent of λ. Assume that u= T 1 (u,λ), and set

P = 0 1 p ( s ) d q s , P 1 = 0 1 s p ( s ) d q s , Q = 0 1 q ( s ) d q s , R = 0 1 r ( s ) d q s .

By (2.5), it is clear that |G(t,s;q)|N for each α0. For any uP, we have

| u ( t ) | = | u ( 1 ) t 1 D q u ( s ) d q s | | 1 α D q u ( 1 ) | + | t 1 D q u ( s ) d q s | ( N + 1 t ) D q u ( N + 1 + t ) D q u , t I ,

and so it holds that

D q u λ f ( s , u ( s ) , D q u ( s ) ) L 1 f ( s , u ( s ) , D q u ( s ) ) L 1 p ( t ) | u ( s ) | + q ( t ) | D q u ( s ) | + r ( s ) L 1 ( ( N + 1 ) P + P 1 + Q ) D q u + R ;

therefore,

D q u R 1 ( ( N + 1 ) P + P 1 + Q ) := M 1 .

At the same time, we have

| u ( t ) | λ | 0 1 G ( t , s , q ) f ( s , u ( s ) , D q u ( s ) ) d q s | N 0 1 | f ( s , u ( s ) , D q u ( s ) ) | d q s N 0 1 ( p ( t ) | u ( s ) | + q ( t ) | D q u ( s ) | + r ( s ) ) d q s N P u + N Q D q u + N R , t I ,

and so

u N ( Q M 1 + R ) 1 N P := M 2 .

Set M=max{ M 1 , M 2 }, which is independent of λ. So, BVP (1.1) has at least one solution. This completes the proof. □

4 Example

Example 4.1 Consider the following BVP:

{ D q 2 u ( t ) = e t + 1 4 sin ( u ( t ) ) + 1 8 tan 1 ( D q u ( t ) ) , t I , D q u ( 0 ) = 0 , D q u ( 1 ) = 1 2 u ( 1 ) .
(4.1)

Here, f(t,u(t), D q u(t))= e t + 1 4 sin(u(t))+ 1 8 tan 1 ( D q u(t)), q= 1 2 , α= 1 2 . Clearly, |f(t, u 1 , v 1 )f(t, u 2 , v 2 )| 1 4 | u 1 u 2 |+ 1 8 | v 1 v 2 |. Then L 1 = 1 4 , L 2 = 1 8 and L 1 + L 2 = 3 8 <α. By Corollary 3.2, we obtain that BVP (4.1) has a unique solution.

Example 4.2 Consider the following BVP:

{ D q 2 u ( t ) = t 20 sin ( u ( t ) ) + 1 ( 2 + 2 ) t ( D q u ( t ) ) β + 3 2 t , t I , D q u ( 0 ) = 0 , D q u ( 1 ) = 1 2 u ( 1 ) .
(4.2)

Here, q= 1 2 , 0<β<1. It is obvious that |f(t,u,v)| t 20 |u|+ 1 ( 2 + 2 ) t |v|+ 3 2 t, where p(t)= t 20 , q(t)= 1 ( 2 + 2 ) t , r(t)= 3 2 t. Then P= 1 30 , P 1 = 1 35 , Q= 1 2 , R=1, so (N+1)P+ P 1 +Q= 22 35 <1. By Theorem 3.6, we obtain that BVP (4.2) has at least one solution.