Dynamic Modelling of Interactions between Microglia and Endogenous Neural Stem Cells in the Brain during a Stroke

In this paper, we study the interactions between microglia and neural stem cells and the impact of these interactions on the brain cells during a stroke. Microglia cells, neural stem cells, the damage on brain cells from the stroke and the impacts these interactions have on living brain cells are considered in the design of mathematical models. The models consist of ordinary differential equations describing the effects of microglia on brain cells and the interactions between microglia and neural stem cells in the case of a stroke. Variables considered include: resident microglia, classically activated microglia, alternatively activated microglia, neural stem cells, tissue damage on cells in the brain, and the impacts these interactions have on living brain cells. The first model describes what happens in the brain at the stroke onset during the first three days without the generation of any neural stem cells. The second model studies the dynamic effect of microglia and neural stem cells on the brain cells following the generation of neural stem cells and potential recovery after this stage. We look at the stability and the instability of the models which are both studied analytically. The results show that the immune cells can help the brain by cleaning dead cells and stimulating the generation of neural stem cells; however, excessive activation may cause damage and affect the injured region. Microglia have beneficial and harmful functions after ischemic stroke. The microglia stimulate neural stem cells to generate new cells that substitute dead cells during the recovery stage but sometimes the endogenous neural stem cells are highly sensitive to inflammatory in the brain.


Introduction
Strokes are diseases that affect the brain, which may cause death and disabilities in mammals [1][2][3]. When ischemic stroke occurs, the cells surrounding the ischemic area start to die once the outflow of blood declines below 10% of the normal blood influx [1,2]. Cells can die through necrosis or apoptosis [1,4]. Necrosis occurs very quickly after stroke onset; the necrotic cells lead to pollution of the local environment in the brain and damage the surrounding cells through laceration and the release of intracellular contents into the brain [1,4]. On the other hand, apoptosis occurs several hours or days after the stroke onset, where apoptosis occurs in the penumbra and is typically not detrimental to the neighboring cells [1,4]. Due to this, resident microglia are activated by the dead cells causing damage to the surrounding area, which also contributes to an increase of dead brain cells [1, 5,6].
Microglia are the assigned immune cells aimed at protecting brain cells from any damage [1, 2,7]. Microglia reside within the normal brain as a ubiquitously distributed quiescent cell population developed a mathematical model of radiation-induced changes to neurogenesis, while a different study by Huang and Zhang [39] discussed the knowledge of strategies and mechanisms for neural stem cell-based therapies on brain hypoxic-ischemic injury. These studies were all focused on brain diseases and the roles of the immune system in several diseases in the blood or brain. Furthermore, some of the studies focused on the behavior of neural stem cell generation in the subventricular zone. As a starting point, we considered the model which has been recently proposed by Leah et al. [40]. We modified our models based on the model presented by Leah et al. [40], which was derived by studying the behaviors of several types of cells, microglia, brain cells, and the impact of microglial pro-inflammatory factors in living brain cells. In their model, they studied methods to represent interactions between proinflammatory and anti-inflammatory cytokines, types of microglia, and central nervous system (CNS) tissue damage, using clinical data [40].
In our model, we incorporated variables for several cytokines. Furthermore, we introduced the effect of the proinflammation by microglia on brain cells and focused on the brain during the time of stroke. However, we did not consider many types of cytokines. We studied the cytokines as parameters and their influence on the brain. Furthermore, we developed a second model to study the dynamics and stability of the interaction between the damage from microglia and the endogenous neural stem cells in the brain in the recovery stage, in order to study the ability of neural stem cells to heal the brain after stroke. The purposes of this work are to describe the biological interaction between the inflammatory cytokines from microglia and living brain cells in stroke; to study the damage on brain cells during the early stage of stroke over a 72-h duration; to study the interactions between microglia and neural stem cells and the influence of proinflammatory and anti-inflammatory cytokines on brain cells; to analyze the dynamic effect of microglia by stimulating the generation and the proliferation of neural stem cells during the recovery phase after the stroke; and to draw conclusions about the dynamics of neural stem cells to improve the brain after a stroke within a mathematical framework. Our final aim is to understand the positive and negative aspects of this biological process, which could be helpful for the development of therapeutic methods using endogenous neural stem cells in ischemic stroke, by studying the stability of the models.
In Section 2, we present a model-called stroke-microglia-damage (SMD)-of the effect of microglia on the brain during stroke onset, and another model-called stroke-microglia-neural stem cells-recovery (SMNR)-of the interaction between the microglia and neural stem cells and their impact on the brain during a stroke, including analysis of the equilibrium points of the models and their stability states. Numerical experiments of the modified models are detailed in Section 3. Finally, Section 4 presents the conclusions of the study.

