Background

The idea of computer virus came into being around 1980 and has continued threatening the society. During these early stages, the threat of this virus was minimal [1]. Modern civilized societies are being automated with computer applications making life easy in the areas such as education, health, transportation, agriculture and many more. Following recent development in complex computer systems, the trend has shifted to sophisticate dynamic of computer virus which is difficult to deal with. In 2001, for example, the cost associated with computer virus was estimated to be 10.7 United State dollars for only the first quarter [1]. Consequently, a comprehensive understanding of computer virus dynamics has become inevitable to researchers considering the role played by this wonderful device. To ensure the safety and reliability of computers, this virus burden can be tackled in twofold: microscopic and macroscopic [26].

The microscopic level has been investigated by [3], who developed anti-virus program that removes virus from the computer system when detected. The program is capable of upgrading itself to ensure that new virus can be dealt with when attacks computer. The characteristics of this program are similar to that of vaccination against a disease. They are not able to guarantee safety in computer network system and also difficult to make good future predictions. The macroscopic aspect of computer has seen tremendous attention in the area of modeling the spread of this virus and determining the long-term behavior of the virus in the network system since 1980 [4]. The concept of epidemiological modeling of disease has been applied in the study of the spread of computer virus in macroscopic scale [68].

Possibly reality of nature could be well understood via fractional calculus perspective. A considerable attention has been devoted to fractional differential equations by the fact that fractional-order system is capable to converge to the integer-order system timely. Fractional-order differential equations’ applications in modeling processes have the merit of nonlocal property [911]. The model proposed in [10] is a deterministic one and fails to have hereditary and memory effect and therefore, cannot adequately describe the processes very well.

In this paper, we present the fractional-order derivative and obtain analytic numeric solution of the model presented in [10]. The rationale behind the application of fractional derivatives can also be ascertained from some of the current papers published on mathematical modeling [1216]. In addition to this, the practical implication of fractional derivative can be established in [17].

Model formulation

In this study, we take into account the model proposed by [10]. In their study, the total population of this model is denoted by T which is subdivided into four groups. S denotes the non-infected computers capable of being infected after making contact with infected computer. A is the kind of computers non-infected equipped with antivirus. I denotes infected computers capable of infecting non-infected computers and R deals with removed ones due to infection or not. The recruitment rate of computers into the non-infected computers’ class is denoted by N and \(\mu\) is the proportion coefficient for the mortality rate which is not attributable to the virus. \(\beta\) is the rate of proportion of infection as a result of product of SI. The conversion of susceptible computer into antidotal is the product of SI denoted by \(\alpha _{SA}\). The proportion of converting infected computers into antidotal ones in the network is the product of SA denoted by \(\alpha _{IA}\). The rate of removed computers being converted into susceptible class is represented by \(\sigma\) and \(\delta\) denotes the rate at which the virus rate computers useless and remove from the system.

The mathematical model under consideration here is given as:

$$\begin{aligned} \left\{ \begin{array}{l} \frac{{{\text{d}}S}}{{{\text{d}}t}} = N - \alpha _{AS}SA - \beta SI - \mu S + \sigma R, \\ \frac{{{\text{d}}I}}{{{\text{d}}t}} = \beta SI - \alpha _{AI} AI - \delta I - \mu I, \\ \frac{{{\text{d}}R}}{{{\text{d}}t}} = \delta I - \sigma R - \mu R, \\ \frac{{{\text{d}}A}}{{{\text{d}}t}} = \alpha _{AS} SA + \alpha _{AS} AI - \mu A. \\ \end{array} \right. \end{aligned}$$
(1)

Here, the recruitment rate is taken to be \(N=0,\) indicating that there is no new computer entering into the system during the propagation of the virus. This is because in reality the transfer of virus is faster than adding new computers into the system. The same reason can assign to the choice of \(\mu =0\), taking into account the fact that the computer outmodedness time is longer than the time of the virus action being manifested. Accordingly, equation system (1) is reformulated as follows:

$$\begin{aligned} \left\{\begin{array}{l} \frac{{{\text{d}}S}}{{{\text{d}}t}} = - \alpha _{AS} SA - \beta SI + \sigma R, \\ \frac{{{\text{d}}I}}{{{\text{d}}t}} = \beta SI - \alpha _{AI} {AI} - \delta I, \\ \frac{{{\text{d}}R}}{{{\text{d}}t}} = \delta I - \sigma R, \\ \frac{{{\text{d}}A}}{{{\text{d}}t}} = \alpha _{AS} SA + \alpha _{AS} AI. \\ \end{array} \right. \end{aligned}$$
(2)

In this paper, we shall fully explore the concept of fractional derivatives and other current proposed derivatives, and in this study, we shall examine this model in the context of fractional derivatives as well as the beta-derivatives. Consequently, Eq. (2) can be transformed into the following:

$$\begin{aligned} \left\{ \begin{array}{l} _0^A D_t^\alpha S(t) = - \alpha _{AS} SA - \beta SI + \sigma R, \\ _0^A D_t^\alpha I(t) = \beta SI - \alpha _{AI} AI - \delta I, \\ _0^A D_t^\alpha R(t) = \delta I - \sigma R, \\ _0^A D_t^\alpha A(t) = \alpha _{AS} SA + \alpha _{AS} AI. \\ \end{array} \right. \end{aligned}$$
(3)

where \(_0^A D_t^\alpha\) represents the Caputo derivative or the new derivative called beta-derivative. In the next section, some background on the use of fractional and beta-derivatives will be presented. The basic aim of this study is to explore both fractional and beta-derivatives for modeling epidemiological problem in computers. The fractional derivatives are noted for non-local problems and maybe appropriate for epidemiological issues. The fractional order, however, is an indispensable tool for numerical simulations, and therefore, a local derivative with fractional order is presented in this study to model the propagation of computer virus in a network.

This provides the invariance of \(\Omega\) as to be determined. We conclude from this theorem, that it is sufficient to deal with the dynamics of (1) in \(\Omega\). In this respect, the model can be assumed as being epidemiologically and mathematically well-posed [18].

Basic concept about the beta-derivative and Caputo derivative

Definition 1

Let f be a function, such that, \(f:\left[ {a,\infty } \right) \rightarrow \mathbb {R}.\) Then, the beta-derivative is expressed as follows:

$$\begin{aligned} _0^A D_x^\beta \left( {f(x)} \right) = \mathop {\lim }\limits _{\varepsilon \rightarrow 0} \frac{{\left( {x + \varepsilon \left( {x + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \right) - f(x)}}{\varepsilon } \end{aligned}$$
(4)

for all \(x \geqslant a,\beta \in \left( {0,1} \right] .\) Then if the limit of the above exists, it is said to be beta-differentiable. It can be noted that the above definition does not depend on the interval stated. If the function is differentiable, then definition given at a point zero is different from zero.

Theorem 1

Assuming that \(g \ne 0\) and there are two functions beta-differentiable with \(\beta \in \left( {0,1} \right] ;\) then, the following relations can be presented:

  1. 1.

    \(_0^A D_x^\alpha \left( {af(x) + bg(x)} \right) = a_0^A D_x^\alpha \left( {f(x)} \right) + b_0^A D_x^\alpha \left( {f(x)} \right)\) for all a and b being real numbers,

  2. 2.

    \(_0^A D_x^\alpha (c) = 0\) for c any given constant,

  3. 3.

    \(_0^A D_x^\alpha \left( {f(x)g(x)} \right) = g(x)_0^A D_x^\alpha \left( {f(x)} \right) + f(x)_0^A D_x^\alpha \left( {g(x)} \right)\)

  4. 4.

    \(_0^A D_x^\alpha \left( {\frac{{f(x)}}{{g(x)}}} \right) = \frac{{g(x)_0^A D_x^\alpha \left( {f(x)} \right) - f(x)D_x^\alpha \left( {g(x)} \right) }}{{g^2 x}}\)

The proofs of the above relations are identical to the one in [19].

Definition 2

Assuming that \(f:\left[ {a,\infty } \right) \rightarrow \mathbb {R}\) be a function in a way that f is differentiable and also alpha-differentiable. Assume g be a function defined in the range of f and also differentiable, then we obtain the following rule:

$$\begin{aligned} _0^A D_x^\alpha I_x^\beta \left( {f(x)} \right) = \int \limits _a^x {\left( {t + \frac{1}{{\varGamma (\beta )}}} \right) } ^{\beta - 1} f(t)\,{\text{d}}t. \end{aligned}$$
(5)

The above operator is referred to as the inverse operator of the proposed fractional derivative. We shall present the principle behind this statement using the following theorem.

Theorem 2

\(_0^A D_x^\alpha \left[ {_0^A I_x^\beta f(x)} \right] = f(x)\) for all \(x \geqslant a\) with f a given continuous and differentiable function.

Definition 3

The Caputo fractional derivative of a differentiable function is expressed as:

$$\begin{aligned} D_x^\alpha \left( {f(x)} \right) = \frac{1}{{\varGamma (n - \alpha )}}\int \limits _0^x {(x - t)^{n - \alpha - 1} } \left( {\frac{{\text{d}}}{{{\text{d}}t}}} \right) ^n f(t)\,{\text{d}}t,\quad n - 1 < \alpha \leqslant n. \end{aligned}$$
(6)

The properties behind the use of the Caputo derivative can be established in [1416, 19]. Given all the information discussed, we shall introduce in the subsequent section the analysis of this model.

Analysis of the mathematical model

This section is devoted to discuss the stability analysis of the model. The disease-free equilibrium and endemic equilibrium points are established. To determine the equilibria points, we make an asumption that the system does not depend on time; hence,

$$\begin{aligned} _0^A D_t^\alpha S(t) = \,_0^A D_t^\alpha I(t) = \,_0^A D_t^\alpha R(t) = \,_0^A D_t^\alpha A(t) = 0. \end{aligned}$$
(7)
$$\begin{aligned} \left\{ \begin{array}{l} 0 = - \alpha _{AS} S^* A^* - \beta S^* I^* + \sigma R^* \\ 0 = \beta S^* I^* - \alpha _{AI} A^* I^* - \delta I^* \\ 0 = \delta I^* - \sigma R^* \\ 0 = \alpha _{AS} S^* A + \alpha _{AS} A^* I^* \\ \end{array}{.} \right. \end{aligned}$$
(8)

Solving the above system, we obtain

$$\begin{aligned} S^* = \frac{\delta }{\beta };\quad I^* = \frac{{T - \delta /\beta }}{{1 + \delta /\sigma }};\quad R^* = \frac{{T - \delta /\beta }}{{1 + \sigma /\delta }};\quad A = 0. \end{aligned}$$
(9)

Hence, the disease-free equilibria are given as:

$$\begin{aligned} E_1 = \left( {S,I,R,A} \right) = \left( {0,0,0,T} \right) ; \end{aligned}$$
(10)
$$\begin{aligned} E_2 = \left( {S,I,R,A} \right) = \left( {T,0,0,0} \right) . \end{aligned}$$
(11)

The stability analysis of this model has been extensively dealt with in [10]. The next section will be concentrated on an approximate solution based on the two analytical techniques for each situation.

Analysis of approximate solutions

One of the most challenging tasks in non-linear fractional differential equation systems is probably how to obtain exact analytical solutions. This accounts for the reasons why in recent times, a lot of attention has been devoted in the quest for obtaining techniques that can ensure asymptotic solutions in such situations. We shall make reference to some of the recent techniques on this subject which are efficient and effective and have been widely used; for instance, the decomposition method [12], Sumudu homotopy perturbation method [20], the Adomian Decomposition method [11, 21], homotopy perturbation method [19, 22, 23], the homotopy Laplace perturbation method [24], and the homotopy. In this study however, we shall make use of two of these stated techniques, specifically the Laplace homotopy perturbation method and the homotopy decomposition method. The homotopy decomposition method will be employed to provide solution to the model with the beta-derivative, followed by the Laplace homotopy perturbation method which will be used to solve the system with Caputo derivative.

Solution with the Laplace homotopy perturbation method

This form was initially proposed in [18], and has been also employed in various scientific researches. We shall explore the methodology for obtaining solution to system (3) with the Caputo fractional derivative in this section:

$$\begin{aligned} \left\{ \begin{array}{l} _0^C D_t^\alpha S(t) = - \alpha _{AS} {SA} - \beta SI + \sigma R, \\ _0^C D_t^\alpha I(t) = \beta {SI} - \alpha _{AI} AI - \delta I, \\ _0^C D_t^\alpha R(t) = \delta I - \sigma R, \\ _0^C D_t^\alpha A(t) = \alpha _{AS} SA + \alpha _{AI} AI. \\ \end{array} \right. \end{aligned}$$
(12)

Applying the Laplace transform operator on both sides of the above system, we obtain the following:

$$\begin{aligned} \left\{ \begin{array}{l} S(\tau ) = \frac{1}{{\tau ^\alpha }}S(0) + \frac{1}{{\tau ^\alpha }}\ell \left( { - \alpha _{AS} SA - \beta SI + \sigma R} \right) , \\ I(\tau ) = \frac{1}{{\tau ^\alpha }}I(0) + \frac{1}{{\tau ^\alpha }}\ell \left( {\beta SI - \alpha _{AI} AI - \delta I} \right) , \\ R(\tau ) = \frac{1}{{\tau ^\alpha }}R(0) + \frac{1}{{\tau ^\alpha }}\ell \left( {\delta I - \sigma R} \right) , \\ A(\tau ) = \frac{1}{{\tau ^\alpha }}A(0) + \frac{1}{{\tau ^\alpha }}\ell \left( {\alpha _{AS} SA + \alpha _{AI} AI} \right) . \\ \end{array} \right. \end{aligned}$$
(13)

The Laplace variable is denoted by \(\tau{\rm s}\). Further, the inverse Laplace transform is applied on both sides of the system to yield

$$\begin{aligned} \left\{ \begin{array}{l} S(t) = S(0) + \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( { - \alpha _{AS} SA - \beta SI + \sigma R} \right) } \right\} ,\\ I(t) = I(0) + \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\beta SI - \alpha _{AI} AI - \delta I} \right) } \right\} , \\ R(t) = R(0) + \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\delta I - \sigma R} \right) } \right\} ,\\ A(t) = A(0) + \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\alpha _{AS} SA + \alpha _{AI} AI} \right) } \right\} . \\ \end{array} \right. \end{aligned}$$
(14)

