1 Introduction

The fractional analysis is defined as an enhancement of the principles of classical order integral and derivative part of a conventional investigation to fractional order. Fractional analysis has been widely applied over the last century in the fields of engineering, physics, and biology in association with mathematics. The key explanation for this is that many phenomena such as propagation and wave motion, chaos, viscoelasticity and damping, filtering and irreversibility, controller architecture can be modeled and explained more specifically using fractional analysis. As a consequence, nonlinear partial fractional differential equations (NPFDEs) have been inspired by many scientists and researchers in recent years and have been thoroughly researched and applied in various branches of science and engineering for many real-life problems. As a result, many science and engineering applications can be found and applied via fractional NPFDEs [18]. Consequently, in these listed areas, the discovery of numerical and analytical-approximate solutions of NPFDEs has a hugely significant and special role. The most significant distinction between classical and fractional analysis is that there is no single derivative concept as in classical analysis. The occurrence of diverse derivative description with fractional calculus (FC) opens the door for considering the most suitable one for the model’s form and thus obtaining the best solution to the problem. We have diverse and pioneering notions for FC and while there are transitions between them, they vary in terms of their meanings and their physical representations of their definitions. In this article, we preferred to apply Caputo derivative definition, which is the most popular one, for its practicality and compatibility with classical initial conditions.

Some of the classical approximate and analytical techniques for fractional differential equations (FDEs) have been developed to date are optimal homotopy asymptotic method that was implemented to Klein-Gordon, diffusion, wave-diffusion and telegraph equations [9, 10], differential transform method for system of equations and finance equation [11, 12], homotopy perturbation method for system of partial equations and Riccati equation [13, 14], finite difference method for Burger–Fisher equation [15], homotopy analysis method for Burgers–Korteweg–de Vries equation and Whitham–Broer–Kaup equation [16, 17], reproducing kernel Hilbert space method for linear and nonlinear partial and Robin equations [18, 19], residual power series method for Burgers–Kadomtsev–Petviashvili and Burgers’ type equations [20, 21], q-homotopy analysis method for Lax’s Korteweg–de Vries and Sawada–Kotera equations and Noyes–Field model [22, 23] and so on.

In this article, our goal is to study the Pochhammer–Chree (PC) equation using the q-homotopy analysis transform method (q-HATM) [2632]. The PC model is given as

$$\begin{aligned} {\mathcal {D}}_{t}^{\mu }u(x,t)=\frac{\partial ^{4}u(x,t)}{\partial {t^2}\partial {x^2}}+\frac{\partial ^2}{\partial {x^2}}\big (\beta _1\,u(x,t)+\beta _2\,u^{m+1}(x,t)+\beta _3\,u^{2m+1}(x,t)\big ),\quad \,1<\mu \le {2},\,\,\,t>0, \end{aligned}$$
(1)

