1 Introduction

Fractional calculus is the most important field of applied mathematics that extends all existing integer-order operators to arbitrary-order ones. This importance is due to the high accuracy of fractional operators in modeling of many real-world phenomena in the context of different fractional boundary value problems. Some instances regarding applications of fractional differential equations (FDEqs) can be seen in various fields of science such as aerodynamics, physics, bioengineering, image processing, biochemistry viscoelasticity, biophysics, electrochemistry, mathematical biology, etc. (see [13]). In the last few decades, an extensive area of studies in relation to the existence/nonexistence theory of solutions to the aforementioned FDEqs has got much attention from mathematicians. Diverse results and theoretical findings can be followed in the literature regarding the existence theory for different structures of FDEqs; for more analysis and review, see [433]. Because of the modeling of most of the applied processes in the framework of coupled systems of arbitrary order FDEqs, many researchers have been focused on the establishment of the existence theory for such systems. In such a direction, plenty of research manuscripts can be observed in the literature, see [3438]. Recently, Shah, Wang, Khalil, and Khan [39] devoted their focus to establishing some results on the following category of coupled systems of integral fractional boundary value problems (FBVPs) for FDEqs with movable boundary conditions (BCs) given as

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }x(t) = f (t, y(t)) \quad (\forall t \in I := [0,1]), \\ {}^{c}\mathfrak{D}^{\delta }y(t) = g (t, x(t)) \quad (\forall t \in I := [0,1]), \\ x(0)=0, \qquad y(0)=0, \\ x(1) = \int _{0}^{a} x( r ) \,\mathrm{d}r, \qquad y(1) = \int _{0}^{b} y( r ) \,\mathrm{d}r, \end{cases} $$

in which \(f, g \in C(I \times [0,\infty ))\), \(1< \sigma \), \(\delta \leq 2\), and \(0< a\), \(b<1\). More recently, Alrabaiah et al. [40] implemented a qualitative study of a nonlinear system of coupled integral pantograph delay FDEqs as follows:

$$ \textstyle\begin{cases} \mathfrak{D}_{0}^{\alpha _{1} } x(t) + f_{1} (t, x(a t), y(t), \mathfrak{D}_{0}^{\beta _{1} } y(t)) = 0 \quad (\forall t\in I := [0,1]), \\ \mathfrak{D}_{0}^{\alpha _{2} } y(t) + f_{2} (t, x(t), y(a t), \mathfrak{D}_{0}^{\beta _{2}} x(t)) = 0, \\ x(0) =0, \qquad x(1) = \int _{0}^{1} \psi (r)x(r) \,\mathrm{d}r, \qquad y(0) =0, \qquad y(1) = \int _{0}^{1} \psi (r)y(r) \,\mathrm{d}r, \end{cases} $$

where \(1< \alpha _{1} , \alpha _{2} \leq 2\), \(0<\beta _{1} , \beta _{2}, a < 1\), \(f_{1} , f_{2} : \mathbb{I} \times \mathbb{R}^{3} \to \mathbb{R}\) are nonlinear and \(\psi : (0,1) \to [0, \infty )\) is bounded. In that work, Alrabaiah et al. proved, with the help of fixed point theorems, their desired results and then checked the Hyers–Ulam stability for the mentioned system [40].

In 2021, for the first time, Thabet et al. [41] formulated a new coupled system of three-point integral pantograph FDEqs in the context of the Caputo conformable operators as

$$ \textstyle\begin{cases} {}^{ CC }\mathfrak{D}_{t_{0}}^{q, \eta _{1} } x(t) = f_{1} (t, y(t), y( \lambda t)) \quad (t\in [t_{0},T], t_{0}\geq 0), \\ {}^{ CC }\mathfrak{D}_{t_{0}}^{q, \eta _{2} } y(t) = f_{2} (t, x(t), x( \lambda t)), \\ x(t_{0}) = 0, \qquad a_{1} x( T ) + a_{2} {}^{ RC }\mathcal{I}_{t_{0}}^{q , \theta } x( c ) = m_{1}, \\ y(t_{0}) = 0, \qquad b_{1} y( T ) + b_{2} {}^{ RC }\mathcal{I}_{t_{0}}^{q , \theta } y( d ) = m_{2}, \end{cases} $$

where \({}^{ CC }\mathfrak{D}_{t_{0}}^{q, \eta _{j}}\) denotes the Caputo conformable derivatives of order \(\eta _{j} \in (1, 2) \) with \(q \in (0, 1]\) for \(j=1,2\), \({}^{ RC }\mathcal{I}_{t_{0}}^{q, \theta }\) is the RL-conformable integral of order \(\theta > 0 \), \(c, d \in (t_{0},T)\), \(a_{1} , a_{2}, b_{1}, b_{2}, m_{1}, m_{2} \in \mathbb{R} \), \(0<\lambda <1\), and \(f_{j} : [t_{0},T]\times \mathbb{R} \times \mathbb{R} \to \mathbb{R} \) are continuous for \(j=1,2\).

Other aspects in relation to the stability analysis and numerical methods to FDEqs have been investigated by many mathematicians in recent years. Most of the time, finding exact solutions to nonlinear BVPs is challenging and sometimes it is a difficult task. Hence, these issues motivated researchers to search for the best approximate solutions for given nonlinear BVPs. To achieve such an aim, mathematicians utilized different techniques and procedures like homotopy methods [42], q-homotopy analysis transform method [43], decomposition methods [44, 45], integral transform techniques [46], etc.

One of the strongest approaches to find numerical solutions to linear and nonlinear BVPs of FDEqs is the generalized differential transform method (GDT-method). In various papers, this transform has been applied to solve and analyze nonlinear BVPs of FDEqs for approximate solutions; see [47, 48]. Note that there is no classical standard method to analyze nonlinear BVPs of FDEqs for getting solutions explicitly. This is due to the complexity of fractional calculus involved in the supposed BVPs. Accordingly, a reliable method is needed to search for approximate solutions in the context of series in relation to the given FBVPs. On the other hand, it is also applicable if, along with the approximate solutions, their stability is investigated. That’s why analysis of the stability of existing FDEqs has received great attention. In other words, it gives a better result in different applications like optimization, economics, numerical analysis, physics, where obtaining the exact solution is a quite difficult task; see [4951].

Amongst the important models of physio-electrical type, we choose and study a fractional model of thermostat control. A thermostat is a measurement tool that measures and regulates the temperature of an arbitrary physical system and takes actions subject to its temperature which is maintained near an appropriate and desired degree. This instrument is applied in any controlling devices and industrial systems, including building central heating, air conditioners, water heaters, ovens, refrigerators, car engines, and even medical incubators, which raise or decrease the temperature.

The study of the mathematical model of a thermostat control was implemented by Infante and Webb [52] in 2006, which is insulated at \(\mathfrak{t}=0\) via the controller at the time \(\mathfrak{t}=1\) and is given as

$$ \textstyle\begin{cases} x''(\mathfrak{t}) + f (\mathfrak{t} , x(\mathfrak{t})) =0\quad ( \forall \mathfrak{t} \in \mathbb{I} := [0,1]), \\ x'(0)=0, \qquad x(b ) + k x'(1) = 0, \end{cases} $$
(1)

where \(b \in \mathbb{I}\) is a real constant and \(k > 0\). The performance of the thermostat is interpreted by this 2nd-order mathematical model in such a way that at the moment \(\mathfrak{t}=b\), the system’s heat is added or discharged based on the temperature detected by the existing sensors. Infante et al. analyzed some results on the solution’s existence for the suggested model by utilizing the fixed point index theory. In the next years, Nieto and Pimentel [53] transformed the above ordinary thermostat model to a new model of the fractional type as follows:

$$ \textstyle\begin{cases} {}^{c} \mathfrak{D}^{\gamma }x(\mathfrak{t}) + f (\mathfrak{t} , x( \mathfrak{t})) =0 \quad (\forall \mathfrak{t} \in \mathbb{I} := [0,1]), \\ x'(0)=0, \qquad x(b) + k {}^{c}\mathfrak{D}^{ \gamma -1}x(1) = 0, \end{cases} $$
(2)

and extended the obtained results in the paper published by Infante et al. to the more general and accurate findings. Note that in that model, \({}^{c}\mathfrak{D}^{\gamma }\) is the Caputo derivative of order \(\gamma \in (1,2]\).

In this paper, we focus our intention on some qualitative aspects of possible solutions for a system of the coupled fractional thermostat model. In more precise words, we consider the following construction of a coupled thermostat model inspired by the model (1) as follows:

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }x(\mathfrak{t}) + K (\mathfrak{t}, y( \mathfrak{t})) =0 \quad (\forall \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{\delta }y(\mathfrak{t}) + M (\mathfrak{t}, x( \mathfrak{t})) =0 \quad (\forall \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{1} x(0)=0, \qquad {}^{c}\mathfrak{D}^{1} y(0)=0, \\ \mathfrak{p} {}^{c}\mathfrak{D}^{ \sigma -1}x(1)+ x( \mathfrak{b} ) = 0,\qquad \mathfrak{q} {}^{c}\mathfrak{D}^{ \delta -1}y(1)+ y( \mathfrak{c} ) = 0, \end{cases} $$
(3)

in which \(\sigma \in (1,2]\), \(\delta \in (1,2]\), \(0< \sigma -1 \leq 1\), \(0< \delta -1 \leq 1\), \(\mathfrak{b}, \mathfrak{c} \in (0,1)\), \(\mathfrak{p}, \mathfrak{q} > 0\), and \({}^{c}\mathfrak{D}^{1} = \frac{\mathrm{d}}{\mathrm{d}\mathfrak{t}}\). Along with these, the existing mappings \(K, M: \mathbb{I} \times \mathbb{R}^{\geq 0} \to \mathbb{R}^{\geq 0}\) are continuous and \({}^{c}\mathfrak{D}^{\varsigma }\) denotes the derivation operator of order \(\varsigma \in \{1, \sigma , \sigma -1 , \delta , \delta -1 \}\) in the sense of Caputo.

To prove the existence and uniqueness of solutions to the above coupled fractional system of thermostat control boundary value problems, we use the existing notions in fixed point theory. In other words, we use the Krasnoselskii’s fixed point theorem for proving the existence result, and we use the Banach contraction principle for establishing the uniqueness result. Also, the Hyers–Ulam stability of solutions of the coupled system (3) is investigated. For the first time, we find the approximate solutions of the coupled system of the nonlinear fractional boundary value problems arising in the thermostat control model (3) with the aid of some numerical algorithms based on the GDT-method. This leads to the novelty and originality of our research. The established findings are demonstrated by illustrating examples in this regard. We remark that this system is an applied model of a real process, and one can extend it to more general structures via integral multipoint BCs. The basic motivation of the current research is that we implement our numerical methods based on differential transforms to obtain approximate solutions of a new model of a mechanical instrument which is more applicable in different levels of engineering and this makes our findings useful and applicable.

The rest of the paper is arranged as follows: Primitive notions and relations are assembled in Sect. 2. Results regarding aspects of existence and uniqueness of solutions are derived in Sect. 3. Results regarding Hyers–Ulam stability criterion are proved in Sect. 4. Section 5 is devoted to introducing some algorithms of the GDT-method based on the existing system (3). Different cases are investigated in simulative examples (along with the relevant graphs) provided in Sect. 6. Lastly, Sect. 7 is devoted to conclusive remarks.

2 Primitive notions

As the notions of the Riemann–Liouville integral and Caputo derivative have a key task in our research, we provide them at this moment.

Definition 2.1

([2, 54])

Let \(\sigma >0\). The σth Riemann–Liouville integral for a mapping \(x : [0, + \infty ) \to \mathbb{R}\) is defined by

$$ \mathcal{I}^{ \sigma } x(\mathfrak{t}) = \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t} - r )^{ \sigma -1 }}{\Gamma ( \sigma )} x(r) \,\mathrm{d}r, $$

