Theory and Modern Applications

# Ulam-type stability for a class of implicit fractional differential equations with non-instantaneous integral impulses and boundary condition

## Abstract

In this paper, we investigate four different types of Ulam stability, i.e., Ulam-Hyers stability, generalized Ulam-Hyers stability, Ulam-Hyers-Rassias stability and generalized Ulam-Hyers-Rassias stability for a class of nonlinear implicit fractional differential equations with non-instantaneous integral impulses and nonlinear integral boundary condition. We also establish certain conditions for the existence and uniqueness of solutions for such a class of fractional differential equations using Caputo fractional derivative. The arguments are based on generalized Diaz-Margolis’s fixed point theorem. We provide two examples, which shows the validity of our main results.

## Introduction

Fractional calculus was originated from a question of L’Hospital, in which he asked about the generalization of integral order differentiation. At the end of 17th century, Leibnitz used a notation $$\frac{d^{m}}{dx^{m}}g(t)$$ for $$m{th}$$ integral order derivative of a function $$g(t)$$. At that time L’Hospital asked a question, “What should happen if the order is $$\frac{1}{2}$$?”. Leibnitz on 30th September 1695 (the exact beginning of the fractional calculus) replied, “It will be a paradox, from which later useful consequences will be drawn” [1]. After that, in 1819, Lacroix introduced fractional order derivative [2].

Fractional calculus is as old as the conventional calculus, and it is the generalization of integral order differentiation and integration to arbitrary non-integer order. For detailed study, see the books such as [37] and the papers [8, 9]. The attraction towards this subject is due to the fact that fractional derivatives and integrals are not a local property. That is why fractional differential and integral models captured the reality of the nature better, as these models considered the history and nonlocal distributed effects; for details, see the monographs [1012]. Fractional calculus has a large number of applications in different branches of science, engineering as well as in medical fields. The fractional differential models describe many real world phenomena in different fields, i.e., biology, dynamical systems, physics, control theory, chemistry and in many other fields, in a more efficient and realistic way.

In recent research work, several researchers of mathematics community studied impulsive fractional differential equations due to their applications in different fields of engineering and medical sciences [7, 1012]. Impulsive fractional differential equations are used to describe real world phenomena like evolutionary processes characterized by abrupt changes of the state at certain instants and many others. The monographs [1316] treated fractional differential equations with instantaneous impulses of the following form:

$$\left\{ \textstyle\begin{array}{ll} {}^{c}D_{0,t}^{\alpha}v(t)=u (t,v(t) ), &\quad t \in[0,T]\setminus\{ t_{1},t_{2}, \dots,t_{m}\}, \\ \Delta v(t) = I_{k} (v (t_{k}^{-} ) ), &\quad k=1,2,\dots,m, \end{array}\displaystyle \right .$$
(1.1)

where $${}^{c}D_{0,t}^{\alpha}$$ is the Caputo fractional derivative of order $$\alpha\in(n-1, n)$$, n is any natural number with lower bound 0, $$u:[0,T]\times\mathbb{R}\rightarrow\mathbb{R}$$ is continuous, $$I_{k} : \mathbb{R}\rightarrow\mathbb{R}$$ are instantaneous impulses and $$t_{k}$$ satisfies $$0=t_{0}< t_{1}<\cdots<t_{m}=T$$, $$T>0$$, $$v(t_{k}^{+})= \lim_{\epsilon\rightarrow0^{+}}v(t_{k}+\epsilon)$$ and $$v(t_{k}^{-})= \lim_{\epsilon\rightarrow0^{-}}v(t_{k}+\epsilon)$$ denotes the right and left limits of $$v(t)$$ at $$t=t_{k}$$, respectively.

In [17] Mardanov et al. considered impulsive fractional differential equations with two points integral boundary conditions of the following form:

$$\left\{ \textstyle\begin{array}{ll} {}^{c}D_{0^{+}}^{\xi}p(t)=q (t,p(t) ), &\quad t \in[0,T]\setminus\{ t_{1},t_{2}, \dots,t_{r}\}, \\ p (t_{k}^{+} )-p (t_{k}^{-} )=I_{k} (p(t_{k}) ), &\quad k=1,2,\dots,r, \\ Ap(0)+Bp(T)= \int_{0}^{T}f (s,p(s) )\,ds,& \end{array}\displaystyle \right .$$
(1.2)

where $$A, B \in\mathbb{R}^{m\times m}$$ are given matrices and $$\operatorname{det}(A+B)\neq0$$. Here $$q,f:[0,T]\times\mathbb{R}^{m}\rightarrow\mathbb {R}^{m}$$ and $$I_{i}:\mathbb{R}^{m}\rightarrow\mathbb{R}^{m}$$ are given functions.

Problems (1.1) and (1.2) do not characterize completely the process like hemodynamic equilibrium of a person, i.e., the introduction of the drugs in the bloodstream and the consequent absorption for the body are gradual and continuous processes. Such situations are characterized by non-instantaneous impulses, which begin from an arbitrary fixed point and stay active on a finite time interval.

Motivated by the above-mentioned work, we consider nonlinear implicit fractional differential equations with non-instantaneous integral impulses and nonlinear integral boundary condition in the following form:

$$\left\{ \textstyle\begin{array}{ll} {}^{c}D_{0,t}^{\beta}y(t)=f (t, y(t), {}^{c}D_{0,t}^{\beta}y(t) ), &\quad t \in(t_{k},s_{k}], k=0,1,2,\dots,m, \beta\in(0,1], \\ y(t)=I_{s_{k-1},t_{k}}^{\beta} (\xi_{k} (t,y(t) ) ), &\quad t \in (s_{k-1},t_{k}], k=1,2,\dots,m, \\ y(0)=I_{0,T}^{\beta} \eta (t,y(t) ),& \end{array}\displaystyle \right .$$
(1.3)

where $${}^{c}D_{0,t}^{\beta}$$ is the Caputo fractional derivative of order β with lower limit 0, $$0=t_{0}< s_{0}< t_{1}< s_{1}<\cdots <t_{m}<s_{m}=T$$, $$T>0$$ is pre-fixed number. The functions $$f:[0,T]\times \mathbb{R}\times\mathbb{R}\rightarrow\mathbb{R}$$, $$\eta:[0,T]\times \mathbb{R}\rightarrow\mathbb{R}$$ are continuous and $$\xi _{k}:[s_{k-1},t_{k}]\times\mathbb{R}\rightarrow\mathbb{R}$$ is also continuous for all $$k=1,2,\dots,m$$, which is known as non-instantaneous impulses. The notations $$I_{s_{k-1},t_{k}}^{\beta}$$ and $$I_{0,T}^{\beta }$$ are given to fractional integrals of order β with limits $$s_{k-1}$$ to $$t_{k}$$ and 0 to T, respectively, and

$$I_{0,T}^{\beta} \eta \bigl(t,y(t) \bigr)=\frac{1}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,y(s) \bigr)\,ds.$$

Since 1940, Ulam-type stability problems [18] have been studied by a large number of mathematicians. This stability analysis is very useful in many applications, such as numerical analysis, optimization, etc., where finding the exact solution is quite difficult. For detailed study of Ulam-type stability with different approaches, we recommend papers such as [1933].

The aim of this paper is to establish sufficient conditions for the existence, uniqueness and Ulam-type stability for a class of nonlinear implicit fractional differential equations with non-instantaneous integral impulses and nonlinear integral boundary condition, via generalized Diaz-Margolis’s fixed point theorem. This paper is presented as follows. Section 2 contains some basic definitions, notations and lemmas regarding fractional differential equations. Section 3 contains the framework of the solutions for problem (1.3). In Section 4 we show some existence and uniqueness conditions, along with different types of Ulam stability for problem (1.3). Section 5 contains some examples.

## Preliminaries

In this section we gather some basic facts, definitions and lemmas regarding fractional differential equations, which we utilized throughout this paper, to obtain our main results.

### Definition 2.1

[34]

An arbitrary order fractional integral of a function $$\delta\in L^{1}([0,T],\mathbb{R_{+}})$$ of order $$\beta\in\mathbb{R_{+}}$$ is defined as

$$I_{0,t}^{\beta}\delta(t)=\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}\delta(s)\,ds, \quad t>0,$$

where Γ is the Euler gamma function defined by $$\Gamma(\beta )=\int_{0}^{\infty}p^{\beta-1}e^{-p}\,dp$$.

### Definition 2.2

[34]

The Caputo fractional derivative of order $$\beta\in\mathbb{R_{+}}$$, for a function $$\delta:[0,T]\rightarrow\mathbb{R}$$, is defined as

$$\bigl({}^{c}D_{0,t}^{\beta}\delta \bigr) (t)= \frac{1}{\Gamma(n-\beta)} \int _{0}^{t}(t-s)^{n-\beta-1} \delta^{(n)}(s)\,ds, \quad n=[\beta]+1,$$

where $$[\beta]$$ denotes the integer part of the real number β.

### Lemma 2.3

[34]

For a nonnegative value of β, we have

$$I_{0,t}^{\beta} \bigl({}^{c}D_{0,t}^{\beta} \delta(t) \bigr)=\delta(t)-\sum_{m=0}^{n-1} \frac{\delta^{m}(0)}{m!}t^{m}, \quad n=[\beta]+1.$$

### Lemma 2.4

[34]

For $$\beta>0$$, the Caputo fractional differential equation $${}^{c}D_{0,t}^{\beta}\delta(t)=0$$ has a solution of the following form:

$$\delta(t)=a_{0}+a_{1}t+a_{2}t^{2}+ \cdots+a_{n-1}t^{n-1},$$

where $$a_{i} \in\mathbb{R}$$, $$i=0,1,\dots,n-1$$ and $$n=[\beta]+1$$.

### Lemma 2.5

[34]

For $$\beta>0$$, we have

$$I_{0,t}^{\beta} \bigl({}^{c}D_{0,t}^{\beta} \delta(t) \bigr)=\delta (t)+a_{0}+a_{1}t+a_{2}t^{2}+ \cdots+a_{n-1}t^{n-1},$$

where $$a_{i} \in\mathbb{R}$$, $$i=0,1,\dots,n-1$$ and $$n=[\beta]+1$$.

Let $$J=[0,T]$$ and $$C(J,\mathbb{R})$$ be the space of all continuous functions from J to $$\mathbb{R}$$. Let $$\mathfrak{\hat{B}}=PC(J,\mathbb {R})$$ represent the space of piecewise continuous functions. Obviously, $$\mathfrak{\hat{B}}=PC(J,\mathbb{R})$$ is a Banach space with the norm

$$\|y\|_{\mathfrak{\hat{B}}}= \sup_{t \in J}\bigl\{ |y|\bigr\} .$$

Now, we introduce the concept of Ulam-type stabilities for problem (1.3).

Let $$x \in\mathfrak{\hat{B}}$$, $$\varepsilon>0$$, $$\psi>0$$, $$\lambda\geq 0$$ and a nondecreasing function $$\phi\in C(J,\mathbb{R_{+}})$$. Let us consider the following set of inequalities:

\begin{aligned}& \left\{ \textstyle\begin{array}{ll} |{}^{c}D_{0,t}^{\beta}x(t)-f (t, x(t), {}^{c}D_{0,t}^{\beta}x(t) )|\leq \varepsilon, &\quad t \in(t_{k},s_{k}], k=0,1,2,\dots,m, \beta\in (0,1], \\ |x(t)-I_{s_{k-1},t_{k}}^{\beta} (\xi_{k} (t,y(t) ) )|\leq\varepsilon, &\quad t \in(s_{k-1},t_{k}], k=1,2, \dots,m, \end{array}\displaystyle \right . \end{aligned}
(2.1)
\begin{aligned}& \left\{ \textstyle\begin{array}{ll} |{}^{c}D_{0,t}^{\beta}x(t)-f (t, x(t), {}^{c}D_{0,t}^{\beta}x(t) )|\leq\phi (t),&\quad t \in(t_{k},s_{k}], k=0,1,2,\dots,m, \beta\in(0,1], \\ |x(t)-I_{s_{k-1},t_{k}}^{\beta} (\xi_{k} (t,y(t) ) )|\leq\psi,& \quad t \in (s_{k-1},t_{k}], k=1,2,\dots,m, \end{array}\displaystyle \right . \end{aligned}
(2.2)

and

$$\left\{ \textstyle\begin{array}{ll} |{}^{c}D_{0,t}^{\beta}x(t)-f (t, x(t), {}^{c}D_{0,t}^{\beta}x(t) )|\leq \varepsilon\phi(t),& \quad t \in(t_{k},s_{k}], k=0,1,2, \dots,m, \beta \in(0,1], \\ |x(t)-I_{s_{k-1},t_{k}}^{\beta} (\xi_{k} (t,y(t) ) )|\leq\varepsilon\psi, &\quad t \in(s_{k-1},t_{k}], k=1,2, \dots,m. \end{array}\displaystyle \right .$$
(2.3)

### Definition 2.6

Problem (1.3) is Ulam-Hyers stable if there exists a real constant $$c_{f,\beta,g}>0$$ such that, for given $$\varepsilon>0$$ and for each solution $$x \in\mathfrak{\hat{B}}$$ of inequality (2.1), there exists a solution $$y \in\mathfrak{\hat{B}}$$ of problem (1.3) with

$$\big|x(t)-y(t)\big|\leq c_{f,\beta,g}\varepsilon, \quad t \in J.$$

### Definition 2.7

Problem (1.3) is generalized Ulam-Hyers stable if there exists a function $$\lambda_{f,\beta,g} \in C(\mathbb{R_{+}},\mathbb{R_{+}})$$, $$\lambda_{f,\beta,g}(0)=0$$ such that, for given $$\varepsilon>0$$ and for each solution $$x \in\mathfrak{\hat{B}}$$ of inequality (2.1), there exists a solution $$y \in\mathfrak{\hat{B}}$$ of problem (1.3) with

$$\big|x(t)-y(t)\big|\leq\lambda_{f,\beta,g}(\varepsilon), \quad t \in J.$$

### Definition 2.8

Problem (1.3) is Ulam-Hyers-Rassias stable with respect to $$(\phi ,\psi)$$ if there exists a real constant $$c_{f,\beta,g,\psi}>0$$ such that, for given $$\varepsilon>0$$ and for each solution $$x \in\mathfrak {\hat{B}}$$ of inequality (2.3), there exists a solution $$y \in \mathfrak{\hat{B}}$$ of problem (1.3) with

$$\big|x(t)-y(t)\big|\leq c_{f,\beta,g,\psi}\varepsilon \bigl(\phi(t)+\psi \bigr), \quad t \in J.$$

### Definition 2.9

Problem (1.3) is generalized Ulam-Hyers-Rassias stable with respect to $$(\phi,\psi)$$ if there exists a real constant $$c_{f,\beta ,g,\psi}>0$$ such that, for each solution $$x \in\mathfrak{\hat{B}}$$ of inequality (2.2), there exists a solution $$y \in\mathfrak{\hat {B}}$$ of problem (1.3) with

$$\big|x(t)-y(t)\big|\leq c_{f,\beta,g,\psi} \bigl(\phi(t)+\psi \bigr), \quad t \in J.$$

### Remark 2.10

From the above definitions clearly we see that: (1) Definition 2.6 implies Definition 2.7 if $$\lambda_{f,\beta,g}(\varepsilon)=c_{f,\beta ,g}\varepsilon$$, $$\lambda_{f,\beta,g}(0)=0$$; (2) Definition 2.8 for $$\varepsilon=1$$ implies Definition 2.9; (3) Definition 2.8 for $$\phi (t)=\psi=1$$ implies Definition 2.6.

### Remark 2.11

A function $$x \in\mathfrak{\hat{B}}$$ is a solution of inequality (2.1) if there exist a function $$Q \in\mathfrak{\hat{B}}$$ and an x-dependent sequence $$Q_{k}$$, $$k=1,2,\dots,m$$, such that

• $$|Q(t)| \leq\varepsilon$$, $$t \in J$$.

• $$|Q_{k}| \leq\varepsilon$$, $$k = 1,2,\dots,m$$.

• $${}^{C}D_{0,t}^{\beta}x(t) = f(t,x(t),{}^{C}D_{0,t}^{\beta }x(t))+Q(t)$$, $$t \in(t_{k},s_{k}]$$, $$k = 0,1,\dots,m$$.

• $$x(t) = I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,x(t)) )+Q_{k}$$, $$t \in(s_{k-1},t_{k}]$$, $$k = 1,2,\dots,m$$.

### Remark 2.12

A function $$x \in\mathfrak{\hat{B}}$$ is a solution of inequality (2.2) if there exist a function $$Q \in\mathfrak{\hat{B}}$$ and a sequence $$Q_{k}$$, $$k=1,2,\dots,m$$, which depends on x, such that

• $$|Q(t)| \leq\phi(t)$$, $$t \in J$$.

• $$|Q_{k}| \leq\psi$$, $$k = 1,2,\dots,m$$.

• $${}^{C}D_{0,t}^{\beta}x(t) = f(t,x(t),{}^{C}D_{0,t}^{\beta }x(t))+Q(t)$$, $$t \in(t_{k},s_{k}]$$, $$k = 0,1,\dots,m$$.

• $$x(t) = I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,x(t)) )+Q_{k}$$, $$t \in(s_{k-1},t_{k}], k = 1,2,\dots,m$$.