where m is a positive number and \(\beta _1,\,\beta _2,\) and \(\beta _3\) are constants. This is a model of an elastic rod’s longitudinal vibrations. It is a simplified version of the well-known equation called the regularized Boussinesq equations, an important model that basically explains the propagation of long waves in regimes where water is shallow and waves, like the other Boussinesq equations, have small amplitudes. The (q-HATM is the result of combining the (q-HAM and the Laplace transform method. This method employs two convergence control parameters, n and \(\hbar ,\) to help modify and regulate the solution’s convergence region. Many scholars have recently used the proposed approach to find solutions for differential equations illustrating various models and phenomena associated with fractional calculus and have presented numerical simulations to verify the accuracy of the method.

The paper structure is proposed as follows. The basic theory of fractional calculus is presented in Section 2. The projected algorithm for the considered equation is devoted to Section 3. Solutions for the considered equation are presented in Section 4. Finally, the paper is ended with a conclusion section.

2 Preliminaries

We recall some essential notions of FC and Laplace transform.

Definition 1

The Riemann–Liouville fractional integral of \(f\left( t\right) \in {{C}_{\delta }} ~\left( \delta \ge -1\right)\) is defined as

$$\begin{aligned} J^{\mu }f(t)=\frac{1}{\Gamma \big (\mu \big )}\int _{0}^{t}{{\left( t-\vartheta \right) }^{\mu -1}}f(\vartheta )\text {d}\vartheta . \end{aligned}$$
(2)

Definition 2

In the Caputo sense, the fractional derivative of \(f\in C_{-1}^{\eta }\) is presented as

$$\begin{aligned} {\mathcal {D}}_{t}^{\mu }f(t)=\left\{ \begin{array}{c} \frac{{{d}^{\eta }}f\left( t\right) }{d{{t}^{n}}},\qquad \qquad \qquad \qquad \qquad \mu =\eta {{,}}\\ \frac{1}{\Gamma (\eta -\mu )}\int _{0}^{t}{( t-\vartheta )^{\eta -\mu -1}}{f^{(\eta )}}(\vartheta )\text {d}\vartheta ,\quad \quad {\eta }-1<\mu <\eta ,\,\,\,\,\eta \in {\mathbb {N}}. \end{array} \right. \end{aligned}$$
(3)

Definition 3

The Laplace transform (LT) of \({\mathcal {D}}_{t}^{\mu }f(t)\) is given by

$$\begin{aligned} {\mathscr {L}}\big [{\mathcal {D}}_{t}^{\mu }f(t)\big ]={{s}^{\mu }}F\left( s\right) -\underset{r=0}{\overset{\eta -1}{\sum }}\,{{s}^{\mu -r-1}}{{f}^{(r)} }\left( {{0}^{+}}\right) ,\quad \eta -1<\mu \le {\eta }, \end{aligned}$$
(4)

where F(s) is symbolize the LT of f(t).

3 Projected algorithm for considered equation

Here, we illustrate procedure of hired scheme [3337] for P-C model defined in Eq. (1) for the case when \(n=1\) given as

$$\begin{aligned} {\mathcal {D}}_{t}^{\mu }u(x,t) =\frac{{{\partial }^{4}}u(x,t)}{\partial {{t}^{2}}\partial {{x}^{2}}}+\frac{{{\partial }^{2}}}{\partial {{x}^{2}}}\Big ({{\beta }_{1}}u(x,t)+{{\beta }_{2}}{{u}^{2}}(x,t)+{{\beta }_{3}}{{u}^{3}}(x,t)\Big ),\,t>0,\,\,\,1<\mu \le {2}, \end{aligned}$$
(5)

subjected to

$$\begin{aligned} u(x,0)=f(x)\,\,\text {and}\,\,u_{t}(x,0)=g(x), \end{aligned}$$
(6)

where \({\mathcal {D}}_{t}^{\mu }u\left( x,t\right)\) represents the Caputo fractional derivative of \(u\left( x,t\right) .\) Here, \(u\left( x,t\right)\) is a bounded function. Now, we obtain the following equation by applying LT on Eq. (5)

$$\begin{aligned} {\mathscr {L}}\big [u(x,t)\big ]-\frac{1}{s}\big [f(x)\big ]-\frac{1}{s^2}\big [g(x)\big ]-\frac{1}{s^{\mu }}{\mathscr {L}}\bigg \{\frac{\partial ^{4}u}{\partial {t^2}\partial {x^2}}+\frac{\partial ^{2}}{\partial {x^2}}\Big (\beta _{1}u(x,t)+\beta _{2}u^{2}(x,t)+\beta _{3}u^{3}(x,t)\Big )\bigg \}=0. \end{aligned}$$
(7)

The nonlinear is contracted as follows:

$$\begin{aligned} {\mathcal {N}}[\varphi ]={\mathscr {L}}[\varphi ]-\frac{1}{s}\big [f(x)\big ]-\frac{1}{s^2}\big [g(x)\big ]-\frac{1}{s^{\mu }}{\mathscr {L}}\bigg \{\frac{{{\partial }^{4}}\varphi }{\partial {t^2}\partial {x^2}}+\frac{\partial ^{2}}{\partial {x^2}}\Big (\beta _{1}\varphi +\beta _{2}\varphi ^{2}+\beta _{3}\varphi ^{3}\Big )\bigg \}, \end{aligned}$$
(8)

where \(q\in \left[ 0,\frac{1}{n}\right] .\) Then, the homotopy is construct as

$$\begin{aligned} (1-nq){\mathscr {L}}\big [\varphi -u_{0}( x,t)\big ] =\hbar {q}{\mathcal {N}}\big [ \varphi \big ], \end{aligned}$$
(9)

where \({\mathscr {L}}\) is signifying LT. For \(q=0\) and \(q=\frac{1}{n}\), the following conditions satisfies;

$$\begin{aligned} \varphi (x,t;0)=u_{0}(x,t)\qquad \varphi \Big (x,t;\frac{1}{n}\Big )=u(x,t). \end{aligned}$$
(10)

By using Taylor theorem, we consider

$$\begin{aligned} u(x,t;q)=u_{0}(x,t)+\sum _{m=1}^{\infty }u_m(x,t)q^m, \end{aligned}$$
(11)

where

$$\begin{aligned} u_{m}(x,t)=\frac{1}{m!}\frac{\partial ^{m}\varphi (x,t;q)}{\partial {q}^m}|_{q=0}. \end{aligned}$$
(12)

For the proper chaise of \(u_{0}(x,t)\), n and \(\hbar\), the series Eq. (12) converges at \(q=1/n\). Then

$$\begin{aligned} u(x,t)=u_{0}(x,t)+\sum _{m=1}^{\infty }u_{m}(x,t)\Big (\frac{1}{n}\Big )^{m}. \end{aligned}$$
(13)

After differentiating Eq. (13) m-times with q and multiplying by 1/m! and substituting \(q=0\), one can get

$$\begin{aligned} {\mathscr {L}}\big [u_{m}(x,t)-k_{m}u_{m-1}(x,t)\big ]=\hbar {\mathcal {R}}_{m}(\overrightarrow {u}_{m-1}), \end{aligned}$$
(14)

with

$$\begin{aligned} \overrightarrow {u}_{m}=\big \{u_{0},\,u_{1},\,\ldots ,\,u_{m}\big \}. \end{aligned}$$
(15)

Eq. (12) reduces after employing inverse LT to

$$\begin{aligned} u_{m}(x,t)=k_{m}u_{m-1}(x,t)+\hbar \,{\mathscr {L}}^{-1}\big [{\mathcal {R}}_{m}(\overrightarrow {u}_{m-1})\big ], \end{aligned}$$
(16)

where

$$\begin{aligned} {\mathcal {R}}_{m}(\overrightarrow {u}_{m-1})= & {} {\mathscr {L}}\big [u_{m-1}(x,t)\big ]-\Big (1-\frac{k_m}{n}\Big )\bigg [\frac{1}{s} \big \{f(x)\big \}+\frac{1}{s^2}\big \{g( x\big \}\bigg ]\nonumber \\&-\ \frac{1}{s^\mu }{\mathscr {L}}\bigg \{ \frac{\partial ^{4}u_{m-1}}{ \partial {t}^{2}\partial {x}^{2}}+\frac{\partial ^2}{\partial {x^2}}\Big (\beta _{1}u_{m-1}+\beta _{2}\sum _{j=1}^{m-1}u_{j}u_{m-1-j}+\beta _{3}\sum _{j=1}^{m-1}\sum _{i=1}^{j}u_{i}u_{j-i}u_{m-1-j}\bigg \} , \end{aligned}$$
(17)

and

$$\begin{aligned} k_{m}=\left\{ \begin{array}{lll} 0\,\,\,\,\,\,\,\,\,\,\,\,\,m\leqslant 1,\\ \\ n\,\,\,\,\,\,\,\,\,\,\,\,\,otherwise. \end{array} \right. \end{aligned}$$
(18)

From Eq. (16), in addition to Eqs. 17 and 18, we have

$$\begin{aligned} u_{m} &=(k_{m}+\hbar )u_{m-1}-\hbar \Big (1-\frac{k_m}{n}\Big )\,u_0(x,t)-\hbar {\mathscr {L}}^{-1}\bigg [\frac{1}{s^\mu }{\mathscr {L}}\bigg \{\frac{\partial ^{4}u_{m-1}}{\partial {t^2}\partial {x^2}}\nonumber \\&\quad+\,\ \frac{\partial ^2}{\partial {x^2}}\Big (\beta _{1}u_{m-1}+\beta _{2}\sum _{j=1}^{m-1}u_{j}u_{m-1-j}+\beta _{3}\sum _{j=1}^{m-1}\sum _{i=1}^{j}u_{i}u_{j-i}u_{m-1-j}\Big )\bigg \}\bigg ]. \end{aligned}$$
(19)

Here,

$$\begin{aligned} u_0(x,t)={\mathscr {L}}^{-1}\Big [\frac{1}{s} \big \{f(x)\big \}+\frac{1}{s^2}\big \{g(x\big \}\Big ]. \end{aligned}$$
(20)

Finally, the q-HATM solution is

$$\begin{aligned} u(x,t)=\sum _{m=0}^{\infty }u_{m}\Big (\frac{1}{n}\Big )^m. \end{aligned}$$
(21)

Here, we illustrate the convergence analysis of considered scheme for projected model.

Theorem 3.1

(Uniqueness theorem) By the help of considered scheme, the achieved solution for the PC Eq. (5) is unique wherever \(0<\lambda <1\), where \(\lambda =(k_{m}+\hbar )+\hbar \big \{\delta _{1}^{4}+\delta _{2}^{2}\big (\beta _{1}+\beta _2(P+Q)+\beta _{3}(P^{2}+Q^{2}+PQ)\big )\big \} {\mathcal {T}}\).

Proof

The solution for consider equation defined in Eq. (5) is presented as

$$\begin{aligned} u(x,t)=\sum _{m=0}^{\infty }{u_{m}}\Big (\frac{1}{n}\Big )^m, \end{aligned}$$
(22)

where \(u_m\) is defined in Eq. (19). If possible, let u and w be the two distinct solutions for Eq. (5) such that \(\left| u\right| \le P\) and \(\left| {w}\right| \le {Q}\), then

$$\begin{aligned} \left| u-w\right|= & {} \bigg \vert (k_{m}+\hbar )(u-w)-\hbar {\mathscr {L}}^{-1}\bigg \{\frac{1}{s^\mu }{\mathscr {L}}\bigg [\frac{\partial ^4{u}}{\partial {t^2}\partial {x^2}}-\frac{\partial ^4{w}}{\partial {t^2}\partial {x^2}}\nonumber \\&+\ \frac{\partial ^2}{\partial {x^2}}\Big (\beta _{1}(u-w)+\beta _{2}(u^{2}-w^{2})+\beta _{3}(u^{3}-w^{3})\Big )\bigg ]\bigg \}\bigg \vert . \end{aligned}$$
(23)

Now, we get the following result by applying convolution theorem for LT

$$\begin{aligned} \left| u-w\right|= & {} (k_{m}+\hbar )\left| u-w\right| +\hbar \int _{0}^{t}\Bigg (\biggl \vert \frac{\partial ^{4}u}{\partial {t^2}\partial {x^2}}-\frac{\partial ^{4}w}{\partial {t^2}\partial {x^2}}\\&+\ \frac{\partial ^2}{\partial {x^2}}\Big (\beta _{1}(u-w)+\beta _{2}(u^2-w^2)+\beta _3(u^3-w^3)\Big )\biggr \vert \Bigg )\frac{(t-\xi )^\mu }{\Gamma (\mu +1)}\text {d}\xi \\\le & {} (k_{m}+\hbar )\left| u-w\right| +\hbar \int _{0}^{t}\Bigg (\frac{\partial ^{4}}{\partial {t^2}\partial {x^2}}\bigl \vert u-w\bigr \vert +\frac{\partial ^2}{\partial {x^2}}\Big (\beta _{1}\bigl \vert u-w\bigr \vert \\&+\ \beta _{2}\bigl \vert (u-w)(u+w)\bigr \vert +\beta _{3}\bigl \vert (u-w)(u^2+uw+w^2)\bigr \vert \frac{(t-\xi )^\mu }{\Gamma (\mu +1)}\text {d}\xi \\\le & {} (k_{m}+\hbar )\left| u-w\right| +\hbar \int _{0}^{t}\Big (\delta _{1}^{4}\left| u-w\right| +\delta _{2}^{2}\big \{\beta _{1}\left| u-w\right| \\&+\ \beta _{2}\left| {u}-w\right| (P+Q)+\beta _{3}\left| {u}-w\right| (P^2+PQ+Q^2)\big \}\Big )\frac{(t-\xi )^\mu }{\Gamma (\mu +1)}\text {d}\xi , \end{aligned}$$

where \(\delta _{1}^{4}=\frac{\partial ^{4}}{\partial {t^2}\partial {x^2}}\) and \(\delta _{2}^{2}=\frac{\partial ^{2}}{\partial {x^2}}.\) By the help of integral mean value, the above equation reduces to

$$\begin{aligned} \left| {u}-w\right|\le & {} \left| {u}-w\right| \Big ((k_{m}+\hbar )+\hbar \big \{\delta _{1}^{4}+\delta _{2}^{2}\big (\beta _{1}+\beta _2(P+Q)+\beta _{3}(P^2+PQ+Q^2)\big )\big \}{\mathcal {T}}\Big ) \\\le & {} \left| {u}-w\right| {\lambda }. \end{aligned}$$

Thus, \((1-\lambda )\left| {u}-w\right| \le 0.\) Since \(0<\lambda <1\), we conclude that \(\left| u-w\right| =0 \overrightarrow {u}=w\). This completes the required result. \(\square\)

Theorem 3.2

(Convergence theorem) Suppose \(\wp\) is a Banach space and \(F:\wp \rightarrow \wp\) is mapping. Suppose for \(\forall ~u,~v\in \wp\)

$$\begin{aligned} \left\| F\left( u\right) -F\left( v\right) \right\| \le \lambda \left\| u-v\right\| , \end{aligned}$$
(24)

then there is a fixed point for F [24, 25]. Further, the sequence converges to fixed point of F with an arbitrary choice of \(u_{0},v_{0}\in \wp\) and

$$\begin{aligned} \left\| {{u}_{m}}-{{u}_{n}}\right\| \le \frac{{{\lambda }^{n}}}{ 1-\lambda }\left\| {{u}_{1}}-{{u}_{0}}\right\| . \end{aligned}$$
(25)

Proof

Let \((\wp [J],\left\| \cdot \right\| )\) be a Banach space of J with \(\left\| g(t)\right\| =\underset{t\in {J}}{\max }\left| g(t)\right|\). First, we prove \(\left\{ {u}_{n}\right\}\) is Cauchy sequence in \((\wp [J],\left\| \cdot \right\| )\). Now, consider

$$\begin{aligned} \left\| {u}_{m}-u_{n}\right\|= & {} \underset{t\in {J}}{\max }\left| {u}_{m}-{u}_{n}\right| \nonumber \\= & {} \underset{t\in {J}}{\max }\,\biggl \vert (k_{m}+\hbar )(u_{m-1}-u_{n-1})-\hbar {\mathscr {L}}^{-1}\bigg [\frac{1}{s^\mu }{\mathscr {L}}\Big [\frac{\partial ^{4}u_{m-1}}{\partial {t^2}\partial {x^2}}-\frac{\partial ^{4}u_{n-1}}{\partial {t^2}\partial {x^2}}\nonumber \\&+\ \frac{\partial ^{2}}{\partial {x^2}}\big (\beta _{1}(u_{m-1}-u_{n-1}) +\beta _{2}(u_{m-1}^{2}-u_{n-1}^{2}) +\beta _{3}(u_{m-1}^{3}-u_{n-1}^{3}) \big )\Big ]\bigg ]\biggr \vert \nonumber \\\le & {} \underset{t\in {J}}{\max }\bigg \{(k_{m}+\hbar )\left| {u}_{m-1}-u_{n-1}\right| -\hbar {\mathscr {L}}^{-1}\bigg [\frac{1}{s^\mu }{\mathscr {L}}\Big [\Bigl \vert \frac{\partial ^{4}u_{m-1}}{\partial {t^2}\partial {x^2}}-\frac{\partial ^{4}u_{n-1}}{\partial {t}^{2}\partial {x^2}}\Bigr \vert \nonumber \\&+\ \frac{\partial ^{2}}{\partial {x^2}}\big (\beta _{1}\left| {u}_{m-1}-u_{n-1}\right| +\beta _{2}\left| u_{m-1}^{2}-u_{n-1}^{2}\right| +\beta _{3}\left| {u}_{m-1}^{3}-u_{n-1}^{3}\right| \big )\Big ]\bigg ]\bigg \}. \end{aligned}$$
(26)

With the help of convolution theorem for LT, we obtain

$$\begin{aligned} \left\| {u}_{m}-u_{n}\right\|\le & {} \underset{t\in {J}}{\max }\,\Big \{(k_{m}+\hbar )\left| \left( {{u}_{m-1}}-{{u}_{n-1}}\right) \right| -\hbar \int _{0}^{t}\Big (\Bigl \vert \frac{\partial ^{4}u_{m-1}}{ \partial {t^2}\partial {x^2}}-\frac{\partial ^{4}u_{n-1}}{\partial {t^2}\partial {x^2}}\Bigr \vert \nonumber \\&+\ \frac{\partial ^2}{\partial {x^2}}\big (\beta _{1}\left| {u}_{m-1}-u_{n-1}\right| +\beta _{2}\left| u_{m-1}^{2}-u_{n-1}^{2}\right| + \beta _{3}\left| {u}_{m-1}^{3}-u_{n-1}^{3}\right| \big )\Big \}\frac{( t-\xi )^\mu }{\Gamma (\mu +1)}\text {d}\xi \nonumber \\\le & {} \underset{t\in {J}}{\max }\Big \{ (k_{m}+\hbar )\left| {u}_{m-1}-u_{n-1}\right| -\hbar \int _{0}^{t}(\delta _{1}^{4}\left| {u}_{m-1}-u_{n-1}\right| +\delta _{2}^{2}\big (\beta _{1}\left| {u}_{m-1}-u_{n-1}\right| \nonumber \\&+\ \beta _{2}\left| {u}_{m-1}-u_{n-1}\right| (P+Q)+\beta _{3}\left| {u}_{m-1}-u_{n-1}\right| (P^2+PQ+Q^2)\big )\Big \}\frac{(t-\xi )^\mu }{\Gamma (\mu +1)}\text {d}\xi . \end{aligned}$$
(27)

By using integral mean value theorem [24, 25], the Eq. (27) simplifies to

$$\begin{aligned} \left\| {u}_{m}-u_{n}\right\|\le & {} \underset{t\in {J}}{\max }\Big \{(k_{m}+\hbar )\left| {u}_{m-1}-u_{n-1} \right| +\hbar (\delta _{1}^{4}\left| {u}_{m-1}-u_{n-1}\right| +\delta _{2}^{2}\big (\beta _{1}\left| {u}_{m-1}-u_{n-1}\right| \nonumber \\&+\ \beta _{2}\left| {u}_{m-1}-u_{n-1}\right| (P+Q)+\beta _{3}\left| {u}_{m-1}-u_{n-1}\right| (P^2+PQ+Q^2)\big ){\mathcal {T}}\Big \}\nonumber \\ \left\| {u}_{m}-{{u}_{n}}\right\|\le & {} \lambda \left\| {u}_{m-1}-u_{n-1}\right\| . \end{aligned}$$
(28)

For \(m=n+1\);

$$\begin{aligned} \left\| {u}_{n+1}-u_{n}\right\| \le \lambda \left\| {u}_{n}-u_{n-1}\right\| \le {\lambda ^{2}}\left\| {u}_{n-1}-u_{n-2}\right\| \le \cdots \le {\lambda ^n}\left\| {u}_{1}-{u}_{0}\right\| . \end{aligned}$$
(29)

On using triangular inequality, we have

$$\begin{aligned} \left\| {u}_{m}-u_{n}\right\|\le & {} \left\| {u}_{n+1}-u_{n}\right\| +\left\| {u}_{n+2}-u_{n+1}\right\| +\ldots +\left\| {u}_{m}-u_{m-1}\right\| \nonumber \\\le & {} \big (\lambda ^n+\lambda ^{n+1}+\cdots +\lambda ^{m-1}\big )\left\| {u}_{1}-{u}_{0}\right\| \nonumber \\\le & {} \lambda ^{n}\big (1+\lambda +\lambda ^{2}+\cdots +\lambda ^{m-n-1}\big )\left\| {u}_{1}-u_{0}\right\| \nonumber \\\le & {} \lambda ^{n}\bigg (\frac{1-\lambda ^{m-n-1}}{1-\lambda }\bigg )\left\| {u}_{1}-u_{0}\right\| . \end{aligned}$$
(30)

Since \(0<\lambda <1\), we have \(1-{{\lambda }^{m-n-1}}<1\), then

$$\begin{aligned} \left\| {u}_{m}-u_{n}\right\| \le \frac{\lambda ^{n}}{1-\lambda }\left\| {u}_{1}-u_{0}\right\| . \end{aligned}$$
(31)

But \(\left\| {u}_{1}-u_{0}\right\| <\infty\) consequently as \(m\rightarrow \infty\) than \(\left\| {u}_{m}-u_{n}\right\| \rightarrow {0}\), and which gives \(\left\{ {u}_{n}\right\}\) is Cauchy sequence in \(\wp \left[ J\right]\). Hence, \(\left\{ {u}_{n}\right\}\) is convergent sequence which completes the required result.\(\square\)

4 Solutions for the considered equation

Here, we consider three cases of Eq. (5) to confirm the applicability and efficiency of the hired algorithm.

Example 1

Consider Eq. (5) at \(\beta _{1}\ne {0},\,\beta _{2}\ne {0}\) and \(\beta _{3}=0.\) Then, we have

$$\begin{aligned} {\mathcal {D}}_{t}^{\mu }u=\frac{\partial ^{4}u}{\partial {t^2}\partial {x^2}}+\frac{\partial ^{2}}{\partial {x^2}}\big (\beta _{1}u+\beta _{2}{u}^{2}\big ), \end{aligned}$$
(32)

subjected to

$$\begin{aligned} u(x,0)=f(x)= & {} -\frac{2\beta _{1}}{\beta _{2}}{{\,\mathrm{sech}\,}}{^2}(x){{,}} \end{aligned}$$
(33)
$$\begin{aligned} u_{t}(x,0)= & {} g(x)=\frac{4\sqrt{-\beta _{1}}\beta _{1}}{\sqrt{3}\beta _{2}}\tanh (x){{\,\mathrm{sech}\,}}{^{2}}(x). \end{aligned}$$
(34)

By the help of projected algorithm, we have

$$\begin{aligned} u_{m}(x,t)= & {} (k_{m}+\hbar )u_{m-1}-\hbar \Big (1-\frac{{{k}_{m}}}{n}\Big )u_0(x,t) \nonumber \\&-\ \hbar {\mathscr {L}}^{-1}\bigg [\frac{1}{s^\mu }{\mathscr {L}}\bigg \{\frac{\partial ^{4}u_{m-1}}{\partial {t^{2}}\partial {x^2}}+\beta _{1}\frac{\partial ^2{u}_{m-1}}{\partial {x^2}}+\beta _{2}\frac{\partial ^2}{\partial {x^2}}\underset{i=0}{\overset{m-1}{\sum }}\,{{u}_{i}}{{u}_{m-1-i}}\Big )\bigg \}\bigg ], \end{aligned}$$
(35)

where

$$\begin{aligned} u_0(x,t)=-\frac{2\beta _{1}}{\beta _{2}}{{\,\mathrm{sech}\,}}{^{2}}(x)+\frac{4\beta _{1}t}{\beta _{2}}\sqrt{-\frac{\beta _{1}}{3}}\tanh (x){{\,\mathrm{sech}\,}}^2{(x)}. \end{aligned}$$
(36)

From Eqs. 35 and 36, we have

$$\begin{aligned} u_1(x,t)= & {} \frac{\hbar \,t^{{{\mu }}}\beta _2^3}{(972\beta _3^{\frac{7}{2}}(9\beta _1\beta _3-2\beta _2^2))\Gamma (\alpha +1)}{{\,\mathrm{sech}\,}}^4\Bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )\nonumber \\&\times \ \Bigg (i\sqrt{2}\beta _2^5t^3 \bigg (3\cosh \left( \sqrt{2}\sqrt{\frac{\beta _2^2}{2\beta _2^2-9\beta _1\beta _3}} x\right) -4\bigg ){{\,\mathrm{sech}\,}}^4\bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )\nonumber \\&+\ 6\sqrt{\beta _3} \beta _2^4 t^2 \bigg (13 \sinh \bigg (\sqrt{\frac{\beta _2^2}{4 \beta _2^2-18 \beta _1 \beta _3}} x\bigg )-2\sinh \bigg (3\sqrt{\frac{\beta _2^2}{4 \beta _2^2-18 \beta _1 \beta _3}} x\bigg )\bigg )\nonumber \\&\times \ {{\,\mathrm{sech}\,}}^3\bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}} x\bigg )-54i\sqrt{2} \beta _1 \beta _2 \beta _3^2 t \bigg (\cosh \bigg (\sqrt{2} \sqrt{\frac{\beta _2^2}{2 \beta _2^2-9 \beta _1 \beta _3}} x\bigg )-2\bigg )\nonumber \\&+\ 36i\sqrt{2}\beta _2^3 \beta _3 t \bigg (2\cosh \bigg (\sqrt{2}\sqrt{\frac{\beta _2^2}{2 \beta _2^2-9 \beta _1 \beta _3}} x\bigg )-3\bigg ) {{\,\mathrm{sech}\,}}^2\bigg (\sqrt{\frac{\beta _2^2}{4 \beta _2^2-18 \beta _1 \beta _3}} x\bigg )\nonumber \\&-\ 162\beta _1\beta _3^{\frac{5}{2}}\sinh \bigg (\sqrt{2}\sqrt{\frac{\beta _2^2}{2\beta _2^2-9\beta _1\beta _3}}x\bigg )+216\beta _2^2\beta _3^{\frac{3}{2}}\tanh \bigg (\sqrt{\frac{\beta _2^2}{4 \beta _2^2-18 \beta _1\beta _3}}x\bigg )\Bigg ). \end{aligned}$$
(37)

With the help of Eq. (35) other terms can be achieve. The analytical result for the corresponding equation is

$$\begin{aligned} u(x,t)=-\frac{2\beta _{1}}{\beta _{2}}\sec h{^{2}}\bigg (x-\sqrt{-\frac{\beta _1}{3}}t\bigg ). \end{aligned}$$
(38)
Fig. 1
figure 1

Nature of (a) q-HATM, (b) exact results, and (c) absolute error for Example 1 at \(n=1,\,\hbar =-1,\beta _{1}=-1.5,\,\beta _{2}=1,\) and \(\mu =2\)

Fig. 2
figure 2

Nature of achieved results for Example 1 for distinct \(\mu\) at \(t=0.1,\,\,n=1,\hbar =-1,\,\beta _{1}=-1.5,\) and \(\beta _{2}=1\)

Fig. 3
figure 3

\(\hbar\)-curves for Example 1 for different \(\mu\) at \(n=1,\,\beta _{1}=1.5,\,\beta _{2}=1,\,t=0.05\) and \(x=2\)

Table 1 Numerical stimulation for Example 1 at \(\hslash =-1,\,n=1,\,\beta _1=-1.5,\,\beta _2=1,\,\mu =2\) for different x and t

Example 2

Consider Eq. (5) at \({{\beta }_{1}\ne 0,}\) \({{\beta }_{2}=0}\) and \(\beta _{3}\ne {0}\) and then we have

$$\begin{aligned} D_{t}^{\mu }u\left( x,t\right) =\frac{{{\partial }^{4}}u}{\partial {{t}^{2}} \partial {{x}^{2}}}+\frac{{{\partial }^{2}}}{\partial {{x}^{2}}}\left( {{ \beta }_{1}}u+{{\beta }_{3}}{{u}^{3}}\right) , \end{aligned}$$
(39)

subjected to the initial conditions

$$\begin{aligned} u\left( x,~0\right) =f\left( x\right) =\frac{\sqrt{2{{\beta }_{1}}}}{\sqrt{-{ {\beta }_{3}}}\left( x+\phi \right) }\text { and }{{u}_{t}}\left( x,~0\right) =\frac{\sqrt{2}{{\beta }_{1}}}{\sqrt{-{{\beta }_{3}}}{{\left( x+\phi \right) }^{2}}}. \end{aligned}$$
(40)

By the help of projected algorithm, we have

$$\begin{aligned} u_{m}(x,t)= & {} (k_{m}+\hbar )u_{m-1}(x,t)-\hbar \left( 1-\frac{k_{m}}{n}\right) u_{0}(x,t)\nonumber \\&-\ \hbar {\mathscr {L}}^{-1}\bigg [ \frac{1}{s^{\mu }}{\mathscr {L}}\bigg [ \frac{\partial ^{4}}{u_{m-1}}{\partial {{t}^{2}}\partial {{x}^{2}}}+\frac{{{\partial }^{2}}}{\partial {{x}^{2}}}\Big ({{\beta }_{1}}{{u}_{m-1}}+{{\beta }_{3}}\underset{i=0}{\overset{m-1}{\sum }}\,\Big (\underset{j=0}{\overset{i}{\sum }}\,{{u}_{j}}{{u}_{i-j}}\Big ){{u}_{m-1-i}}\Big )\bigg ]\bigg ], \end{aligned}$$
(41)

where

$$\begin{aligned} u_{0}(x,t)=\frac{\sqrt{2{{\beta }_{1}}}}{\sqrt{-{{\beta }_{3}}}\left( x+\phi \right) }+t\frac{\sqrt{2}{{\beta }_{1}}}{\sqrt{-{{\beta } _{3}}}{{\left( x+\phi \right) }^{2}}}. \end{aligned}$$
(42)

On simplifying the forgoing equations, we get

$$\begin{aligned} u_{1}(x,t)= & {} -\frac{\hbar \,t^{\alpha }}{\Gamma (\alpha +1)(\sqrt{-\beta _3}(x+\phi )^8)}\Big (2\sqrt{2}\beta _1^{\frac{3}{2}}(-42 \beta _1^{\frac{3}{2}}t^3-90\beta _1t^2(x+\phi )\nonumber \\&+\ 3\sqrt{\beta _1}t(x+\phi )^2(x^2+2 x \phi +\phi ^2-20)+(x+\phi )^3(x^2+2x\phi +\phi ^2-12))\Big ), \end{aligned}$$
(43)
$$\begin{aligned} u_{2}(x,t)= & {} (n+\hbar )u_{1}(x,t)+\frac{24\sqrt{2}\beta _1^{\frac{3}{2}}\hbar ^2 t^{2\alpha -2}}{\sqrt{-\beta _3}\Gamma (2\alpha +1)(x+\phi )^{14}}\big (3276 \beta _1^{\frac{7}{2}} t^7+11484 \beta _1^3 t^6 (x+\phi )\nonumber \\&-\ 30 \beta _1^{\frac{5}{2}} t^5 (x+\phi )^2 (12 x^2+24 x \phi +12 \phi ^2-517)-2 \beta _1^2 t^4 (x+\phi )^3(308 x^2+616 x \phi \nonumber \\&+\ 308\phi ^2-4995)+\beta _1^{\frac{3}{2}} t^3 (x+\phi )^4(-252{{\mu }}^2-1260 {{\mu }}+5 x^4+20 x^3 \phi +15 x^2(2\phi ^2-21)\nonumber \\&+\ 10x\phi (2\phi ^2-63)+5\phi ^4-315\phi ^2+1512)+\beta _1t^2 (x+\phi )^5 (-420\alpha ^2-1260\alpha +x^4+4 x^3\phi \nonumber \\&+\ x^2(6\phi ^2-45)+x (4\phi ^3-90 \phi )+\phi ^4-45 \phi ^2-504)+5 \alpha ({{\mu }}+1)\sqrt{\beta _1} t (x+\phi )^6(x^2+2 x \phi \nonumber \\&+\ \phi ^2-42)+({{\mu }}-1) {{\mu }} (x+\phi )^7(x^2+2 x \phi +\phi ^2-30)\big ). \end{aligned}$$
(44)

Further terms can be obtained with the aid of Eq. (41). The corresponding analytical result is

$$\begin{aligned} u\left( x,t\right) =\frac{\sqrt{2{{\beta }_{1}}}}{\sqrt{-{{\beta }_{3}}}\left( x+\sqrt{{{\beta }_{1}}}~t+\phi \right) }. \end{aligned}$$
(45)
Fig. 4
figure 4

Nature of (a) q-HATM, (b) exact results, (c) absolute error for the Example 2 at \(n=1\), \(\hbar =-1\), \(\beta _{1}=-1.5\), \(\beta _{3}=-0.5\), \(\sigma =-1, \phi =1\) and \({{\mu }}=2\)

Fig. 5
figure 5

Nature of achieved results for Example 2 for distinct \(\mu\) at \(n=1,\) \(\hbar =-1,\) \(\beta _{1}=1.5,\) \(\beta _{3}=-0.5\) and \(\sigma =-1,\) \(\phi =1\) and \(x=1\)

Fig. 6
figure 6

\(\hbar\)-curves for Example 2 for different \(\mu\) at \(n=1,\) \(\beta _{1}=1.5,\) \(\beta _{3}=-0.5,\) \(\sigma =-1,\) \(\phi =1,\) \(t=0.05,\) \(x=8\)

Example 3

Consider Eq.(5) at \({{\beta }_{1}}\ne 0,~{{\beta }_{2}}\ne 0\) and \({{ \beta }_{3}}\ne 0\) and then

$$\begin{aligned} D_{t}^{\mu }u\left( x,t\right) =\frac{{{\partial }^{4}}u}{\partial {{t}^{2}} \partial {{x}^{2}}}+\frac{{{\partial }^{2}}}{\partial {{x}^{2}}}\left( {{ \beta }_{1}}u+{{\beta }_{2}}{{u}^{2}}+{{\beta }_{3}}{{u}^{3}}\right) , \end{aligned}$$
(46)

subjected to

$$\begin{aligned} u(x,0)=f(x)=\frac{-\beta _2}{3\beta _3}(1-\tanh \left( x\sqrt{\frac{\beta _2^{2}}{2\left( 2{{\beta }_{2}}^{2}-9{{\beta }_{1}}{{\beta }_{3}}\right) }}\right) \end{aligned}$$
(47)

and

$$\begin{aligned} u_{t}(x,0)=\frac{{{\beta }_{2}^{2}}}{9\sqrt{-2}{\beta _{3}^{\frac{3}{2}}}}{{\,\mathrm{sech}\,}}^{2}\left( x\sqrt{\frac{{{\beta }_{2}}^{2}}{2\left( 2{\beta _{2}}^{2}-9{{\beta }_{1}}{{\beta }_{3}}\right) }}\right). \end{aligned}$$
(48)

By the help of projected algorithm, we have

$$\begin{aligned} u_{m}(x,t)= & {} (k_m+\hbar )u_{m-1}(x,t)-\hbar \left( 1-\frac{k_m}{n}\right) u_{0}(x,t)-\hbar {\mathscr {L}}^{-1}\bigg [\frac{1}{{{s}^{\mu }}}{\mathscr {L}}\bigg \{\frac{\partial ^4u_{m-1}}{\partial {t^2}\partial {x^2}}\nonumber \\&+\ \frac{\partial ^2}{\partial {x^2}}\bigg (\beta _{1}u_{m-1}+\beta _{2}\underset{j=0}{\overset{i}{\sum }}\,u_{j}u_{i-j}+\beta _{3}\underset{i=0}{\overset{m-1}{\sum }}\,\Big (\underset{j=0}{\overset{i}{\sum }}\,u_{j}u_{i-j}\Big )u_{m-1-i}\bigg )\bigg \}\bigg ], \end{aligned}$$
(49)

where

$$\begin{aligned} u_{0}(x,t)=-\frac{\beta _2}{3\beta _3}\left( 1-\tanh \bigg (x\sqrt{\frac{{{\beta }_{2}}^{2}}{2(2\beta _{2}^{2}-9\beta _{1}\beta _{3})}}\bigg )\right) +t\frac{\beta _{2}^{2}}{9\sqrt{-2}{{\beta }_{3}}^{\frac{3}{2}}}{{\,\mathrm{sech}\,}}{^{2}}\left( x\sqrt{\frac{\beta _{2}^{2}}{2(2\beta _{2}^{2}-9\beta _{1}\beta _{3})}}\right) . \end{aligned}$$
(50)

On solving the above equations, we can obtain

$$\begin{aligned} u_{1}(x,t)= & {} \frac{\hbar \,t^{\alpha }}{\big (972 \beta _3^{7/2}(9\beta _1\beta _3-2\beta _2^2)\big )\Gamma (\alpha +1)}\Bigg (\beta _2^3{{\,\mathrm{sech}\,}}^4\bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )\nonumber \\&\times \bigg (i\sqrt{2}\beta _2^5t^3\bigg (3\cosh \left( \sqrt{2}\sqrt{\frac{\beta _2^2}{2\beta _2^2-9\beta _1\beta _3}}x\right) -4\bigg ){{\,\mathrm{sech}\,}}^4\bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1 \beta _3}}x\bigg ) \nonumber \\&+\ 6\sqrt{\beta _3}\beta _2^4t^2\bigg (13\sinh \bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )-2\sinh \bigg (3\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )\bigg )\nonumber \\&\times \ {{\,\mathrm{sech}\,}}^3\bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )-54i\sqrt{2}\beta _1\beta _2\beta _3^2t\bigg (\cosh \bigg (\sqrt{2}\sqrt{\frac{\beta _2^2}{2\beta _2^2-9\beta _1\beta _3}}x\bigg )-2\bigg )\nonumber \\&+\ 36i\sqrt{2}\beta _2^3\beta _3t\bigg (2\cosh \bigg (\sqrt{2}\sqrt{\frac{\beta _2^2}{2\beta _2^2-9\beta _1\beta _3}}x\bigg )-3\bigg ){{\,\mathrm{sech}\,}}^2\bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )\nonumber \\&-\ 162\beta _1\beta _3^{5/2}\sinh \bigg (\sqrt{2}\sqrt{\frac{\beta _2^2}{2\beta _2^2-9\beta _1 \beta _3}}x\bigg )+216\beta _2^2\beta _3^{3/2}\tanh \bigg (\sqrt{\frac{\beta _2^2}{4\beta _2^2-18\beta _1\beta _3}}x\bigg )\bigg )\Bigg ). \end{aligned}$$
(51)