if the integral’s value is finite.

Definition 2.2

([2, 54])

Let \(k - 1 < \sigma < k\). For a continuous mapping \(x : \mathbb{R}^{\geq 0} \to \mathbb{R}\), the σth Riemann–Liouville derivation operator is defined by

$$ \mathfrak{D}^{ \sigma } x(\mathfrak{t}) = \biggl( \frac{\mathrm{d}}{\mathrm{d}\mathfrak{t}} \biggr)^{k} \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t} - r )^{ k - \sigma -1 }}{\Gamma ( k - \sigma )}x(r) \,\mathrm{d}r, $$

if the integral’s value is finite.

Definition 2.3

([2, 54])

Let \(k - 1 < \sigma < k\). For an absolutely continuous mapping x on \(\mathbb{R}^{\geq 0}\), the σth Caputo derivation operator is introduced as

$$ {}^{c}\mathfrak{D}^{ \sigma } x(\mathfrak{t}) = \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t} - r)^{k- \sigma -1}}{\Gamma (k- \sigma )} x^{(k)}(r) \,\mathrm{d} r, $$

if the integral’s value is finite.

Proposition 2.4

([1])

Let \(k-1 < \sigma < k\). Then \(\forall x \in C^{k-1} (0,\infty )\), the relation

$$ \mathcal{I}^{\sigma } \bigl( {}^{c}\mathfrak{D}^{\sigma } x \bigr) ( \mathfrak{t}) = x(\mathfrak{t})+ \mathfrak{m}_{0} + \mathfrak{m}_{1} \mathfrak{t}+ \mathfrak{m}_{2} \mathfrak{t}^{2}+\cdots +\mathfrak{m}_{k-1} \mathfrak{t}^{k-1}, $$

holds for some \(\mathfrak{m}_{0} , \mathfrak{m}_{1} , \dots , \mathfrak{m}_{k-1} \in \mathbb{R}\).

3 Results of existence

We here compute and derive the equivalent system of coupled integral equations corresponding to the coupled thermostat control model (3) and, further, we present required criteria for the existence of solutions to the mentioned FBVP system (3).

It is a well-known notion that \(\mathfrak{B} = \{ x(\mathfrak{t}) : x(\mathfrak{t}) \in C(\mathbb{I}) \} \) is a Banach space when equipped with the norm \(\Vert x \Vert _{\mathfrak{B}} = \max_{\mathfrak{t} \in \mathbb{I}} \vert x ( \mathfrak{t}) \vert \). Consequently, \(\mathfrak{B} \times \mathfrak{B}\) will be a product Banach space which is equipped with norm \(\Vert (x , y ) \Vert _{\mathfrak{B} \times \mathfrak{B} } = \max \{ \Vert x \Vert _{\mathfrak{B}} , \Vert y \Vert _{\mathfrak{B}} \}\).

Proposition 3.1

Let \(\sigma \in (1,2]\), \(\sigma -1 \in (0,1]\), \(\mathfrak{b} \in (0,1)\), \(\mathfrak{p} > 0\), and \(g \in C_{\mathbb{R}}(\mathbb{I})\). A function \(x^{*} \), which a solution to the linear thermostat model

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }x(\mathfrak{t}) + g (\mathfrak{t}) =0 \quad ( \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{1} x(0)=0, \qquad \mathfrak{p} {}^{c}\mathfrak{D}^{ \sigma -1}x(1)+ x( \mathfrak{b} ) = 0, \end{cases} $$
(4)

is given by the integral equation

$$ x(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} g(r ) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} g(r) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} g(r) \,\mathrm{d}r. $$
(5)

Proof

If \(x^{*}\) satisfies the fractional thermostat linear equation (4), then \({}^{c}\mathfrak{D}^{\sigma }x^{*}(\mathfrak{t}) + g (\mathfrak{t}) =0\) holds. By integrating the latter equation and by virtue of \(1 < \sigma \leq 2\), we get

$$ x^{*}(\mathfrak{t}) = - \frac{1}{\Gamma (\sigma )} \int _{0}^{\mathfrak{t}} (\mathfrak{t}- r )^{\sigma -1} g (r ) \,\mathrm{d}r + \mathfrak{m}_{0} + \mathfrak{m}_{1} \mathfrak{t}, $$
(6)

in which it is necessary that we find coefficients \(\mathfrak{m}_{0}, \mathfrak{m}_{1}\in \mathbb{R}\). On the other hand, the properties of the Caputo derivative yield

$$ {}^{c}\mathfrak{D}^{1}x^{*}( \mathfrak{t}) = - \frac{1}{\Gamma (\sigma - 1)} \int _{0}^{\mathfrak{t}} (\mathfrak{t}- r )^{ \sigma - 2} g (r ) \,\mathrm{d}r + \mathfrak{m}_{1}{} $$
(7)

and

$$ {}^{c}\mathfrak{D}^{\sigma - 1} x^{*}(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} g (r ) \,\mathrm{d}r + \mathfrak{m}_{1} \frac{ \mathfrak{t}^{2-\sigma }}{\Gamma (3- \sigma ) }. $$
(8)

Using the condition \({}^{c}\mathfrak{D}^{1} x(0)=0\) and (7), we figure out that \(\mathfrak{m}_{1} = 0\). Moreover, the equations (6), (8), and the condition \(\mathfrak{p} {}^{c}\mathfrak{D}^{ \sigma -1}x(1)+ x( \mathfrak{b} ) = 0\) imply that

$$ - \mathfrak{p} \int _{0}^{1} g (r) \,\mathrm{d}r - \frac{1}{\Gamma (\sigma )} \int _{0}^{\mathfrak{b}} (\mathfrak{b} - r)^{ \sigma - 1} g (r) \,\mathrm{d}r + \mathfrak{m}_{0} = 0, $$

and thus we reach

$$ \mathfrak{m}_{0} = \frac{1}{\Gamma (\sigma )} \int _{0}^{\mathfrak{b}} ( \mathfrak{b} - r)^{\sigma - 1} g (r) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} g (r) \,\mathrm{d}r. $$

At last, we substitute the obtained coefficients \(\mathfrak{m}_{0}\) and \(\mathfrak{m}_{1}\) into (6), and so (6) becomes

$$ x^{*}(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} g (r ) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} g(r) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} g(r) \,\mathrm{d}r{ ,} $$

thus, this argument is finished. □

With due attention to the above proposition, we can formulate here an equivalent structure of coupled integral equations to the investigated system of coupled BVPs for the fractional thermostat model (3) in the next proposition.

Proposition 3.2

Let \(\sigma \in (1,2]\), \(\delta \in (1,2]\), \(\sigma -1 \in (0,1]\), \(\delta -1 \in (0,1]\), \(\mathfrak{b}, \mathfrak{c} \in (0,1)\), \(\mathfrak{p}, \mathfrak{q} > 0\), and \(K, M \in C_{\mathbb{R}^{\geq 0}}(\mathbb{I} \times \mathbb{R}^{\geq 0})\). Then an equivalent configuration of the system of coupled BVPs of the fractional thermostat model

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }x(\mathfrak{t}) + K (\mathfrak{t}, y( \mathfrak{t})) =0 \quad (\mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{\delta }y(\mathfrak{t}) + M (\mathfrak{t}, x( \mathfrak{t})) =0 \quad (\mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{1} x(0)=0, \qquad {}^{c}\mathfrak{D}^{1} y(0)=0, \\ \mathfrak{p} {}^{c}\mathfrak{D}^{ \sigma -1}x(1)+ x( \mathfrak{b} ) = 0,\qquad \mathfrak{q} {}^{c}\mathfrak{D}^{ \delta -1}y(1)+ y( \mathfrak{c} ) = 0, \end{cases} $$
(9)

is provided by the coupled integral equations

$$ \textstyle\begin{cases} x(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} K (r, y(r)) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} K (r, y(r)) \,\mathrm{d}r \\ \hphantom{x(\mathfrak{t}) ={}}{} + \mathfrak{p} \int _{0}^{1} K (r, y(r)) \,\mathrm{d}r, \\ y(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )} M (r, x(r)) \,\mathrm{d}r + \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} M (r, x(r)) \,\mathrm{d}r \\ \hphantom{y(\mathfrak{t}) ={}}{} + \mathfrak{q} \int _{0}^{1} M (r, x(r)) \,\mathrm{d}r, \end{cases} $$
(10)

for any \(\mathfrak{t} \in \mathbb{I}\).

Thanks to the above proposition and for the sake of our subsequent arguments, we aim to introduce two operators \(g_{1}: \mathfrak{B} \to \mathfrak{B}\) and \(g_{2}: \mathfrak{B} \to \mathfrak{B}\) which take forms

$$\begin{aligned} (g_{1} y) (\mathfrak{t}) &= - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} K \bigl(r, y(r)\bigr) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} K \bigl(r, y(r)\bigr) \,\mathrm{d}r \\ &\quad {} + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} K \bigl(r, y(r)\bigr) \,\mathrm{d}r \end{aligned}$$
(11)

and

$$\begin{aligned} (g_{2} x) (\mathfrak{t}) &= - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )} M \bigl(r, x(r)\bigr) \,\mathrm{d}r + \mathfrak{q} \int _{0}^{1} M \bigl(r, x(r)\bigr) \,\mathrm{d}r \\ &\quad {} + \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} M \bigl(r, x(r)\bigr) \,\mathrm{d}r. \end{aligned}$$
(12)

So, we find the system of coupled operator equations in a format as follows:

$$ \textstyle\begin{cases} x(\mathfrak{t})=g_{1} y(\mathfrak{t}) , \\ y(\mathfrak{t})=g_{2} x(\mathfrak{t}). \end{cases} $$
(13)

Hence, on the product space, we define \(g^{\star }:\mathfrak{B}\times \mathfrak{B}\longrightarrow \mathfrak{B}\times \mathfrak{B}\) as \(g^{\star }( x,y)=(g_{1} y,g_{2} x)\). In the sequel, we deal with the fixed points of \(g^{\star }\). For this we exploit Banach’s and Krasnoselskii’s fixed point theorems.

