In recent decades, many studies have been developed in psychoneuroimmunology that associate stress, arising from multiple different sources and situations, to changes in the immune system, from the medical or immunological point of view as well as from the biochemical one. In this paper, we identify important behaviors of this interplay between the immune system and stress from medical studies and seek to represent them qualitatively in a paradigmatic, yet simple, mathematical model. To that end, we develop an ordinary differential equation model with two equations, for infection level and immune system, respectively, which integrates the effects of stress as an independent parameter. In addition, we perform a geometric analysis of the model for different stress values as well as the corresponding bifurcation analysis. In this context, we are able to reproduce a stable healthy state for little stress, an oscillatory state between healthy and infected states for high stress, and a “burn-out” or stable sick state for extremely high stress. The mechanism between the different dynamical regimes is controlled by two saddle-node in cycle bifurcations. Furthermore, our model is able to capture an induced infection upon dropping from moderate to low stress, and it predicts increasing infection periods upon increasing stress before eventually reaching a burn-out state.

In recent decades, the interest to understand the connection between brain and body has grown notably. In particular, it has come to our attention that stress, caused by many different sources and situations, can have effects on our immune system, from a medical as well as from a biochemical point of view. In this regard, there exist already some medical studies providing more details connecting stress to different immune responses. With this paper, we now want to start a complementary theoretical analysis of this interplay. To that end, we identify important behaviors of the immune system for different levels of stress from the medical studies and develop a simple mathematical model that is able to qualitatively represent them. This model consists of two ordinary differential equations, one for the immune system and one for a possible infection, which depend on an independent parameter for the stress level. In this simplified setting, we are already able to reproduce a stable healthy state for little stress, periodic changes between healthy and sick states for high stress, and a “burn-out” or stable sick states for extremely high stress. Furthermore, our model captures an infection if we drop the stress level from moderate to low stress fast, and it predicts increasingly long sick periods as the stress intensifies before eventually reaching the burn-out state.

Although it is common knowledge that stress can hurt our health, scientific results regarding this are fairly recent. The first studies attempting to show this connection between the psychological and the physical state were developed in the first half of the 20th century.1,2 In the second half of the century, the corresponding field of psychoneuroimmunology (PNI) established the interplay of the central nervous system (CNS), the endocrine system, in other words the hormonal messenger system of the body, and the immune system.3–6 The first goal of this field is to specify a good definition of stress to be able to work with and thus also a way to categorize it.7 The most common way to do this is mainly by the duration, e.g., one may contrast very brief public speaking to extremely long-time care of a spouse.8 Furthermore, it is important to quantify stress factors, e.g., how and to what extent we can see sports as positive or negative stressor in the same way as psychological ones.9 Furthermore, PNI wants to understand the biochemistry of how behavioral and psychological effects, in particular stress, are reflected in our bodies, i.e., how stress “gets inside the body.”8,10,11 Although there is still much to learn, we have now a basic understanding of the hormonal reactions of our body to stress and how they affect the immune system, e.g., by specific receptors on cells responsible for the immunity.6 In addition, there are several studies regarding immunological and medical consequences of stress in animals12,13 as well as humans,14–17 where a key goal is to understand and counteract negative consequences. In this context, the difficulties of extensive clinical trials and the lack of a commonly accepted definition, categorization, or measurements of stressors are most evident. This is why Segerstrom and Miller in 2004 performed a meta-analytical study of numerous results going back 30 years.8 Combining all the results and studies we can say that, in general, stress has a negative effect on the immune system by either decreasing the number of, e.g., killer cells or simply disturbing the equilibrium between the different components. Nevertheless a brief stress, like public speaking, can also have a positive effect and even longer short-term stressors like examination periods for students can have a beneficial effect during but cause decreased immunity afterwards.18,19