Following the system above, we shall make an assumption that a solution can be obtained in the form of series as follows:

$$\begin{aligned} S(t) = \sum \limits _{n = 0}^\infty {S_n } (t),\quad \mathrm{{ }}I(t) = \sum \limits _{n = 0}^\infty {I_n } (t),\quad \mathrm{{ }}R(t) = \sum \limits _{n = 0}^\infty {R_n } (t),\quad \mathrm{{ }}A(t) = \sum \limits _{n = 0}^\infty {A_n } (t) .\end{aligned}$$
(15)

Conversely, substituting the above solution in system (11) and adding the embedding parameter \(p \in \left( {0,1} \right] ,\) bringing all the terms of the same power of the embedding parameter p together, we have

$$\begin{aligned} p^0:\left\{ \begin{array}{l} S_0 (t) = S(0) \\ I_0 (t) = I(0) \\ R_0 (t) = R(0) \\ A_0 (t) = A(0) \\ \end{array}{,} \right. \end{aligned}$$
(16)
$$\begin{aligned} p^1:\left\{ \begin{array}{l} S_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( { - \alpha _{AS} S_0 A_0 - \beta S_0 I_0 + \sigma R_0 } \right) } \right\} \\ I_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\beta S_0 I_0 - \alpha _{AI} A_0 I_0 - \delta I_0 } \right) } \right\} \\ R_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\delta I_0 - \sigma R_0 } \right) } \right\} \\ A_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\alpha _{AS} S_0 A_0 + \alpha _{AI} A_0 I_0 } \right) } \right\} \\ \end{array} \right. \end{aligned}$$
(17)