### Remark 2.13

A function $$x \in\mathfrak{\hat{B}}$$ is a solution of inequality (2.3) if there exist a function $$Q \in\mathfrak{\hat{B}}$$ and a sequence $$Q_{k}$$, $$k=1,2,\dots,m$$, which depends on x, such that

• $$|Q(t)| \leq\varepsilon\phi(t)$$, $$t \in J$$.

• $$|Q_{k}| \leq\varepsilon\psi$$, $$k = 1,2,\dots,m$$.

• $${}^{C}D_{0,t}^{\beta}x(t) = f(t,x(t),{}^{C}D_{0,t}^{\beta }x(t))+Q(t)$$, $$t \in(t_{k},s_{k}]$$, $$k = 0,1,\dots,m$$.

• $$x(t) = I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,x(t)) )+Q_{k}$$, $$t \in(s_{k-1},t_{k}]$$, $$k = 1,2,\dots,m$$.

In order to use a fixed point approach for contractions on a generalized complete metric space to obtain our main results, we need the following result.

### Definition 2.14

[35] (Generalized metric space)

Let Y be a nonempty set, a function $$d:Y \times Y \rightarrow [0,\infty]$$ is said to be a generalized complete metric on Y if and only if for all $$u,v,w\in Y$$ the following conditions hold:

• $$d(u,v)\geq0$$,

• $$d(u,v)=0$$ if and only if $$u=v$$,

• $$d(u,v)=d(v,u)$$,

• $$d(u,v)\leq d(u,w)+d(w,v)$$.

### Definition 2.15

[35] (Generalized complete metric space)

Let Y be a generalized metric space. If every d-Cauchy sequence in Y is d-convergent, then Y is called generalized complete metric space, i.e., if $$\{a_{n}\}$$ is a sequence in Y such that $$\lim_{m,n\rightarrow\infty}d(a_{n},a_{m})=0$$, then there exists $$u \in Y$$ such that $$\lim_{n\rightarrow\infty}d(a_{n},u)=0$$.

### Theorem 2.16

[36] (Generalized Diaz-Margolis’s fixed point theorem)

Suppose that $$(Y,d)$$ is a generalized complete metric space, and an operator $$\Lambda: Y \rightarrow Y$$ is strictly contractive with Lipschitz constant $$L<1$$. If there is an integer $$m\geq0$$ such that $$d(\Lambda^{m+1}x, \Lambda^{m}x)<\infty$$ for some $$x \in Y$$, then we have the following:

1. (a)

The sequence $$\{\Lambda^{n}x\}$$ converges to a fixed point $$x^{*}$$ of Λ.

2. (b)

$$x^{*}$$ is the unique fixed point of Λ in $$Y^{*}=\{y \in Y|d(\Lambda^{m}x,y)<\infty\}$$.

3. (c)

If $$y \in Y^{*}$$, then $$d(y,x^{*})\leq\frac{1}{1-L} d(\Lambda y,y)$$.

## The solution of a linear impulsive fractional boundary value problem

In this section we find the solution of a linear impulsive problem, which is the corresponding linear form of problem (1.3), using Lemma 2.5. Consider a linear form of problem (1.3), i.e.,

$$\left\{ \textstyle\begin{array}{ll} {}^{c}D_{0,t}^{\beta}y(t)=f(t), &\quad t \in(t_{k},s_{k}], k=0,1,2,\dots ,m, \beta\in(0,1], \\ y(t)=I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t) ),& \quad t \in (s_{k-1},t_{k}], k=1,2,\dots,m, \\ y(0)=I_{0,T}^{\beta} \eta (t,y(t) ),& \end{array}\displaystyle \right .$$
(3.1)

where $${}^{c}D_{0,t}^{\beta}$$ is the Caputo fractional derivative (CDF) of order β with lower limit 0, $$0=t_{0}< s_{0}< t_{1}< s_{1}<\cdots <t_{m}<s_{m}=T$$, $$T>0$$ is pre-fixed number, $$f:J\rightarrow\mathbb{R}$$ is a given continuous function, $$\xi_{k}:[s_{k-1},t_{k}]\rightarrow \mathbb{R}$$, $$k=1,2,\dots,m$$, are non-instantaneous impulses, $$\eta :[0,T]\times\mathbb{R}\rightarrow\mathbb{R}$$ is also a given continuous function, $$I_{s_{k-1},t_{k}}^{\beta}$$ and $$I_{0,T}^{\beta}$$ are fractional integrals of order β with limits $$s_{k-1}$$ to $$t_{k}$$ and 0 to T, respectively.

### Lemma 3.1

Let $$\beta\in(0,1]$$ and $$f:J\rightarrow\mathbb{R}$$ be a given continuous function. A function $$y \in\mathfrak{\hat{B}}$$ is a solution of problem (3.1) if and only if $$y \in\mathfrak{\hat {B}}$$ is a solution of the following integral equation:

$$y(t)=\left \{ \textstyle\begin{array}{ll}\frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s)\,ds+\frac{1}{\Gamma(\beta)}\int_{0}^{T}(T-s)^{\beta-1}\eta (s,y(s))\,ds, &\quad t \in[0,s_{0}], \\ I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t) ), &\quad t \in(s_{k-1}, t_{k}],\\ &\quad k=1,2,\dots,m, \\ \frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta-1}f(s)\,ds+\frac {1}{\Gamma(\beta)}\int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi_{k}(s)\, ds &\\ \quad {}-\frac{1}{\Gamma(\beta)}\int_{0}^{t_{k}}(t_{k}-s)^{\beta-1}f(s)\, ds, &\quad t \in(t_{k}, s_{k}],\\ &\quad k=1,2,\dots,m. \end{array}\displaystyle \right .$$
(3.2)

### Proof

For $$t \in[0,s_{0}]$$, consider

$${}^{c}D_{0,t}^{\beta}y(t)=f(t), \quad y(0)=I_{0,T}^{\beta} \eta \bigl(t,y(t) \bigr).$$

Using Lemma 2.5 and the initial condition, we can get

$$y(t)=\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}f(s)\,ds+ \frac {1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,y(s) \bigr)\,ds, \quad t \in[0,s_{0}].$$

If $$t \in(s_{0},t_{1}]$$, then $$y(t)=I_{s_{0},t_{1}}^{\beta}\xi _{1}(t)$$. For $$t \in(t_{1},s_{1}]$$, we consider

$${}^{c}D_{0,t}^{\beta}y(t)=f(t), \quad y(t_{1})=I_{s_{0},t_{1}}^{\beta }\xi_{1}(t_{1}).$$