Although quite a number of studies in PNI exist, there is not yet a simplest qualitative nonlinear dynamics model available for the interplay between the immune system and stress. There are many other scientific disciplines pertaining to human health and behavior, where designing and studying low-dimensional benchmark models has already helped tremendously. This applies to smaller scales in the context of single-neuron models,20 chronobiology,21 genomics,22 or cancer research,23 as well as to larger scales such as collective motion,24 crime hotspots,25 or epidemiology;26 we also refer to Ref. 27 for a broader view on the contributions mathematical models can make in various contexts to health. One key advantage of a reduced modeling approach via the essential nonlinearities is that key effects are isolated and detailed parameter studies become feasible. In particular, the toolbox of nonlinear dynamics for low-dimensional models is extremely powerful28–30 and has led to a clear identification of new mechanisms in complex systems, e.g., we understand different excitability patterns in neurons much better via low-dimensional dynamics models.20,31,32 Yet, it is not clear what the elementary nonlinear mechanisms in the context of PNI, and, in particular, of the interplay between stress and the immune system, are.

Having some fundamental understanding of how our immune system reacts to stress, we want to find a simple mathematical model of differential equations, which is able to represent the basic qualitative interaction between an infection and our immune system taking into account the effect of stress.

Since we are only interested in a qualitative analysis of the system, we are going to work with normalized dynamical variables x, representing the level of activity of the immune system, and y, as the level of infection or sickness, with values ranging between 0 and 1. The stress is included by a parameter s also normalized between 0 and 1, where 0 corresponds to no stress at all and 1 is the maximal level of stress limited by the assumption that a person cannot feel infinitely strong stress.

To specify the dynamics of the infection, we are going to build upon principles of mathematical biology,33,34 where in multiple sub-disciplines such as ecology, neuroscience, or biomechanics, one aims to generic polynomial nonlinearities to represent basic effects. Based upon population dynamics, we consider logistic growth and Allee effect for the immune system intrinsic dynamics. In this regard, our first assumption is that, as long as our immune system has some activity, the infection should have two stable states, the “sick”-state and the “healthy”-state. Furthermore, since we are constantly coming in contact with different viruses and bacteria, we are interested in having a slightly raised baseline instead of the “healthy”-state being y=0. Our second assumption is that, if there is no immune system or if it is too weak, then the infection should spread up to its maximal capacity. Combining everything, we arrive at the equation

(2.1)

where we used a square root instead of the standard multiplicative term (1y) from population models. Finally, we choose the parameter values r=2, y0=y1=0.1, and q=0.95.

In contrast to the previous derivation of the dynamics for y, our approach for finding an appropriate equation for the immune system is based purely on the geometry necessary to capture the effects we aim to model. We start with the case without stress. It is clear that without stress, we should have a unique stable equilibrium with 0x<1 and 0<y1 corresponding to a normal healthy state. Since too much stress generally induces an infection, this fixed point should only exist for s<s0 with some threshold level of stress 0<s0<1.

Furthermore, we also want to reflect the fact that, while a moderate stress can make slightly more resistant to infections, at the same time, its sudden drop to normal levels can be detrimental increasing the likelihood of infections, e.g., this naturally occurs for short-term stressors. To capture this effect, we want to have a second unstable equilibrium with 0<y1. As s increases, the x-coordinates of both fixed points should slowly start decreasing and approaching each other such that for some 0<s1<s0 the stable equilibrium crosses the original position of the unstable one. If we would now drop the stress back to s=0, it would in fact trigger the expected infection before converging to the healthy state.

Finally, it is reasonable to assume that an extreme (prolonged) stress can prevent the body from recovering from an infection, giving a “burn-out” state, such that for s close to 1 we want to have a fixed point where 0y<1.

Again combining all the assumptions above, one simple polynomial nonlinear differential equation capturing these effects is given by

(2.2)

presenting an S-shaped nullcline with x0=0.3 and the parameter k=1.30.3(1s)4 to control the shift to the right of the equilibria and x1=0.80.2s2 responsible for the disappearance of the stable healthy state. Of course, the actual numerical values in (2.2) are not the key aspect but the geometry of the dynamics and the qualitative description of the different aspects of immune reaction, infection level, and stress.

In summary, the complete system we arrive at

(2.3)

with the parameter values

x0=0.3
⁠, q=0.95, y1=0.1 and