Mathematical Models
We modified mathematical models of biological processes to investigate the impact of microglia and neural stem cells on the brain by increasing damage or assisting it in the recovery stage in two steps, illustrated by systems of ordinary differential equations. We developed the SMD model based on a model presented by Leah et al. [40], who proposed a mathematical model for neuroinflammation in traumatic brain injury using mathematical modeling with clinical data. The system of ordinary differential equations they derived described the dynamics of biological processes for multiple interactions post-injury. The first model, called the SMD model, that we shall develop describes the roles of microglia in the first 72 h after stroke onset without any generation of neural stem cells, while the second model, called the SMNR model, describes the state from the third day when neural stem cells start to generate. The resting microglia are the immune cells, M 0 , which reside in the brain, and will be activated when a stroke occurs to a classic proinflammatory M 1 or an alternative anti-inflammatory M 2 state, where the resting microglia polarizes into two activation states, M 1 or M 2 , in reaction to the dead cells from ischemia [18,19]. The cytokines signal for the activation of resting microglia into two phenotypes, proinflammation M 1 , and anti-inflammation M 2 , microglia denoted by R 1 and R 2 , respectively. When microglia cells are activated in stroke, they become either M 1 or M 2 phenotypes. At the start of the stroke, the microglia are biased towards the M 1 phenotype rather than M 2 phenotype, since R 1 > R 2 . We assume that in stroke onset with this bias towards M 1 , the transition rate from M 1 into M 2 phenotype is very small, approximately equal to zero in the first 60 h after stroke onset [1], and the rate of anti-inflammation cytokines, R 2 , is at a smaller rate than the rate of proinflammation cytokines, R 1 , in the SMD model. We take R 1 < R 2 when the rate of proinflammation cytokines, R 1 , is at a lower rate than the rate of anti-inflammation cytokines, R 2 in the recovery stage in the SMNR model. Neural stem cells in the subventricular zone from the adult mammalian brain give rise to neuroblasts, which migrate to the injury region and generate new cells [22,28,41]. Microglia have a positive and negative impact on generating neural stem cells [42]. M 1 can impair neural stem cells [18], while M 2 shows the ability to stimulate the generation and the proliferation of neural stem cells N sc Ref. [19]. We focus our model on the mature neural stem cells only in the SMNR because no generation of neural stem cells occurs in this stage of stroke onset.