Applying Lemma 2.5 to the above equation and using the condition $$y(t_{1})=I_{s_{0},t_{1}}^{\beta}\xi_{1}(t_{1})$$, we obtain

$$y(t)=\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}f(s)\,ds+ \frac {1}{\Gamma(\beta)} \int_{s_{0}}^{t_{1}}(t_{1}-s)^{\beta-1} \xi_{1}(s)\, ds-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{1}}(t_{1}-s)^{\beta-1}f(s) \,ds.$$

If $$t \in(s_{1},t_{2}]$$, then $$y(t)=I_{s_{1},t_{2}}^{\beta}\xi _{2}(t)$$. When $$t \in(t_{2},s_{2}]$$, we consider

$${}^{c}D_{0,t}^{\beta}y(t)=f(t), \quad y(t_{2})=I_{s_{1},t_{2}}^{\beta }\xi_{2}(t_{2}).$$

With the help of Lemma 2.5 and condition $$y(t_{2})=I_{s_{1},t_{2}}^{\beta}\xi_{2}(t_{2})$$, we get

$$y(t)=\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}f(s)\,ds+ \frac {1}{\Gamma(\beta)} \int_{s_{1}}^{t_{2}}(t_{2}-s)^{\beta-1} \xi_{2}(s)\, ds-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{2}}(t_{2}-s)^{\beta-1}f(s) \,ds.$$

Generally, if $$t \in(s_{k-1},t_{k}]$$, then $$y(t)=I_{s_{k-1},t_{k}}^{\beta}\xi_{k}(t)$$. For $$t \in(t_{k},s_{k}]$$, we consider

$${}^{c}D_{0,t}^{\beta}y(t)=f(t), \quad y(t_{k})=I_{s_{k-1},t_{k}}^{\beta }\xi_{k}(t_{k}).$$

Using Lemma 2.5 and condition $$y(t_{k})=I_{s_{k-1},t_{k}}^{\beta}\xi _{k}(t_{k})$$, we obtain

$$y(t)=\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}f(s)\,ds+ \frac {1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k}(s)\, ds-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta-1}f(s) \,ds.$$

Conversely, let $$y \in\mathfrak{\hat{B}}$$ be a solution of the impulsive fractional integral equation (3.2). Using the fact that $${}^{c}D_{0,t}^{\beta}$$ is the left inverse of $$I_{0,t}^{\beta}$$, we can easily get our required result. □

### Remark 3.2

If $$x \in\mathfrak{\hat{B}}$$ represents a solution of inequality (2.1), then $$x \in\mathfrak{\hat{B}}$$ is a solution of the following integral inequality:

$$\left\{ \textstyle\begin{array}{ll} |x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds\\ \qquad{}- \frac{1}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\eta (s,x(s) )\,ds |\\ \quad\leq\frac{\varepsilon t^{\beta}}{\Gamma(\beta+1)}, &\quad t \in[0,s_{0}], \\ |x(t)-I_{s_{k-1},t_{k}}^{\beta}\xi_{k} (t,x(t) )|\leq \varepsilon, &\quad t \in(s_{k-1},t_{k}], k=1,2,\dots,m, \\ |x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds\\ \qquad{}- \frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} (s,x(s) )\,ds \\ \qquad{} +\frac {1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds |\\ \quad\leq \frac{\varepsilon }{\Gamma(\beta+1)} \{t^{\beta}+(t_{k}-s_{k-1})^{\beta}+t_{k}^{\beta } \}, &\quad t \in(t_{k},s_{k}], k=1,2,\dots,m. \end{array}\displaystyle \right .$$

As from Remark 2.11, we have

$$\left\{ \textstyle\begin{array}{ll} {}^{C}D_{0,t}^{\beta}x(t) = f (t,x(t),{}^{C}D_{0,t}^{\beta}x(t) )+Q(t), &\quad t \in(t_{k},s_{k}], k = 0,1,\dots,m, \\ x(t) = I_{s_{k-1},t_{k}}^{\beta} (\xi_{k} (t,x(t) ) )+Q_{k}, &\quad t \in(s_{k-1},t_{k}], k = 1,2,\dots,m, \\ x(0)=I_{0,T}^{\beta} \eta (t,x(t) ). \end{array}\displaystyle \right .$$

Using Lemma 3.1, the solution of the above problem is

$$x(t)=\left \{ \textstyle\begin{array}{ll}\frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}[f(s,x(s),{}^{c}D_{0,t}^{\beta}x(s))+Q(s)]\,ds\\ \quad{}+\frac{1}{\Gamma(\beta )}\int_{0}^{T}(T-s)^{\beta-1}\eta(s,x(s))\,ds, &\quad t \in[0,s_{0}], \\ I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,x(t)) )+Q_{k}, &\quad t \in (s_{k-1}, t_{k}],\\ &\quad k=1,2,\dots,m, \\ \frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}[f(s,x(s),{}^{c}D_{0,t}^{\beta}x(s))+Q(s)]\,ds\\ \quad{}+\frac{1}{\Gamma(\beta )}\int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}[\xi_{k}(s,x(s))+Q_{k}]\,ds \\ \quad{} -\frac{1}{\Gamma(\beta)}\int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}[f(s,x(s),{}^{c}D_{0,t}^{\beta}x(s))+Q(s)]\,ds, &\quad t \in(t_{k}, s_{k}],\\ &\quad k=1,2,\dots,m. \end{array}\displaystyle \right .$$

With the help of the above solution and Remark 2.11, we verified Remark 3.2 in the following lines.

For $$t \in[0,s_{0}]$$, we consider

$$\begin{gathered} \bigg|x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds- \frac{1}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,x(s) \bigr)\,ds \bigg| \\ \quad= \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1} \bigl[f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)+Q(s) \bigr] \,ds+\frac{1}{\Gamma(\beta )} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,x(s) \bigr)\,ds \\ \qquad{}-\frac{1}{\Gamma(\beta )} \int_{0}^{t}(t-s)^{\beta-1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds- \frac {1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,x(s) \bigr)\,ds \bigg| \\ \quad\leq\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\big|Q(s)\big|\,ds \\ \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\,ds \\ \quad\leq\frac{\varepsilon t^{\beta}}{\Gamma(\beta+1)}.\end{gathered}$$

For $$t \in(s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$, consider

\begin{aligned} \big|x(t)-I_{s_{k-1},t_{k}}^{\beta}\xi_{k} \bigl(t,x(t) \bigr)\big| &=\big|I_{s_{k-1},t_{k}}^{\beta}\xi _{k} \bigl(t,x(t) \bigr)+Q_{k}-I_{s_{k-1},t_{k}}^{\beta}\xi_{k} \bigl(t,x(t) \bigr)\big| \\ &=|Q_{k}| \leq\varepsilon, \quad k=1,2,\dots,m.\end{aligned}

For $$t \in(t_{k},s_{k}]$$, $$k=1,2,\dots,m$$, we consider

\begin{aligned}& \bigg|x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds- \frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} \bigl(s,x(s) \bigr)\,ds \\& \qquad{}+\frac {1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds \bigg| \\& \quad= \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1} \bigl[f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)+Q(s) \bigr] \,ds\\& \qquad{}+\frac{1}{\Gamma(\beta )} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \bigl[\xi_{k} \bigl(s,x(s) \bigr)+Q_{k} \bigr]\,ds \\& \qquad{}-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1} \bigl[f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)+Q(s) \bigr]\,ds\\& \qquad{}-\frac{1}{\Gamma(\beta )} \int_{0}^{t}(t-s)^{\beta-1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds \\& \qquad{}-\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,x(s) \bigr)\,ds+\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds \bigg| \\& \quad\leq\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\big|Q(s)\big|\,ds+ \frac {1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}|Q_{k}| \, ds\\& \qquad{}+\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta-1}\big|Q(s)\big| \,ds \\& \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\, ds+ \frac{\varepsilon}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \,ds+\frac{\varepsilon}{\Gamma (\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta-1}\,ds \\& \quad\leq\frac{\varepsilon t^{\beta}}{\beta\Gamma(\beta)}+\frac{\varepsilon (t_{k}-s_{k-1})^{\beta}}{\beta\Gamma(\beta)}+\frac{\varepsilon t_{k}^{\beta}}{\beta\Gamma(\beta)} \\& \quad=\frac{\varepsilon}{\Gamma(\beta+1)} \bigl\{ t^{\beta}+(t_{k}-s_{k-1})^{\beta }+t_{k}^{\beta} \bigr\} . \end{aligned}

Hence Remark 3.2 is verified.

### Remark 3.3

If $$x \in\mathfrak{\hat{B}}$$ represents a solution of inequality (2.2), then $$x \in\mathfrak{\hat{B}}$$ is a solution of the following integral inequality:

$$\left\{ \textstyle\begin{array}{ll} |x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds\\ \qquad{}- \frac{1}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\eta (s,x(s) )\,ds | \\ \quad \leq\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\phi(s)\,ds, &\quad t \in[0,s_{0}], \\ |x(t)-I_{s_{k-1},t_{k}}^{\beta}\xi_{k} (t,x(t) )|\leq \psi, &\quad t \in (s_{k-1},t_{k}], k=1,2,\dots,m, \\ |x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds\\ \qquad{}- \frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} (s,x(s) )\,ds \\ \qquad{} +\frac {1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds |\\ \quad\leq \frac{1}{\Gamma(\beta )} \int_{0}^{t}(t-s)^{\beta-1}\phi(s)\,ds \\ \qquad{}+ \frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta-1} \phi(s)\, ds+\frac{\psi(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta+1)}, &\quad t \in (t_{k},s_{k}], k=1,2,\dots,m. \end{array}\displaystyle \right .$$

### Remark 3.4

If $$x \in\mathfrak{\hat{B}}$$ represents a solution of inequality (2.3), then $$x \in\mathfrak{\hat{B}}$$ is a solution of the following integral inequality:

$$\left\{ \textstyle\begin{array}{ll} |x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds\\ \qquad{}- \frac{1}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\eta (s,x(s) )\,ds | \\ \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\phi (s)\,ds, &\quad t \in[0,s_{0}], \\ |x(t)-I_{s_{k-1},t_{k}}^{\beta}\xi_{k} (t,x(t) )|\leq \varepsilon\psi, &\quad t \in(s_{k-1},t_{k}], k=1,2,\dots,m, \\ |x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds\\ \quad\quad{}- \frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} (s,x(s) )\,ds \\ \qquad{} +\frac {1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f (s,x(s),{}^{c}D_{0,t}^{\beta}x(s) )\,ds |\\ \quad\leq \frac{\varepsilon }{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\phi(s)\,ds \\ \qquad{} +\frac{\varepsilon}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1} \phi(s)\,ds+\frac{\varepsilon\psi(t_{k}-s_{k-1})^{\beta}}{\Gamma (\beta+1)}, &\quad t \in(t_{k},s_{k}], k=1,2,\dots,m. \end{array}\displaystyle \right .$$

By using Remark 2.12 and Remark 2.13, we can verify Remark 3.3 and Remark 3.4, respectively, by the same procedure as we used for verification of Remark 3.2.

## Main results

In this section, we prove four different types of Ulam stability results for problem (1.3). We also establish some conditions for the existence and uniqueness of the solutions of problem (1.3) in view of Theorem 2.16.

First, we introduce the following assumptions:

$$(A_{1})$$ :

The function $$f:J\times\mathbb{R}\times\mathbb {R}\rightarrow\mathbb{R}$$ is continuous.

$$(A_{2})$$ :

There exist constants $$\bar{K_{f}}>0$$ and $$0<\bar {L_{f}}<1$$ such that

$$\big|f(t,\omega_{1},\varpi_{1})-f(t,\omega_{2}, \varpi_{2})\big|\leq\bar {K_{f}}|\omega_{1}- \omega_{2}|+\bar{L_{f}}|\varpi_{1}- \varpi_{2}|$$

for all $$\omega_{1},\omega_{2},\varpi_{1},\varpi_{2} \in\mathbb{R}$$ and $$t \in J$$.

$$(A_{3})$$ :

There exists a constant $$L_{\eta}>0$$ such that

$$\big|\eta(t,\omega)-\eta(t,\varpi)\big|\leq L_{\eta}|\omega-\varpi|$$

for all $$\omega,\varpi\in\mathbb{R}$$ and $$t \in J$$.

$$(A_{4})$$ :

There exists a constant $$L_{\xi_{k}}>0$$ such that

$$\big|I_{s_{k-1},t_{k}}^{\beta}\xi(t,\omega)-I_{s_{k-1},t_{k}}^{\beta}\xi (t,\varpi)\big|\leq L_{\xi_{k}}|\omega-\varpi|$$

for all $$\omega,\varpi\in\mathbb{R}$$ and $$t \in(s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$.

$$(A_{5})$$ :

Let $$\phi:J\rightarrow\mathbb{R_{+}}$$ be any continuous nondecreasing function from the space of continuous functions $$C(J,\mathbb{R_{+}})$$, there exist nonnegative constants $$c_{\phi}$$ and $$c_{\beta}$$ such that

$$\biggl( \int_{0}^{t} \bigl(\phi(s) \bigr)^{\frac{1}{\gamma}} \,ds \biggr)^{\gamma}\leq c_{\phi}\phi(t), \quad t \in J,$$

and

$$\biggl( \int_{0}^{t} \bigl({}^{c}D_{0,t}^{\beta} \phi(s) \bigr)^{\frac{1}{\gamma}}\,ds \biggr)^{\gamma}\leq c_{\beta} \phi(t), \quad t \in J,$$

where $$0<\gamma<\beta\leq1$$.

### Theorem 4.1

Assume that $$(A_{1})$$-$$(A_{5})$$ are true and a function $$x \in\mathfrak {\hat{B}}$$ satisfies inequality (2.3), then there exists a unique solution $$x_{0}$$ of problem (1.3) such that

$$x_{0}(t)=\left \{ \textstyle\begin{array}{ll}\frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s,x_{0}(s),{}^{c}D_{0,t}^{\beta}x_{0}(s))\,ds\\ \quad{}+\frac{1}{\Gamma(\beta )}\int_{0}^{T}(T-s)^{\beta-1}\eta(s,x_{0}(s))\,ds, &\quad t \in [0,s_{0}], \\ I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,x_{0}(t)) ), &\quad t \in (s_{k-1}, t_{k}],\\ &\quad k=1,2,\dots,m, \\ \frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s,x_{0}(s),{}^{c}D_{0,t}^{\beta}x_{0}(s))\,ds\\ \quad{}+\frac{1}{\Gamma(\beta )}\int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi_{k}(s,x_{0}(s))\,ds \\ \quad{}-\frac{1}{\Gamma(\beta)}\int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f(s,x_{0}(s),{}^{c}D_{0,t}^{\beta}x_{0}(s))\,ds, &\quad t \in(t_{k}, s_{k}],\\ &\quad k=1,2,\dots,m, \end{array}\displaystyle \right .$$
(4.1)