Theorem 3.3

([55])

Let \(\mathcal{X}\) be a nonempty complete metric space and \(\varPsi : \mathcal{X} \rightarrow \mathcal{X}\) a contraction mapping. Then we can find a unique point \(z\in \mathcal{X} \) with \(\varPsi (z)=z\).

Theorem 3.4

([55])

Let \(\varSigma \neq \emptyset \) be a bounded, closed and convex set in a Banach space \(\mathcal{X}\). Suppose that \(g_{1},g_{2} :\varSigma \rightarrow \mathcal{X}\) are two operators such that

  1. (i)

    \(g_{1}(x)+g_{2}(y)\in \varSigma \), \(\forall x,y\in \varSigma \),

  2. (ii)

    \(g_{1}\) is a contraction mapping,

  3. (iii)

    \(g_{2}\) is compact and continuous.

Then there exists \(z\in \varSigma \) such that \(z=g_{1}z+g_{2}z\).

Now, in relation to the proofs of the main theorems, the following hypotheses are needed:

  1. (H1)

    \(K, M: \mathbb{I} \times \mathbb{R}^{\geq 0} \to \mathbb{R}^{\geq 0}\) are continuous, for \(\mathfrak{t}\in \mathbb{I}\) and \(x,\widehat{x},y,\widehat{y}\in \mathbb{R}\).

  2. (H2)

    \(\exists 0<\mathbf{C}_{K} \in \mathbb{R}\) which satisfies

    $$\begin{aligned} \bigl\vert K(\mathfrak{t},x)-K(\mathfrak{t},\widehat{x}) \bigr\vert &\leq \mathbf{C}_{K} \vert x-\widehat{x} \vert , \end{aligned}$$

    for \(\mathfrak{t}\in \mathbb{I}\) and \(x,\widehat{x}\in \mathbb{R}\).

  3. (H3)

    There exists a real positive constant \(\mathbf{C}_{M} \) which satisfies

    $$\begin{aligned} \bigl\vert M(\mathfrak{t},y)-M(\mathfrak{t},\widehat{y}) \bigr\vert &\leq \mathbf{C}_{M} \vert y-\widehat{y} \vert , \end{aligned}$$

    for \(\mathfrak{t}\in \mathbb{I}\) and \(y,\widehat{y}\in \mathbb{R}\).

The following notations are used for convenience of calculations:

$$ \delta _{1} =\mathfrak{p} +\frac{1+b^{\sigma }}{\Gamma (\sigma +1)},\qquad \delta _{2} = \mathfrak{q} + \frac{1+c^{\delta }}{\Gamma (\delta +1)}. $$

Now, everything is ready to start the establishment of the first main theorem.

Theorem 3.5

Assume (H1)(H3) along with the assumptions \(\mathbf{C}_{K} \delta _{1} <1\) and \(\mathbf{C}_{M} \delta _{2} <1\) are fulfilled. Then the considered system of coupled BVPs for the fractional thermostat model (3) admits a unique solution.

Proof

First, let us choose

$$ \varrho \geq \max \biggl\{ \frac{\delta _{1} \theta _{1}}{1-\mathbf{C}_{K} \delta _{1}}, \frac{\delta _{2} \theta _{2}}{1-\mathbf{C}_{M} \delta _{2}} \biggr\} , $$

where \(\theta _{1}=\max_{\mathfrak{t}\in \mathbb{I}} |K(\mathfrak{t},0) |\) and \(\theta _{2}=\max_{\mathfrak{t}\in \mathbb{I}} |M(\mathfrak{t},0) |\), and set

$$ \varXi = \bigl\{ (x, y)\in \mathfrak{B}\times \mathfrak{B}: \bigl\Vert (x, y) \bigr\Vert _{\mathfrak{B}\times \mathfrak{B}} \leq \varrho \bigr\} , $$

which is bounded, closed, and convex. Let \((x, y)\in \varXi \), then, in view of (H1) and (H2), we can write