Modelling of the Effect of Microglia on the Brain in a Stroke Onset (SMD)
In this study, we modified the dynamic system of the SMD model based on the model presented in [40], which illustrates the behavior of the impact of activated microglia on brain cells in the 72 h following a stroke. We consider a non-linear system of ordinary differential equations, which describes the effects of microglia M 0 (t), M 1 (t), M 2 (t), and the damage from microglia, D(t), on brain cells, C(t), in the 72 h after stroke onset as follows: This equation demonstrates that the microglia are activated after an ischemic stroke and are polarized either towards a classic state, M 1 , by proinflammatory cytokines, leading to an adaptive immune response and causing additional neuronal damage; or towards an alternative state, M 2 , which is the anti-inflammatory phenotype induced by anti-inflammatory cytokines, which is thought to inhibit inflammation and enhance tissue repair [18,19,40]. Although we do not specify the types of cytokines in our models, we focus on the influences of the cytokines which gather in the region of damage; which are determined to either increase M 1 polarization or to change the microglia into the M 2 state. For mathematical modeling purposes, we assume that resting microglia M 0 are generated at a constant rate (α) and die at a constant rate (µ). The function of the activated microglia is to clean up dead cells produced by ischemia and cytokines caused by dead cells [43]. Microglia are activated by the cytokines caused by dead cells: the M 1 phenotype is induced by proinflammation cytokine signals R 1 and the M 2 phenotype is induced by anti-inflammation cytokine signals R 2 [5,17,43]. Furthermore, a shift from M 1 to M 2 may be induced by R 3 signaling [5], where R 3 is the result of a transition from proinflammatory to anti-inflammatory cytokines. This transition only appears in the SMNR model, occurring 60 h after the stroke onset [1]. The following differential equations illustrate the behavior of the activated microglia M 1 and M 2 : where R 1 represents the rate of M 1 activation, R 2 is the rate of M 2 activation, δ is the rate of damage by M 1 activation, γ 1 is the death rate of M 1 , and γ 2 is the death rate of M 2 . The M 1 phenotype is essential for cell recovery, due to their protection mechanisms against the damage which recruits immune cells to the region of injury. The M 2 phenotype microglia also play a role in reducing damage, by clearing the brain of dead cells and assisting in neurogenesis, as well as inhibiting inflammation. On the other hand, the microglia can also play a negative role, through secretion of damaging proinflammatory cytokines which increase inflammation in the area of healthy cells [5,17]. We consider the damage D caused by the activated microglia to represent secondary damage in the case of stroke [2,14]. The following differential equation describes this damage: where β 1 denotes the rate of effect of damage on brain cells, r 1 denotes the rate of damage clearance by M 1 , and r 2 denotes the rate of damage clearance by M 2 . In our model, we use the impact of the damage by microglia on the living brain cells, C. The following ordinary differential equation describes this effect on brain cells: where β 0 is the rate of cells dying from ischemic stroke. Thus, the SMD model is expressed as follows: with initial values M 0 (0) = 1 [1], M 1 (0) = 0.1514 [1], M 2 (0) = 0.02 [35], D(0) = 0.4 [1], and C(0) = 0.28 [35]. Furthermore, we assumed that, in steady state, M 1 > M 2 for 72 h and that neural stem cells are not generated.

Equilibrium Points for the SMD Model
In this section, we calculate the equilibrium points of the system and determine the parameters for the existence of different types of biological states. We now determine the steady-state solutions as follows: Equilibrium points are stable if they remain constant over time or continually balance change in one direction by that in another. We classify three steady states as follows: Definition 1 (State of the activation of microglia). We define the microglia that reside in a healthy brain as the absence of a high activation for these cells in the brain when any damage occurs in the region. The steady-state of the form M 0 ; M 1 ; M 2 > 0 and D, C = 0 indicates that the function of immune cells is normal and the microglia do not cause any damage in the brain.
Definition 2 (State of the beginning of damage from activated microglia M 1 ). We define the beginning of the damage by the increased rate of proinflammation cytokines where the existence of high activation of microglia will cause damage to the living brain cells. The steady-state of the form M 0 ; M 1 ; M 2 ; D > 0, C = 0 indicates the beginning activation of proinflammation from M 1 microglia.

Definition 3 (State of the damage from activated microglia in brain cells).
We define the impact of the damage caused by microglia on the living brain cells. The steady state of the form M 0 ; M 1 ; M 2 ; D; C > 0 indicates damage of the living brain cells by active microglia.
Populations of microglia cells (M 0 ,M 1 ,M 2 ), the damage on the tissue by proinflammation, D and the impact of this damage on the living brain cells in the CNS, C are positive or equal to zero for all equations. Thus, we obtain the equilibrium points by solving system (1)-(5) to determine the positive equilibrium points if and only if M 0 , M 1 , M 2 , D and C exemplify the positive solutions.
Proposition 1 (Nonnegative Equilibrium for the SMD model). We assume the equilibrium points for SMD system, M 0 ; M 1 ; M 2 ; D; C > 0 satisfy the following conditions: Then and only then can there exist nonnegative real steady states.
Proof. The proof can be clearly found from Definition 1, 2 and 3.
Hence, the equilibrium point is given as follows: The equilibrium point for the activation of microglia, E r where, Thus, in the normal state in mammalian brains, we obtain a normal situation when there is no activation of microglia on the brain where D, C = 0 given that there is no damage on the brain cells, where the equilibrium point E r indicated the activation of microglia steady state.
The equilibrium point for high activation of microglia, E p Corollary 2. The equilibrium point E p exists in 5 + if and only if,M 0 , M 1 , M 2 and D are the nonnegative roots and C = 0. Then, the equilibrium point of proinflammation microglia through 72 h after stroke is given as follows: The model has an equilibrium point for the activation of microglia. During this stage, M 1 has a significant impact. The equilibrium point E p describes the activation by cytokines which obtains higher proinflammation from R 1 than the rate of the second kind of cytokines R 2 if and only if the rate of damage on the living brain cells by M 1 is more than r 1 , which is the clearance damage by the immune cells microglia M 1 .
The equilibrium points for the impact of proinflammation microglia M 1 on brain cells, E d Corollary 3. The equilibrium point E d exists in 5 + if and only if M 0 , M 1 , M 2 , D and C are the nonnegative roots. Then, the equilibrium point E d has an impact on the damage to the living brain cells through 72 h after stroke onset given as follows: where,