and

$$|x(t)-x_{0}(t)|\leq\frac{ [\frac{c_{\phi}}{\Gamma(\beta)} (\frac {1-\gamma}{\beta-\gamma} )^{\beta-\gamma} (T^{\beta-\gamma }+t_{k}^{\beta-\gamma} )+\frac{(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta +1)} ]\varepsilon(\phi(t)+\psi)}{1-L}$$
(4.2)

for all $$t \in J$$, $$0<\gamma<\beta\leq1$$, $$t_{k}$$, $$s_{k-1}$$ are considered to be maximum values and $$L=\max\{L_{1},L_{2}\}<1$$, where

$$\begin{gathered} L_{1}=\max \biggl\{ \frac{\bar{K_{f}}c_{\phi}+\bar{L_{f}}c_{\beta}}{\Gamma (\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma} \biggr)^{1-\gamma} \bigl(s_{k}^{\beta -\gamma}+t_{k}^{\beta-\gamma} \bigr)+L_{\xi_{k}}\Big| k=0,1,\dots,m \biggr\} , \\L_{2}=\max \biggl\{ \frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta }+t_{k}^{\beta} \bigr)+L_{\xi_{k}}\Big| k=1,2,\dots,m \biggr\} ,\end{gathered}$$

i.e., problem (1.3) is Ulam-Hyers-Rassias stable.

### Proof

Let Y be the space of piecewise continuous functions defined by

$$Y=\{p:J\rightarrow\mathbb{R}| p \in\mathfrak{\hat{B}}\},$$
(4.3)

and let us introduce a generalized complete metric on Y as

$$d(p,q)=\inf \bigl\{ C_{1}+C_{2} \in[0, \infty]|\big|p(t)-q(t)\big|\leq (C_{1}+C_{2})\varepsilon \bigl( \phi(t)+\psi \bigr) \bigr\} ,$$
(4.4)

for all $$t \in J$$, where

$$C_{1} \in \bigl\{ C \in[0,\infty]|\big|p(t)-q(t)\big|\leq C\varepsilon\phi(t) \bigr\} , \quad t \in(t_{k},s_{k}], k=0,1,\dots,m$$

and

$$C_{2} \in \bigl\{ C \in[0,\infty]|\big|p(t)-q(t)\big|\leq C\varepsilon\psi \bigr\} , \quad t \in(s_{k-1}, t_{k}], k=,1,\dots,m.$$

Now, we define an operator $$\Lambda:Y \rightarrow Y$$ by

$$(\Lambda y) (t)=\left \{ \textstyle\begin{array}{ll}\frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s,y(s),{}^{c}D_{0,t}^{\beta}y(s))\,ds\\ \quad{}+\frac{1}{\Gamma(\beta)}\int _{0}^{T}(T-s)^{\beta-1}\eta(s,y(s))\,ds, &\quad t \in[0,s_{0}], \\ I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,y(t)) ), &\quad t \in (s_{k-1}, t_{k}],\\ &\quad k=1,2,\dots,m, \\ \frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s,y(s),{}^{c}D_{0,t}^{\beta}y(s))\,ds\\ \quad{}+\frac{1}{\Gamma(\beta)}\int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi_{k}(s,y(s))\,ds \\ \quad{}-\frac {1}{\Gamma(\beta)}\int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f(s,y(s),{}^{c}D_{0,t}^{\beta}y(s))\,ds, &\quad t \in(t_{k}, s_{k}], \\ &\quad k=1,2,\dots,m, \end{array}\displaystyle \right .$$
(4.5)

for all $$y \in Y$$. Clearly, Λ is a well-defined operator because y and f are continuous functions.

To achieve our goal, first we need to prove that Λ is strictly contractive on Y. For this we take any $$p,q \in Y$$ and $$C_{1},C_{2} \in[0,\infty]$$, using Eq. (4.4), we get

$$\big|p(t)-q(t)\big|\leq \left \{ \textstyle\begin{array}{ll}C_{1}\varepsilon\phi(t),& \quad t \in(t_{k},s_{k}], k=0,1,\dots,m, \\ C_{2}\varepsilon\psi, &\quad t \in(s_{k-1},t_{k}], k=1,2,\dots,m. \end{array}\displaystyle \right .$$
(4.6)

From the linearity property of Caputo fractional derivative, Eqs. (4.5), (4.6) and assumptions $$(A_{2})$$-$$(A_{5})$$, we obtain the following.

Case 1: For $$t \in[0,s_{0}]$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\ &+ \frac {1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,p(s) \bigr)\,ds \\ &-\frac {1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta }q(s) \bigr)\,ds\\ &- \frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,q(s) \bigr)\,ds \bigg| \\ \leq{}&\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1} \big|f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)-f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr) \big|\,ds \\ &+\frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1} \big|\eta \bigl(s,p(s) \bigr)-\eta \bigl(s,q(s) \bigr) \big|\,ds \\ \leq{}&\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1} \bigl[\bar {K_{f}}\big|p(s)-q(s)\big|+\bar{L_{k}}\big|{}^{c}D_{0,t}^{\beta }p(s)-{}^{c}D_{0,t}^{\beta}q(s)\big| \bigr]\,ds \\ &+\frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1} \bigl[L_{\eta }\big|p(s)-q(s)\big| \bigr]\,ds \\ \leq{}&\frac{\bar{K_{f}}C_{1}\varepsilon}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}\phi(s)\,ds+ \frac{\bar{L_{f}}C_{1}\varepsilon }{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1} \bigl({}^{c}D_{0,t}^{\beta}\phi (s) \bigr)\,ds \\ &+\frac{\bar{L_{\eta}}C_{1}\varepsilon}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\phi(s)\,ds \\ \leq{}&\frac{\bar{K_{f}}C_{1}\varepsilon}{\Gamma(\beta)} \biggl( \int _{0}^{t}(t-s)^{\frac{\beta-1}{1-\gamma}}\,ds \biggr)^{1-\gamma} \biggl( \int _{0}^{t} \bigl(\phi(s) \bigr)^{\frac{1}{\gamma}} \,ds \biggr)^{\gamma}\\ &+\frac{\bar {L_{f}}C_{1}\varepsilon}{\Gamma(\beta)} \biggl( \int_{0}^{t}(t-s)^{\frac {\beta-1}{1-\gamma}}\,ds \biggr)^{1-\gamma} \biggl( \int_{0}^{t} \bigl({}^{c}D_{0,t}^{\beta} \phi(s) \bigr)^{\frac{1}{\gamma }}\,ds \biggr)^{\gamma}\\ & +\frac{L_{\eta}C_{1}\varepsilon}{\Gamma(\beta)} \biggl( \int _{0}^{T}(T-s)^{\frac{\beta-1}{1-\gamma}}\,ds \biggr)^{1-\gamma} \biggl( \int _{0}^{T} \bigl(\phi(s) \bigr)^{\frac{1}{\gamma}} \,ds \biggr)^{\gamma} \\ \leq{}&\frac{\bar{K_{f}}C_{1}\varepsilon}{\Gamma(\beta)} \biggl(\frac{1-\gamma }{\beta-\gamma} \biggr)^{1-\gamma}t^{\beta-\gamma}c_{\phi} \phi(t)+\frac {\bar{L_{f}}C_{1}\varepsilon}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta -\gamma} \biggr)^{1-\gamma}t^{\beta-\gamma}c_{\beta} \phi(t)\\ &+\frac{L_{\eta }C_{1}\varepsilon}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma} \biggr)^{1-\gamma}T^{\beta-\gamma}c_{\phi} \phi(t) \\ \leq{}& \biggl[\frac{\bar{K_{f}}c_{\phi} (\frac{1-\gamma}{\beta-\gamma } )^{1-\gamma}}{\Gamma(\beta)}s_{0}^{\beta-\gamma}+ \frac{\bar {L_{f}}c_{\beta} (\frac{1-\gamma}{\beta-\gamma} )^{1-\gamma }}{\Gamma(\beta)}s_{0}^{\beta-\gamma}+\frac{L_{\eta}c_{\phi} (\frac {1-\gamma}{\beta-\gamma} )^{1-\gamma}}{\Gamma(\beta)}T^{\beta-\gamma } \biggr]\\ &\times C_{1}\varepsilon\phi(t) \\ ={}&\frac{ (\frac{1-\gamma}{\beta-\gamma} )^{1-\gamma}}{\Gamma(\beta )} \bigl[(\bar{K_{f}}c_{\phi}+ \bar{L_{f}}c_{\beta})s_{0}^{\beta-\gamma }+L_{\eta}c_{\phi}T^{\beta-\gamma} \bigr]C_{1}\varepsilon\phi(t).\end{aligned}