$$\begin{aligned} \bigl\vert g_{1}y(t) \bigr\vert &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{t}(t-r)^{ \sigma -1} \bigl\vert K\bigl(r,y(r)\bigr) \bigr\vert \,\mathrm{d}r+\mathfrak{p} \int _{0}^{1} \bigl\vert K\bigl(r,y(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\quad {} +\frac{1}{\Gamma (\sigma )} \int _{0}^{b}(b-r)^{\sigma -1} \bigl\vert K\bigl(r,y(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{t}(t-r)^{\sigma -1} \bigl( \bigl\vert K\bigl(r,y(r)\bigr)-K(r,0) \bigr\vert + \bigl\vert K(r,0) \bigr\vert \bigr)\,\mathrm{d}r \\ &\quad {} +\mathfrak{p} \int _{0}^{1} \bigl( \bigl\vert K\bigl(r,y(r) \bigr)-K(r,0) \bigr\vert + \bigl\vert K(r,0) \bigr\vert \bigr)\,\mathrm{d}r \\ &\quad {} +\frac{1}{\Gamma (\sigma )} \int _{0}^{b}(b-r)^{\sigma -1} \bigl( \bigl\vert K\bigl(r,y(r)\bigr)-K(r,0) \bigr\vert + \bigl\vert K(r,0) \bigr\vert \bigr)\,\mathrm{d}r \\ &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{t}(t-r)^{\sigma -1} ( \varrho \mathbf{C}_{K}+\theta _{1} )\,\mathrm{d}r+\mathfrak{p} \int _{0}^{1} (\varrho \mathbf{C}_{K}+ \theta _{1} )\,\mathrm{d}r \\ &\quad {} +\frac{1}{\Gamma (\sigma )} \int _{0}^{b}(b-r)^{\sigma -1} ( \varrho \mathbf{C}_{K}+\theta _{1} )\,\mathrm{d}r \\ &\leq (\varrho \mathbf{C}_{K}+\theta _{1} ) \biggl( \frac{t^{\sigma }}{\Gamma (\sigma +1)}+\mathfrak{p}+ \frac{b^{\sigma }}{\Gamma (\sigma +1)} \biggr). \end{aligned}$$

Therefore,

$$ \Vert g_{1}y \Vert _{\mathfrak{B}}\leq ( \varrho \mathbf{C}_{K}+ \theta _{1} ) \biggl( \mathfrak{p}+ \frac{1+b^{\sigma }}{\Gamma (\sigma +1)} \biggr) \leq (\varrho \mathbf{C}_{K}+ \theta _{1} )\delta _{1}\leq \varrho . $$
(14)

In a similar way, we show that

$$ \bigl\vert g_{2}x(t) \bigr\vert \leq (\varrho \mathbf{C}_{M}+\theta _{2} ) \biggl( \frac{t^{\delta }}{\Gamma (\delta +1)}+\mathfrak{q}+ \frac{c^{\delta }}{\Gamma (\delta +1)} \biggr). $$

Thus,

$$ \Vert g_{2}x \Vert _{\mathfrak{B}} \leq ( \varrho \mathbf{C}_{M}+ \theta _{2} ) \biggl( \mathfrak{q}+ \frac{1+c^{\delta }}{\Gamma (\delta +1)} \biggr) \leq ( \varrho \mathbf{C}_{M}+ \theta _{2} )\delta _{2}\leq \varrho . $$
(15)

Hence, from (14) and (15), it follows that

$$ \bigl\Vert g^{\star }(x,y) \bigr\Vert _{\mathfrak{B}\times \mathfrak{B}}\leq \varrho . $$

Hence \(g^{\star } (\varXi ) \subseteq \varXi \).

Now, we show that \(g^{\star }\) is a contraction operator. Let \((x,y), (\widehat{x},\widehat{y})\in \varXi \) and \(t\in \mathbb{I}\), then we have

$$\begin{aligned} \bigl\vert g_{1}y(t)-g_{1} \widehat{y}(t) \bigr\vert &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{t}(t-r)^{\sigma -1} \bigl\vert K\bigl(r,y(r)\bigr)-K\bigl(r, \widehat{y}(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\quad {} +\mathfrak{p} \int _{0}^{1} \bigl\vert K\bigl(r,y(r) \bigr)-K\bigl(r,\widehat{y}(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\quad {} +\frac{1}{\Gamma (\sigma )} \int _{0}^{b}(b-r)^{\sigma -1} \bigl\vert K\bigl(r,y(r)\bigr)-K\bigl(r, \widehat{y}(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{t}(t-r)^{\sigma -1} \mathbf{C}_{K} \bigl\vert y(r)-\widehat{y}(r) \bigr\vert \,\mathrm{d}r \\ &\quad {} +\mathfrak{p} \int _{0}^{1}\mathbf{C}_{K} \bigl\vert y(r)-\widehat{y}(r) \bigr\vert \,\mathrm{d}r \\ &\quad {} +\frac{1}{\Gamma (\sigma )} \int _{0}^{b}(b-r)^{\sigma -1} \mathbf{C}_{K} \bigl\vert y(r)-\widehat{y}(r) \bigr\vert \,\mathrm{d}r \\ &\leq \mathbf{C}_{K} \biggl(\frac{t^{\sigma }}{\Gamma (\sigma +1)}+ \mathfrak{p}+ \frac{b^{\sigma }}{\Gamma (\sigma +1)} \biggr) \Vert y- \widehat{y} \Vert _{{\mathfrak{B}}}. \end{aligned}$$
(16)

Then, (16) leads to

$$\begin{aligned} \Vert g_{1}y-g_{1}\widehat{y} \Vert _{\mathfrak{B}}&\leq \mathbf{C}_{K} \biggl(\mathfrak{p}+ \frac{1+b^{\sigma }}{\Gamma (\sigma +1)} \biggr) \Vert y-\widehat{y} \Vert _{{\mathfrak{B}}} \\ &\leq \mathbf{C}_{K}\delta _{1} \Vert y-\widehat{y} \Vert _{{ \mathfrak{B}}}. \end{aligned}$$
(17)

By the same calculation techniques used to get (16), we find

$$ \Vert g_{2}x-g_{2}\widehat{x} \Vert _{\mathfrak{B}}\leq \mathbf{C}_{M} \delta _{2} \Vert x-\widehat{x} \Vert _{{\mathfrak{B}}}. $$
(18)

Now, by exploiting (17) and (18), together with the assumptions \(\mathbf{C}_{K}\delta _{1}<1\) and \(\mathbf{C}_{M}\delta _{2}<1\), we arrive at

$$ \bigl\Vert g^{\star }(x,y)-g^{\star }(\widehat{x},\widehat{y}) \bigr\Vert _{ \mathfrak{B}\times \mathfrak{B}}\leq \bigl\Vert (x,y)-(\widehat{x}, \widehat{y}) \bigr\Vert _{\mathfrak{B}\times \mathfrak{B}}. $$

Hence, \(g^{\star }\) is a contraction operator. Then, from Theorem 3.3, our system of coupled BVPs for the fractional thermostat model (3) admits a uniqu solution, and this ends the proof. □

To follow the required arguments, we define four new operators as follows:

$$ \textstyle\begin{cases} \widehat{\Phi }_{1}y(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} K (r, y(r)) \,\mathrm{d}r, \\ \widehat{\Psi }_{1}y(\mathfrak{t}) = \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} K (r, y(r)) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} K (r, y(r)) \,\mathrm{d}r, \\ \widehat{\Phi }_{2}x(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )} M (r, x(r)) \,\mathrm{d}r, \\ \widehat{\Psi }_{2}x(\mathfrak{t}) = \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} M (r, x(r)) \,\mathrm{d}r + \mathfrak{q} \int _{0}^{1} M (r, x(r)) \,\mathrm{d}r. \end{cases} $$
(19)

From the system (19), it follows that \(g_{1}=\widehat{\Phi }_{1}+\widehat{\Psi }_{1}\) and \(g_{2}=\widehat{\Phi }_{2}+\widehat{\Psi }_{2}\), therefore the operator \(g^{\star }\) can be rewritten as \(g^{\star }=\widehat{\Phi }+\widehat{\Psi }\), in which Φ̂ and Ψ̂ are expressed as follows:

$$ \widehat{\Phi }(x,y)=(\widehat{\Phi }_{1}y,\widehat{\Phi }_{2}x)\quad \text{and} \quad \widehat{\Psi }(x,y)=(\widehat{\Psi }_{1}y, \widehat{\Psi }_{2}x). $$

In addition, we suppose that the following hypothesis holds:

  1. (H4)

    There are four real positive constants \(\varUpsilon _{K}\), \(\varUpsilon _{M}\), \(\varOmega _{K}\), \(\varOmega _{M}\) that satisfy

    $$ \bigl\vert K\bigl(t,y(t)\bigr) \bigr\vert \leq \varUpsilon _{K} \Vert y \Vert _{\mathfrak{B}}+ \varOmega _{K}{} \quad \text{and} \quad \bigl\vert M\bigl(t,x(t)\bigr) \bigr\vert \leq \varUpsilon _{M} \Vert x \Vert _{\mathfrak{B}}+\varOmega _{M}, $$

    for each \(t\in \mathbb{I}\) and any \(x,y\in \mathfrak{B} \).

Theorem 3.6

Let the hypotheses (H1)(H4) be satisfied. If, in addition, the conditions

$$\begin{aligned} \frac{\mathbf{C}_{K} (\mathfrak{p}\sigma +\mathfrak{b}^{\sigma } )}{\Gamma (\sigma +1)}< 1 \quad \textit{and}\quad \frac{\mathbf{C}_{M} (\mathfrak{q}\delta +\mathfrak{c}^{\delta } )}{\Gamma (\delta +1)}< 1 \end{aligned}$$
(20)

hold, then the considered system of coupled BVPs for the fractional thermostat model (3) admits a solution.

Proof

Since K and M are continuous functions, then we have the same for the operator \(g^{\star }\). Let \(\mathbb{D}\) be a bounded subset of \(\varXi \in \mathfrak{B}\times \mathfrak{B}\). Then, based on the hypothesis (H4), we have, for all \((x,y)\in \mathbb{D}\),

$$\begin{aligned} \bigl\vert \widehat{\Phi }_{1}y(\mathfrak{t}) \bigr\vert &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{\mathfrak{t}} (\mathfrak{t}- r )^{ \sigma -1} \bigl\vert K \bigl(r, y(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{\mathfrak{t}} ( \mathfrak{t}- r )^{\sigma -1} \bigl(\varUpsilon _{K} \Vert y \Vert _{ \mathfrak{B}}+\varOmega _{K} \bigr)\,\mathrm{d}r, \end{aligned}$$

which leads to

$$ \Vert \widehat{\Phi }_{1}y \Vert _{\mathfrak{B}} \leq \frac{\varUpsilon _{K} \Vert y \Vert _{\mathfrak{B}}+\varOmega _{K}}{\Gamma (\sigma +1)}. $$
(21)

A similar argument gives us

$$ \Vert \widehat{\Phi }_{2}x \Vert _{\mathfrak{B}}\leq \frac{\varUpsilon _{M} \Vert x \Vert _{\mathfrak{B}}+\varOmega _{M}}{\Gamma (\delta +1)}. $$
(22)

In view of (21) and (22), the boundedness of \(\widehat{\Phi }(\mathbb{D})\) is ensured.

Now, we show that Φ̂ is an equicontinuous operator. For this, let \(\tau _{1},\tau _{2}\in \mathbb{I,}\) where \(\tau _{1}<\tau _{2}\) and \((x,y)\in \mathfrak{B}\times \mathfrak{B} \), then we have

$$\begin{aligned} & \bigl\vert \widehat{\Phi }_{1}y(\tau _{1})-\widehat{\Phi }_{1}y(\tau _{2}) \bigr\vert \\ &\quad = \frac{1}{\Gamma (\sigma )} \biggl\vert - \int _{0}^{\tau _{1}} (\tau _{1}- r )^{\sigma -1} K \bigl(r, y(r)\bigr)\,\mathrm{d}r + \int _{0}^{\tau _{2}} (\tau _{2}- r )^{\sigma -1} K \bigl(r, y(r)\bigr)\,\mathrm{d}r \biggr\vert \\ &\quad \leq \frac{1}{\Gamma (\sigma )} \biggl[ \int _{0}^{\tau _{1}} \bigl((\tau _{2}- r )^{\sigma -1} -(\tau _{1}- r )^{\sigma -1} \bigr) \bigl\vert K \bigl(r, y(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\qquad {} + \int _{\tau _{1}}^{\tau _{2}} (\tau _{2}- r )^{\sigma -1} \bigl\vert K \bigl(r, y(r)\bigr) \bigr\vert \,\mathrm{d}r \biggr] \\ &\quad \leq \frac{\varUpsilon _{K} \Vert y \Vert _{\mathfrak{B}}+\varOmega _{K}}{\Gamma (\sigma +1)} \bigl(\tau _{2}^{\sigma }-\tau _{1}^{\sigma } \bigr). \end{aligned}$$
(23)

By the same arguments used to get (23), one can find the following result:

$$ \bigl\vert \widehat{\Phi }_{2}x(\tau _{1})-\widehat{\Phi }_{2}x(\tau _{2}) \bigr\vert \leq \frac{\varUpsilon _{M} \Vert x \Vert _{\mathfrak{B}}+\varOmega _{M}}{\Gamma (\delta +1)} \bigl(\tau _{2}^{\sigma }- \tau _{1}^{\sigma } \bigr). $$
(24)

The inequalities (23) and (24) imply that \(|\widehat{\Phi }_{1}y(\tau _{1})-\widehat{\Phi }_{1}y(\tau _{2}) |\rightarrow 0\) and \(|\widehat{\Phi }_{2}x(\tau _{1})-\widehat{\Phi }_{2}x(\tau _{2}) |\rightarrow 0\), when \(\tau _{1}\rightarrow \tau _{2}\). Then, by using the Arzela–Ascoli theorem, we conclude that the operator Φ̂ is continuous and compact.

Now, to complete checking the hypotheses of Theorem 3.4, it remains to show that Ψ̂ is a contraction operator. So, if we take \((y,\widehat{y})\in \mathfrak{B}\times \mathfrak{B}\), we get

$$\begin{aligned} \bigl\vert \widehat{\Psi }_{1}y(\mathfrak{t})-\widehat{\Psi }_{1}\widehat{y}( \mathfrak{t}) \bigr\vert &\leq \frac{1}{\Gamma (\sigma )} \int _{0}^{b} (b- r )^{\sigma -1} \bigl\vert K \bigl(r, y(r)\bigr)-K \bigl(r, \widehat{y}(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\quad {} +\mathfrak{p} \int _{0}^{1} \bigl\vert K \bigl(r, y(r) \bigr)-K \bigl(r, \widehat{y}(r)\bigr) \bigr\vert \,\mathrm{d}r \\ &\leq \frac{\mathbf{C}_{K} \vert y-\widehat{y} \vert (\mathfrak{p}\sigma +b^{\sigma } )}{\Gamma (\sigma +1)}. \end{aligned}$$

Consequently,

$$ \Vert \widehat{\Psi }_{1}y-\widehat{\Psi }_{1}\widehat{y} \Vert _{ \mathfrak{B}}\leq \frac{\mathbf{C}_{K} (\mathfrak{p}\sigma +b^{\sigma } )}{\Gamma (\sigma +1)} \Vert y-\widehat{y} \Vert _{\mathfrak{B}}. $$
(25)

With the same calculation method, we arrive at the following estimate:

$$ \Vert \widehat{\Psi }_{2}x-\widehat{\Psi }_{2}\widehat{x} \Vert _{ \mathfrak{B}}\leq \frac{\mathbf{C}_{M} (\mathfrak{q}\delta +b^{\delta } )}{\Gamma (\delta +1)} \Vert x-\widehat{x} \Vert _{\mathfrak{B}}. $$
(26)

Hence, from (25) and (26), together with the assumption (20), we have that Ψ̂ is a contraction operator. Now, all the assumptions of Theorem 3.4 are fulfilled. So, this ensures that \(g^{\star }\) admits at least one fixed point which is also a solution of the considered system of coupled BVPs for the fractional thermostat model (3). □

4 Results for Hyers–Ulam stability

Fractional differential equations have been extensively studied from different angles. Among these, stability analysis in the Hyers–Ulam sense is an important aspect that gained proper attention from researchers [5658]. Based on the fundamental definition of Hyers–Ulam stability of a system, the notion was later modified to more general types, and their results were successfully applied to various problems [5961]. In this section, we will adopt a number of sufficient conditions to review the Hyers–Ulam-type stability results for the considered system of coupled BVPs for the fractional thermostat model (3).

Definition 4.1

([57, 58])

Let \(g^{\star }:\mathfrak{B}\longrightarrow \mathfrak{B}\) be an operator, where \(\mathfrak{B}\) is a Banach space. We say that the operator equation

$$ g^{\star }y=y $$
(27)

is Hyers–Ulam stable if for the given inequality \((\forall \mathfrak{t}\in \mathbb{I})\)

$$ \bigl\vert y(\mathfrak{t})-g^{\star }y(\mathfrak{t}) \bigr\vert \leq \epsilon , $$

\(\exists \omega _{g^{\star }}>0\) so that for any \(y\in C(\mathbb{I},\mathbb{R})\) satisfying equation (27), one can find the solution \(\widehat{h}\in C(\mathbb{I},\mathbb{R})\) of (27) uniquely, provided that \(\forall \mathfrak{t}\in \mathbb{I}\),

$$ \bigl\vert y(\mathfrak{t})-\widehat{h}(\mathfrak{t}) \bigr\vert \leq \omega _{g^{ \star }}\epsilon . $$

Definition 4.2

([57, 58])

Let us consider two operators \(g_{j}:\mathfrak{B}\longrightarrow \mathfrak{B}\), \(j\in \{1,2\}\). Based on Definition 4.1, we say that the coupled system

$$ \textstyle\begin{cases} x(\mathfrak{t}) = g_{1}y(\mathfrak{t}), \\ y(\mathfrak{t})=g_{2}x(\mathfrak{t}) , \end{cases} $$
(28)

is Hyers–Ulam-stable if for the following systems of inequalities:

$$ \textstyle\begin{cases} \vert x(\mathfrak{t})-g_{1}y(\mathfrak{t}) \vert \leq \epsilon _{1}, \quad \mathfrak{t}\in \mathbb{I}, \\ \vert y(\mathfrak{t})-g_{2}x(\mathfrak{t}) \vert \leq \epsilon _{2}, \quad \mathfrak{t}\in \mathbb{I}, \end{cases} $$
(29)

one can find two positive constants \(\omega _{g_{1}}\), \(\omega _{g_{2}}\) so that for each \((x,y)\) satisfying (28), a solution \((\widehat{h},\widetilde{h})\) of above system (28) exists uniquely, provided that \(\forall \mathfrak{t}\in \mathbb{I}\),

$$ \textstyle\begin{cases} \vert x(\mathfrak{t})-\widehat{h}(\mathfrak{t}) \vert \leq \omega _{g_{1}} \epsilon _{1}, \\ \vert y(\mathfrak{t})-\widetilde{h}(\mathfrak{t}) \vert \leq \omega _{g_{2}} \epsilon _{2}. \end{cases} $$

For establishing the formal theorems on the Hyers–Ulam stability for the considered system of coupled BVPs of the fractional thermostat model (3), we indicate the following conditions first.

Remark 4.3

Suppose that \(\exists \varphi , \chi \in C(\mathbb{I},\mathbb{R})\) which depend on x and y, respectively, and satisfy

$$ (1)\quad \bigl\vert \varphi (\mathfrak{t}) \bigr\vert \leq \epsilon _{1},\qquad \bigl\vert \chi ( \mathfrak{t}) \bigr\vert \leq \epsilon _{2},\quad \forall \mathfrak{t} \in \mathbb{I}, $$

and

$$ (2)\quad \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }x(\mathfrak{t}) + K (\mathfrak{t}, y( \mathfrak{t}))+\varphi (\mathfrak{t})=0, \\ {}^{c}\mathfrak{D}^{\delta }y(\mathfrak{t}) + M (\mathfrak{t}, x( \mathfrak{t}))+\chi (\mathfrak{t}) =0, \end{cases} $$

\(\forall \mathfrak{t} \in \mathbb{I}\).

Lemma 4.4

Assume that \((x,y)\in (C(\mathbb{I},\mathbb{R}) )^{2}\) is a solution of the inequality system (29). Then we have the following system of inequalities:

$$ \textstyle\begin{cases} \vert x(\mathfrak{t})-g_{1}y(\mathfrak{t}) \vert \leq \eta _{1} \epsilon _{1},\quad \mathfrak{t}\in \mathbb{I}, \\ \vert y(\mathfrak{t})-g_{2}x(\mathfrak{t}) \vert \leq \eta _{2} \epsilon _{2},\quad \mathfrak{t}\in \mathbb{I}, \end{cases} $$

where \(\eta _{1}= \frac{1+b^{\sigma }+ \mathfrak{p} \Gamma (\sigma +1)}{\Gamma (\sigma +1)}\), \(\eta _{2}= \frac{1+c^{\delta }+ \mathfrak{q} \Gamma (\delta +1)}{\Gamma (\delta +1)}\), and \(g_{1}\), \(g_{2}\) are the operators defined by (11) and (12), respectively.

Proof

In accordance with (2) in Remark 4.3, we have \(\forall \mathfrak{t} \in \mathbb{I}\),

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }x(\mathfrak{t}) + K (\mathfrak{t}, y( \mathfrak{t}))+\varphi (\mathfrak{t}) =0, \\ {}^{c}\mathfrak{D}^{\delta }y(\mathfrak{t}) + M (\mathfrak{t}, x( \mathfrak{t}))+\chi (\mathfrak{t}) =0, \\ {}^{c}\mathfrak{D}^{1} x(0)=0, \qquad {}^{c}\mathfrak{D}^{1} y(0)=0, \\ \mathfrak{p} {}^{c}\mathfrak{D}^{ \sigma -1}x(1)+ x( \mathfrak{b} ) = 0,\qquad \mathfrak{q} {}^{c}\mathfrak{D}^{ \delta -1}y(1)+ y( \mathfrak{c} ) = 0. \end{cases} $$
(30)

Thanks to the Proposition 3.2, the solution of problem (30) can be reformulated immediately as

$$ \textstyle\begin{cases} x(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} K (r, y(r)) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} K (r, y(r)) \,\mathrm{d}r \\ \hphantom{x(\mathfrak{t}) ={}}{} + \mathfrak{p} \int _{0}^{1} K (r, y(r)) \,\mathrm{d}r- \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )}\varphi (r) \,\mathrm{d}r \\ \hphantom{x(\mathfrak{t}) ={}}{} + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} \varphi (r) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} \varphi (r) \,\mathrm{d}r, \\ y(\mathfrak{t}) =- \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )} M (r, x(r)) \,\mathrm{d}r + \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} M (r, x(r)) \,\mathrm{d}r \\ \hphantom{y(\mathfrak{t}) ={}}{} + \mathfrak{q} \int _{0}^{1} M (r, x(r)) \,\mathrm{d}r - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )}\chi (r) \,\mathrm{d}r \\ \hphantom{y(\mathfrak{t}) ={}}{} + \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} \chi (r) \,\mathrm{d}r + \mathfrak{q} \int _{0}^{1} \chi (r) \,\mathrm{d}r. \end{cases} $$
(31)