Stability of Equilibrium Points
We now study the stability of equilibrium points for the effect of microglia on brain cells for 72 h without neural stem cells by using definitions 1-3. For the eigenvalues associated without neural stem cell equilibrium in stroke onset, the (5 × 5) Jacobian matrix of the system (1)-(5) is given by 1. Stability analysis of equilibrium point, E r : Theorem 1. Suppose that the function f : Γ → 5 + where Γ is a domain in 5 + , and suppose that E r = (M 0 , M 1 , M 2 , 0, 0) ∈ Γ is an equilibrium point at which at least one eigenvalue of the Jacobian matrix has a positive real part. Then, E r is an unstable equilibrium point of f .

Proof.
The Jacobian J 1 at equilibrium point E r is calculated as follows: where, The characteristic equation for the Jacobian J[E r ] is given by We assume that Then, the eigenvalues of Jacobian matrix J[E r ] are given by: The eigenvalues λ 1 , . . . ,λ 4 are negative, but λ 5 is positive. Therefore, E r is an unstable equilibrium point.

2.
Stability Analysis of Equilibrium point, E p : Suppose that the function f : Γ → 5 + where Γ is a domain in 5 + , and suppose that E p = (M 0 , M 1 , M 2 , D, 0) ∈ Γ is an equilibrium point at which at least one eigenvalue of the Jacobian matrix has a positive real part and D > 0, C = 0. Then, E p is an unstable equilibrium point of f .

Proof.
The Jacobian J 1 , at E p calculated as: From the Jacobian J[E p ], the characteristic equation is given by where, By Proposition 1 one of the eigenvalues is positive. So, J(E p ) has one at least positive root, which indicates that the equilibrium point E p is unstable [44].

3.
Stability analysis of equilibrium point, E d : Suppose that the function f : Γ → 5 + where Γ is a domain in 5 + , and suppose that E d = (M 0 , M 1 , M 2 , D, C) ∈ Γ is an equilibrium point where all the eigenvalues of the Jacobian matrix have negative real parts at the equilibrium point E d and D > 0, C > 0. Then, E d is a stable equilibrium point of f .

Proof.
The Jacobian J 1 at E d is calculated as follows: where, The characteristic equation is given by Thus, we can find the first two eigenvalues directly: Here, we can apply the Routh-Hurwitz Criterion if and only if [45]: Since from Proposition 1, Now, we apply the Routh-Hurwitz theorem for N 3 λ 3 + N 2 λ 2 + N 1 λ + N 0 = 0, giving thus, Since all the coefficients in the first column have positive signs; the Equation (10) has no roots with positive real parts and two of the eigenvalues are negative; thus, the equilibrium point E d is stable. Activated microglia are capable of cleaning dead cells; however, they produce free radicals from brain cells, which increases the damage in brain cells during a stroke. This lead to further death of brain cells [17,32].
Remark 1. The effect of microglia on brain cells in a stroke (which includes activated microglia at stroke onset) on the dynamic system of SMD model can be deduced, as follows: • As a result of Theorem 1 and Definition 1, the damage, D, can invade the SMD system if λ 5 > 0. • As a result of Theorem 2 and Definition 2, this means that the damage, D > 0, invades C.

•
As a result of Theorem 3 and Definition 3, this means that the damage, D > 0, causes the death of C. • The SMD model is stable when the brain cells are affected by the proinflammatory cytokines of microglia; however, when the rate of production of proinflammatory cytokines leads to an increase in damage, the possibility of death of the brain cells is introduced.