Further terms can be obtained with the aid of Eq. (49). The corresponding exact results is

$$\begin{aligned} u(x,t)=\frac{-\beta _2}{3\beta _3}(1-\tanh \left( \frac{1}{2}\bigg (\sqrt{\frac{2\beta _2^{2}}{2\beta _2^{2}-9\beta _1\beta _3}}( x-ct)\bigg ) \right) , \end{aligned}$$
(52)

where \(c=\frac{1}{3}\sqrt{\frac{9\beta _1\beta _3-2\beta _2^2}{\beta _3}}.\)

Fig. 7
figure 7

Surfaces of (a) q-HATM result, (b) exact result, (c) absolute error for Example 3 with \(\hbar =-1,\,n=1,\,\beta _{1}=1.5,\,\beta _{1}=1,\,\beta _{3}=-0.1,\) and \(\mu =2\)

Fig. 8
figure 8

Nature of achieved results for Example 3 for distinct \(\mu\) at \(n=1,\,\hbar =-1,\,\beta _{1}=1.5,\,\beta _{2}=1,\,\beta _{3}=-0.1\) and \(t=1\)

Fig. 9
figure 9

\(\hbar\)-curves for Example 3 for distinct \(\mu\) at \(n=1,\,\beta _{1}=1.5,\,\beta _{2}=1,\,\beta _{3}=-0.1,\,\sigma =-1,\,\phi =1,\,t=0.01,\) and \(x=5\)

5 Results and Discussion

In the present study, we find the solutions for the generalized Pochhammer-Chree equations with the assist of an efficient solution procedure (i.e., q-HATM) and captured corresponding consequences. The considered model illustrates the stimulating consequences of the wave propagation of elastic rod. Three cases are hired to illustrate the efficiency and applicability of the method with nonlinear differential equations without hiring any perturbation and dissertation. The numerical comparison study has been carried between exact and achieved results for Example 1 and cited in Table 1, and it confirms as space increases the accuracy of the attained series solution is also increase. Further, the nature of archived for three cases is captured for diverse fractional-order and with respect to parameters are associated with the method. For the fractional Pochhammer-Chree equation is studied in Example 1, the surfaces of the exact solution with achieved results in terms of absolute error are presented in Fig. 1 and the effect of fractional order in the obtained results, in this case, is presented in Figs. 2, 3 with the change in x. We can observe from Fig. 2 that, between the range [-1.5,2.5 ], nature is stimulating for fractional order \((\mu =0.50\)). For Examples 2, 3, the comparison of obtained consequences with analytical results are, respectively, cited in Figs. 4, 5, 6, 7, and also the effect of fractional order is demonstrated in Figs. 5, 8. Specifically, we can observe from Fig. 7, the q-HATM results are accurate and confirmed with a small absolute region.

The considered algorithms offer parameters, which can assist for the converges region of the obtained solution with the assist of the axillary parameter or homotopy parameter \((\hbar )\) and which is presented in Fig. 3 for Example 1 with distinct order and it can assist us to adjust and control the convergence of the obtained results by modulating its value with n. Precisely, the flat line segment authorizes the convergence region with exact results. For Examples 2, 3, the \((\hbar )\)-curves are, respectively, presented in Figs. 6, 9 with a small time for the particular values of the other parameters. Moreover, with seized records, we can realize that the considered equations exceptionally be contingent on the order and give a huge degree of freedom for generalizing with fractional order. Also, this investigation may support to illustrate miscellaneous types and assist to seizure more consequences.

6 Conclusions

In this research, the time-fractional generalized Pochhammer-Chree partial differential equation occurring in longitudinal vibrations of an elastic rod has been implemented with a reliable tool, namely the q-homotopy analysis transform method. Using the Caputo derivative definition, with three separate examples, effective approximate results of the equation have been obtained. Then, the surface plots are presented to illustrate approximate solutions. It is therefore shown that the approach is very powerful and could be used in various forms of FPDEs occurring in various fields of mathematical physics.