Case 2: For $$t \in(s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|&=\big|I_{s_{k-1},t_{k}}^{\beta}\xi _{k} \bigl(t,p(t) \bigr)-I_{s_{k-1},t_{k}}^{\beta} \xi_{k} \bigl(t,q(t) \bigr)\big| \\ &\leq L_{\xi_{k}}\big|p(t)-q(t)\big| \leq L_{\xi_{k}}C_{2}\varepsilon\psi.\end{aligned}

Case 3(a): For $$t \in(t_{k},s_{k}]$$ and $$s \in (t_{k},s_{k}]$$, $$k=1,2,\dots,m$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&+ \frac {1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,p(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,q(s) \bigr)\,ds\\&+\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \bigg| \\ \leq{}& \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta -1} \xi_{k} \bigl(s,p(s) \bigr)\,ds\\&-\frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} \bigl(s,q(s) \bigr)\,ds \bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t_{k}}(t_{k}-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds \bigg| \\ \leq{}&\frac{ (\frac{1-\gamma}{\beta-\gamma} )^{1-\gamma}}{\Gamma (\beta)} \bigl[(\bar{K_{f}}c_{\phi}+ \bar{L_{f}}c_{\beta})s_{k}^{\beta -\gamma} \bigr]C_{1}\varepsilon\phi(t)+L_{\xi_{k}}C_{2} \varepsilon\psi\\& +\frac{ (\frac{1-\gamma}{\beta-\gamma} )^{1-\gamma}}{\Gamma(\beta )} \bigl[(\bar{K_{f}}c_{\phi}+ \bar{L_{f}}c_{\beta})t_{k}^{\beta-\gamma } \bigr]C_{1}\varepsilon\phi(t) \\ \leq {}&\biggl[\frac{\bar{K_{f}}c_{\phi}+\bar{L_{f}}c_{\beta}}{\Gamma(\beta )} \biggl(\frac{1-\gamma}{\beta-\gamma} \biggr)^{1-\gamma} \bigl(s_{k}^{\beta-\gamma }+t_{k}^{\beta-\gamma} \bigr)+L_{\xi_{k}} \biggr]\\&\times(C_{1}+C_{2})\varepsilon \bigl(\phi (t)+\psi \bigr).\end{aligned}

Case 3(b): For $$t \in(t_{k},s_{k}]$$ and $$s \in (s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&+ \frac {1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,p(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,q(s) \bigr)\,ds\\&+\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\bigg| \\ \leq{}& \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta -1} \xi_{k} \bigl(s,p(s) \bigr)\,ds\\&-\frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} \bigl(s,q(s) \bigr)\,ds \bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t_{k}}(t_{k}-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds \bigg| \\ \leq {}&\biggl[\frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta}+t_{k}^{\beta } \bigr)+L_{\xi_{k}} \biggr]C_{2}\varepsilon\psi \\ \leq {}&\biggl[\frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta}+t_{k}^{\beta } \bigr)+L_{\xi_{k}} \biggr](C_{1}+C_{2})\varepsilon \bigl(\phi(t)+\psi \bigr). \end{aligned}

From the above cases, for any $$p,q \in Y$$ and $$L<1$$, we obtain

$$\big|(\Lambda p) (t)-(\Lambda q) (t)\big|\leq L(C_{1}+C_{2}) \varepsilon \bigl(\phi (t)+\psi \bigr), \quad t \in J,$$

that is,

$$d(\Lambda p,\Lambda q)\leq L(C_{1}+C_{2})\varepsilon \bigl( \phi(t)+\psi \bigr), \quad t \in J,$$

which implies that Λ is strictly contractive on Y.

It follows from Eqs. (4.3) and (4.5) that for any arbitrary $$p_{0} \in Y$$, there exists a constant $$0<\lambda_{1}<\infty$$ such that

\begin{aligned} \big|(\Lambda p_{0}) (t)-p_{0}(t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p_{0}(s),{}^{c}D_{0,t}^{\beta}p_{0}(s) \bigr)\, ds\\ &+\frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,p_{0}(s) \bigr)\, ds-p_{0}(t)\bigg| \\ \leq{}&\lambda_{1}\varepsilon\phi(t)\leq\lambda_{1} \varepsilon \bigl(\phi(t)+\psi \bigr), \quad t \in[0,s_{0}],\end{aligned}

also there is a constant $$0<\lambda_{2}<\infty$$ such that

\begin{aligned} \big|(\Lambda p_{0}) (t)-p_{0}(t)\big|&=\big|I_{s_{k-1},t_{k}}^{\beta} \xi _{k} \bigl(t,p_{0}(t) \bigr)-p_{0}(t)\big|\\&\leq \lambda_{2}\varepsilon\psi\leq\lambda _{2}\varepsilon \bigl( \phi(t)+\psi \bigr), \quad t \in(s_{k-1},t_{k}], k=1,2, \dots,m.\end{aligned}

Furthermore, we can also find a constant $$0<\lambda_{3}<\infty$$ such that

\begin{aligned} \big|(\Lambda p_{0}) (t)-p_{0}(t)\big|= {}&\bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p_{0}(s),{}^{c}D_{0,t}^{\beta}p_{0}(s) \bigr)\, ds\\&+\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,p_{0}(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int _{0}^{t_{k}}(t_{k}-s)^{\beta-1}f \bigl(s,p_{0}(s),{}^{c}D_{0,t}^{\beta }p_{0}(s) \bigr)\,ds-p_{0}(t) \bigg|\\\leq{}&\lambda_{3}\varepsilon \bigl( \phi(t)+\psi \bigr)\end{aligned}

for all $$t \in(t_{k},s_{k}]$$, $$k=1,2,\dots,m$$.

Since f, $$\xi_{k}$$ and $$p_{0}$$ are bounded on J and $$\phi(\cdot)+\psi >0$$, therefore Eq. (4.4) implies that

$$d(\Lambda p_{0},p_{0})< \infty.$$

By using Theorem 2.16(a), there exists a continuous function $$x_{0}:J\rightarrow\mathbb{R}$$ such that $$\Lambda^{n}p_{0}\rightarrow x_{0}$$ in $$(Y,d)$$ as $$n\rightarrow\infty$$ and $$\Lambda x_{0}=x_{0}$$, that is, $$x_{0}$$ satisfies Eq. (4.1) for all $$t \in J$$.

Next, we verify that

$$\bigl\{ p \in Y| d(p_{0},p)< \infty \bigr\} =Y.$$

For any $$p \in Y$$, since p and $$p_{0}$$ are bounded on J and $$\min_{t \in J}\varepsilon(\phi(t)+\psi)>0$$, there exists a constant $$0<\lambda_{p}<\infty$$ such that

$$\big|p_{0}(t)-p(t)\big|\leq\lambda_{p}\varepsilon \bigl(\phi(t)+ \psi \bigr), \quad t \in J.$$

Therefore, we get $$d(\Lambda p_{0},p_{0})<\infty$$ for all $$p \in Y$$, that is,

$$\bigl\{ p \in Y| d(p_{0},p)< \infty \bigr\} =Y.$$

Hence, in view of Theorem 2.16(b), we conclude that $$x_{0}$$ is the unique continuous function with property (4.1).

On the other hand, it follows from Remark 3.4 and assumption $$(A_{5})$$ that: for $$t \in[0,s_{0}]$$, we have

\begin{aligned}& \bigg|x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds\\& \qquad{}- \frac{1}{\Gamma(\beta)} \int _{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,x(s) \bigr)\,ds \bigg| \\& \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\phi (s)\,ds \\& \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \biggl( \int_{0}^{t}(t-s)^{\frac{\beta -1}{1- \gamma}}\,ds \biggr)^{1-\gamma} \biggl( \int_{0}^{t} \bigl(\phi(s) \bigr)^{\frac {1}{\gamma}} \,ds \biggr)^{\gamma} \\& \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma } \biggr)^{1-\gamma}t^{\beta-\gamma}c_{\phi} \phi(t) \\& \quad\leq \biggl[\frac{c_{\phi}}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta -\gamma} \biggr)^{1-\gamma}s_{0}^{\beta-\gamma} \biggr]\varepsilon\phi(t) \\& \quad\leq \biggl[\frac{c_{\phi}}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta -\gamma} \biggr)^{1-\gamma}s_{0}^{\beta-\gamma} \biggr]\varepsilon \bigl(\phi (t)+\psi \bigr); \end{aligned}

for $$t \in(s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$, we have

$$\big|x(t)-I_{s_{k-1},t_{k}}^{\beta}\xi_{k} \bigl(t,x(t) \bigr)\big|\leq \varepsilon\psi;$$

for $$t \in(t_{k},s_{k}]$$, $$k=1,2,\dots,m$$, we have

$$\begin{gathered} \bigg|x(t)-\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds- \frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} \bigl(s,x(s) \bigr)\,ds \\ \quad\quad{}+\frac {1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,x(s),{}^{c}D_{0,t}^{\beta}x(s) \bigr)\,ds \bigg|\\ \quad\leq \frac{\varepsilon }{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}\phi(s)\,ds +\frac{\varepsilon}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1} \phi(s)\,ds+\frac{\varepsilon\psi(t_{k}-s_{k-1})^{\beta}}{\Gamma (\beta+1)} \\ \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \biggl( \int_{0}^{t}(t-s)^{\frac{\beta -1}{1- \gamma}}\,ds \biggr)^{1-\gamma} \biggl( \int_{0}^{t} \bigl(\phi(s) \bigr)^{\frac {1}{\gamma}} \,ds \biggr)^{\gamma}\\ \qquad{}+\frac{\varepsilon}{\Gamma(\beta)} \biggl( \int_{0}^{t_{k}}(t_{k}-s)^{\frac{ \beta-1}{1-\gamma}}\,ds \biggr)^{1-\gamma } \biggl( \int_{0}^{t_{k}} \bigl(\phi(s) \bigr)^{\frac{1}{\gamma}} \,ds \biggr)^{\gamma} +\frac{\varepsilon\psi(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta+1)} \\ \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma } \biggr)^{1-\gamma}t^{\beta-\gamma}c_{\phi} \phi(t)+\frac{\varepsilon }{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma} \biggr)^{1-\gamma }t_{k}^{\beta-\gamma}c_{\phi} \phi(t)+\frac{\varepsilon\psi (t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta+1)} \\ \quad\leq\frac{\varepsilon}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma } \biggr)^{1-\gamma}T^{\beta-\gamma}c_{\phi} \phi(t)+\frac{\varepsilon }{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma} \biggr)^{1-\gamma }t_{k}^{\beta-\gamma}c_{\phi} \phi(t)+\frac{\varepsilon\psi (t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta+1)} \\ \quad\leq\frac{c_{\phi}}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma } \biggr)^{\beta-\gamma} \bigl(T^{\beta-\gamma}+t_{k}^{\beta-\gamma} \bigr)\varepsilon\phi(t)+ \frac{\varepsilon\psi(t_{k}-s_{k-1})^{\beta}}{\Gamma (\beta+1)} \\ \quad\leq \biggl[\frac{c_{\phi}}{\Gamma(\beta)} \biggl(\frac{1-\gamma}{\beta -\gamma} \biggr)^{\beta-\gamma} \bigl(T^{\beta-\gamma}+t_{k}^{\beta-\gamma } \bigr)+\frac{(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta+1)} \biggr]\varepsilon \bigl(\phi(t)+\psi \bigr).\end{gathered}$$

Using the definition of Λ given in Eq. (4.5), from the above cases we get

$$\big|x(t)-(\Lambda x) (t)\big|\leq \biggl[\frac{c_{\phi}}{\Gamma(\beta)} \biggl(\frac {1-\gamma}{\beta-\gamma} \biggr)^{\beta-\gamma} \bigl(T^{\beta-\gamma }+t_{k}^{\beta-\gamma} \bigr)+\frac{(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta +1)} \biggr]\varepsilon \bigl(\phi(t)+\psi \bigr),$$

that is,

$$d(x,\Lambda x)\leq\frac{c_{\phi}}{\Gamma(\beta)} \biggl(\frac{1-\gamma }{\beta-\gamma} \biggr)^{\beta-\gamma} \bigl(T^{\beta-\gamma}+t_{k}^{\beta -\gamma} \bigr)+\frac{(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta+1)}, \quad t \in J$$
(4.7)