Since \(\mathfrak{t} \in \mathbb{I} := [0,1]\), from (31) we have, on the one hand,

$$\begin{aligned}& \biggl\vert x(\mathfrak{t}) - \biggl[ - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} K \bigl(r, y(r)\bigr) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} K \bigl(r, y(r)\bigr) \,\mathrm{d}r \\& \qquad {} + \mathfrak{p} \int _{0}^{1} K \bigl(r, y(r)\bigr) \,\mathrm{d}r \biggr] \biggr\vert \\& \quad = \biggl\vert - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )}\varphi (r) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} \varphi (r) \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} \varphi (r) \,\mathrm{d}r \biggr\vert \\& \quad \leq \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} \bigl\vert \varphi (r) \bigr\vert \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} \bigl\vert \varphi (r) \bigr\vert \,\mathrm{d}r + \mathfrak{p} \int _{0}^{1} \bigl\vert \varphi (r) \bigr\vert \,\mathrm{d}r \\& \quad \leq \biggl(\frac{\mathfrak{t}^{\sigma }}{\Gamma (\sigma +1)}+ \frac{\mathfrak{b}^{\sigma }}{\Gamma (\sigma +1)}+\mathfrak{p} \biggr) \epsilon _{1} \\& \quad \leq \frac{1+\mathfrak{b}^{\sigma }+\mathfrak{p}\Gamma (\sigma +1)}{\Gamma (\sigma +1)} \epsilon _{1}=\eta _{1} \epsilon _{1}, \quad \mathfrak{t} \in \mathbb{I}, \end{aligned}$$

which means that

$$ \bigl\vert x(\mathfrak{t})-g_{1}y(\mathfrak{t}) \bigr\vert \leq \eta _{1}\epsilon _{1}, \quad \mathfrak{t} \in \mathbb{I}. $$

On the other hand, with the same arguments, we obtain

$$\begin{aligned}& \biggl\vert y(\mathfrak{t}) - \biggl[ - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )} M \bigl(r, x(r)\bigr) \,\mathrm{d}r + \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} M \bigl(r, x(r)\bigr) \,\mathrm{d}r \\& \qquad {} + \mathfrak{q} \int _{0}^{1} M \bigl(r, x(r)\bigr) \,\mathrm{d}r \biggr] \biggr\vert \\& \quad \leq \frac{1+\mathfrak{c}^{\delta }+\mathfrak{q}\Gamma (\delta +1)}{\Gamma (\delta +1)} \epsilon _{2}=\eta _{2} \epsilon _{2}, \quad \mathfrak{t} \in \mathbb{I}, \end{aligned}$$

that is,

$$ \bigl\vert y(\mathfrak{t})-g_{2}x(\mathfrak{t}) \bigr\vert \leq \eta _{2}\epsilon _{2},\quad \mathfrak{t} \in \mathbb{I}, $$

and this concludes the proof. □

Theorem 4.5

Assume that the hypotheses (H2), (H3) hold. If

$$ \max \biggl\{ \frac{\eta _{1} \epsilon _{1} +\delta _{1} C_{K} \eta _{2} \epsilon _{2}}{1-\delta _{1} \delta _{2} C_{K} C_{M}}, \frac{\eta _{2} \epsilon _{2} +\delta _{2} C_{M} \eta _{1} \epsilon _{1}}{1-\delta _{1} \delta _{2} C_{K} C_{M}} \biggr\} < 1, $$

where \(\delta _{1} \delta _{2} C_{K} C_{M}<1\), then the solution of the system of coupled BVPs of the fractional thermostat model (9) is Hyers–Ulam-stable.

Proof

Taking any solution \((x,y)\in (C(\mathbb{I},\mathbb{R}) )^{2}\) of the system of inequalities defined by

$$ \textstyle\begin{cases} \vert {}^{c}\mathfrak{D}^{\sigma }x(\mathfrak{t}) + K (\mathfrak{t}, y( \mathfrak{t})) \vert \leq \epsilon _{1}, \quad \mathfrak{t} \in \mathbb{I}, \\ \vert {}^{c}\mathfrak{D}^{\delta }y(\mathfrak{t}) + M (\mathfrak{t}, x( \mathfrak{t})) \vert \leq \epsilon _{2}, \quad \mathfrak{t} \in \mathbb{I}, \end{cases} $$

and the unique solution \((\widehat{h},\widetilde{h}) \) belonging to \((C(\mathbb{I},\mathbb{R}) )^{2}\) of the following system:

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\sigma }\widehat{h}(\mathfrak{t}) + K (\mathfrak{t}, \widetilde{h}(\mathfrak{t})) =0, \quad \mathfrak{t} \in \mathbb{I} , \\ {}^{c}\mathfrak{D}^{\delta }\widetilde{h}(\mathfrak{t}) + M ( \mathfrak{t}, \widehat{h}(\mathfrak{t})) =0, \quad \mathfrak{t} \in \mathbb{I}, \\ {}^{c}\mathfrak{D}^{1} \widehat{h}(0)=0, \qquad {}^{c}\mathfrak{D}^{1} \widetilde{h}(0)=0, \\ \mathfrak{p} {}^{c}\mathfrak{D}^{ \sigma -1}\widehat{h}(1)+ \widehat{h}({b} ) = 0, \qquad \mathfrak{q} {}^{c}\mathfrak{D}^{ \delta -1} \widetilde{h}(1)+ \widetilde{h}( \mathfrak{c} ) = 0, \end{cases} $$
(32)