Modeling the Interaction between Microglia and Neural Stem Cells and Impact on the Brain in Stroke (SMNR)
We formulate the following a non-linear system of ordinary differential equations to describe the interaction between microglial cells and neural stem cells and to investigate the damage to brain cells in the recovery stage after a stroke. This system uses the same equations as the SMD model, but also includes the transition from M 1 to M 2 and the behavior of neural stem cells N SC . The system is as follows:  [35]. The parameters are real and positive, where R 3 denotes the rate of transition from M 1 to M 2 , k 1 is the rate of interaction between neural stem cells and M 1 microglia, k 2 is the rate of interaction between neural stem cells and M 2 microglia, β 2 is the rate of the effect of neural stem cells on brain cells, and σ is the death rate of neural stem cells. The other parameters are the same as in the SMD model. In the SMNR model, M 1 < M 2 occurs during the recovery stage, where neural stem cells also start to generate and help the brain. Therefore, microglial activation is important for directing the replacement of damaged or lost cells in the brain.

Equilibrium Points
In this section, we calculate the equilibrium points of the system (11)- (16) and determine the parameter conditions for the existence of the different types of biological states. We find the steady-state solutions as follows: We classify three states of steady states: Proposition 2 (Nonnegative equilibriums for the SMNR model). We assume the equilibrium points for the system SMNR is nonnegative for the following conditions given by: Then and only then there exist non-negative real steady states.
Proof. The proof is clearly found from the steady states imposing (M 0 ; M 1 ; M 2 ; N SC ; D; C) > 0. Thus the models (11)-(16) obtain three points of equilibrium in the recovery stage by using MATHEMATICA.
The first equilibrium point: the transformation state of microglia from proinflammation to anti-inflammation, E t Corollary 4. The equilibrium point E t has transformation microglia from proinflammation to anti-inflammation point recovery state from stroke given as follows: The equilibrium point E t = (M 0 , M 1 , M 2 , N SC , D, C) exists in 6 + , in the beginning of activation of microglia that inhibits and transfers part of M 1 phenomena to the second M 2 phenomena. Then, C = 0, D = 0, N SC = 0. This point E t is given by where

The second equilibrium point: the interaction between microglia and neural stem cells on brain cells, E I
where,

The third equilibrium point: the effect of generating neural stem cells on brain cells, E R
where,

Stability of Equilibrium Points for SMNR Model
We study the stability of the equilibrium points for the second model SMNR by using Definitions 4-6. The first step requires linearization of the system equations that describes the interaction between microglia M 1 , M 2 , neural stem cells N SC , the damage D in this stage and the impact it has on the brain cells C. The (6 × 6) Jacobian matrix of the system (11)-(16)is given by: where, 1. Stability analysis of equilibrium point, E t :

Theorem 4.
Suppose that the function f : Γ → 6 + where Γ is a domain in 6 + , and suppose that E t = (M 0 , M 1 , M 2 , 0, 0, 0) ∈ Γ is an equilibrium point at which at least one eigenvalue of the Jacobian matrix has a positive real part. Then, E t is an unstable equilibrium point of f .

Proof.
The Jacobian J 2 corresponding to the equilibrium point E t is given by where, From the Jacobian matrix J[E t ], the characteristic equation is given by Then, the eigenvalues corresponding to E t are given by One of the eigenvalues, λ 5 > 0, then E t is an unstable point.

2.
Stability analysis of equilibrium point, E I : Suppose that the function f : Γ → 6 + where Γ is a domain in 6 + , and suppose thatE I = (M 0 , M 1 , M 2 , N SC , 0, 0) ∈ Γ is an equilibrium point at which at least one eigenvalue of the Jacobian matrix has a positive real part and N SC > 0. Then, E I is an unstable equilibrium point of f .

Proof.
The Jacobian matrix J 2 corresponding to the equilibrium point E I is given by: where, From the Jacobian J[E I ], the characteristic equation is given by where, In Equation (21), the eigenvalue λ = e 66 is distinctly positive, by Proposition 2. Thus, J(E I ) has at least one positive root. Thus, the equilibrium point E I is unstable [44].
3. Stability analysis of equilibrium point, E R : Suppose that the function f : Γ → 6 + where Γ is a domain in 6 + , and suppose that E R = (M 0 , M 1 , M 2 , N SC , 0, C) ∈ Γ is an equilibrium point at which at least one eigenvalue of the Jacobian matrix has a positive real part and N SC > 0, C > 0. Then, E R is an unstable equilibrium point of f .