and $$t_{k}$$, $$s_{k-1}$$ are considered to be maximum values. Hence, in view of Theorem 2.16(c) together with (4.7), we obtain

$$d(x,x_{0})\leq\frac{d(x,\Lambda x)}{1-L}\leq\frac{ [\frac{c_{\phi }}{\Gamma(\beta)} (\frac{1-\gamma}{\beta-\gamma} )^{\beta-\gamma }(T^{\beta-\gamma}+t_{k}^{\beta-\gamma})+\frac{(t_{k}-s_{k-1})^{\beta }}{\Gamma(\beta+1)} ]}{1-L}$$

implies that

$$\big|x(t)-x_{0}(t)\big|\leq\frac{ [\frac{c_{\phi}}{\Gamma(\beta)} (\frac {1-\gamma}{\beta-\gamma} )^{\beta-\gamma}(T^{\beta-\gamma }+t_{k}^{\beta-\gamma})+\frac{(t_{k}-s_{k-1})^{\beta}}{\Gamma(\beta +1)} ]\varepsilon(\phi(t)+\psi)}{1-L}$$

for all $$t \in J$$, $$0<\gamma<\beta\leq1$$, where $$t_{k}$$, $$s_{k-1}$$ are considered to be maximum values and $$L<1$$.

Hence problem (1.3) is Ulam-Hyers-Rassias stable with respect to $$(\phi,\psi)$$. □

### Remark 4.2

By choosing $$\varepsilon=1$$, problem (1.3) is generalized Ulam-Hyers-Rassias stable with respect to $$(\phi,\psi)$$, in view of Definition 2.9.

### Theorem 4.3

Let $$c_{f,\beta,g}>0$$ be a real constant. Assume that $$(A_{1})$$-$$(A_{4})$$ are true and a function $$x \in\mathfrak{\hat{B}}$$ satisfies inequality (2.1), then there exists a unique continuous function $$x_{0}:J\rightarrow\mathbb{R}$$ satisfying Eq. (4.1) and

$$\big|x(t)-x_{0}(t)\big|\leq c_{f,\beta,g}\varepsilon, \quad t \in J,$$
(4.8)

with

$$c_{f,\beta,g}=\frac{ [\frac{2}{\Gamma(\beta+1)} \{T^{\beta }+(t_{k}-s_{k-1})^{\beta}+t_{k}^{\beta} \} ]}{1-L},$$

where $$t_{k}$$, $$s_{k-1}$$ are considered to be maximum values and

$$L=\max \biggl\{ \frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta }+t_{k}^{\beta} \bigr)+\frac{L_{\xi_{k}}}{\Gamma(\beta +1)}(t_{k}-s_{k-1})^{\beta}\Big| k=1,2,\dots,m \biggr\} < 1,$$

that is, problem (1.3) is Ulam-Hyers stable.

### Proof

First, define a set Y of all piecewise continuous functions $$p:J\rightarrow\mathbb{R}$$ in the following way:

$$Y=\{p:J\rightarrow\mathbb{R}| p \in\mathfrak{\hat{B}}\},$$
(4.9)

and let us introduce a generalized complete metric on Y as

$$d(p,q)=\inf \bigl\{ C_{1}+C_{2} \in[0,+ \infty]|\big|p(t)-q(t)\big|\leq (C_{1}+C_{2}) (2\varepsilon) \bigr\} ,$$
(4.10)

for all $$t \in J$$, where

$$C_{1} \in \bigl\{ C \in[0,\infty]|\big|p(t)-q(t)\big|\leq C\varepsilon \bigr\} , \quad t \in(t_{k},s_{k}], k=0,1,\dots,m,$$

and

$$C_{2} \in \bigl\{ C \in[0,\infty]|\big|p(t)-q(t)\big|\leq C\varepsilon \bigr\} , \quad t \in(s_{k-1}, t_{k}], k=1,\dots,m.$$

Define an operator $$\Lambda:J\rightarrow\mathbb{R}$$ by

$$(\Lambda y) (t)=\left \{ \textstyle\begin{array}{ll}\frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s,y(s),{}^{c}D_{0,t}^{\beta}y(s))\,ds\\ \quad{}+\frac{1}{\Gamma(\beta)}\int _{0}^{T}(T-s)^{\beta-1}\eta(s,y(s))\,ds, &\quad t \in[0,s_{0}], \\ I_{s_{k-1},t_{k}}^{\beta} (\xi_{k}(t,y(t)) ), &\quad t \in (s_{k-1}, t_{k}],\\ &\quad k=1,2,\dots,m, \\ \frac{1}{\Gamma(\beta)}\int_{0}^{t}(t-s)^{\beta -1}f(s,y(s),{}^{c}D_{0,t}^{\beta}y(s))\,ds\\ \quad{}+\frac{1}{\Gamma(\beta)}\int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi_{k}(s,y(s))\,ds \\ \quad{}-\frac {1}{\Gamma(\beta)}\int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f(s,y(s),{}^{c}D_{0,t}^{\beta}y(s))\,ds, &\quad t \in(t_{k}, s_{k}], \\ &\quad k=1,2,\dots,m, \end{array}\displaystyle \right .$$
(4.11)

for all $$y \in Y$$. Clearly, Λ is a well-defined operator, because y and f are continuous functions.

Next, we have to prove that Λ is strictly contractive on Y. For any $$p,q \in Y$$ and $$C_{1},C_{2} \in[0,+\infty]$$, using Eq. (4.10), we have

$$\big|p(t)-q(t)\big|\leq \left \{ \textstyle\begin{array}{ll}C_{1}\varepsilon, &\quad t \in(t_{k},s_{k}], k=0,1,\dots,m, \\ C_{2}\varepsilon, &\quad t \in(s_{k-1},t_{k}], k=1,2,\dots,m. \end{array}\displaystyle \right .$$
(4.12)

It follows from the property that the Caputo fractional derivative of a constant is always zero, Eqs. (4.11), (4.12) and from assumptions $$(A_{2})$$-$$(A_{4})$$ that:

Case 1: For $$t \in[0,s_{0}]$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&+ \frac {1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,p(s) \bigr)\,ds \\ &-\frac {1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta }q(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,q(s) \bigr)\,ds \bigg| \\ \leq{}&\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1} \big|f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)-f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr) \big|\,ds \\ &+\frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\big|\eta \bigl(s,p(s) \bigr)-\eta \bigl(s,q(s) \bigr) \big|\,ds \\ \leq{}&\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta-1} \bigl[\bar {K_{f}}\big|p(s)-q(s)\big|+\bar{L_{k}}\big|{}^{c}D_{0,t}^{\beta }p(s)-{}^{c}D_{0,t}^{\beta}q(s)\big| \bigr]\,ds \\ &+\frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1} \bigl[L_{\eta }\big|p(s)-q(s)\big| \bigr]\,ds \\ \leq{}&\frac{\bar{K_{f}}}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}C_{1} \varepsilon\,ds+\frac{\bar{L_{f}}}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1} \bigl({}^{c}D_{0,t}^{\beta}C_{1}\varepsilon \bigr)\,ds\\ &+\frac {L_{\eta}}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}C_{1} \varepsilon\,ds,\end{aligned}

which implies that

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|&\leq\frac{\bar{K_{f}}C_{1}\varepsilon }{\Gamma(\beta+1)}t^{\beta}+ \frac{L_{\eta}C_{1}\varepsilon}{\Gamma(\beta +1)}T^{\beta}\\&\leq \biggl(\frac{\bar{K_{f}}s_{0}^{\beta}+L_{\eta}T^{\beta }}{\Gamma(\beta+1)} \biggr)C_{1}\varepsilon.\end{aligned}

Case 2: For $$t \in(s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|&=\big|I_{s_{k-1},t_{k}}^{\beta}\xi _{k} \bigl(t,p(t) \bigr)-I_{s_{k-1},t_{k}}^{\beta} \xi_{k} \bigl(t,q(t) \bigr)\big| \\ &\leq L_{\xi_{k}}\big|p(t)-q(t)\big| \leq L_{\xi_{k}}C_{2}\varepsilon.\end{aligned}

Case 3(a): For $$t \in(t_{k},s_{k}]$$ and $$s \in (t_{k},s_{k}]$$, $$k=1,2,\dots,m$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|= {}&\bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\ &+ \frac {1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,p(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\ &- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,q(s) \bigr)\,ds\\ &+\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \bigg| \\ \leq{}& \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta -1} \xi_{k} \bigl(s,p(s) \bigr)\,ds\\&-\frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} \bigl(s,q(s) \bigr)\,ds \bigg| \\ &+\bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t_{k}}(t_{k}-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds \bigg| \\ \leq{}&\frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(t^{\beta}+t_{k}^{\beta } \bigr)C_{1}\varepsilon+\frac{L_{\xi_{k}}}{\Gamma(\beta +1)}(t_{k}-s_{k-1})^{\beta}C_{2} \varepsilon \\ \leq{}& \biggl[\frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta}+t_{k}^{\beta } \bigr)+\frac{L_{\xi_{k}}}{\Gamma(\beta+1)}(t_{k}-s_{k-1})^{\beta} \biggr](C_{1}+C_{2}) (2\varepsilon).\end{aligned}

Case 3(b): For $$t \in(t_{k},s_{k}]$$ and $$s \in (s_{k-1},t_{k}]$$, $$k=1,2,\dots,m$$, we have

\begin{aligned} \big|(\Lambda p) (t)-(\Lambda q) (t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&+ \frac {1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,p(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,q(s) \bigr)\,ds\\&+\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \bigg| \\ \leq{}&\bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t}(t-s)^{\beta -1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds \bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta -1} \xi_{k} \bigl(s,p(s) \bigr)\,ds\\&-\frac{1}{\Gamma(\beta)} \int _{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1} \xi_{k} \bigl(s,q(s) \bigr)\,ds \bigg| \\ &+ \bigg|\frac{1}{\Gamma(\beta)} \int_{0}^{t_{k}}(t_{k}-s)^{\beta -1}f \bigl(s,q(s),{}^{c}D_{0,t}^{\beta}q(s) \bigr)\,ds\\&- \frac{1}{\Gamma(\beta)} \int _{0}^{t_{k}}(t_{k}-s)^{\beta-1}f \bigl(s,p(s),{}^{c}D_{0,t}^{\beta}p(s) \bigr)\,ds \bigg| \\ \leq{}&\frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(t^{\beta}+t_{k}^{\beta } \bigr)C_{2}\varepsilon+\frac{L_{\xi_{k}}}{\Gamma(\beta +1)}(t_{k}-s_{k-1})^{\beta}C_{2} \varepsilon \\ \leq {}&\biggl[\frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta}+t_{k}^{\beta } \bigr)+\frac{L_{\xi_{k}}}{\Gamma(\beta+1)}(t_{k}-s_{k-1})^{\beta} \biggr](C_{1}+C_{2}) (2\varepsilon).\end{aligned}

From above, we obtain

$$\big|(\Lambda p) (t)-(\Lambda q) (t)\big|\leq L(C_{1}+C_{2}) (2 \varepsilon), \quad t \in J,$$

that is,

$$d(\Lambda p,\Lambda q)\leq L(C_{1}+C_{2}) (2\varepsilon), \quad t \in J,$$

which implies that Λ is strictly contractive on Y for any $$p,q \in Y$$ and $$L<1$$.

Let $$p_{0} \in Y$$, it follows from the continuity property of $$p_{0}$$ and $$\Lambda p_{0}$$ that there exists a constant $$0<\vartheta_{1}<\infty$$ such that

\begin{aligned} \big|(\Lambda p_{0}) (t)-p_{0}(t)\big|= {}&\bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p_{0}(s),{}^{c}D_{0,t}^{\beta}p_{0}(s) \bigr)\, ds\\&+\frac{1}{\Gamma(\beta)} \int_{0}^{T}(T-s)^{\beta-1}\eta \bigl(s,p_{0}(s) \bigr)\, ds-p_{0}(t)\bigg| \\ \leq{}&\vartheta_{1}(2\varepsilon), \quad t \in[0,s_{0}],\end{aligned}