In broad-spectrum, we shall obtain the following system of iteration formulas (15):

$$\begin{aligned} p^n:\left\{ \begin{array}{l} S_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{s^\alpha }}\ell \left( { - \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j - \beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j + \sigma R_{\left( {n - 1} \right) } } \right) } \right\} \\ I_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{s^\alpha }}\ell \left( {\beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j - \alpha _{Al} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j - \delta I_{\left( {n - 1} \right) } } \right) } \right\} \\ R_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{s^\alpha }}\ell \left( {\delta I_{\left( {n - 1} \right) } - \sigma R_{\left( {n - 1} \right) } } \right) } \right\} \\ A_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{s^\alpha }}\ell \left( {\alpha _{AS} \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j + \alpha _{Al} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j } \right) } \right\} \\ \end{array}. \right.\end{aligned}$$
(18)

The above general rule can be simplified in the following algorithm steps:

$$\begin{aligned} p^0:\left\{ \begin{array}{l} S_0 (t) = S(0) \\ I_0 (t) = I(0) \\ R_0 (t) = R(0) \\ A_0 (t) = A(0) \\ \end{array} \right. \end{aligned}$$
(19)
  • Algorithm 1. This technique can be employed to obtain a special solution to system (2) via a Caputo fractional derivative

  • Input \(p^0:\left\{ \begin{array}{l}S_0 (t) = S(0) \\ I_0 (t) = I(0) \\ R_0 (t) = R(0) \\ A_0 (t) = A(0) \quad \\ \end{array} \right.\) as initial input,

  • \(j\)-number terms in the rough computation,

  • Output: \(\left\{ {\begin{array}{*{20}l} {S_{{{\text{appr}}}} (t) = S(0)} \hfill \\ {I_{{{\text{appr}}}} (t) = I(0)} \hfill \\ {R_{{{\text{appr}}}} (t) = R(0)} \hfill \\ {A_{{{\text{appr}}}} (t) = A(0),} \hfill \\ \end{array} } \right.\quad {\text{the estimated solution}}\).

    $$\begin{aligned} {\text{Step}}\mathrm{{ }}1:{\text{Put}}\left\{ \begin{array}{l} S_0 (t) = S(0) \\ I_0 (t) = I(0) \\ R_0 (t) = R(0) \\ A_0 (t) = A(0) \\ \end{array} \right. \mathrm{{ }}\quad {\text{and}}\quad\mathrm{{ }}\left\{ \begin{array}{l} S_{{\rm appr}} (t) = S(0) \\ I_{{\rm appr}} (t) = I(0) \\ R_{{\rm appr}} (t) = R(0) \\ A_{{\rm appr}} (t) = A(0) \\ \end{array} \right. = \mathrm{{ }}\left\{ \begin{array}{l} S_0 (t) = S(t) \\ I_0 (t) = I(t) \\ R_0 (t) = R(t) \\ A_0 (t) = A(t), \\ \end{array} \right. \end{aligned}$$
    (20)

    Step 2: For \(j = 1\) to \(n-1\) do step 3, step 4 and step 5:

    $$\begin{aligned} \left\{ \begin{array}{l} S_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( { - \alpha _{AS} S_0 A_0 - \beta S_0 I_0 + \sigma R_0 } \right) } \right\} \\ I_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\beta S_0 I_0 - \alpha _{AI} A_0 I_0 - \delta I_0 } \right) } \right\} \\ R_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\delta I_0 - \sigma R_0 } \right) } \right\} \\ A_1 (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\alpha _{AS} S_0 A_0 + \alpha _{AI} A_0 I_0 } \right) } \right\} \\ \end{array} \right. \end{aligned}$$
    (21)

    Step 3: Compute

    $$\begin{aligned} \left\{ \begin{array}{l} S_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( { - \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j - \beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j + \sigma R_{\left( {n - 1} \right) } } \right) } \right\} \\ I_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j - \alpha _{AI} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j - \delta I_{\left( {n - 1} \right) } } \right) } \right\} \\ R_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\delta I_{\left( {n - 1} \right) } - \sigma R_{\left( {n - 1} \right) } } \right) } \right\} \\ A_n (t) = \ell ^{ - 1} \left\{ {\frac{1}{{\tau ^\alpha }}\ell \left( {\alpha _{AS} \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j + \alpha _{AI} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j } \right) } \right\} \\ \end{array} \right. \end{aligned}$$
    (22)

    Step 4: Compute

    $$\begin{aligned} \left\{ \begin{array}{l} S_{\left( {m + 1} \right) } (t) = B_m (t) + S_{({\rm appr})} (t) \\ I_{\left( {m + 1} \right) } (t) = B_m (t) + I_{({\rm appr})} (t) \\ R_{\left( {m + 1} \right) } (t) = K_m (t) + R_{({\rm appr})} (t) \\ A_{\left( {m + 1} \right) } (t) = K_m (t) + A_{({\rm appr})} (t) \\ \end{array} \right. \end{aligned}$$
    (23)

    Step 5: Compute

    $$\begin{aligned} \left\{ \begin{array}{l} S_{\left( {{\rm appr}} \right) } (t) = S_{{\rm appr}} (t) + S_{(m + 1)} (t) \\ I_{\left( {{\rm appr}} \right) } (t) = I_{{\rm appr}} (t) + I_{(m + 1)} (t) \\ R_{\left( {{\rm appr}} \right) } (t) = R_{{\rm appr}} (t) + R_{(m + 1)} (t) \\ A_{\left( {{\rm appr}} \right) } (t) = A_{{\rm appr}} (t) + A_{(m + 1)} (t) \\ \end{array} \right. \end{aligned}$$
    (24)

    Stop.

The above algorithm shall be applied to obtain the unique solution of system (3) via the Caputo derivative. We shall explore the situation where the beta-derivative is used and this will be discussed in “Basic concept about the beta-derivative and Caputo derivative” section.

Solution with the homotopy decomposition method

This method is explored here to obtain a special solution to system (3) with the beta-derivative. The reason is that using the Laplace transform on this derivative does not guarantee desirable results. The inverse operator of this derivative, however, can be applied which is termed as the beta-integral, and this helps to convert the ordinary differential equation into an integral equation in a way that the concept of homotopy can be applied. Consequently, taking the inverse operator on both sides of system (2), we have the following system of integral equations:

$$\begin{aligned} \left\{ \begin{array}{l} S(\tau ) = S(0) +\, _0^A I_t^\alpha \left( { - \alpha _{AS} SA - \beta SI + \sigma R} \right) \\ I(\tau ) = I(0) +\, _0^A I_t^\alpha \left( {\beta SI - \alpha _{AI} AI - \delta I} \right) \\ R(\tau ) = R(0) +\, _0^A I_t^\alpha \left( {\delta I - \sigma R} \right) \\ A(\tau ) = A(0) + \,_0^A I_t^\alpha \left( {\alpha _{AS} SA + \alpha _{AI} AI} \right) \\ \end{array} \right. \end{aligned}$$
(25)

where

$$\begin{aligned} _0^A I_t^\beta \left( {f(x)} \right) = \int \limits _0^t {\left( {\tau +\frac{1}{{\varGamma (\beta )}}} \right) } ^{1 - \beta } f(\tau )\rm {{\text{d}}}\tau . \end{aligned}$$
(26)

Additionally, we shall make an assumption that a solution of the above can be derived in a form of series as follows:

$$\begin{aligned} S(t) = \sum \limits _{n = 0}^\infty {S_n } (t),\quad\mathrm{{ }}I(t) = \sum \limits _{n = 0}^\infty {I_n } (t),\quad\mathrm{{ }}R(t) = \sum \limits _{n = 0}^\infty {R_n } (t),\quad\mathrm{{ }}A(t) = \sum \limits _{n = 0}^\infty {A_n } (t). \end{aligned}$$
(27)

Conversely, substituting the above solution in system (15) and adding the embedding parameter \(p \in \left( {0,1} \right] ,\) bringing all the terms of the same power of the embedding parameter p together, we have

$$\begin{aligned} p^0:\left\{ \begin{array}{l}S_0 (t) = S(0) \\ I_0 (t) = I(0) \\ R_0 (t) = R(0) \\ A_0 (t) = A(0) \\ \end{array} \right. \end{aligned}$$
(28)
$$\begin{aligned} p^1:\left\{ \begin{array}{l} S_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ { - \alpha _{AS} S_0 A_0 - \beta S_0 I_0 + \sigma R_0 } \right\}\rm {{\text{d}}}\tau \\ I_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\beta S_0 I_0 - \alpha _{AI} A_0 I_0 - \delta I_0 } \right\} \rm {{\text{d}}}\tau \\ R_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\delta I_0 - \sigma R_0 } \right\} \rm {{\text{d}}}\tau \\ A_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\alpha _{AS} S_0 A_0 + \alpha _{AI} A_0 I_0 } \right\} \rm {{\text{d}}}\tau.\\ \end{array} \right..\end{aligned}$$
(29)