integrating the effect of stress into the equations. The additional parameter α controls the scale of change of the infection y with respect to the immune system x. Figure 1 shows the corresponding phase portraits and time series for multiple values of s. And indeed, our model presents different dynamic regimes upon different stress levels, which we can observe in the phase portraits and time series shown in Fig. 1.

FIG. 1.

Phase portraits of system (2.3) with α=2.5 and its x-nullcline (orange) and y-nullcline (yellow) for characteristic values of the stress s representing the complete parametric family of dynamic regimes of the model. Furthermore, we see their corresponding time series showing the convergence to the corresponding limit set as well as the behavior after some instantaneous changes in the stress levels. In Figs. (a) and (c), with very low and moderate stress, respectively, the healthy state is stable (black). In the time series (b), we are able to observe the isolated sickness when changing (dashed) to no stress s=0 after having a moderate stress s=0.4, i.e., switching from the phase portrait (c) to (a). In the right column, there is no healthy equilibrium and we either oscillate for high stress s=0.7 following the stable limit cycle (black) in (d) or we stay sick, i.e., we have a stable “burn-out” state (black) for extreme stress level s=1 in (f). Again, a time series is shown in (e), where we switched from the phase space shown in (d) to the one in (f) at the dashed line.

FIG. 1.

Phase portraits of system (2.3) with α=2.5 and its x-nullcline (orange) and y-nullcline (yellow) for characteristic values of the stress s representing the complete parametric family of dynamic regimes of the model. Furthermore, we see their corresponding time series showing the convergence to the corresponding limit set as well as the behavior after some instantaneous changes in the stress levels. In Figs. (a) and (c), with very low and moderate stress, respectively, the healthy state is stable (black). In the time series (b), we are able to observe the isolated sickness when changing (dashed) to no stress s=0 after having a moderate stress s=0.4, i.e., switching from the phase portrait (c) to (a). In the right column, there is no healthy equilibrium and we either oscillate for high stress s=0.7 following the stable limit cycle (black) in (d) or we stay sick, i.e., we have a stable “burn-out” state (black) for extreme stress level s=1 in (f). Again, a time series is shown in (e), where we switched from the phase space shown in (d) to the one in (f) at the dashed line.

Close modal

To analyze in more detail the change between the different dynamical regimes, we take a look at the corresponding bifurcation diagram29 in Fig. 2.

FIG. 2.

Bifurcation diagram (left panel) in the (x,s)-plane for α=2.5. Black curves mark equilibrium points, while the blue region consists of limit cycles, including the period of the limit cycles for 0.48<s<0.95 (right panel). LP mark the limit points or saddle-node bifurcation points [in this case, saddle-node in the limit cycle (SNIC) bifurcation points] while H marks a neutral saddle, where the eigenvalues λ1,2 of the Jacobian at the equilibrium satisfy λ1=λ2. The diagram shows in parameter space the different dynamic regimes separated by the SNIC bifurcations changing from 3 equilibria to 1 equilibrium and limit cycles and back to 3 equilibria as we increase s. Furthermore, the period of the limit cycles is shown to increase and diverge to infinity as the parameter s approaches the bifurcation points. From the modeling point of view, this results in a warning sign which can be particularly important in the prevention of burn-out. The diagram has been computed using MatCont.38 

FIG. 2.

Bifurcation diagram (left panel) in the (x,s)-plane for α=2.5. Black curves mark equilibrium points, while the blue region consists of limit cycles, including the period of the limit cycles for 0.48<s<0.95 (right panel). LP mark the limit points or saddle-node bifurcation points [in this case, saddle-node in the limit cycle (SNIC) bifurcation points] while H marks a neutral saddle, where the eigenvalues λ1,2 of the Jacobian at the equilibrium satisfy λ1=λ2. The diagram shows in parameter space the different dynamic regimes separated by the SNIC bifurcations changing from 3 equilibria to 1 equilibrium and limit cycles and back to 3 equilibria as we increase s. Furthermore, the period of the limit cycles is shown to increase and diverge to infinity as the parameter s approaches the bifurcation points. From the modeling point of view, this results in a warning sign which can be particularly important in the prevention of burn-out. The diagram has been computed using MatCont.38 