also there exists a constant $$0<\vartheta_{2}<\infty$$ such that

$$\big|(\Lambda p_{0}) (t)-p_{0}(t)\big|=\big|I_{s_{k-1},t_{k}}^{\beta} \xi _{k} \bigl(t,p_{0}(t) \bigr)-p_{0}(t)\big|\leq \vartheta_{2}(2\varepsilon), \quad t \in (s_{k-1},t_{k}], \ k=1,2,\dots,m.$$

Furthermore, we also can obtain a constant $$\vartheta_{3}$$ between 0 and ∞ such that

\begin{aligned} \big|(\Lambda p_{0}) (t)-p_{0}(t)\big|={}& \bigg|\frac{1}{\Gamma(\beta)} \int _{0}^{t}(t-s)^{\beta-1}f \bigl(s,p_{0}(s),{}^{c}D_{0,t}^{\beta}p_{0}(s) \bigr)\, ds\\&+\frac{1}{\Gamma(\beta)} \int_{s_{k-1}}^{t_{k}}(t_{k}-s)^{\beta-1}\xi _{k} \bigl(s,p_{0}(s) \bigr)\,ds \\ &-\frac{1}{\Gamma(\beta)} \int _{0}^{t_{k}}(t_{k}-s)^{\beta-1}f \bigl(s,p_{0}(s),{}^{c}D_{0,t}^{\beta }p_{0}(s) \bigr)\,ds-p_{0}(t)\bigg| \\ \leq{}&\vartheta_{3}(2\varepsilon), \quad t \in(t_{k},s_{k}], \ k=1,2,\dots,m.\end{aligned}

As f, $$\xi_{k}$$ and $$p_{0}$$ are bounded on J and $$2\varepsilon>0$$, therefore Eq. (4.10) implies that

$$d(\Lambda p_{0},p_{0})< \infty.$$

According to Theorem 2.16(a), there exists a continuous function $$x_{0}:J\rightarrow\mathbb{R}$$ such that $$\Lambda^{n}p_{0}\rightarrow x_{0}$$ in $$(Y,d)$$ as $$n\rightarrow\infty$$ and $$\Lambda x_{0}=x_{0}$$, that is, $$x_{0}$$ satisfies Eq. (4.1) for all $$t \in J$$.

Next, we check that

$$\bigl\{ p \in Y| d(p_{0},p)< \infty \bigr\} =Y.$$

For any $$p \in Y$$, since p and $$p_{0}$$ are bounded on J and $$2\varepsilon>0$$, there exists a constant $$0<\vartheta_{p}<\infty$$ such that

$$\big|p_{0}(t)-p(t)\big|\leq\vartheta_{p}(2\varepsilon), \quad t \in J.$$

Thus we obtain $$d(\Lambda p_{0},p_{0})<\infty$$ for all $$p \in Y$$, that is,

$$\bigl\{ p \in Y| d(p_{0},p)< \infty \bigr\} =Y.$$

Hence, in view of Theorem 2.16(b), we conclude that $$x_{0}$$ is the unique continuous function satisfying Eq. (4.1).

On the other hand, it follows from the definition of Λ and Remark 3.2 that

$$\big|x(t)-(\Lambda x) (t)\big|\leq \biggl[\frac{2}{\Gamma(\beta+1)} \bigl\{ T^{\beta }+(t_{k}-s_{k-1})^{\beta}+t_{k}^{\beta} \bigr\} \biggr]\varepsilon,$$

that is,

$$d(x,\Lambda x)\leq\frac{2}{\Gamma(\beta+1)} \bigl\{ T^{\beta }+(t_{k}-s_{k-1})^{\beta}+t_{k}^{\beta} \bigr\} , \quad t \in J,$$
(4.13)

and $$t_{k}$$, $$s_{k-1}$$ are considered to be maximum values. From above Eq. (4.13) and Theorem 2.16(c), we have

$$d(x,x_{0})\leq\frac{d(x,\Lambda x)}{1-L}\leq\frac{\frac{2}{\Gamma(\beta +1)} \{T^{\beta}+(t_{k}-s_{k-1})^{\beta}+t_{k}^{\beta} \}}{1-L},$$

which implies that

$$\big|x(t)-x_{0}(t)\big|\leq c_{f,\beta,g}\varepsilon$$

for all $$t \in J$$ and $$0<\beta\leq1$$, with

$$c_{f,\beta,g}=\frac{ [\frac{2}{\Gamma(\beta+1)} \{T^{\beta }+(t_{k}-s_{k-1})^{\beta}+t_{k}^{\beta} \} ]}{1-L},$$

where $$t_{k}$$, $$s_{k-1}$$ are considered to be maximum values and

$$L=\max \biggl\{ \frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{k}^{\beta }+t_{k}^{\beta} \bigr)+\frac{L_{\xi_{k}}}{\Gamma(\beta +1)}(t_{k}-s_{k-1})^{\beta}\Big| k=1,2,\dots,m \biggr\} < 1.$$

Hence problem (1.3) is Ulam-Hyers stable. □

### Remark 4.4

If $$\lambda_{f,\beta,g}(\varepsilon)=c_{f,\beta,g}\varepsilon$$ with $$\lambda_{f,\beta,g}(0)=0$$, then problem (1.3) is generalized Ulam-Hyers stable.

## Examples

In this section we show the applicability of our main results by providing some examples.

### Example 5.1

Consider