In broad sense, we shall have the ensuing system of iteration formulas:

$$\begin{aligned} p^n:\left\{ \begin{array}{l} S_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ { - \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j - \beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j + \sigma R_{\left( {n - 1} \right) } } \right\} \rm {{\text{d}}}\tau \\ I_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j - \alpha _{AI} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j - \delta I_{\left( {n - 1} \right) } } \right\} \rm {{\text{d}}}\tau \\ R_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\delta I_{\left( {n - 1} \right) } - \sigma R_{\left( {n - 1} \right) } } \right\} \rm {{\text{d}}}\tau \\ A_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\alpha _{AS} \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j + \alpha _{AI} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j } \right\}\rm {{\text{d}}}\tau. \\ \end{array} \right.\end{aligned}$$
(30)

The above embellishment can be taken up in the succeeding procedure.

Input \(\left\{ {\begin{array}{*{20}l} {S_{0} (t) = S(0)} \\ {I_{0} (t) = I(0)} \\ {R_{0} (t) = R(0)} \\ {A_{0} (t) = A(0)} \\ \end{array} } \right.\quad {\text{as initial input}}\),

\(j\)-number terms in the rough computation,

Output:\(\left\{ \begin{array}{l}S_{{\rm appr}} (t) \\ I_{{\rm appr}} (t) \\ R_{{\rm appr}} (t) \\ A_{{\rm appr}} (t) \quad\\ \end{array} \right.\) the estimated solution.

Step 1:

$$\begin{aligned} {\text{put}}\left\{ \begin{array}{l}S_0 (t) = S(t) \\ I_0 (t) = I(0) \\ R_0 (t) = R(0) \\ A_0 (t) = A(0) \\ \end{array} \right. \mathrm{{ }}\quad{\text{and}}\quad\mathrm{{ }}\left\{ \begin{array}{l}S_{{\rm appr}} (t) \\ I_{{\rm appr}} (t) \\ R_{{\rm appr}} (t) \\ A_{{\rm appr}} (t) \\ \end{array} \right. = \mathrm{{ }}\left\{ \begin{array}{l}S_0 (t) \\ I_0 (t) \\ R_0 (t) \\ A_0 (t) \\ \end{array} \right. \end{aligned}$$
(31)

Step 2: For \(J-1\) to \(n-1\) do step 3, step 4 and step 5:

$$\begin{aligned} \left\{ \begin{array}{l} S_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ { - \alpha _{AS} S_0 A_0 - \beta S_0 I_0 + \sigma R_0 } \right\} \rm {{\text{d}}}\tau \\ I_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\beta S_0 I_0 - \alpha _{AI} A_0 I_0 - \delta I_0 } \right\} \rm {{\text{d}}}\tau \\ R_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\delta I_0 - \sigma R_0 } \right\} \rm {{\text{d}}}\tau \\ A_1 (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\alpha _{AS} S_0 A_0 + \alpha _{AI} A_0 I_0 } \right\} \rm {{\text{d}}}\tau \\ \end{array} \right. \end{aligned}$$
(32)