and from Proposition 3.2, together with (10), the solution of (32) can be represented by

$$ \textstyle\begin{cases} \widehat{h}(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\sigma -1}}{\Gamma (\sigma )} K (r, \widetilde{h}(r)) \,\mathrm{d}r + \int _{0}^{\mathfrak{b}} \frac{(\mathfrak{b} -r )^{\sigma -1}}{\Gamma (\sigma )} K (r, \widetilde{h}(r)) \,\mathrm{d}r \\ \hphantom{\widehat{h}(\mathfrak{t}) ={}}{} + \mathfrak{p} \int _{0}^{1} K (r, \widetilde{h}(r)) \,\mathrm{d}r=g_{1}\widetilde{h}(\mathfrak{t}), \\ \widetilde{h}(\mathfrak{t}) = - \int _{0}^{\mathfrak{t}} \frac{(\mathfrak{t}- r )^{\delta -1}}{\Gamma (\delta )} M (r, \widehat{h}(r)) \,\mathrm{d}r + \int _{0}^{\mathfrak{c}} \frac{(\mathfrak{c} -r )^{\delta -1}}{\Gamma (\delta )} M (r, \widehat{h}(r)) \,\mathrm{d}r \\ \hphantom{\widetilde{h}(\mathfrak{t}) ={}}{} + \mathfrak{q} \int _{0}^{1} M (r, \widehat{h}(r)) \,\mathrm{d}r=g_{2}\widehat{h}(\mathfrak{t}). \end{cases} $$
(33)

In view of (33), we can write

$$ \begin{aligned}[b] \bigl\vert x(\mathfrak{t})- \widehat{h}(\mathfrak{t}) \bigr\vert &= \bigl\vert x(\mathfrak{t})-g_{1} \widetilde{h}(\mathfrak{t}) \bigr\vert \\ & = \bigl\vert x(\mathfrak{t})-g_{1} y(\mathfrak{t})+g_{1} y(\mathfrak{t})-g_{1} \widetilde{h}(\mathfrak{t}) \bigr\vert \\ &\leq \bigl\vert x(\mathfrak{t})-g_{1} y(\mathfrak{t}) \bigr\vert + \bigl\vert g_{1} y( \mathfrak{t})-g_{1} \widetilde{h}(\mathfrak{t}) \bigr\vert . \end{aligned} $$
(34)

Exploiting Lemma 4.4, with some computations, we obtain

$$ \Vert x-\widehat{h} \Vert _{\mathfrak{B}}\leq \eta _{1}\epsilon _{1}+ \delta _{1}C_{K} \Vert y-\widetilde{h} \Vert _{\mathfrak{B}}. $$
(35)

With the same calculation, we get

$$ \Vert y-\widetilde{h} \Vert _{\mathfrak{B}}\leq \eta _{2}\epsilon _{2}+ \delta _{2}C_{M} \Vert x-\widehat{h} \Vert _{\mathfrak{B}}. $$
(36)

So

$$ \begin{bmatrix} 1 & -\delta _{1} C_{K} \\ - \delta _{2} C_{M} & 1 \end{bmatrix} \cdot \begin{bmatrix} \Vert x - \widehat{h} \Vert _{\mathfrak{B}} \\ \Vert y - \widetilde{h} \Vert _{\mathfrak{B}} \end{bmatrix} \leq \begin{bmatrix} \eta _{1} \varepsilon _{1} \\ \eta _{2} \varepsilon _{2} \end{bmatrix} . $$
(37)

Since \(\delta _{1} \delta _{2} C_{K} C_{M}<1\), from (35), (36), and (37), we get, after simple computations, the following estimates:

$$ \textstyle\begin{cases} \Vert x-\widehat{h} \Vert _{\mathfrak{B}} \leq \frac{\eta _{1} \epsilon _{1} +\delta _{1} C_{K} \eta _{2} \epsilon _{2}}{1-\delta _{1} \delta _{2} C_{K} C_{M}}, \\ \Vert y-\widetilde{h} \Vert _{\mathfrak{B}}\leq \frac{\eta _{2} \epsilon _{2} +\delta _{2} C_{M} \eta _{1} \epsilon _{1}}{1-\delta _{1} \delta _{2} C_{K} C_{M}}, \end{cases} $$

which give

$$ \bigl\Vert (x,y)-(\widehat{h},\widetilde{h}) \bigr\Vert _{\mathfrak{B}\times \mathfrak{B}} \leq \max \biggl\{ \frac{\eta _{1} \epsilon _{1} +\delta _{1} C_{K} \eta _{2} \epsilon _{2}}{1-\delta _{1} \delta _{2} C_{K} C_{M}}, \frac{\eta _{2} \epsilon _{2} +\delta _{2} C_{M} \eta _{1} \epsilon _{1}}{1-\delta _{1} \delta _{2} C_{K} C_{M}} \biggr\} . $$

Hence the solution of the system of coupled BVPs of the fractional thermostat model (9) is Hyers–Ulam-stable. □

5 GDT-method for approximation of solutions

In many situations, the explicit solution of boundary problems for classical nonlinear differential equations is difficult and sometimes impossible. Then, it would be quite difficult or impossible to find the exact solutions of FBVPs with FDEqs. Therefore, it has become necessary to think about new methods to solve such problems. In this work we are interested in a numerical method, called the differential transform method, which was presented by Zhou in [62], which was extended to its generalized form by Odibat and Momani in [63] and named the GDT-method. It is an iterative method which gives us analytical solutions in the form of the Taylor series expansion to fractional differential equations with boundary or initial conditions. Now, we will apply the GDT-method to find an approximate solution to our system of coupled BVPs of the fractional thermostat model (3). Note that this technique is based on the generalized Taylor’s formula. The GDT of the \(\mathfrak{s}\)th derivative of two given functions \(x(\mathfrak{t})\) and \(y(\mathfrak{t})\) of one variable is defined by (see [64])

$$ \textstyle\begin{cases} x^{\star }(\mathfrak{s})=\frac{1}{\Gamma (\varrho \mathfrak{s}+1)} [ ({}^{c}\mathfrak{D}^{\varrho } )^{\mathfrak{s}}x( \mathfrak{t}) ]_{\mathfrak{t}= 0}, \\ y^{\star }(\mathfrak{s})=\frac{1}{\Gamma (\varrho \mathfrak{s}+1)} [ ({}^{c}\mathfrak{D}^{\varrho } )^{\mathfrak{s}}y( \mathfrak{t}) ]_{\mathfrak{t}= 0}, \end{cases} $$
(38)

where \(({}^{c}\mathfrak{D}^{\varrho } )^{\mathfrak{s}}= \underbrace{{}^{c}\mathfrak{D}^{\varrho }\cdot {}^{c}\mathfrak{D}^{\varrho }\cdots {}^{c}\mathfrak{D}^{\varrho }}_{ \mathfrak{ s}\text{-times}}\); and their inverses are defined as

$$ \textstyle\begin{cases} x(\mathfrak{t})=\sum_{\mathfrak{s}=0}^{\infty }x^{\star }( \mathfrak{s})\mathfrak{t}^{\mathfrak{s}\varrho }, \\ y(\mathfrak{t})=\sum_{\mathfrak{s}=0}^{\infty }y^{\star }( \mathfrak{s})\mathfrak{t}^{\mathfrak{s}\varrho }. \end{cases} $$

Then the approximate solution of our problem (3) is written as finite series of the analytical polynomial forms,

$$ \textstyle\begin{cases} x(\mathfrak{t})=\sum_{\mathfrak{s}=0}^{N}x^{\star }( \mathfrak{s})\mathfrak{t}^{\mathfrak{s}\varrho }, \\ y(\mathfrak{t})=\sum_{\mathfrak{s}=0}^{N} y^{\star }( \mathfrak{s})\mathfrak{t}^{\mathfrak{s}\varrho }, \end{cases} $$
(39)

where ϱ is named the order of the differential transformation and must be taken such that \(\mathfrak{l}\varrho =1\), \(\mathfrak{m}\varrho =\sigma \), and \(\mathfrak{n}\varrho =\delta \) with \(\mathfrak{l},\mathfrak{m},\mathfrak{n}\in \mathbb{N,}\) and \(x^{\star }(\mathfrak{s})\), \(y^{\star }(\mathfrak{s})\) are the GDT of \(x(\mathfrak{t})\) and \(y(\mathfrak{t})\), respectively, expressed by

$$ \textstyle\begin{cases} x^{\star }(\mathfrak{s}+\mathfrak{m})= \frac{\Gamma ((\mathfrak{s}+\mathfrak{m})\varrho -\sigma +1)}{\Gamma ((\mathfrak{s}+\mathfrak{m})\varrho +1)} K^{\star }(\mathfrak{s},y^{\star }(\mathfrak{s})), \\ y^{\star }(\mathfrak{s+\mathfrak{n}})= \frac{\Gamma ((\mathfrak{s}+\mathfrak{n})\varrho -\delta +1)}{\Gamma ((s+\mathfrak{n})\varrho +1)} M^{\star }(\mathfrak{s},x^{\star }(\mathfrak{s})), \end{cases} $$
(40)

where \(K^{\star }(\mathfrak{s},y^{\star }(\mathfrak{s}))\) and \(M^{\star }(\mathfrak{s},x^{\star }(\mathfrak{s}))\) denote the ϱth-order differential transformations of \(K(\mathfrak{s},y(\mathfrak{ s}))\) and \(M(s,x(\mathfrak{ s}))\), respectively.

Since \({}^{c}\mathfrak{D}^{1} x(0)=0\) and \({}^{c}\mathfrak{D}^{1} y(0)=0\), their differential transforms give \(x^{\star }(\mathfrak{ l})=0\), \(y^{\star }(\mathfrak{ l})=0\), and \(x^{\star }(\mathfrak{s})=0\), for all \(\mathfrak{s}\) that satisfy \(0<\mathfrak{s}\varrho <1\) or \(l<\mathfrak{s}<\mathfrak{m}\), and also \(y^{\star }(\mathfrak{s})=0\), for all \(\mathfrak{s}\) that satisfy \(0<\mathfrak{s}\varrho <1\) or \(l<\mathfrak{s}<\mathfrak{n}\), and finally, \(x^{\star }(0)=\widehat{c}\), \(y^{\star }(0)=\widetilde{c}\), where ĉ and are two undetermined real constants which can be evaluated using the second initial condition of problem (3).

Thanks to the recursive relationship (40), the solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) of the system of coupled BVPs of the fractional thermostat model (3) can be written as the following finite series:

$$ \textstyle\begin{cases} x(\mathfrak{t})=\sum_{\mathfrak{s}=0}^{N}x_{ \widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\mathfrak{t}^{ \mathfrak{s}\varrho }, \\ y(\mathfrak{t})=\sum_{\mathfrak{s}=0}^{N} y_{ \widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\mathfrak{t}^{ \mathfrak{s}\varrho }, \end{cases} $$
(41)

where \(x_{\widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\), \(y_{\widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\) are coefficients depending on ĉ and which can be determined using the second initial condition of problem (3).

From (41), we can write

$$ \textstyle\begin{cases} x(\mathfrak{b})=\sum_{\mathfrak{s}=0}^{N} x_{ \widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\mathfrak{b}^{ \mathfrak{s}\varrho }, \\ y(\mathfrak{c})=\sum_{\mathfrak{s}=0}^{N} y_{ \widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\mathfrak{c}^{ \mathfrak{s}\varrho }, \\ {}^{c}\mathfrak{D}^{\sigma -1} x(1)= \frac{\varrho }{\Gamma (2-\sigma )} \sum_{\mathfrak{s}=0}^{N} \mathfrak{s} x^{\star }_{\widehat{c},\widetilde{c}} (\mathfrak{s}) \int _{0}^{1}(1-\lambda )^{1-\sigma }\lambda ^{\varrho \mathfrak{s}-1}\, \mathrm{d} \lambda , \\ {}^{c}\mathfrak{D}^{\delta -1} y(1)= \frac{\varrho }{\Gamma (2-\delta )} \sum_{\mathfrak{s}=0}^{N} \mathfrak{s} y_{\widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\int _{0}^{1}(1- \lambda )^{1-\delta }\lambda ^{\varrho \mathfrak{s}-1}\, \mathrm{d}\lambda . \end{cases} $$
(42)

Therefore (42) gives us the following system of equations:

$$ \textstyle\begin{cases} \frac{\mathfrak{p}\varrho }{\Gamma (2-\sigma )} \sum_{\mathfrak{s}=0}^{N}\mathfrak{s}x_{\widehat{c}, \widetilde{c}}^{\star }(\mathfrak{s})\int _{0}^{1}(1-\lambda )^{1- \sigma }\lambda ^{\varrho \mathfrak{s}-1}\, \mathrm{d}\lambda +\sum_{\mathfrak{s}=0}^{N}x_{ \widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\mathfrak{b}^{ \mathfrak{s}\varrho }=0, \\ \frac{\mathfrak{q}\varrho }{\Gamma (2-\delta )} \sum_{\mathfrak{s}=0}^{N}\mathfrak{s} y_{\widehat{c}, \widetilde{c}}^{\star }(\mathfrak{s})\int _{0}^{1}(1-\lambda )^{1- \delta }\lambda ^{\varrho \mathfrak{s}-1}\, \mathrm{d}\lambda +\sum_{\mathfrak{s}=0}^{N}y_{ \widehat{c},\widetilde{c}}^{\star }(\mathfrak{s})\mathfrak{c}^{ \mathfrak{s}\varrho }=0. \end{cases} $$
(43)

Now, we solve (43) with respect to ĉ and and replace their values in (41), and ultimately we find our desired approximate solution of the system of coupled BVPs of the fractional thermostat model (3).

6 Some simulative examples

Example 6.1

Consider the following system of coupled BVPs of the fractional thermostat model:

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\frac{5}{4}} x(\mathfrak{t}) + \frac{2 \vert y(\mathfrak{t}) \vert }{(5+\mathfrak{t})^{2}(1+e^{\mathfrak{t}} \vert y(\mathfrak{t}) \vert )}=0\quad ( \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{\frac{3}{2}} y(\mathfrak{t}) + \frac{e^{-\mathfrak{t}} \vert x(\mathfrak{t}) \vert }{\pi ^{2}+ \vert x(\mathfrak{t}) \vert }=0 \quad ( \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{1} x(0)=0, \qquad {}^{c}\mathfrak{D}^{1} y(0)=0, \\ 10 {}^{c}\mathfrak{D}^{ \frac{1}{4}}x(1)+ x( \mathfrak{b} ) = 0, \qquad 8 {}^{c}\mathfrak{D}^{ \frac{1}{2}}y(1)+ y( \mathfrak{c} ) = 0. \end{cases} $$
(44)

In this example, we have \(\sigma =\frac{5}{4}\), \(\delta =\frac{3}{2}\), \(\mathfrak{p}=10\), \(\mathfrak{q}=8\), and

$$ K\bigl(\mathfrak{t}, y(\mathfrak{t})\bigr)= \frac{2 \vert y(\mathfrak{t}) \vert }{(5+\mathfrak{t})^{2}(1+e^{\mathfrak{t}} \vert y(\mathfrak{t}) \vert )},\qquad M\bigl( \mathfrak{t},x(\mathfrak{t})\bigr)= \frac{e^{-\mathfrak{t}} \vert x(\mathfrak{t}) \vert }{\pi ^{2}+ \vert x(\mathfrak{t}) \vert }. $$

Then,

$$ \bigl\vert K(\mathfrak{t},y)-K(\mathfrak{t},\widehat{y}) \bigr\vert \leq \frac{2}{25} \vert y-\widehat{y} \vert , \qquad \bigl\vert M( \mathfrak{t},x)-M(\mathfrak{t}, \widehat{x} \bigr\vert \leq \frac{1}{\pi ^{2}} \vert x-\widehat{x} \vert . $$

So, \(C_{K}=\frac{2}{25}\) and \(C_{M}=\frac{1}{\pi ^{2}}\). We have also

$$\begin{aligned}& C_{K}\delta _{1}=\frac{2}{25} \biggl( \mathfrak{p}+ \frac{1+\mathfrak{b}^{\sigma }}{\Gamma (\sigma +1)} \biggr)=\frac{2}{25} \biggl(10+ \frac{1+\mathfrak{b}^{\frac{5}{4}}}{\Gamma (\frac{9}{4})} \biggr), \\& C_{M}\delta _{2}=\frac{1}{\pi ^{2}} \biggl( \mathfrak{q}+ \frac{1+\mathfrak{c}^{\delta }}{\Gamma (\delta +1)} \biggr)= \frac{1}{\pi ^{2}} \biggl(8+ \frac{1+\mathfrak{c}^{\frac{3}{2}}}{\Gamma (\frac{5}{2})} \biggr). \end{aligned}$$

It is simple to check that for all \(0< \mathfrak{b}\), \(\mathfrak{c} < 1\), we have \(C_{K}\delta _{1}<1\) and \(C_{M}\delta _{2}<1\). Now, all the assumptions of Theorem 3.5 are fulfilled. Consequently, the system of coupled BVPs of the fractional thermostat model (6.1) admits a unique solution.

Now, we are looking for an approximate solution to the problem (6.1) by GDT-method. For this, we choose \(\varrho =\frac{1}{4}\), which gives immediately \(\mathfrak{n}=6\), \(\mathfrak{m}=5\), and \(\mathfrak{l}=4\).

By applying the recursive relation (40) to the given FBVP (6.1), we arrive at

$$ \textstyle\begin{cases} x^{\star }(\mathfrak{s}+5)= \frac{\Gamma (\frac{\mathfrak{s}}{4}+1 )}{\Gamma (\frac{\mathfrak{s}}{4}+\frac{9}{4} )} K^{\star }(\mathfrak{s},y^{\star }(\mathfrak{s})), \\ y^{\star }(\mathfrak{s}+6)= \frac{\Gamma (\frac{\mathfrak{s}}{4}+1 )}{\Gamma (\frac{\mathfrak{s}}{4}+\frac{5}{2} )} M^{\star }(\mathfrak{s},x^{\star }(\mathfrak{s})). \end{cases} $$
(45)

Then we get the following initial conditions:

$$\begin{aligned}& x^{\star }(0)=\widehat{c}, \qquad x^{\star }(1)=0, \qquad x^{\star }(2)=0,\qquad x^{\star }(3)=0, \qquad x^{\star }(4)=0, \\& y^{\star }(0)=\widetilde{c}, \qquad y^{\star }(1)=0, \qquad y^{\star }(2)=0,\qquad y^{\star }(3)=0, \qquad y^{\star }(4)=0, \\& y^{\star }(5)=0. \end{aligned}$$

In view of (43), we find

$$ \textstyle\begin{cases} \frac{5}{2\Gamma (0.75)} \sum_{\mathfrak{s}=0}^{N} \mathfrak{s}x_{\widehat{c},\widetilde{c}}^{\star }(\mathfrak{s}) \int _{0}^{1}(1- \lambda )^{\frac{-1}{4}}\lambda ^{\frac{\mathfrak{s}}{4}-1}\, \mathrm{d} \lambda +\sum_{\mathfrak{s}=0}^{N}x_{\widehat{c},\widetilde{c}}^{ \star }(\mathfrak{s})\mathfrak{b}^{\frac{\mathfrak{s}}{4}}=0, \\ \frac{2}{\Gamma (0.5)} \sum_{\mathfrak{s}=0}^{N} \mathfrak{s}y_{\widehat{c},\widetilde{c}}^{\star }(\mathfrak{s}) \int _{0}^{1}(1- \lambda )^{\frac{-1}{2}}\lambda ^{\frac{\mathfrak{s}}{4}-1}\, \mathrm{d} \lambda +\sum_{\mathfrak{s}=0}^{N}y_{\widehat{c},\widetilde{c}}^{ \star }(\mathfrak{s})\mathfrak{c}^{\frac{\mathfrak{s}}{4}}=0. \end{cases} $$
(46)

Now we will calculate various approximate solutions of our system of coupled BVPs of the fractional thermostat model (6.1) by changing the values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\). In this case, one can see the obtained approximate solutions in Fig. 1 graphically.

Figure 1
figure 1

Graphs of the approximate solution \((x, y)\) of the system of coupled BVPs of the fractional thermostat model (6.1) for different parameters \(\mathfrak{b}\) and \(\mathfrak{c}\)

First case: \(\mathfrak{b}=\frac{1}{2}\), \(\mathfrak{c}=\frac{1}{3}\).

By using the recursive algorithm (45) truncated at \(\mathfrak{s}=10\) and after calculating constants ĉ and from (46), we obtain the approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.1) such that

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.8826\mathfrak{t}^{1.25} -0.8629 \mathfrak{t}^{1.5}+0.5510 \mathfrak{t}^{1.75}-0.5404 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.1207 \mathfrak{t}^{2.25}-0.1486 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.5510\mathfrak{t}^{1.75}-0.4540\mathfrak{t}^{2}+0.3929 \mathfrak{t}^{2.25}-0.4058\mathfrak{t}^{2.5} . \end{cases} $$
(47)

Second case: \(\mathfrak{b}=\frac{3}{5}\), \(\mathfrak{c}=\frac{4}{5}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.1) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.8826\mathfrak{t}^{1.25} -0.8627 \mathfrak{t}^{1.5}+0.5510 \mathfrak{t}^{1.75}-0.5407 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.1207 \mathfrak{t}^{2.25}-0.1188 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.5510\mathfrak{t}^{1.75}-0.4581\mathfrak{t}^{2}+0.3929 \mathfrak{t}^{2.25}-0.3756\mathfrak{t}^{2.5} . \end{cases} $$
(48)

Third case: \(\mathfrak{b}=\frac{1}{6}\), \(\mathfrak{c}=\frac{1}{5}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.1) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.8826\mathfrak{t}^{1.25} -0.8527 \mathfrak{t}^{1.5}+0.5510 \mathfrak{t}^{1.75}-0.5375 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.1207 \mathfrak{t}^{2.25}-0.1181 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.5510\mathfrak{t}^{1.75}-0.4527\mathfrak{t}^{2}+0.3929 \mathfrak{t}^{2.25}-0.3951\mathfrak{t}^{2.5} . \end{cases} $$
(49)

Fourth case: \(\mathfrak{b}=\frac{1}{5}\), \(\mathfrak{c}=\frac{1}{6}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.1) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.8826\mathfrak{t}^{1.25} -0.8589 \mathfrak{t}^{1.5}+0.5510 \mathfrak{t}^{1.75}-0.5378 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.1207 \mathfrak{t}^{2.25}-0.1182 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.5510\mathfrak{t}^{1.75}-0.4524\mathfrak{t}^{2}+0.3929 \mathfrak{t}^{2.25}-0.3840\mathfrak{t}^{2.5} . \end{cases} $$
(50)

Remark 6.2

Note that \((0,0)\) is the unique solution of the system of coupled BVPs of the fractional thermostat model (6.1). On the other hand, we can show that the approximate solution \((x, y)\) obtained in (47) by the GDT-method for all \(\mathfrak{t}\in (0,1)\) satisfies the hypotheses of Theorem 4.5. Therefore \((x, y)\) is Hyers–Ulam stable. We have the same results for \((x, y)\) obtained in (48), (49), and (50).

Example 6.3

Consider the following system of coupled BVPs of the fractional thermostat model:

$$ \textstyle\begin{cases} {}^{c}\mathfrak{D}^{\frac{5}{4}} x(\mathfrak{t}) + \frac{ \vert y(\mathfrak{t}) \vert }{ \vert y(\mathfrak{t}) \vert + 5e^{-t}}=0 \quad ( \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{\frac{5}{4}} y(\mathfrak{t}) + \frac{ \vert x(\mathfrak{t}) \vert }{\pi ^{2} (3+3 \vert x(\mathfrak{t}) \vert )}=0 \quad ( \mathfrak{t} \in \mathbb{I} := [0,1]), \\ {}^{c}\mathfrak{D}^{1} x(0)=0,\qquad {}^{c}\mathfrak{D}^{1} y(0)=0, \\ 15 {}^{c}\mathfrak{D}^{ \frac{1}{4}}x(1)+ x( \mathfrak{b} ) = 0, \qquad 20 {}^{c}\mathfrak{D}^{ \frac{1}{4}}y(1)+ y( \mathfrak{c} ) = 0. \end{cases} $$
(51)

In the present example, we have \(\sigma =\delta =\frac{5}{4}\), \(\mathfrak{p}=15\), \(\mathfrak{q}=20\), and

$$ K\bigl(\mathfrak{t},y(\mathfrak{t})\bigr)= \frac{ \vert y(\mathfrak{t}) \vert }{ \vert y(\mathfrak{t}) \vert + 5e^{-t}},\qquad M\bigl( \mathfrak{t},x(\mathfrak{t})\bigr)= \frac{ \vert x(\mathfrak{t}) \vert }{\pi ^{2} (3+3 \vert x(\mathfrak{t}) \vert )}. $$

Then, \(C_{K}=\frac{1}{20}\), and \(C_{M}=\frac{1}{3\pi ^{2}}\). We have also

$$ C_{K}\delta _{1}=\frac{1}{20} \biggl( \mathfrak{p}+ \frac{1+\mathfrak{b}^{\sigma }}{\Gamma (\sigma +1)} \biggr)=\frac{1}{20} \biggl(15+ \frac{1+\mathfrak{b}^{\frac{5}{4}}}{\Gamma (\frac{9}{4})} \biggr)< 1, \quad \text{for all } \mathfrak{b}\in (0,1), $$

and

$$ C_{M}\delta _{2}=\frac{1}{3\pi ^{2}} \biggl( \mathfrak{q}+ \frac{1+\mathfrak{c}^{\delta }}{\Gamma (\delta +1)} \biggr)= \frac{1}{3\pi ^{2}} \biggl(20+ \frac{1+\mathfrak{c}^{\frac{3}{2}}}{\Gamma (\frac{5}{2})} \biggr)< 1, \quad \text{for all } \mathfrak{b}\in (0,1). $$

Therefore, Theorem 3.5 ensured that the system of coupled BVPs (6.3) has a unique solution. By the same arguments used in Example 6.1, we find the approximate solutions \((x,y)\) of the system of coupled BVPs of the fractional thermostat model (6.3) by the GDT-method as follows:

First case: \(\mathfrak{b}=\frac{1}{3}\), \(\mathfrak{c}=\frac{1}{4}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.3) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.2900\mathfrak{t}^{1.25} -0.2832 \mathfrak{t}^{1.5}+0.1082 \mathfrak{t}^{1.75}-0.2655 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.0400 \mathfrak{t}^{2.25}- 0.0392 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.6526\mathfrak{t}^{1.25}-0.6362\mathfrak{t}^{1.5}+ 0.2758 \mathfrak{t}^{1.75}-0.2374\mathfrak{t}^{2} \\ \hphantom{y(\mathfrak{t})={}}{}+0.0900 \mathfrak{t}^{2.25}- 0.0880 \mathfrak{t}^{2.5}. \end{cases} $$
(52)

Second case: \(\mathfrak{b}=\frac{1}{4}\), \(\mathfrak{c}=\frac{1}{3}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.3) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.2900\mathfrak{t}^{1.25} -0.2802 \mathfrak{t}^{1.5}+0.1082 \mathfrak{t}^{1.75}-0.1054 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.0400 \mathfrak{t}^{2.25}-0.0388 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.6526\mathfrak{t}^{1.25}-0.6368\mathfrak{t}^{1.5}+0.2758 \mathfrak{t}^{1.75}-0.2372\mathfrak{t}^{2} \\ \hphantom{y(\mathfrak{t})={}}{}+0.0900 \mathfrak{t}^{2.25}- 0.0773\mathfrak{t}^{2.5}. \end{cases} $$
(53)

Third case: \(\mathfrak{b}=\frac{1}{5}\), \(\mathfrak{c}=\frac{1}{6}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.3) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.2900\mathfrak{t}^{1.25} -0.2820 \mathfrak{t}^{1.5}+0.1082 \mathfrak{t}^{1.75}-0.1030 \mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.0400 \mathfrak{t}^{2.25}-0.0391 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.6526\mathfrak{t}^{1.25}-0.7591\mathfrak{t}^{1.5}+0.1217 \mathfrak{t}^{1.75}-0.2370\mathfrak{t}^{2} \\ \hphantom{y(\mathfrak{t})={}}{}+0.0900 \mathfrak{t}^{2.25}- 0.0880\mathfrak{t}^{2.5}. \end{cases} $$
(54)

Fourth case: \(\mathfrak{b}=\frac{1}{6}\), \(\mathfrak{c}=\frac{1}{5}\).

The approximate solution \((x(\mathfrak{t}),y(\mathfrak{t}))\) for the system of coupled BVPs of the fractional thermostat model (6.3) is given by

$$ \textstyle\begin{cases} x(\mathfrak{t})=0.2900\mathfrak{t}^{1.25} -0.2828 \mathfrak{t}^{1.5}+0.1082 \mathfrak{t}^{1.75}-0.1053\mathfrak{t}^{2} \\ \hphantom{x(\mathfrak{t})={}}{}+0.0400 \mathfrak{t}^{2.25}-0.0391 \mathfrak{t}^{2.5}, \\ y(\mathfrak{t})=0.6526\mathfrak{t}^{1.25}-0.7197\mathfrak{t}^{1.5}+0.1217 \mathfrak{t}^{1.75}-0.2370\mathfrak{t}^{2} \\ \hphantom{y(\mathfrak{t})={}}{}+0.0900 \mathfrak{t}^{2.25}- 0.0915\mathfrak{t}^{2.5}. \end{cases} $$
(55)

By changing the values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\) as above, one can see the obtained approximate solutions in Fig. 2 graphically.

Figure 2
figure 2

Graphs of the approximate solution \((x, y)\) of the system of coupled BVPs of the fractional thermostat model (6.3) for different parameters \(\mathfrak{b}\) and \(\mathfrak{c}\)

Remark 6.4

Now we simulate schemes for some different values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\) and calculate the absolute difference in the boundary conditions to test the correctness of results using the following expressions:

$$ E_{x}= \biggl\vert {}^{c}\mathfrak{D}^{ \sigma -1}x(1)- \biggl(- \frac{1}{\mathfrak{p}} x( \mathfrak{b} )\biggr) \biggr\vert ,\qquad E_{y}= \biggl\vert {}^{c} \mathfrak{D}^{ \delta -1}y(1)- \biggl(-\frac{1}{\mathfrak{q}} y( \mathfrak{c} )\biggr) \biggr\vert . $$

In this case, the absolute difference in the boundary conditions for different choices of \(\mathfrak{b}\) and \(\mathfrak{c}\) and different scale level \(\mathfrak{s}\) are presented in Tables 14.

Table 1 Absolute error in boundary conditions of \(x(t)\) of Example 6.1 for different values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\)
Table 2 Absolute error in boundary conditions of \(y(t)\) of Example 6.1 for different values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\)
Table 3 Absolute error in boundary conditions of \(x(t)\) of Example 6.3 for different values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\)
Table 4 Absolute error in boundary conditions of \(y(t)\) of Example 6.3 for different values of parameters \(\mathfrak{b}\) and \(\mathfrak{c}\)

7 Conclusion

In this work some existence and uniqueness results have been obtained by using the Banach and Krasnoselskii’s fixed point theorems. Also some necessary conditions for Hyers–Ulam stability of solutions of a given system of coupled BVPs of the fractional thermostat model (3) have been discussed. In addition, some approximate solutions by the GDT-method have been found, and some illustrative examples have been presented as applications of the GDT-method on some problems as in (3). These examples show that this numerical method can give us a good and accurate approximate solution for nonlinear FBVP of FDEqs. In the next works, we are going to implement such an analysis (theoretical and numerical) for other nonlinear fractional systems of FDEqs arising in different applied models featuring generalized fractional operators.