$$\left \{ \textstyle\begin{array}{ll} {}^{c}D_{0,t}^{\frac{1}{2}}y(t)= \frac{|y(t)|+|{}^{c}D_{0,t}^{\frac {1}{2}}y(t)|}{(1+e^{t})(1+|y(t)|+|{}^{c}D_{0,t}^{\frac{1}{2}}y(t)|)}, &\quad t \in(0,1]\cup(2,3], \\ y(t)=I_{1,2}^{\frac{1}{2}}\xi_{1} (t,y(t) )= \frac{1}{\Gamma(\frac {1}{2})} \int_{1}^{2}(2-s)^{\frac{-1}{2}}\log|y(s)|\,ds, &\quad t \in (1,2], \\ y(0)=I_{0,3}^{\frac{1}{2}}\eta (t,y(t) )=\frac{1}{\Gamma(\frac{1}{2})} \int _{0}^{3}(3-s)^{\frac{-1}{2}}\cos|y(s)|\,ds, \end{array}\displaystyle \right .$$
(5.1)

where $${}^{c}D_{0,t}^{\frac{1}{2}}$$ is the Caputo fractional derivative of order $$\frac{1}{2}$$ with lower limit 0, $$0=t_{0}< s_{0}=1< t_{1}=2< s_{1}=3$$ and $$J=[0,3]$$.

And

$$\left\{ \textstyle\begin{array}{ll} |{}^{c}D_{0,t}^{\frac{1}{2}}x(t)- \frac{|x(t)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x(t)|}{(1+e^{t})(1+|x(t)|+|{}^{c}D_{0,t}^{\frac{1}{2}}x(t)|)} |\leq\varepsilon\phi(t), &\quad t \in(0,1]\cup(2,3], \\ |x(t)-\frac{1}{\Gamma(\frac{1}{2})} \int_{1}^{2}(2-s)^{\frac {-1}{2}}\log|x(s)|\,ds | \leq\varepsilon\psi, &\quad t \in(1,2], \end{array}\displaystyle \right .$$

with condition

$$x(0)=I_{0,3}^{\frac{1}{2}}\eta \bigl(t,x(t) \bigr)=\frac{1}{\Gamma(\frac{1}{2})} \int _{0}^{3}(3-s)^{\frac{-1}{2}}\cos\big|x(s)\big|\,ds.$$

Denote the continuous functions f, $$\xi_{1}$$ and η as follows:

$$f \bigl(t, y(t),{}^{c}D_{0,t}^{\beta}y(t) \bigr)= \frac{|y(t)|+|{}^{c}D_{0,t}^{\frac {1}{2}}y(t)|}{(1+e^{t})(1+|y(t)|+|{}^{c}D_{0,t}^{\frac{1}{2}}y(t)|)}, \quad t \in(0,1]\cup(2,3]$$

with $$\bar{K_{f}}=\frac{1}{9}$$ and $$\bar{L_{f}}=\frac{1}{3}$$,

$$\xi_{1} \bigl(t,y(t) \bigr)=\log\big|y(t)\big|, \quad t \in(1,2]$$

with $$L_{\xi_{k}}=0.1$$, for $$k=0,1$$ and

$$\eta \bigl(t,y(t) \bigr)=\cos\big|y(t)\big|, \quad t \in[0,3]$$

with $$L_{\eta}=0.2$$.

We put $$\gamma=\frac{1}{5}$$, $$\varepsilon=\psi=\frac{1}{2}$$, $$\phi (t)=8e^{t}$$ and $$c_{\phi}=c_{\beta}=\frac{1}{8}$$, we have

$$\biggl( \int_{0}^{t} \bigl(e^{s} \bigr)^{3}\,ds \biggr)^{\frac{1}{3}}\leq\frac {1}{8} \bigl(8e^{t} \bigr)=e^{t}, \quad t \in[0,3]$$

and

$$\biggl( \int_{0}^{t} \bigl({}^{c}D_{0,t}^{\frac{1}{2}}e^{s} \bigr)^{3}\,ds \biggr)^{\frac {1}{3}}\leq \frac{1}{8} \bigl(8e^{t} \bigr)=e^{t}, \quad t \in[0,3].$$

From the above considerations, we clearly see that $$(A_{1})$$-$$(A_{5})$$ are satisfied.

As

$$\begin{gathered} L_{1}=\max \biggl\{ \frac{\bar{K_{f}}c_{\phi}+\bar{L_{f}}c_{\beta}}{\Gamma (\beta)} \biggl(\frac{1-\gamma}{\beta-\gamma} \biggr)^{1-\gamma} \bigl(s_{k}^{\beta -\gamma}+t_{k}^{\beta-\gamma} \bigr)+L_{\xi_{k}}\Big| k=0,1 \biggr\} , \\L_{2}= \biggl\{ \frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{1}^{\beta }+t_{1}^{\beta} \bigr)+L_{\xi_{1}} \biggr\} .\end{gathered}$$

By putting the above values, we get $$L_{1}=\max\{0.1688214,0.2539802\} \approx0.25398$$ and $$L_{2}=0.4886639641\approx0.5$$, so $$L=0.5<1$$.

By Theorem 4.1, there exists a unique solution $$x_{0}:[0,3]\rightarrow \mathbb{R}$$ such that

$$x_{0}(t)=\left \{ \textstyle\begin{array}{ll}\frac{1}{\Gamma(\frac{1}{2})}\int_{0}^{t}(t-s)^{\frac {-1}{2}} (\frac{|x_{0}(s)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x_{0}(s)|}{(1+e^{s})(1+|x_{0}(s)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x_{0}(s)|)} )\,ds\\ \quad{}+\frac{1}{\Gamma(\frac{1}{2})}\int _{0}^{3}(3-s)^{\frac{-1}{2}}\cos|x_{0}(s)|\,ds, &\quad t \in[0,1], \\ I_{1,2}^{\frac{1}{2}} (\xi_{1}(t,x_{0}(t)) )=\frac{1}{\Gamma(\frac {1}{2})}\int_{1}^{2}(2-s)^{\frac{-1}{2}}\log|x_{0}(s)|\,ds, &\quad t \in (1,2], \\ \frac{1}{\Gamma(\frac{1}{2})}\int_{0}^{t}(t-s)^{\frac{-1}{2}} (\frac {|x_{0}(s)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x_{0}(s)|}{(1+e^{s})(1+|x_{0}(s)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x_{0}(s)|)} )\,ds\\ \quad{}+\frac{1}{\Gamma(\frac{1}{2})}\int _{0}^{3}(3-s)^{\frac{-1}{2}}\cos|x_{0}(s)|\,ds\\ \quad{}+\frac{1}{\Gamma(\frac{1}{2})}\int_{0}^{2}(2-s)^{\frac{-1}{2}} (\frac {|x_{0}(s)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x_{0}(s)|}{(1+e^{s})(1+|x_{0}(s)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x_{0}(s)|)} )\,ds, &\quad t \in(2,3], \end{array}\displaystyle \right .$$
(5.2)

and

$$\big|x(t)-x_{0}(t)\big|\leq\frac{[1.38]\frac{1}{2}(8e^{t}+\frac {1}{2})}{1-0.5}\approx2.76 \biggl\{ \frac{1}{2} \biggl(8e^{t}+\frac{1}{2} \biggr) \biggr\} ,$$

which implies that problem (5.1) is Ulam-Hyers-Rassias stable.

### Remark 5.2

If we set $$\varepsilon=1$$, then problem (5.1) is generalized Ulam-Hyers-Rassias stable.

### Example 5.3

Consider problem (5.1) and

$$\left\{ \textstyle\begin{array}{ll}|{}^{c}D_{0,t}^{\frac{1}{2}}x(t)-f (t, x(t),{}^{c}D_{0,t}^{\frac {1}{2}}x(t) ) | \leq\varepsilon, &\quad t \in(0,1]\cup(2,3], \\ |x(t)-I_{1,2}^{\frac{1}{2}}\xi_{1} (t,x(t) ) |\leq\varepsilon, &\quad t \in(1,2], \end{array}\displaystyle \right .$$

with condition

$$x(0)=I_{0,3}^{\frac{1}{2}}\eta \bigl(t,x(t) \bigr)=\frac{1}{\Gamma(\frac{1}{2})} \int _{0}^{3}(3-s)^{\frac{-1}{2}}\cos\big|x(s)\big|\,ds.$$

The continuous functions f, $$\xi_{1}$$ and η are defined as follows:

$$f \bigl(t, y(t),{}^{c}D_{0,t}^{\frac{1}{2}}x(t) \bigr)= \frac {|x(t)|+|{}^{c}D_{0,t}^{\frac {1}{2}}x(t)|}{(1+e^{t})(1+|x(t)|+|{}^{c}D_{0,t}^{\frac{1}{2}}x(t)|)}, \quad t \in(0,1]\cup(2,3]$$

with $$\bar{K_{f}}=\frac{1}{9}$$ and $$\bar{L_{f}}=\frac{1}{3}$$,

$$\xi_{1} \bigl(t,x(t) \bigr)=\log\big|x(t)\big|, \quad t \in(1,2]$$

with $$L_{\xi_{k}}=0.1$$, for $$k=0,1$$ and

$$\eta \bigl(t,y(t) \bigr)=\cos\big|y(t)\big|, \quad t \in[0,3]$$

with $$L_{\eta}=0.2$$.

We put $$\gamma=\frac{1}{5}$$ and ε is any positive real constant, i.e., $$\varepsilon>0$$. From the above considerations, we clearly see that $$(A_{1})$$-$$(A_{4})$$ are satisfied.

As we have

$$L=\max \biggl\{ \frac{\bar{K_{f}}}{\Gamma(\beta+1)} \bigl(s_{1}^{\beta }+t_{1}^{\beta} \bigr)+\frac{L_{\xi_{1}}}{\Gamma(\beta+1)}(t_{1}-s_{0})^{\beta } \biggr\} .$$

By putting the above values, we obtain $$L\approx0.506075<1$$.

In view of Theorem 4.3, there exists a unique solution $$x_{0}:[0,3]\rightarrow\mathbb{R}$$ satisfying Eq. (5.2) and

$$\big|x(t)-x_{0}(t)\big|\leq c_{f,\beta,g}\varepsilon, \quad t \in J$$

with

$$c_{f,\beta,g}=\frac{\frac{2}{\Gamma(\frac{3}{2})} (3^{\frac {1}{2}}+(2-1)^{\frac{1}{2}}+2^{\frac{1}{2}} )}{1-0.506075}\approx18.95>0,$$

which implies that

$$\big|x(t)-x_{0}(t)\big|\leq(18.95)\varepsilon.$$

Thus problem (5.1) is Ulam-Hyers stable.

### Remark 5.4

If we consider $$\lambda_{f,\beta,g}(\varepsilon)=c_{f,\beta ,g}\varepsilon$$, i.e., $$\lambda_{f,\beta,g}(\varepsilon )=(18.95)\varepsilon$$ with $$\lambda_{f,\beta,g}(0)=0$$, then problem (5.1) is generalized Ulam-Hyers stable.

## Conclusion

In view of generalized Diaz-Margolis’s fixed point theorem, we established sufficient conditions for the existence and uniqueness of the solutions of problem (1.3) and proved different types of Ulam stability results for nonlinear implicit fractional differential equations of problem (1.3), taking into account the Caputo fractional derivative and its two properties, i.e., Caputo fractional derivative is a linear operator and its derivative of a constant is zero.

## References

1. Leibnitz, GW: Leibnitzen’s Mathematische Schriften, vol. 2, pp. 301-302. Georg Olm, Hildesheim (1962)

2. Lacroix, SF: Traite du Calcul Differentiel et du Calcul Integral, vol. 2, pp. 409-410. Mme. recourcier, Paris (1819)

3. Anastassiou, GA: Advances on Fractional Inequalities. Springer, New York (2011)

4. Abbas, S, Benchohra, M, N’Guerekata, GM: Topics in Fractional Differential Equations. Springer, New York (2012)

5. Abbas, S, Benchohra, M, N’Guerekata, GM: Advanced Fractional Differential and Integral Equations. Nova Publ. (Nova Science Publishers), New York (2014)

6. Podlubny, I: Fractional Differential Equations. Academic Press, San Diego (1999)

7. Samko, SG, Kilbas, AA, Marichev, OI: Fractional Integrals and Derivatives, Theory and Applications. Gordon & Breach, Yverdon (1993)

8. Benchohra, M, Lazreg, JE: Nonlinear fractional implicit differential equations. Commun. Appl. Anal. 17, 471-482 (2013)

9. Benchohra, M, Lazreg, JE: Existence and uniqueness results for nonlinear implicit fractional differential equations with boundary conditions. Rom. J. Math. Comput. Sci. 4, 60-72 (2014)

10. Hilfer, R: Applications of Fractional Calculus in Physics. World Scientific, Singapore (2000)

11. Lakshmikantham, V, Leela, S, Vasundhara, J: Theory of Fractional Dynamic Systems. Cambridge Academic Publishers, Cambridge (2009)

12. Ortigueira, MD: Fractional Calculus for Scientists and Engineers. Lecture Notes in Electrical Engineering. Springer, Dordrecht (2011)

13. Balachandran, K, Kiruthika, S: Existence of solutions of abstract fractional impulsive semilinear evolution equations. Electron. J. Qual. Theory Differ. Equ. 2010, Article ID 4 (2010)

14. Benchohra, M, Seba, D: Impulsive fractional differential equations in Banach spaces. Electron. J. Qual. Theory Differ. Equ. 2009, Article ID 8 (2009)

15. Kosmatov, N: Initial value problems of fractional order with fractional impulsive conditions. Results Math. 63, 1289-1310 (2013)

16. Wang, G, Zhang, L, Song, G: Systems of first order impulsive fractional differential equations with deviating arguments and nonlinear boundary conditions. Nonlinear Anal. TMA 74, 974-982 (2011)

17. Mardanov, MJ, Mahmudov, NI, Sharifov, YA: Existence and uniqueness theorems for impulsive fractional differential equations with two-point and integral boundary conditions. Sci. World J. 2014, Article ID 918730 (2014)

18. Ulam, SM: A Collection of Mathematical Problems. Interscience, New York (1968)

19. Hyers, DH: On the stability of the linear functional equation. Proc. Natl. Acad. Sci. USA 27(4), 222-224 (1941)

20. Hyers, DH, Isac, G, Rassias, Th: Stability of Functional Equations in Several Variables. Birkhäuser, Boston (1998)

21. Li, T, Zada, A: Connections between Hyers-Ulam stability and uniform exponential stability of discrete evolution families of bounded linear operators over Banach spaces. Adv. Differ. Equ. 2016, Article ID 153 (2016)

22. Li, T, Zada, A, Faisal, S: Hyers-Ulam stability of nth order linear differential equations. J. Nonlinear Sci. Appl. 9, 2070-2075 (2016)

23. Rassias, ThM: On the stability of linear mappings in Banach spaces. Proc. Am. Math. Soc. 72, 297-300 (1978)

24. Tang, S, Zada, A, Faisal, S, El-Sheikh, MMA, Li, T: Stability of higher-order nonlinear impulsive differential equations. J. Nonlinear Sci. Appl. 9, 4713-4721 (2016)

25. Zada, A, Ali, W, Farina, S: Hyers-Ulam stability of nonlinear differential equations with fractional integrable impulses. Math. Methods Appl. Sci. (2017). doi:10.1002/mma.4405

26. Zada, A, Faisal, S, Li, Y: On the Hyers-Ulam stability of first-order impulsive delay differential equations. J. Funct. Spaces 2016, Article ID 8164978 (2016)

27. Zada, A, Faisal, S, Li, Y: Hyers-Ulam-Rassias stability of non-linear delay differential equations. J. Nonlinear Sci. Appl. 10, 504-510 (2017)

28. Zada, A, Wang, P, Lassoued, D, Li, T: Connections between Hyers-Ulam stability and uniform exponential stability of 2-periodic linear nonautonomous systems. Adv. Differ. Equ. 2017, Article ID 192 (2017)

29. Zada, A, Shah, SO: Hyers-Ulam stability of first-order non-linear delay differential equations with fractional integrable impulses. Hacet. J. Math. Stat. (2017). doi:10.15672/HJMS.2017.496

30. Zada, A, Shah, SO, Shah, R: Hyers-Ulam stability of non-autonomous systems in terms of boundedness of Cauchy problem. Appl. Math. Comput. 271, 512-518 (2015)

31. Zada, A, Shah, R: A fixed point approach to the stability of a nonlinear Volterra integrodifferential equations with delay. Hacet. J. Math. Stat. (2017). doi:10.15672/HJMS.2017.467

32. Wang, J, Feckan, M, Zhou, Y: Ulam’s type stability of impulsive ordinary differential equations. J. Math. Anal. Appl. 395, 258-264 (2012)

33. Jung, SM: Hyers-Ulam-Rassias Stability of Functional Equations in Nonlinear Analysis. Springer, New York (2011)

34. Kilbas, AA, Srivastava, HM, Trujillo, JJ: Theory and Applications of Fractional Differential Equations. North-Holland Mathematics Studies, vol. 204. Elsevier, Amsterdam (2006)

35. Jung, CJ: On generalized complete metric spaces. Bull. Am. Math. Soc. 75(1), 113-116 (1969)

36. Diaz, JB, Margolis, B: A fixed point theorem of alternative, for contractions on a generalized complete metric space. Bull. Am. Math. Soc. 74, 305-309 (1968)

## Acknowledgements

This work was supported by the National Natural Science Foundation of China (11571378).

## Author information

Authors

### Contributions

All the authors contributed equally and significantly in writing this paper. All the authors read and approved the final manuscript.

### Corresponding author

Correspondence to Yongjin Li.

## Ethics declarations

### Competing interests

The authors declare that they have no competing interests regarding this research work.

### Publisher’s Note

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

## Rights and permissions

Reprints and Permissions

Zada, A., Ali, S. & Li, Y. Ulam-type stability for a class of implicit fractional differential equations with non-instantaneous integral impulses and boundary condition. Adv Differ Equ 2017, 317 (2017). https://doi.org/10.1186/s13662-017-1376-y

• Accepted:

• Published:

• DOI: https://doi.org/10.1186/s13662-017-1376-y

• 26A33
• 34A08
• 34B27

### Keywords

• Caputo fractional derivative
• implicit fractional differential equations
• fractional integral
• non-instantaneous impulses
• Ulam-type stability
• Diaz-Margolis’s fixed point theorem