Step 3: Compute:

$$\begin{aligned} \left\{ \begin{array}{l} B_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ { - \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j - \beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j + \sigma R_{\left( {n - 1} \right) } } \right\} \rm {{\text{d}}}\tau \\ B_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\beta \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } S_j - \alpha _{AI} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j - \delta I_{\left( {n - 1} \right) } } \right\} \rm {{\text{d}}}\tau \\ K_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\delta I_{\left( {n - 1} \right) } - \sigma R_{\left( {n - 1} \right) } } \right\} \rm {{\text{d}}}\tau \\ K_n (t) = \int \limits _0^t {\left( {\tau + \frac{1}{{\varGamma (\beta )}}} \right) ^{1 - \beta } } \left\{ {\alpha _{AS} \alpha _{AS} \sum \limits _{j = 0}^{n - 1} {A_{(n - j - 1)} } S_j A_j + \alpha _{AI} \sum \limits _{j = 0}^{n - 1} {I_{\left( {n - j - 1} \right) } } A_j } \right\} \rm {{\text{d}}}\tau \\ \end{array} \right. \end{aligned}$$
(33)

Step 4: Compute:

$$\begin{aligned} \left\{ \begin{array}{l} S_{(m + 1)} (t) = B_m (t) + S_{({\rm appr})} (t) \\ I_{(m + 1)} (t) = B_m (t) + I_{({\rm appr})} (t) \\ R_{(m + 1)} (t) = K_m (t) + R_{({\rm appr})} (t) \\ A_{(m + 1)} (t) = K_m (t) + A_{({\rm appr})} (t) \\ \end{array} \right. \end{aligned}$$
(34)

Step 5: Compute:

$$\begin{aligned} \left\{ \begin{array}{l} S_{({\rm appr})} (t) = S_{({\rm appr})} (t) + S_{(m + 1)} (t) \\ I_{({\rm appr})} (t) = I_{({\rm appr})} (t) + I_{(m + 1)} (t) \\ R_{({\rm appr})} (t) = R_{({\rm appr})} (t) + R_{(m + 1)} (t) \\ A_{({\rm appr})} (t) = A_{({\rm appr})} (t) + A_{(m + 1)} (t) \\ \end{array} \right. \end{aligned}$$
(35)

Numerical results

We shall employ both Algorithms 1 and 2 to obtain an approximate solution of system (3) via the Caputo fractional derivative and the beta-derivative methods.

With the Caputo fractional derivative

In this part, Algorithm 1 is applied to obtain an approximation solution of system (3):

$$\begin{aligned} \left\{ \begin{array}{l}S_0 (t) = e \\ I_0 (t) = f \\ R_0 (t) = g \\ A_0 (t) = h \\ \end{array} \right. \end{aligned}$$
(36)
$$\begin{aligned} \begin{array}{l} S_1 (t) = \frac{{t^\mu \left( { - \alpha _{AS} eh - \beta ef + \sigma g} \right) }}{{\varGamma \left[ {1 + \mu } \right] }} \\ I_1 (t) = \frac{{t^\mu \left( {\beta ef - \alpha _{AI} hf - \delta f} \right) }}{{\varGamma \left[ {1 + \mu } \right] }} \\ R_1 (t) = \frac{{t^\mu \left( {\delta f - \sigma g} \right) }}{{\varGamma \left[ {1 + \mu } \right] }} \\ A_1 (t) = \frac{{t^\mu \left( {\alpha _{AS} eh + \alpha _{AI} hf} \right) }}{{\varGamma \left[ {1 + \mu } \right] }} \\ \end{array} \end{aligned}$$
(37)

With the beta-derivative

Algorithm 2 is used to derive the following series solutions:

$$\begin{aligned} S_1 (t) = \frac{{\left( {\left( {\frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } - \left( {t + \frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } \left( {1 + t\varGamma \left[ \mu \right] } \right) ^2 } \right) \left( { - \alpha _{AS} eh - \beta ef + \sigma g} \right) }}{{\left( { - 2 + \mu } \right) \varGamma \left[ \mu \right] ^2 }} \end{aligned}$$
(38)
$$\begin{aligned} I_1 (t) = \frac{{\left( {\left( {\frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } - \left( {t + \frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } \left( {1 + t\varGamma \left[ \mu \right] } \right) ^2 } \right) \left( {\beta ef - \alpha _{AI} hf - \delta f} \right) }}{{\left( { - 2 + \mu } \right) \varGamma \left[ \mu \right] ^2 }} \end{aligned}$$
(39)
$$\begin{aligned} R_1 (t) = \frac{{\left( {\left( {\frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } - \left( {t + \frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } \left( {1 + t\varGamma \left[ \mu \right] } \right) ^2 } \right) \left( {\delta f - \sigma g} \right) }}{{\left( { - 2 + \mu } \right) \varGamma \left[ \mu \right] ^2 }} \end{aligned}$$
(40)
$$\begin{aligned} A_1 (t) = \frac{{\left( {\left( {\frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } - \left( {t + \frac{1}{{\varGamma \left[ \mu \right] }}} \right) ^{ - \mu } \left( {1 + t\varGamma \left[ \mu \right] } \right) ^2 } \right) \left( {\alpha _{AS} eh + \alpha _{AI} hf} \right) }}{{\left( { - 2 + \mu } \right) \varGamma \left[ \mu \right] ^2 }} \end{aligned}$$
(41)

Numerical simulations

In this section, we use parameters in [10], to obtain numerical simulation on illustration of the approximate solutions based on function of time as well as alpha. The parameter values used are \(\alpha _{AS} = 0.6,\) \(\alpha _{IA} = 0.4\), \(\beta =0.2\), \(\sigma = 0.85\), \(\delta = 0.40\) and with the following initial conditions \(S(0) = 100\), \(I(0) = 10\), \(R(0) = 5\) and \(A(0) = 20.\)

Fig. 1
figure 1

Approximate solution for \(\alpha = 0.105\)

Fig. 2
figure 2

Approximate solution for \(\alpha = 0.105\)

Fig. 3
figure 3

Approximate solution for \(\alpha = 0.105\)

Figures 1, 2, 3, 4, 5, 6, 7 and 8 depict the graphical representations of system (3). It is clearly seen from the graph that susceptible class which also represents the total population get quickly infected due to how fast the virus spread with the system. It is obvious in the above figures that the total number of infected computers decreased as the total number of antidotal increased which is a strategy to reduce the number of susceptible computers. The numerical predictions (Figs. 1, 2, 3, 4, 5, 6, 7, 8) are also attributable to fractional order of beta. Realistically, when the beta is above 0.5, the non-realistic prediction is attained. As the beta value increases above 0.5, it appears that anodotal computers exceed the entire initial population. Thus, there exists unrealistic prediction. The best option to secure more computers is put anti-virus on both infected and susceptible computers to avoid disaster and huge cost. This is achieved when the beta value is <0.5 as observed in (Figs. 4, 5, 6, 7, 8). It is not surprising, given the potential danger of anti virus in a computer system because the entire initial population ends up in that compartment. It is remarkable to note that when beta is 1 we obtain the ordinary derivative which implies the model ordinary derivative and hardly give good predictions. The newly introduced beta-calculus, however, has the potential of vividly describing a given physical problem. The obtained Figs. 1, 2, 3, 4, 5, 6, 7 and 8 is far better and accurate as compared to those obtained in [17]. This work has given better predictions as shown in Figs. 1, 2, 3, 4, 5, 6, 7 and 8 which is not the case of integer order in [17].

Fig. 4
figure 4

Approximate solution for \(\beta = 1\)

Fig. 5
figure 5

Approximate solution for \(\beta = 0.65\)

Fig. 6
figure 6

Approximate solution for \(\beta = 0.3\)

Fig. 7
figure 7

Approximate solution for \(\beta = 0.25\)

Fig. 8
figure 8

Approximate solution for \(\beta = 0.2\)

Conclusions

The concept of beta-derivative and Caputo fractional derivative has assisted in investigating the spread of computer virus in a system. This computer virus has been found all over the world where computers are available and causing major financial losses to many establishments. It is worthy to note that the definition of fractional derivative is associated with the convolution of the derivative of a given function with its function power. Convolution is applied to many branches of engineering including image processing as a filter. Fractional derivative, however, in epidemiology serves a memory capable of tracing the spread from beginning to the infected individual. For beta-derivative which ranges between fractional order and local derivative, the spread of computer virus at local level is identified with a given fractional order. In this study, two distinct concepts of derivatives are employed to investigate the spread of computer virus. The proposed model based on the methodology used was solved iteratively. The numerical simulation results depict that the prediction is based on the fractional order of beta. Simply when beta is close to 1, we obtain non-realistic prediction which is not the case in [10] and when beta is ≤0.5, a good prediction is attained. Since it is the desire of any institution to have their computers with virus free, the initial computers at the end of the simulation moved into Anodotal section when beta is <0.5 as observed in Figs. 4, 5, 6, 7 and 8. It worthy to notice that when beta is 1, we have ordinary differential derivative cases for both derivatives which do not provide a good prediction. Thus, with the newly introduced, beta-calculus has the potential of providing a vivid account of physical problem more precisely.