Close modal

For s=0, we have three equilibria: an unstable spiral, a saddle, and a stable node. As s increases, the stable node and the saddle collide and disappear in a saddle-node in cycle (SNIC) bifurcation for s0.48. At s0.95 we find a second SNIC, where another pair of a stable node and a saddle appear. In addition to the equilibria mentioned above, in the parameter regime between the two bifurcation points we find that all orbits except the unstable equilibrium have to converge to a limit cycle as t. This can be easily shown using the Poincaré–Bendixson theorem on the unit square. Note that SNIC bifurcations are of co-dimension one, i.e., they are generic/typical in planar systems with one parameter presenting a mechanism to obtain oscillations. They have been observed already in many models ranging from neuroscience35,36 to mechanics.37 They are accompanied by a heteroclinic loop for parameter values s<0.48 (or s>0.95) since the unstable manifolds of the saddle converge to the stable node. As s approaches the bifurcation, the two equilibria collide, one of the heteroclinic connections disappears and the second one becomes a homoclinic orbit. By perturbing s further, this homoclinic gives rise to a family of stable limit cycles for 0.48<s<0.95.

In this work, we have initialized the qualitative mathematical model development for the interaction between immune system levels, infection dynamics, and stress level. Based upon established principles of theoretical biology, we developed a simple, yet powerful, planar dynamical system to analyze the influence of stress as an external parameter. Using only elementary nonlinearities, out model can represent (I) a stable healthy equilibrium for low stress, (II) the effect of sudden stress level drop from moderate to low levels inducing a single infection, (III) periodic outbreaks of infections under high stress, (IV) the transition to a burn-out state at very high stress. The key transition mechanism we have identified is a saddle-node in cycle (SNIC) bifurcation. This bifurcation transition actually makes the model predictive, e.g., it predicts that if stress levels are close to a burn-out stage but still below, then the oscillatory sick periods become longer. Although this looks like a natural prediction, it is one that we did not anticipate to be able to extract from our system at all during the modeling process.

Having established the ability of conceptual mathematical models to contribute to the understanding of stress, we believe that further model development and connecting qualitative mathematical models to more detailed biophysical principles as well as to clinical trials, could forge an effective path mitigating, and probably even more importantly, predicting in advance, the positive and negative effects of stressors.

C.K. conceived the original idea. Both authors contributed into developing the idea further to the final form of the publication. M.E.G.H. developed the theory and performed the computations under the supervision and guidance of C.K. M.E.G.H. drafted the article. Both authors revised the manuscript critically and contributed to its final form.

M.E.G.H. work was partly supported by a Hans-Fischer Senior Fellowship of the Technical University of Munich—Institute for Advanced Study (TUM-IAS) and the TopMath Program of the Elite Network of Bavaria. C.K. acknowledges partial support of the VolkswagenStiftung via a Lichtenberg Professorship. We also thank an anonymous referee, whose comments have helped to improve the presentation of our results.

All figures were generated using MATLAB R2020b. Figure 2 was generated with the MATLAB continuation package MATCONT 7.1. The code generating Fig. 1 as well as the model used in MATCONT to generate Fig. 2 has been made available in https://doi.org/10.5281/zenodo.4584715, Ref. 39.