Proof.
We now study the stability of the equilibrium point E R , calculated as: The Jacobian matrix J 2 estimated at E R is From the Jacobian J[E R ], the characteristic equation is given by In Equation (22), the eigenvalue λ = f 66 is distinctly positive, by Proposition 2. Thus, J(E R ) has at least one positive root and, so, the equilibrium point E R is unstable [44].

Remark 2.
The effects of microglia and neural stem cells on brain cells in the recovery stage after a stroke, according to analysis of the dynamic system of SMNR, can be deduced as follows: • As a result of Theorem 4 and Definition 4, the neural stem cells, Nsc, can invade the SMNR system if As a result of Theorem 5 and Definition 5, this means that the neural stem cells, Nsc > 0, can invade C and D.

•
As a result of Theorem 6 and Definition 6, this means that the neural stem cells, Nsc > 0, can eliminate the damage D. • The SMNR model is unstable, given that the model uses mature neural stem cells, where the neural stem cells can help the brain to inhibit inflammation during a stroke; however, it is not always enough to substitute all dead cells with new neural stem cells [3,27].

Numerical Experiments
The aim of this section is to study the parameters of the systems (1)-(5) and (11)- (16), in order to determine those that affect the behavior of the modified models, by using numerical simulations. One of the main problems in modeling and simulating the interactions between microglia and endogenous neural stem cells is that few parameter values are known. Therefore, we listed the parameters which could be determined from the stroke model of [1]. The other parameters were determined from experimental data of other brain injuries which involve similar biological processes. Furthermore, we obtained some parameter values by simulations using the Mathematica software (11.2, Wolfram, Champaign, IL, USA) with the command NDSolve, in order to study the influence of the interactions during the stroke and the possible therapeutic value of neural stem cells. Tables 1 and 2 show the reference sets of parameter values, along with the corresponding simulation results. The numerical simulations in Tables 1 and 2 appeared in the SMD and the SMNR models. The microglial cells at stroke onset had high proinflammatory activation (i.e., high level of M 1 ), which caused an increase of damage in the region, affecting brain cells as well as neural stem cells during the 72 h period. On the other hand, when the rate of the anti-inflammatory phenotype microglia (M 2 ) became higher than that of the M 1 , the brain was assisted in recovery and the neural stem cells were stimulated to generate new cells to compensate for lost brain cells. These dynamics started approximately on the third day after stroke onset. The parameters of the SMD model, in the simulation, were fixed as µ = 0.003, γ 1 = 0.05, and γ 2 = 0.06. The parameters of the SMNR model, in the simulation, were fixed as R 3 = 0.11, K 1 = 0.75, K 2 = 0.91, β 2 = 0.2, and µ = 0.053. In the SMD model, M 1 > M 2 and we set R 1 = 0.12 [1] and R 2 = 0.017 [35]. In the SMNR model, M 2 > M 1 , the source of resting microglia was α = 0.38, and the rate of the anti-inflammatory cytokines (R 2 ) was greater than that of the proinflammatory cytokines (R 1 ) in the recovery stage. Accordingly, we set R 1 = 0.12 [1] and estimated R 2 = 0.26. The dynamics of the systems were given by solving the systems numerically and then plotting the time series of the solutions of the system (1)-(5) and (11)-(16) for the parameters, which were solved using the fourth-order Runge-Kutta (RK4) method to obtain more stable and convergent solutions. The simulations of SMD and SMNR were carried out for the time spans of three days (72 h) and thirty days, respectively with a step size of 10 −4 in the RK4 method. The SMD model described the inflammatory process where activation of the microglia cells peaks around three days (72 h) from stroke onset [1,2]. Neural stem cells increase the proliferation and the migration from the subventricular zone to the brain in thirty days and peaking around seven days after stroke [3,27]. Therefore, the SMNR model studied thirty days after stroke to investigate the interactions between microglia and neurogenesis after stroke. The accuracy of solutions by using the RK4 method of the SMD model and the best numerical solution of the model was obtained at 38 steps. While the accuracy of solutions by using the RK4 method of the SMNR model and the best numerical solution of the model was obtained at 35 steps. The reliability and accuracy of the proposed numerical method can be seen from the residual error which is shown in Figures 1 and 2. Figure 1 shows the residual error for the SMD model at the number of steps and the residual error at the time. While Figure 2 shows the residual error for the SMNR model at the number of steps and the residual errors at the time. By comparing the results in our study of microglial activation and the damage during the first three days after stroke onset and the recovery stage within the first thirty days after stroke onset with the effects of neural stem cells and those of the study in [40], we found that the studies agreed, in that the extended proinflammatory activation of microglia may inhibit neurogenesis and contribute to additional neuronal loss. Hence, the behavioural responses of microglia can lead to an increase in damage in the brain or its capability to recover. In this study, we focused on the importance and contribution of neural stem cells in transitioning to the recovery stage, as well as the interaction between microglia and neural stem cells. The generation of neural stem cells was considered to lead to a decrease in damage to the brain, compared to their absence. The behaviors of the solutions of the SMD and SMNR models are shown in Figure 3. It can be seen, in the SMD model, that the population of microglial cells M 1 had a shallow increase, asides from shifting to a steep curve at approximately 15-30 h, and peaked at around 72 h. On the other hand, we can observe that M 2 had a low level after stroke onset and, after three days, reached a stable level. The population of M 1 began to shift into the steep curve (the second stage) with an increase of M 2 . Furthermore, the damage increased sharply in the initial stage and decreased in the second stage. On the other hand, in the SMNR model, the response of the neural stem cells began after the initial stage, helping the brain cells to repair damaged cells and lost cells, depending on whether the number of living cells was greater than that of the dead cells. As depicted in Figure 3, the curve of neural stem cells increased and then decreased during the 15 days following stroke onset; this can be explained by the ability of neural stem cells to inhibit inflammation, as has been studied in [3], where the survival of neural stem cells seemed to be prevented, with up to 80% of the new neurons dying within two weeks after their generation in vivo. Furthermore, the curve of neural stem cells in Figure 3 reached its peak during the first week, in agreement with studies in rats and mice, where the increase in proliferation of neural stem cells peaked at around 7 days after ischemic injury [27].

