1 Introduction

This article considers a non-linear time fractional partial integro-differential equation (FPIDE) as follows:

$$\begin{aligned} \left\{ \begin{array}{ll} D_t^{\beta }w(x,t)=g(x,t)+\displaystyle {\int _0^t}{\mathcal {K}}(x,t-s)F(w(x,s))ds,\\ (x,t)\in ([a,b]\times (0,T]),\\ w(x,0)=\lambda _0(x),\; \forall x\in [a,b], \end{array}\right. \end{aligned}$$
(1)

where fractional order derivative \(D^\beta _t\) is represented in Caputo sense and \(0<\beta < 1\). Here the kernel function is symbolized as \({\mathcal {K}}\). w(xt) be the unknown continuous function defined \(\forall (x,t)\in ([a,b]\times (0,T])\) and g(xt) is the given function.

The theory and generalizations of fractional calculus expanded greatly over the early twentieth century, though it was already developed in the mid eighteenth century [44]. Numerous contributions by mathematicians have given several definitions for fractional derivatives and integrals. The fractional calculus is applicable in different fields of pure and applied sciences such as aerodynamics, viscoelasticity, heat conduction, mechanics [27, 45] which have attracted several researchers to investigate more in this subject. Many authors have also experimented to find the solution of integral equations, fractional differential equations (FDEs) [36] and fractional partial differential equations (FPDEs) [17]. The numerical and approximation techniques are broadly implemented on most of the FDEs since there is no exact procedure. Many methods including the finite difference method [47, 49], variational iteration method (VIM) [35], homotopy perturbation method (HPM) [50], Adams Bashforth Moulton method [12], generalized differential transform method and the Adomian decomposition method (ADM) [2, 5, 41] have been developed to solve FDEs. Over the years many theories regarding the existence and uniqueness of solutions of FDEs, FPIDEs, fractional integro-differential equations (FIDEs) were developed. One may refer [5, 11, 18]. Recently Hussain et. al. [28] gave the existence and uniqueness of FPIDEs.

The study of FPIDEs have become an indispensable mathematical tool to describe and analyze real world problems in several areas of science and technology. One can refer [3, 4, 21, 43, 48] for the application of FPIDEs. Several numerical techniques involving collocation methods, pseudo operational matrix method have been derived to approximate the solutions of FPIDEs in [24, 25]. Though several works are done with respect to numerical approximation of FPIDEs but very few contributions are there in developing a semi-analytical method to solve FPIDEs involving convergence and uniqueness results. ADM introduced by mathematician G.Adomian [1] in 1984, is a powerful tool to solve large amount of real world problems. The decomposition method is an effective technique to get semi-analytical solutions of the extensive class of dynamical systems without closure approximation, perturbation theory, assumptions of linearization and weak nonlinearity or restrictive assumptions on stochasticity. Momani and Noor [42] applied the ADM to solve the fourth-order FIDE in which the derivatives are defined in Caputo sense. Further, the solution is computed using the homotopy perturbation method (HPM) proposed by He [30] which gives the semi-analytical solution of both the linear and nonlinear problems. One may refer [21, 22, 33, 37] for the solutions of FDE using HPM techniques. The present method requires the aprioi structure of solution with higher order smoothness as series solution is used. However there are plenty of applied models where these are not available. For these type of cases, one need to use the moving mesh methods for the analysis. These methods are available in [13,14,15,16, 20, 46]. The He-Laplace method, which is a modification of homotopy perturbation technique is extremely effective in solving FDE as cited in [6, 7, 34]. The significant benefit of He’s HPM includes the independent construction of perturbation equation by homotopy in topology and the independent decision of selecting the initial approximation. Further convergence of modified homotopy method has largely been discussed in [8, 30, 40]. Recently HPM was used to solve the singularly perturbed differential equations [19, 33, 39]. The results obtained in this paper were helpful for the optimal design of the Fangzhu device. However the reliability of a numerical method and its convergence analysis for parametric problems with singular perturbed nature are considered in several papers [10, 23, 38]. In this work, the time fractional partial integro-differential equation is solved using ADM and HPM techniques. The main advantage of using these methods is that, it gives analytical as well as numerical approximation of the solution which does not involve any mesh discretization. In addition, these methods do not require any large computer memory or power and are also free from rounding off errors. Further, it is noticed that the methods, ADM and HPM work smoothly when the order of the time fractional derivative \(\beta \in (0,1)\) but it may have some complication for HPM if \(\beta >1\).

Throughout the article, \({\varOmega }\) is defined as \(\{{\varOmega }:(x,t)\in ([0,1]\times (0,T])\}\). Caputo operator of fractional derivative is denoted by \(\mathrm {D}^\beta _t\) and the fractional integral is denoted by \(\mathrm {I}^\beta _t\). For a function w(xt), defined on \(\varOmega \), we define \(\Vert w(x,t)\Vert _\infty =\Vert w(x,t)\Vert =\displaystyle \sup _{x\in \varOmega }|w(x,t)|\) is used.

The arrangement of this article is made in such a way that the basic definitions, notations and theorems are discussed in Sect. 2. Section 3 is devoted to the analysis of the proposed methods. In Sect. 4 the existence, uniqueness and convergence of solution is provided. Section 5 briefly describes the error bounds. Some test examples with rigorous numerical results are given in Sect. 6 and finally Sect. 7 is ended with some concluding remarks.

2 Preliminaries

Some fundamental definitions and associated properties are discussed here which will be helpful in the future.

Definition 1

The Gamma function \(\varGamma (\tau )\) is specified as:

$$\begin{aligned} \varGamma (\tau )=\int _0^\infty t^{\tau -1}e^{-t}dt, \end{aligned}$$

which is valid for all \(\tau \in {\mathbb {C}}\), the complex field, such that \(Re(\tau )>0\). The generalization of the factorial function can be written as follows:

$$\begin{aligned} \varGamma (n)=(n-1)!,\quad \forall n\in {\mathbb {N}}. \end{aligned}$$

Definition 2

The Gr\(\ddot{u}\)nwald-Letnikov fractional derivative is a basic extension of the derivative in fractional calculus that allows one to take the derivative a non-integer number of times. It is defined as:

$$\begin{aligned} ^{GL}D^\beta w(x)=\displaystyle \lim _{h\rightarrow 0}\dfrac{1}{h^\alpha }\sum _{r=0}^{\frac{x-a}{h}}(-1)^r\dfrac{\varGamma (\beta +1)}{r!\varGamma (\beta -r+1)}w(x-rh). \end{aligned}$$

Here \(\beta \) is the order of the derivative and considered as a positive real number.

Definition 3

Let \(\beta \ge 0\) be a real number and suppose that \(w(x,t)\in C([a,b]\times (0,T])\). The Riemann-Liouville fractional integral of the function denoted as \(\mathrm {I}_t^\beta w(x,t)\) is defined by:

$$\begin{aligned} \mathrm {I}_t^{\beta }w(x,t):={\left\{ \begin{array}{ll}\dfrac{1}{\varGamma (\beta )} \displaystyle {\int _{0}^t}(t-s)^{\beta -1}w(x,s)ds,\;\;&{}\beta >0, \\ w(x,t),&{}\beta =0. \end{array}\right. } \end{aligned}$$
(2)

The exponent \(\beta \in {\mathbb {R}}^+\), be the order of the integral.

Definition 4

Let \(\beta \ge 0\) be any real number and \(m\in {\mathbb {N}}\) such that \(m-1<\beta \le m\). If w(xt) is a function that has continuous \(n^{th}\) partial derivative with respect to t, then the Riemann-Liouville fractional derivative \(^{RL}\mathrm {D}^\beta _t\) is defined by:

$$\begin{aligned} ^{RL}\mathrm {D}_t^{\beta }w(x,t):={\left\{ \begin{array}{ll}\dfrac{1}{\varGamma (\beta )}\dfrac{\partial ^n}{\partial t^n}\displaystyle {\int _{0}^t}(t-s)^{n-\beta -1}w(x,s)ds,\;\;&{}\beta >0, \\ w(x,t),&{}\beta =0. \end{array}\right. } \end{aligned}$$
(3)

Definition 5

The He’s fractional derivative of order \(\beta \) which is the fractal dimensions of the fractal medium is defined as:

$$\begin{aligned} \dfrac{\partial ^\beta w}{\partial t^\beta }= \dfrac{1}{\varGamma (n-\beta )}\dfrac{d^n}{dt^n}\displaystyle \int _{t_0}^t(s-t)^{n-\beta -1}[w_0(s)-w(s)]ds. \end{aligned}$$
(4)

In classical mechanics, the space is always assumed to be continuous, the air flow is continuous, the water flow is continuous and the continuum hypothesis works well for many practical applications. However, if we want to study, for example, molecule diffusion in water, the water becomes discontinuous, and the fractal calculus has to be adopted to describe the motion of molecules, otherwise molecule motion becomes completely unpredictable in the frame of the continuum hypothesis. Similarly, in case of Camassa–Holm (C–H) equation, when time tends to infinitively small, the classic C–H equation will not be continuous, while (4) can describe the motion well. One may refer [32] for details.

Definition 6

The Caputo fractional derivative of order \(\beta >0\) is defined as:

$$\begin{aligned} \mathrm {D}_t^\beta w(x,t):={\left\{ \begin{array}{ll} \Bigg [\mathrm {I}_t^{m-\beta }\Big (\dfrac{\partial ^m w}{\partial t^m}\Big )\Bigg ](x,t),\;\;&{} m-1<\beta < m,\\ \dfrac{\partial ^m w}{\partial t^m}(x,t),\;\;&{}\;\beta =m. \end{array}\right. } \end{aligned}$$
(5)

If w is a constant function, then \(\mathrm {D}_t^\beta w=0\). For any \(\nu \in {\mathbb {R}}\), \(m\in {\mathbb {N}}\), we have,

  1. 1.

    \(\mathrm {D}_t^\beta t^\nu ={\left\{ \begin{array}{ll} 0, &{}\text{ if } 0<\beta<1,\;\nu \le 0, \\ \dfrac{\varGamma (\nu +1)}{\varGamma (\nu -\beta +1)}t^{\nu -\beta }, &{}\text{ if } 0<\beta <1,\;\nu > 0. \end{array}\right. }\)

  2. 2.

    \(\mathrm {I}_t^\beta t^\nu =\dfrac{\varGamma (\nu +1)}{\varGamma (\nu +\beta +1)}t^{\nu +\beta }, \qquad \text{ if } 0<\beta <1,\;\nu \ge 0\).

For any continuous function w(xt) where \(w(x,t)\in C([0,1]\times (0,T])\), the following properties holds true:

  1. 1.

    \( \mathrm {D}_t^\beta \mathrm {I}_t^\beta w(x,t)=w(x,t)\).

  2. 2.

    \(\mathrm {I}_t^\beta \mathrm {D}_t^\beta w(x,t)=w(x,t) -w(x,0)\)\(0<\beta <1\).

Definition 7

Let \(({\mathscr {D}},||\cdot ||)\) be a normed space and \(\mathfrak {I}:{\mathscr {D}}\rightarrow \) \({\mathscr {D}}\) be a mapping such that \(x\in {\mathscr {D}}\) is called a fixed point of \(\mathfrak {I}\) if \(\mathfrak {I}x=x\).

Definition 8

\(\mathfrak {I}\) is called a contraction mapping on \(({\mathscr {D}},||\cdot ||)\) if there exists a real number \(c\in (0,1)\) such that,

$$\begin{aligned} ||\mathfrak {I}(x)-\mathfrak {I}(y)||\le c||x-y||\;\;\;\forall x,y\in {\mathscr {D}}. \end{aligned}$$

Theorem 1

(Banach fixed point theorem) Let \(\mathfrak {I}:{\mathscr {D}}\rightarrow {\mathscr {D}}\) be a contraction mapping on a complete normed space \(({\mathscr {D}},||\cdot ||)\). Then \(\mathfrak {I}\) has a unique fixed point.

Definition 9

Let \({\mathcal {F}}:{\mathcal {Q}}\rightarrow {\mathscr {D}}\) be a function where \({\mathcal {Q}}\subseteq {\mathbb {R}}^n\). \({\mathcal {F}}\) satisfies Lipschitz condition if \(\exists \) a constant \(L\ge 0\) such that \( ||{\mathcal {F}}y_1-{\mathcal {F}}y_2||\le L||y_1-y_2||\) \(\forall \;\; y_1,y_2\in {\mathcal {Q}}\).

3 Methodology

3.1 Analysis of ADM

According to this method, the solution of (1) can be dictated as an infinite series:

$$\begin{aligned} w(x,t)=\sum _{n=0}^{\infty }w_n(x,t). \end{aligned}$$
(6)

In order to solve (1) using ADM, \(\mathrm {I}^{\beta }_t\) is operated on both sides of (1), so as to get,

$$\begin{aligned} w(x,t)=&\displaystyle \sum _{k=0}^{m-1}\dfrac{\partial ^k}{\partial t^k}w(x,0)\dfrac{t^k}{k!}+ \mathrm {I}_t^\beta \Bigg (g(x,t)+\displaystyle \int _0^t{\mathcal {K}}(x,t-s)F(w(x,s))ds\Bigg ). \end{aligned}$$
(7)

The decomposition of nonlinear function F can be written as:

$$\begin{aligned} F=\sum _{n=0}^{\infty }{\mathcal {A}}_n. \end{aligned}$$
(8)

Here \({\mathcal {A}}_n\), the Adomian polynomial is defined as:

$$\begin{aligned} {\mathcal {A}}_n=\dfrac{1}{n!}\Bigg [\dfrac{d^n}{d\upsilon ^n}F\Big (\displaystyle {\sum _{j=0}^n} \upsilon ^j w_j\Big )\Bigg ]_{\upsilon =0}. \end{aligned}$$
(9)

The Adomian polynomials [1, 2, 5] are one of the most important mathematical tools to approximate the nonlinear functions in the numerical algorithm which can be easily calculated by the above formula (9). The first few terms are given below:

$$\begin{aligned} \begin{array}{ll} {\mathcal {A}}_0=F(w_0),\\ {\mathcal {A}}_1=w_1F'(w_0),\\ {\mathcal {A}}_2=w_2F'(w_0)+\dfrac{1}{2!}w_1^2F''(w_0),\\ {\mathcal {A}}_3=w_3F'(w_0)+w_1w_2F''(w_0)+\dfrac{1}{3!}w_1^3F'''(w_0).\\ \end{array} \end{aligned}$$

The components \(w_0,w_1,w_2,\ldots w_n,\) are determined recursively by

$$\begin{aligned} \left\{ \begin{array}{ll} w_0=w(x,0)+\mathrm {I}^\beta _t g(x,t), \\ w_{n+1}=\mathrm {I}^\beta _t\Bigg (\displaystyle \int _0^t{\mathcal {K}}(x,t-s){\mathcal {A}}_nds\Bigg ), \quad for\;\;n=0,1,2,\ldots . \end{array}\right. \end{aligned}$$
(10)

Here \(w(x,t)=\displaystyle \lim _{n\rightarrow \infty }\sum _{i=0}^{n}w_i(x,t)\) gives us the solution. By truncating the series, the required numerical solution is obtained by (8) up to finite (say N) number of terms. The N terms numerical approximation is defined as: \(\varPsi _N=\displaystyle \sum _{n=0}^{N-1}w_n(x,t).\) In this method \(w_0\) is defined by the initial condition g(xt) and the other components namely \(w_1,w_2,\ldots w_n,\) are thereby derived recursively.

3.2 Analysis of HPM

Homotopy \(H:{\varOmega }\times [0,1]\rightarrow {\mathbb {R}}\) for (1) is constructed as in [30]:

$$\begin{aligned} H(w,{\tilde{p}})&=(1-{\tilde{p}})(\mathrm {D}_t^\beta w(x,t)-g(x,t)) \nonumber \\&\quad +{\tilde{p}}\Bigg (D^\beta _t w(x,t)-g(x,t)-\displaystyle \int _0^t{\mathcal {K}}(x,t-s)F(w(x,s))ds\Bigg ), \end{aligned}$$
(11)

or

$$\begin{aligned} H(w,{\tilde{p}})=\mathrm {D}_t^\beta w(x,t)-g(x,t)-{\tilde{p}}\Bigg (\displaystyle \int _0^t{\mathcal {K}}(x,t-s)F(w(x,s))ds\Bigg ), \end{aligned}$$
(12)

where embedding parameter \({\tilde{p}}\in [0,1]\). Putting \({\tilde{p}}=0\), now (12) turns to be a linear equation and when \({\tilde{p}}=1\), then (12) boils down to (1). Further, the solution of (1) can be expressed in the form of series:

$$\begin{aligned} w(x,t)=\displaystyle \sum _{n=0}^{\infty }w_n(x,t){\tilde{p}}^n. \end{aligned}$$
(13)

Taking \({\tilde{p}}=1\) in (13), approximated solution of (1) is obtained as,

$$\begin{aligned} w(x,t)=\displaystyle \sum _{n=0}^{\infty }w_n(x,t). \end{aligned}$$
(14)

The convergence of series (14) has been proved in [31]. In order to obtain the solution, identical power of \({\tilde{p}}\) are equated by substituting (14) into (12) and a set of linear equations are attained as follows:

$$\begin{aligned} {\tilde{p}}^0&:\mathrm {D}_t^\beta w_0=g(x,t),\qquad&w_0(0)=g(x,t). \end{aligned}$$
(15)
$$\begin{aligned} {\tilde{p}}^1&:\mathrm {D}_t^\beta w_1=\displaystyle \int _0^t{\mathcal {K}}(x,t-s)F(w_0(x,s))ds,\qquad&w_1(0)=0. \end{aligned}$$
(16)
$$\begin{aligned} {\tilde{p}}^2&:\mathrm {D}_t^\beta w_2=\displaystyle \int _0^t{\mathcal {K}}(x,t-s)F(w_1(x,s))ds,\qquad&w_2(0)=0. \\ \vdots \nonumber \end{aligned}$$
(17)

Computation of approximated solution is obtained by applying \(\mathrm {I}_t^\beta \) to the IVPs in (15)–(17). Finally the series solution of HPM is approximated by the following N-term truncated series:

$$\begin{aligned} \varphi _N=\displaystyle \sum _{n=0}^{N-1}w_n(x,t). \end{aligned}$$
(18)

One can clearly observe that each non-homogeneous part of these linear differential equations gives Adomian polynomials respectively. Also because ADM assumes a series solution for (1) given by \(w(x,t)=\displaystyle \lim _{n\rightarrow \infty }\sum _{i=0}^{n}w_i(x,t),\) consequently, the usage of the Taylor series expansion in HPM makes some reduction on the method and it coincides with the ADM.

4 Existence and convergence

For further analysis, the following assumptions are needed.

Assumption 1

A nonlinear function F(w) is considered such that F(w) satisfies Lipschitz constant L. Therefore, we have

$$\begin{aligned} \big |\big |F(w_1)-F(w_2)\big |\big |\le L||w_1-w_2||. \end{aligned}$$

Assumption 2

The kernel \({\mathcal {K}}\) defined in (1) is continuous and bounded on \((x,t)\in ([0,1]\times (0,T])\). Then there exists \(\mathrm {M}>0\) such that \(||{\mathcal {K}}||\le \mathrm {M}\).

In this section, the proof of the existence and uniqueness of the solution for FPIDE (1) is established. Consider the FPIDE (1):

$$\begin{aligned} D_t^{\beta }w(x,t)=g(x,t)+\displaystyle {\int _0^t}{\mathcal {K}}(x,t-s)F(w(x,s))ds,\; \forall (x,t)\in ([0,1]\times (0,T]), \end{aligned}$$

with initial condition \(w(x,0)=\lambda _0(x)\). Applying \(\mathrm {I}^\beta _t\) on both the sides of (1) yields \(w=\mathfrak {I}w\), \(\forall (x,t)\in ([0,1]\times (0,T])\), where \(\mathfrak {I}w\) is defined as

$$\begin{aligned} \mathfrak {I}w(x,t)=\lambda _0(x)+\mathrm {I}^\beta _tg(x,t)+\dfrac{1}{\varGamma (\beta )} \displaystyle \int _0^t\displaystyle \int _0^\zeta (t-\zeta )^{\beta -1}{\mathcal {K}}(x,\zeta -s)F(w(x,s))dsd\zeta . \end{aligned}$$
(19)

Theorem 2

Consider that assumption (1)–(2) holds true. For the FPIDE (1) with initial condition, there exists a unique w(xt) for all \((x,t)\in ([0,1]\times (0,T])\) if \(L<\dfrac{\varGamma (\beta +2)}{\mathrm {M}T^{\beta +1}}\).

Proof

The set of all continuously differentiable functions defined over the region \({\varOmega }\) form a complete normed space with supremum norm. Also, as it is seen that (19) is given in operator form \(\mathfrak {I}w=w\) and therefore, it remains to show that \(\mathfrak {I}\) is a contraction mapping and for this purpose we take \(w_1,w_2\in C({\varOmega })\). So,

$$\begin{aligned}&\Vert \mathfrak {I}w_1(x,t)-\mathfrak {I}w_2(x,t)\Vert \nonumber \\&\quad =\Bigg \Vert \lambda _0(x)+\mathrm {I}^\beta _tg(x,t)+\dfrac{1}{\varGamma (\beta )}\displaystyle \int _0^t\displaystyle \int _0^\zeta (t-\zeta )^{\beta -1}{\mathcal {K}}(x,\zeta -s)F(w_1(x,s))dsd\zeta \nonumber \\&\qquad -\lambda _0(x)+\mathrm {I}^\beta _tg(x,t)+\dfrac{1}{\varGamma (\beta )}\displaystyle \int _0^t\displaystyle \int _0^\zeta (t-\zeta )^{\beta -1}{\mathcal {K}}(x,\zeta -s)F(w_2(x,s))dsd\zeta \Bigg \Vert \nonumber \\&\quad \le \Bigg \Vert \dfrac{1}{\varGamma (\beta )}\displaystyle \int _0^t\displaystyle \int _0^\zeta (t-\zeta )^{\beta -1}[{\mathcal {K}}(x,\zeta -s)F(w_1(x,s)) \nonumber \\&\qquad -{\mathcal {K}}(x,\zeta -s)F(w_2(x,s))]dsd\zeta \Bigg \Vert \nonumber \\&\quad \le \dfrac{\mathrm {M}L}{\varGamma (\beta )}\displaystyle \int _0^t\displaystyle \int _0^\zeta (t-\zeta )^{\beta -1}\Vert w_1(x,s)-w_2(x,s)\Vert dsd\zeta \nonumber \\&\quad \le \dfrac{\mathrm {M}L}{\varGamma (\beta )}\Vert w_1-w_2\Vert \displaystyle \int _0^t\displaystyle \int _0^\zeta (t-\zeta )^{\beta -1}dsd\zeta \nonumber \\&\quad \le \dfrac{\mathrm {M}L}{\varGamma (\beta +2)}T^{\beta +1}\Vert w_1-w_2\Vert , \end{aligned}$$
(20)

and since \(L<\dfrac{\varGamma (\beta +2)}{\mathrm {M}T^{\beta +1}}\), which implies that \(\dfrac{\mathrm {M}LT^{\beta +1}}{\varGamma (\beta +2)}<1\). Therefore, by general Banach contraction mapping principle, \(\mathfrak {I}\) has a unique fixed point, which means that (1) has a unique solution. Hence, this proves the uniqueness and existence of solution for the model problem. One may refer [28] for more details. \(\square \)

4.1 Convergence analysis

Theorem 3

Suppose that assumption (1) and (2) hold. If the series solution

$$\begin{aligned} w(x,t)=\displaystyle \sum _{i=0}^\infty w_i(x,t), \end{aligned}$$
(21)

and \(||w_1||_\infty <\infty \) obtained by q th-order deformation is convergent, then it converges to the exact solution of (1).

Proof

Let \(C({\varOmega },\Vert \cdot \Vert )\) be the Banach space of all continuous functions with \(|w_1(x,t)|\le \infty \) \(\forall \) \((x,t)\in ([0,1]\times (0,T])\).

First we define the sequence of partial sums as \(s_p\). Let \(s_p\) and \(s_q\) be arbitrary partial sums with \(p\ge q\). We claim that

$$\begin{aligned} s_p=\displaystyle \sum _{i=0}^{n}w_i(x,t), \end{aligned}$$

is a Cauchy sequence in this Banach space. To do so,

$$\begin{aligned} \Vert s_p-s_q\Vert _\infty&=\displaystyle \max _{\forall x\in {\tilde{\varOmega }}}|s_p-s_q|\nonumber \\&=\displaystyle \max _{\forall x\in {\tilde{\varOmega }}}\Bigg |\displaystyle \sum _{i=0}^{n}w_i(x,t)-\displaystyle \sum _{i=0}^{m}w_i(x,t)\Bigg |\nonumber \\&=\displaystyle \max _{\forall x\in {\tilde{\varOmega }}}\Bigg |\displaystyle \sum _{i={m+1}}^{n}w_i(x,t)\Bigg |\nonumber \\&=\displaystyle \max _{\forall x\in {\tilde{\varOmega }}}\Bigg |\displaystyle \sum _{i={m+1}}^{n}\dfrac{1}{\varGamma (\beta )} \displaystyle \int _0^t(t-s)^{\beta -1}\Bigg [ \displaystyle \int _0^t{\mathcal {K}}(x,t-s) \displaystyle \sum _{i={m}}^{n-1}{\mathcal {A}}_i(x,s)ds\Bigg ]d\zeta \Bigg |. \end{aligned}$$
(22)

From (8) and (9), we have

$$\begin{aligned} \displaystyle \sum _{i={m}}^{n-1}{\mathcal {A}}_i=F(s_{p-1})-F(s_{q-1}), \\ \displaystyle \sum _{i={m}}^{n-1}{w}_i=w(s_{p-1})-w(s_{q-1}). \end{aligned}$$

So,

$$\begin{aligned} \Vert s_p-s_q\Vert _\infty&=\displaystyle \max _{\forall x\in {\tilde{\varOmega }}}\Bigg (\Bigg |\displaystyle \int _0^t{\mathcal {K}} (x,t-s)(F(s_{p-1})-F(s_{q-1}))ds \Bigg |d\zeta \Bigg )\\&\le \displaystyle \max _{\forall x\in {\tilde{\varOmega }}}\dfrac{1}{\varGamma (\beta )}\Bigg [\displaystyle \int _0^t|{\mathcal {K}}(x,t-s)| |(F(s_{p-1})-f(s_{q-1}))|ds\Bigg ]d\zeta \\&\le \dfrac{\mathrm {M}LT^{\beta +1}}{\varGamma (\beta +2)}\Vert s_{p-1}-s_{q-1}\Vert _\infty \\&=\vartheta \Vert s_{p-1}-s_{q-1}\Vert _\infty , \end{aligned}$$

where,

$$\begin{aligned} \vartheta =\Bigg (\dfrac{\mathrm {M}LT^{\beta +1}}{\varGamma (\beta +2)}\Bigg ). \end{aligned}$$
(23)

Let \(p=q+1\), then

$$\begin{aligned} \Vert s_{p}-s_{q}\Vert _\infty&\le \vartheta \Vert s_{q}-s_{q-1}\Vert _\infty \nonumber \\&\le \vartheta ^2\Vert s_{q-1}-s_{q-2}\Vert \nonumber \\&\vdots \nonumber \\&\le \vartheta ^q\Vert s_{1}-s_{0}\Vert . \end{aligned}$$
(24)

So,

$$\begin{aligned} \Vert s_{p}-s_{q}\Vert _\infty&\le \Vert s_{q+1}-s_{q}\Vert _\infty +\Vert s_{q+2}-s_{q+1}\Vert _\infty +\cdots +\Vert s_{p}-s_{p-1}\Vert _\infty \\&\le [\vartheta ^q+\vartheta ^{q+1}+\cdots +\vartheta ^{p-1}]\Vert s_1-s_0\Vert _\infty \\&\le \vartheta ^m[1+\vartheta +\vartheta ^2+\cdots +\vartheta ^{p-q-1}]\Vert s_{1}-s_{0}\Vert \\&\le \vartheta ^m\Bigg (\dfrac{1-\vartheta ^{p-q}}{1-\vartheta }\Vert w_1\Vert _\infty \Bigg ). \end{aligned}$$

Since \(0<\vartheta <1\), we have \((1-\vartheta ^{p-q})<1\), and then

$$\begin{aligned} \Vert s_p-s_q\Vert _\infty \le \dfrac{\vartheta ^q}{1-\vartheta }\Vert w_1\Vert _\infty . \end{aligned}$$

But \(\Vert w_1(x,t)\Vert _\infty <\infty \), so as \(m\rightarrow \infty \), then

$$\begin{aligned} \Vert s_p-s_q\Vert _\infty \rightarrow 0. \end{aligned}$$

We conclude that \(s_p\) is a Cauchy sequence in \(C([0,1]\times (0,T])\). Therefore

$$\begin{aligned} w=\displaystyle \lim _{n\rightarrow \infty }w_n. \end{aligned}$$

Then, the series is convergent. Readers may go through [9] for the proof of ADM for nonlinear problems. \(\square \)

5 Error bounds

The exact solution for (1) is given by \(w(x,t)=\displaystyle {\lim _{N\rightarrow \infty }}\varPsi _N\) and the numerical solution can be obtained by truncating the series (8) up to finite number of terms. If \(\varPsi _N\) gives the N terms approximate solution then the absolute point-wise error bound depends on the partial sum \(\displaystyle {\sum _{n=0}^{N-1}}w_n(x,t)\) and which is bounded by \(\mathrm {M}\dfrac{\vartheta ^q}{1-\vartheta }\), where \(\vartheta \) is defined in (23) satisfying \(0<\vartheta <1\). Refer [29].

6 Illustrative examples

Here are some test problems to show the effectiveness of proposed methods.

Example 1

Consider the following test problem:

$$\begin{aligned} \left\{ \begin{array}{ll} \mathrm {D}_t^{\beta }w(x,t)+\displaystyle {\int _0^t} {\mathcal {K}}(x,t-s)w(x,s)ds =f(x,t),\\ \forall (x,t)\in ([0,1]\times (0,T]),\\ w(x,0)=0,\;\; \forall x \in [0,1], \end{array}\right. \end{aligned}$$

where \(0<\beta <1\). f(xt) and \({\mathcal {K}}\) are given by \(f(x,t)=\dfrac{(\sin \pi x)t^{0.25}}{\varGamma (1.25)}- \dfrac{1}{4}xt^4\sin ^2\pi x\) and \({\mathcal {K}}=xt\) respectively. The exact solution for the given test problem is \(w(x,t)=t\sin \pi x\).

Example 2

Consider the following nonlinear FPIDE:

$$\begin{aligned} \left\{ \begin{array}{ll} \mathrm {D}_t^{\beta }w(x,t)+\displaystyle {\int _0^t} {\mathcal {K}}(x,t-s)w(x,s)ds =f(x,t),\\ \forall (x,t)\in ([0,1]\times (0,T]),\\ w(x,0)=0,\;\; \forall x \in [0,1], \end{array}\right. \end{aligned}$$

where the kernel function is given by \({\mathcal {K}}=te^x\) and \(\beta \in (0,1)\). The exact solution for the given test problem is \(w(x,t)=e^xt^2\).

Example 3

Consider the following test problem:

$$\begin{aligned} \left\{ \begin{array}{ll} \mathrm {D}_t^{\beta }w(x,t)+\displaystyle {\int _0^t} {\mathcal {K}}(x,t-s)w(x,s)ds =f(x,t),\\ \forall (x,t)\in ([0,1]\times (0,T]),\\ w(x,0)=0,\;\; \forall x \in [0,1]. \end{array}\right. \end{aligned}$$

The exact solution for the given test problem is \(w(x,t)=xt^{\beta }\). \(0<\beta <1\) and the kernel function is given by \({\mathcal {K}}=e^x.\)

The absolute point-wise error is defined by:

$$\begin{aligned} {\mathbb {E}}_N^\infty =\Big |w(x,t)-\varPhi _N\Big |=\Big |w(x,t) -\sum _{n=0}^{N-1}w_n(x,t)\Big |. \end{aligned}$$
(25)
Table 1 \({\mathbb {E}}_N^\infty \) with \(\beta =0.2\) for Example 1 using ADM
Table 2 \({\mathbb {E}}_N^\infty \) with \(\beta =0.75\) for Example 1 using HPM
Table 3 \({\mathbb {E}}_N^\infty \) with \(\beta =0.75\) at \(t=0.5\) for Example  2 using ADM
Table 4 \({\mathbb {E}}_N^\infty \) with \(\beta =0.25\) at \(t=0.8\) for Example  2 using HPM
Table 5 \({\mathbb {E}}_N^\infty \) with \(\beta =0.85\) and \(x=0.5\) for Example 3 using ADM
Table 6 \({\mathbb {E}}_N^\infty \) with \(\beta =0.85\) and \(x=0.3\) for Example 3 using HPM
Table 7 Comparison of results with \(\beta =0.5\) for Example  3
Table 8 Comparison of results with \(\beta =0.75\) for Example  3
Fig. 1
figure 1

Solution and error plots with different values of \(\beta \) for Example 1

Fig. 2
figure 2

Solution and error plots at \(t=0.8\) for Example 2

6.1 Results and discussion

The absolute point-wise errors for Example 1 with \(\beta =0.2\) is presented in Table 1 using ADM and Table 2 with \(\beta =0.75\) using HPM. Similarly, the absolute point wise errors for Example 2 at \(t=0.5\) and \(\beta =0.75\) are viewed in tabular form in Table 3 using ADM. Also, Table 4 represent the errors for Example 2 using HPM for \(t=0.8\) at \(\beta =0.25\). Incase of Example 3 for \(t\in (0,2]\), absolute point-wise errors are represented in Table 5 for \(\beta =0.85\). Further Table 6 show the errors for Example 3 at \(\beta =0.85\) for \(t\in (0,3]\). It can be easily seen that for different values of \(\beta \), error \(E_N^\infty \) decreases as the number of terms in the series increases. Comparison of results for both the methods are made. Table 7 compares the error using two terms between ADM and VIM. Similarly comparison between HPM and VIM is shown in Table 8 which proves the robustness of our proposed methods. One may refer [26] for the details on VIM.

The graphical representation of the absolute point-wise errors is shown in Figs. 1 and  2. The graphs depict the convergence of the proposed methods for various values of \(\beta \). Fig. 1(a) represent the exact solution along with the approximated solutions for two terms taking \(\beta =0.2\) using ADM and Fig. 1(b) represent the error plot using HPM by taking two terms in the series. Similarly in case of nonlinear FPIDE, Fig. 2(a) shows the exact solution and the aproximated solutions for Example 2 using three terms in the series wih \(\beta =0.75\) using HPM. It can be observed that approximated solutions gradually converges with the exact solution. The error plot for Example 2 is shown in Fig. 2(b) which represents that the error curves moves towards zero as the number of terms in the series increases.

7 Conclusion

This article successfully operated the Adomian decomposition and the homotopy perturbation method to solve the time fractional partial integro-differential equation. The methods are free from discretization. In addition, the reliability of the methods and the reduction in the computational work scale gives them greater applicability. The uniqueness and convergence analysis of the technique is briefly described. Finally convergence to the exact solution is shown with the help of graphs and tables.