1.
W. B.
Cannon
,
The Wisdom of the Body
(
Kegan Paul and Co., Ltd.
,
London
,
1932
).
2.
H.
Selye
, “
A syndrome produced by diverse nocuous agents
,”
Nature
138
,
32
(
1936
).
3.
G. F.
Solomon
and
R. H.
Moos
, “
Emotions, immunity and disease. A speculative theoretical integration
,”
Arch. Gen. Psychiatry
11
(
6
),
657
674
(
1964
).
4.
T. H.
Holmes
and
R. H.
Rahe
, “
The social readjusment rating scale
,”
J. Psychosom. Res.
11
,
213
218
(
1967
).
5.
R.
Ader
, “
Psychoneuroimmunology
,”
Curr. Dir. Psychol. Sci.
10
(
3
),
94
98
(
2001
).
6.
R.
Glaser
and
J. K.
Kiecolt-Glaser
, “
Stress-induced immune dysfunction: Implications for health
,”
Nat. Rev. Immunol.
5
,
243
251
(
2005
).
7.
G. R.
Elliot
and
C.
Eisdorfer
,
Stress and Human Health: An Analysis and Implications of Research. A Study by the Institute of Medicine, National Academy of Sciences
(
Springer Publishing
,
New York
,
1982
).
8.
S. C.
Segerstrom
and
G. E.
Miller
, “
Psychological stress and the human immune system: A meta-analytical study of 30 years of inquiry
,”
Psychol. Bull.
130
(
4
),
601
630
(
2004
).
9.
L.
Hoffman-Goetz
and
B. K.
Pedersen
, “
Exercise and the immune system: A model of the stress response?
,”
Immunol. Today
15
(
8
),
382
(
1994
).
10.
E.
Calcagni
and
I.
Elenkov
, “
Stress system activity, innate and T helper cytokines, and susceptibility to immune-related diseases
,”
Ann. N.Y. Acad. Sci.
1069
,
62
76
(
2006
).
11.
T. C.
Theoharides
, “
The impact of psychological stress on mast cells
,”
Ann. Allergy Asthma Immunol.
125
(
4
),
388
392
(
2020
).
12.
C. B.
Schreck
,
L.
Tort
,
A. P.
Farrell
, and
C. J.
Brauner
,
Biology of Stress in Fish
(
Elsevier Science & Technology
,
2016
).
13.
Y.
Wein
,
Z.
Geva
,
E.
Bar-Shira
, and
A.
Friedman
, “
Transport-related stress and its resolution in turkey pullets: Activation of a pro-inflammatory response in peripheral blood leukocytes
,”
Poult. Sci.
96
(
8
),
2601
2613
(
2017
).
14.
J. K.
Kiecolt-Glaser
,
R.
Glaser
,
D.
Williger
,
J.
Stout
,
G.
Messick
,
S.
Sheppard
,
D.
Ricker
,
S. C.
Romisher
,
W.
Briner
,
G.
Bonnell
, and
R.
Donnerberg
, “
Psychosocial enhancement of immunocompetence in a geriatric population
,”
Health Psychol.
4
(
1
),
25
41
(
1985
).
15.
B. L.
Andersen
,
W. B.
Farrar
,
D. M.
Golden-Kreutz
,
R.
Glaser
,
C. F.
Emery
,
T. R.
Crespin
,
C. L.
Shapiro
, and
W. E.
Carson
, “
Psychological, behavioral, and immune changes after a psychological intervention: A clinical trial
,”
J. Clin. Oncol.
22
(
17
),
3570
3580
(
2004
).
16.
G. D.
Marshall
, Jr., “
The adverse effects of psychological stress on immunoregulatory balance: Applications to human inflammatory diseases
,”
Immunol. Allergy Clin. North Am.
31
(
1
),
133
140
(
2011
).
17.
A.
Liesz
,
H.
Rüger
,
J.
Purrucker
,
M.
Zorn
,
A.
Dalpke
,
M.
Möhlenbruch
,
S.
Englert
,
P. P.
Nawroth
, and
R.
Veltkamp
, “
Stress mediators and immune dysfunction in patients with acute cerebrovascular diseases
,”
PLoS One
8
(
9
),
e74839
(
2013
).
18.
B. J.
Dorian
,
P. E.
Garfinkel
,
E. C.
Keystone
,
R.
Gorczynski
,
D. M.
Gardner
,
P.
Darby
, and
A.
Shore
, “
Occupational stress and immunity
,”
Psychosom. Med.
47
,
77
(
1985
).
19.
V. E.
Burns
,
M.
Drayson
,
C.
Ring
, and
D.
Carroll
, “
Perceived stress and psychological well-being are associated with antibody status after meningitis C conjugate vaccination
,”
Psychosom. Med.
64
(
6
),
963
970
(
2002
).
20.
G. B.
Ermentrout
and
D. H.
Terman
,
Mathematical Foundations of Neuroscience
(
Springer
,
2010
).
21.
A.
Goldbeter
,
Biochemical Oscillations and Cellular Rhythms
(
CUP
,
1997
).
22.
R. M.
Karp
, “
Mathematical challenges from genomics and molecular biology
,”
Not. AMS
49
(
5
),
544
553
(
2002
).
23.
P. M.
Altrock
,
L. L.
Liu
, and
F.
Michor
, “
The mathematics of cancer: Integrating quantitative models
,”
Nat. Rev. Cancer
15
(
12
),
730
745
(
2015
).
24.
T.
Vicsek
and
A.
Zafiris
, “
Collective motion
,”
Phys. Rep.
517
(
3–4
),
71
140
(
2012
).
25.
M. B.
Short
,
P. J.
Brantingham
,
A. L.
Bertozzi
, and
G. E.
Tita
, “
Dissipation and displacement of hotspots in reaction-diffusion models of crime
,”
Proc. Natl. Acad. Sci. U.S.A.
107
(
9
),
3961
3965
(
2010
).
26.
F.
Brauer
and
C.
Castillo-Chávez
,
Mathematical Models in Population Biology and Epidemiology
(
Springer
,
2001
).
27.
D.
Helbing
,
D.
Brockmann
,
T.
Chadefaux
,
K.
Donnay
,
U.
Blanke
,
O.
Woolley-Meza
,
M.
Moussaid
,
A.
Johansson
,
J.
Krause
,
S.
Schutte
, and
M.
Perc
, “
Saving human lives: What complexity science and information systems can contribute
,”
J. Stat. Phys.
158
,
735
781
(
2015
).
28.
J.
Guckenheimer
and
P.
Holmes
,
Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields
(
Springer
,
New York, NY
,
1983
).
29.
Y. A.
Kuznetsov
,
Elements of Applied Bifurcation Theory
, 3rd ed. (
Springer
,
New York, NY
,
2004
).
30.
S. H.
Strogatz
,
Nonlinear Dynamics and Chaos
(
Westview Press
,
2000
).
31.
E.
Izhikevich
,
Dynamical Systems in Neuroscience
(
MIT Press
,
2007
).
32.
M. I.
Rabinovich
,
P.
Varona
,
A. I.
Selverston
, and
H. D.
Abarbanel
, “
Dynamical principles in neuroscience
,”
Rev. Mod. Phys.
78
(
4
),
1213
1265
(
2006
).
33.
J. D.
Murray
,
Mathematical Biology I: An Introduction
(
Springer
,
Berlin
,
2002
).
34.
J.
Mueller
and
C.
Kuttler
,
Methods and Models in Mathematical Biology
(
Springer
,
Berlin
,
2015
).
35.
Y.
Xie
,
K.
Aihara
, and
Y. M.
Kang
, “
Change in types of neuronal excitability via bifurcation control
,”
Phys. Rev. E
77
,
021917
(
2008
).
36.
P.
De Maesschalck
and
M.
Wechselberger
, “
Neural excitability and singular bifurcations
,”
J. Math. Neurosci.
5
,
16
(
2015
).
37.
D. A.
Czaplewski
,
C.
Chen
,
D.
Lopez
,
O.
Shoshani
,
A. M.
Eriksson
,
S.
Strachan
, and
S. W.
Shaw
, “
Bifurcation generated mechanical frequency comb
,”
Phys. Rev. Lett.
121
,
244302
(
2018
).
38.
A.
Dhooge
,
W.
Govaerts
,
Yu.A.
Kuznetsov
,
H. G. E.
Meijer
, and
B.
Sautois
, “
New features of the software MatCont for bifurcation analysis of dynamical systems
,”
Math. Comput. Model. Dyn. Syst.
14
(
2
),
147
175
(
2008
).
39.
M. E.
Gonzalez Herrero
, “
A qualitative mathematical model of the immune response under the effect of stress
,”
Zenodo
(
2021
).