Conclusions
We modified two models-SMD ((1)-(5)) and SMNR ((11)- (16))-based on the model of Leah et al. [40], in order to study the impact of the microglial activation stage and the interaction between microglia and neural stem cells during a stroke. The dynamic models of the effects of microglia and the interaction between neural stem cells and microglia in stroke over time were studied both analytically and numerically. From the results of the analysis and simulation of both models, two states of microglial cells (M 1 to M 2 ) emerged from the resting state. In the first disease stage, the activation of microglial cells went from resting-state microglia to either of the states M 1 or M 2 . The results of this interaction led to increased damage in the brain after stroke onset when M 2 was very low, there was no shift from M 1 to M 2 , and no generation of neural stem cells occurred in the first 72 h after the stroke. Subsequently, in the recovery stage, the rate of M 1 decreased and the rate of M 2 increased and the neural stem cells began to generate. Subsequent to that, the rate of damage decreased. The instability of the SMNR model can be explained: in the nervous system, the number of endogenous neural stem cells is very low under normal physiological conditions, showing a very limited capacity for cell replacement under normal physiological conditions [20,21]. Understanding the biology in vivo of neural stem cells could lead to new therapeutic strategies for brain repair by endogenous neural stem cells [20,21], encouraging inflammatory inhibition. In conclusion, our modified models can lead to lead to an understanding of the effectiveness risks of the inflammatory responses associated with strokes and their positive and negative effects on the brain in stroke patients, as well as the general dynamics of microglial effects on neural stem cells, both during stroke and in the recovery stage. In the future, we will expand this work to study the mechanisms that improve, stimulate, and generate the neural stem cells in the early stage, and where that information could contribute to understanding the effects of therapeutic strategies. Additionally, it could be interesting to incorporate the dynamics of anti-inflammatory and proinflammatory cytokines from microglia and the cytokines of endogenous neural stem cells into the SMNR model, in order to describe the interaction processes of the different types of cytokines in ischemic stroke.