Abstract
Many animals show avoidance behavior in response to disease. For instance, in some species of frogs, individuals that survive infection of the fungal disease chytridiomycosis may learn to avoid areas where the pathogen is present. As chytridiomycosis has caused substantial declines in many amphibian populations worldwide, it is a highly relevant example for studying these behavioral dynamics. Here we develop compartmental ODE models to study the epidemiological consequences of avoidance behavior of animals in response to waterborne infectious diseases. Individuals with avoidance behavior are less likely to become infected, but avoidance may also entail increased risk of mortality. We compare the outbreak dynamics with avoidance behavior that is innate (present from birth) or learned (gained after surviving infection). We also consider how management to induce learned avoidance might affect the resulting dynamics. Using methods from dynamical systems theory, we calculate the basic reproduction number
for each model, analyze equilibrium stability of the systems, and perform a detailed bifurcation analysis. We show that disease persistence when
is possible with learned avoidance, but not with innate avoidance. Our results imply that management to induce behavioral avoidance can actually cause such a scenario, but it is also less likely to occur for high-mortality diseases (e.g., chytridiomycosis). Furthermore, the learned avoidance model demonstrates a variety of codimension-1 and -2 bifurcations not found in the innate avoidance model. Simulations with parameters based on chytridiomycosis are used to demonstrate these features and compare the outcomes with innate, learned, and no avoidance behavior.
Supplementary Information
The online version contains supplementary material available at 10.1007/s00285-025-02252-7.
Keywords: Avoidance behavior, Backward bifurcation, Chytridiomycosis, Environmental transmission, Infectious diseases, Stability
Introduction
Resistance mechanisms are broadly defined as ways in which infection can be prevented or reduced (Miller et al. 2005; Roy and Kirchner 2000). The immune response is an important such mechanism, but other paths to resistance may affect host-pathogen dynamics in different ways (Reluga and Medlock 2007). Here we focus on avoidance behavior, through which individuals attempt to escape becoming infected by avoiding environments or interactions that carry an infection risk (Behringer et al. 2018). Examples from across a variety of taxa include avoiding interactions with infected conspecifics (mice: Boillat et al. 2015; frogs: Herczeg et al. 2024), avoiding consuming potentially contaminated food or water (elephants: Ndlovu et al. 2018; bonobos: Sarabian et al. 2018; nematodes: Zhang et al. 2005), and avoiding the pathogen (or some indicator of its presence) in the environment directly (frogs: McMahon et al. 2021, termites: Rosengaus et al. 1999). The level of avoidance expressed by an individual at a specific time may or may not depend on disease prevalence. For instance, animals may express avoidance by limiting contact with all conspecifics, or may only avoid interacting with conspecifics that appear to be infected, in which case the level of behavioral expression is dependent on disease prevalence in the population (Herczeg et al. 2024). Additionally, while avoidance behavior can reduce the chance of becoming infected, it may also carry fitness trade-offs: for example, if it decreases opportunities to obtain food or increases predation risk (Behringer et al. 2018). Although our focus here is on infectious diseases, very similar concepts of avoidance behavior also apply to parasitism (Ezenwa et al. 2022).
We broadly classify avoidance behaviors in response to disease into two categories: innate avoidance and learned avoidance. Innate avoidance behavior is present in individuals without any prior exposure or experience with the pathogen/disease. For instance, juvenile agile frogs (R. dalmatina) tended to avoid conspecifics infected with Ranavirus, even with no prior exposure to the virus (Herczeg et al. 2024). Mice have similarly been shown to express innate avoidance of infected conspecifics (Boillat et al. 2015). On the other hand, learned avoidance behavior is only acquired after experience with the pathogen (e.g., after recovering from an infection). For instance, both fruit flies (D. melanogaster) and nematodes (C. elegans) have been shown to express learned avoidance of pathogenic bacteria (Babin et al. 2014; Zhang et al. 2005). It is not always clear from observation alone whether avoidance behavior is innate or learned, but behavioral experiments can be used to distinguish between the two (e.g., McMahon et al. 2021).
An especially interesting example of learned avoidance behavior occurs in response to chytridiomycosis, a disease caused by the Bd (Batrachochytrium dendrobatidis) fungus that affects many amphibian species worldwide (Scheele et al. 2019). The Bd fungus is spread by waterborne zoospores that are shed by infected hosts (Berger et al. 2005). Experiments by McMahon et al. (2014, 2021) showed that in some species of frogs, individuals that experienced a chytridiomycosis infection could learn to avoid areas where the Bd fungus was present. The authors suggest that for amphibian species with the capacity for learned avoidance, inducing this behavior in individuals could be a viable management strategy for protecting vulnerable populations of amphibians and increasing the success of reintroduction efforts. As chytridiomycosis often carries a high mortality risk and has caused declines or extinctions in hundreds of amphibian species (Rosenblum et al. 2010; Scheele et al. 2019), learned avoidance behavior and its implications for management deserve further research attention. Thus, we use chytridiomycosis as our primary case study in this paper. While transmission of Bd may also be possible through direct contact (Rowley and Alford 2007), we focus our attention on environmental transmission of disease (e.g., via water or even moist sand/soil (Johnson and Speare 2005) and vegetation (Kolby et al. 2015)).
While modeling behavioral avoidance has received little attention in wildlife host-pathogen systems, avoidance behavior has been included in many models of human disease dynamics (Verelst et al. 2016). Such models have considered how human behavior may affect the outcome of epidemics, and how it can interact with other factors such as information availability, economic indicators, disease prevention measures, and more (Verelst et al. 2016). For instance, (Dashtbali and Mirzaie 2021) modeled how people altering their social distancing practices in response to reported death rates affected the dynamics of COVID-19. Similarly, (Yang et al. 2017) examined the effects of awareness programs (which were assumed to increase avoidance) in a model of cholera dynamics. Other models in human behavioral epidemiology have considered the impacts of vaccination (e.g. Bhattacharyya and Bauch 2011), hygienic behavior (e.g. masking or hand washing, (Wang et al. 2014)), social networks (e.g. Ni et al. 2011), and more.
While our models share some features with human-centric infectious disease models, there are several key differences. For one, human disease models often consider constant population sizes, or that population dynamics are not greatly altered by infection (McCallum 2016). In contrast, examining disease-induced mortality and its impacts on population size and population dynamics is a key question for many diseases of wildlife, including our chytrid example (McCallum 2016). Furthermore, we include a survival cost of avoidance in our model (e.g., due to increased predation risk or decreased access to food-rich areas), which is unlikely to be included in a human-centric disease model. Finally, the goals and policies used for disease management may differ greatly between human and wildlife systems (McCallum 2016).
Here we develop two compartmental ordinary differential equation models to study the epidemiological consequences of innate and learned avoidance behavior in animals in response to waterborne (or more generally, environmentally-transmitted) infectious diseases. The level of behavioral avoidance, along with the associated survival cost, are represented generally and allowed to depend on the current pathogen concentration in the environment. Using methods from dynamical systems theory, we calculate important properties for each model such as the basic reproduction number
and the existence/stability of equilibrium points, and carry out a detailed bifurcation analysis. Special attention is given to the impacts of management effort to induce behavior in the learned avoidance system. We show that learned avoidance can lead to complex dynamics, including a variety of codimension-1 and -2 bifurcations, that are not present in the model of innate avoidance. Additionally, we use simulations to compare the outcomes of learned vs. innate vs. no avoidance, with parameters based on chytridiomycosis in frogs. Our work shows that with respect to increasing host population size, the relative performance of behavior types depends strongly on the mortality regime and the effectiveness of behavior at avoiding disease.
Model formulation
Model equations
The forms of our behavioral avoidance models are inspired by the work of (Reluga and Medlock 2007), although we make several changes to focus on wildlife disease modeling (specifically chytrid). Notably, we: (1) include disease-induced mortality, (2) examine environmental transmission via a pathogen pool, (3) consider non-constant avoidance behavior, and (4) include a potential survival cost of avoidance behavior.
We consider two alternative models of behavioral avoidance, which are each summarized in Fig. 1. The first model we examine is the innate avoidance model (Eqs. 1-3), in which all individuals are born with avoidance behavior and the behavior cannot be lost. The compartments of this model represent susceptible individuals with avoidance behavior (A), infected individuals (I), and the pathogen pool (P). Infected individuals shed pathogens into the pool, which in turn infect susceptible individuals. Avoidance behavior is characterized in our model by two functions,
and c, which both potentially depend on the current pathogen pool concentration. The function
scales the base infection rate and represents the effectiveness of behavior at avoiding infection. It is unitless and constrained by
, with
near 1 representing weak avoidance and
representing strong avoidance. The function c represents a potential survival cost of avoidance behavior (e.g., if it leads to fewer opportunities to obtain food, or greater exposure to predation), and adds to the natural mortality rate for individuals with avoidance behavior. It is constrained by
, and has units of days
.
Fig. 1.

Diagrams summarizing the dynamics of the innate avoidance system (Eqs. 1-3; top) and the learned avoidance system (Eqs. 5-8; bottom). The compartments represent susceptible individuals without avoidance behavior (S), susceptible individuals with avoidance behavior (A), infected individuals (I), and the pathogen pool (P).
The innate avoidance system is given by:
![]() |
1 |
![]() |
2 |
![]() |
3 |
The dynamics for the total population size (
) of the innate avoidance system are thus
![]() |
4 |
We assume both
and c are
(twice continuously differentiable) functions defined for
, and furthermore that avoidance behavior should not decrease as pathogen concentration increases:
and
. The simplest choices for
and c are constant functions, in which case we often use the notation
and
. Note that if
and
, Eqs. 1-3 reduce to a model without behavior.
We assume that birth (or recruitment) into the population is constant, given by the parameter
. Note that we also selected
as the natural mortality rate because this results in the equilibrium population size being 1 when there are no other causes of mortality. We thus essentially treat our state variables as unitless, scaled quantities. The parameter
represents the base infection rate for susceptible individuals (which is then modified by the avoidance function
). Infected individuals may die due to natural mortality, die from disease-induced mortality (
), or recover from infection at rate
. We further assume that
, such that mortality from behavioral avoidance is never greater than mortality from the disease itself. Finally, pathogens are released by infected individuals at the rate
, and are lost over time at the rate
.
The second model we examine is the learned avoidance model (Eqs. 5 - 8). In this model, avoidance behavior is only gained after surviving an infection event, and may be forgotten over time. The compartments A, I, P are the same as described for the innate avoidance model, but now there is an additional compartment S representing fully susceptible individuals (no behavioral avoidance). Note that all individuals are born fully susceptible, unlike in the innate avoidance model.
![]() |
5 |
![]() |
6 |
![]() |
7 |
![]() |
8 |
The dynamics for total population size of the learned avoidance system are the same as in the innate avoidance model, but with
:
![]() |
9 |
There are two paths to learning avoidance behavior. The first is through surviving a natural infection event in the wild: among infected individuals I that recover, a proportion p move into A while
move into S. The parameter p effectively represents the probability that avoidance behavior is learned post infection, with
. The second path to avoidance behavior is also through infection, but in a controlled setting as the result of management effort. For instance, concerning frogs and chytrid, heat treatments can potentially be used to clear frogs of infection safely while still inducing avoidance behavior (as in McMahon et al. 2014, 2021). The parameter
represents a constant rate of management effort put into the system to induce avoidance behavior, resulting in individuals going from
(as we assume for simplicity that this action carries no risk of disease-induced mortality). Finally, learned behavioral avoidance may be forgotten over time at rate
. All other parameters are as described for the innate avoidance model.
Additionally, one important derived parameter is the basic reproduction number
, which represents the number of secondary cases caused by an infected individual in an otherwise susceptible population (Diekmann et al. 1990). We calculate this for each of our models using the next generation matrix approach described in (van den Driessche and Watmough 2002). Typically, we expect an infectious disease to die out when
and persist if
. However, in certain scenarios disease persistence may be possible even when
due to a ‘backward bifurcation’, which we describe more in Sect. 3.3.
Parameter values
Much of our work is analytical and does not require selecting specific parameter values, but for numerical/simulation results when possible we selected parameter values using chytridiomycosis in frogs as our case study (Table 1). It should be noted that parameters for chytridiomycosis dynamics can vary over a large range due to differences between species and environmental factors (such as temperature) (Rosenblum et al. 2010; Tobler and Schmidt 2010; Wilber et al. 2016; Woodhams et al. 2008); where possible we select approximately midway values. Additionally, sometimes we examine parameter values that differ from the default in order to more clearly demonstrate particular analytical findings (e.g., specific bifurcations) numerically.
Table 1.
A summary of parameters/functions for the innate and learned behavioral avoidance models, and their selected default values
| Name | Meaning | Default Value(s) | Constraint (s) |
|---|---|---|---|
![]() |
Birth/natural mortality | 0.0006 | ![]() |
![]() |
Infection rate | Varied | ![]() |
![]() |
Avoidance effectiveness function | Constant; varied in (0, 1] |
,
|
| c(P) | Survival cost of avoidance function | Constant; varied in {0, 0.25 , } |
,
|
![]() |
Recovery rate from infection | 0.04
|
![]() |
![]() |
Disease-induced mortality rate | Varied in {0, 0.0044, 0.04, 0.16}
|
![]() |
![]() |
Pathogen release rate | 1 | ![]() |
![]() |
Pathogen death rate | 0.24
|
![]() |
| p | Probability of learning avoidance post infection* | 1 | ![]() |
| w | Forgetfulness rate for learned avoidance behavior* | 0 | ![]() |
| v | Management rate for inducing learned avoidance* | 0 or varied | ![]() |
We let days be our unit of time (t). For the natural mortality rate, we select
as the default value, which results in approximately 20% annual natural mortality. For the recovery rate, we select
, representing a median recovery period of about 17 days (equivalently,
10% chance of losing infection over a 3 day time step, reasonably within the range of moderate values given in Wilber et al. 2016). As the chances of dying from chytrid can vary from nearly nothing to nearly
depending on species and environment (Rosenblum et al. 2010; Tobler and Schmidt 2010), we consider cases where the chance of dying from chytridiomycosis is absent, low (10%), medium (50%), and high (80%). Given our choice of
, we thus select
(none),
(low),
(medium), and
(high) for the disease-induced mortality rate.
We set
, representing a pathogen death rate of 0.01 per hour (Woodhams et al. 2008). The pathogen shedding rate
controls the scaling of P, but since we are treating our state variables as unitless quantities, we fix
for simplicity. To keep our simulations simple, we assume that learned avoidance behavior is not forgotten (
) and that all infection events result in learning avoidance behavior (
). For management effort to induce avoidance (v), we either assume it is absent (
indicates an ‘unmanaged’ system), or vary it over a wide interval to demonstrate a range of possible results. We also assume for simplicity in many of our simulations that behavioral avoidance is independent of pathogen concentration (
and
), varying the effectiveness of behavior
in (0, 1] and the survival cost of behavior
to represent an absent
, low (
), or high
) cost. However, we show some simulations with non-constant behavior in Sect. S1.8. Additionally, most of our analytical results hold in general for any choice of
(that meets our previously noted constraints).
General methods
To assist our analytical investigations of both models, we used the computer algebra software Maxima (version 5.47.0, Maxima 2023). All of these calculations are provided as Maxima scripts available on Figshare at https://doi.org/10.6084/m9.figshare.27914121 (Poulton and Ellner 2024). We also used the MatCont package (version 7.5, Dhooge et al. 2008) in MATLAB (version 24.1.0.2689473 (R2024a), The MathWorks Inc 2024) to carry out a numerical bifurcation analysis in Sect. 4.4. MatCont allows for the numerical identification and continuation (i.e., determination of how they move or change as parameter(s) are gradually varied) of equilibrium points, limit cycles, and most common types of bifurcations (Dhooge et al. 2008). Finally, simulations for both models were performed in R version 4.2.1 (R Core Team 2022), using the ode function with the Adams method from the deSolve package (Soetaert et al. 2010) to solve the system of ODEs. The data from the numerical bifurcation analysis in MatCont and the R scripts to recreate the simulations in Sect. 5 are also provided on Figshare (Poulton and Ellner 2024).
Innate avoidance model analysis
and disease-free equilibrium
Keeping in line with the biological interpretation of the innate avoidance model, we focus our analysis on the non-negative state space (
). In Sect. S1.1, we formally define a positively invariant region (
) for use in our analysis and show that so long as the initial conditions are non-negative, the state variables will remain non-negative for all time.
The disease-free equilibrium can be found by setting Eq. 1 equal to 0 with
. The resulting disease-free equilibrium, DFE = (
,
,
), is given by
![]() |
10 |
We use the next generation matrix approach to calculate
(van den Driessche and Watmough 2002). We begin by separating the dynamics for infectious compartments (I, P) into vectors representing the appearance of new infections (
) and other transfers in/out of the compartment (
),
![]() |
11 |
Note that our decomposition of
follows from our biological interpretation of the model, as we don’t consider additions to P to be new infections. Biological interpretations resulting in alternative valid
decompositions may lead to different equations for
, although the threshold stability properties will be the same (Diekmann et al. 2010; van den Driessche and Watmough 2002). Let F, V be the Jacobians of
evaluated at the DFE, respectively. Then
is then equal to the spectral radius of
(i.e., the maximum of the absolute values of the eigenvalues),
![]() |
12 |
Note that this means we have
when
![]() |
13 |
and vice versa. Equation 12 matches our previously stated definition for
, as an infected individual produces on average
units of pathogen, each of which causes (in an otherwise susceptible population) an average of
new infections. Equivalently to considering secondary cases of infected individuals,
can also be interpreted in terms of pathogens (i.e., on average how many pathogens result from the infections caused by introducing a small unit of P to an otherwise susceptible population).
As our calculation of
satisfies the conditions in Theorem A.1 of Diekmann et al. (2010), it follows that the disease-free equilibrium (
) is locally stable when
, and unstable for
. The same result can also be obtained directly by examining the eigenvalues of the Jacobian evaluated at the DFE, which we do in Maxima (IA_R0_DFEstability.wxmx; Poulton and Ellner 2024). We can further show that for
, the DFE is globally asymptotically stable in the positively invariant region
(Eq. S4). To do this, we follow the approach from Castillo-Chavez et al. (2002). This approach depends on showing two conditions: first, that in the reduced system with no disease,
is globally asymptotically stable (H1), and second, that the dynamics for the infected compartments meet certain conditions stated below (H2). To check condition (H1), we set
in Eq. 1, which produces the reduced system
, or equivalently
. Since this is just a linear differential equation and
,
is globally asymptotically stable in the reduced system.
For condition (H2), we first write the dynamics for the infected compartments,
![]() |
14 |
and let the Jacobian of G evaluated at the DFE be denoted
. Then condition (H2) is that
for all
. Straightforward calculations show that
![]() |
15 |
and thus
is satisfied when
or
. Since
in
and
, the condition (H2) is always satisfied in this region. Thus, the DFE is globally asymptotically stable in the region
.
Endemic equilibria
Here we solve for the endemic equilibria of the innate avoidance system (i.e., those equilibria with
). Setting Eq. 3 equal to 0 and solving gives us
. Then, repeating the process for Eqs.1-2 and plugging in
gives
![]() |
16 |
Solving further requires selecting forms for the behavioral functions
and c. Here we focus on the results for when
and c are constant functions. Letting
and
, we find that there is a single endemic equilibrium
, given by
![]() |
17 |
For this endemic equilibrium to exist (i.e., be positive), we must have
, which is precisely the condition for
. Additionally, at
, the endemic equilibrium equals the DFE. By calculating the Jacobian and employing the Routh-Hurwitz criterion, we can show that the endemic equilibrium is locally stable for
, and undergoes a transcritical bifurcation with the DFE at
(Sect. S1.2).
Backward bifurcation
We previously showed that under constant behavioral functions
and c, the innate avoidance system has a single endemic equilibrium that exists (is positive) and is locally stable for
. This is also known as a ‘forward’ bifurcation, referring to the direction of the transcritical bifurcation at
(Castillo-Chavez and Song 2004). The typical bifurcation diagram in this case as
is varied looks similar to the top panel of Fig. 2. In this section, we show that a forward bifurcation occurs even when
and c are non-constant (so long as they follow the assumptions in Table 1). In contrast, another possibility is a ‘backward’ bifurcation, in which a positive endemic equilibrium emerges from the transcritical bifurcation to the left (Castillo-Chavez and Song 2004), as in the bottom panel of Fig. 2. This means that endemic equilibria exist, and the disease may persist, for
. Note that disease persistence also demonstrates hysteresis in this case, as the disease will cause an outbreak if
increases above 1, but subsequently decreasing
below 1 is not enough to ensure the disease dies out (e.g., in the bottom panel of Fig. 2,
must decrease below
to guarantee that the disease dies out). The examples in Fig. 2 are taken from the learned avoidance system (which we examine in detail in Sect. 4.3), and show that both such bifurcations are possible under learned avoidance.
Fig. 2.

Examples from the learned avoidance system (see Sect. 4.3) of a forward transcritical bifurcation (top) and a backward transcritical bifurcation (bottom). In contrast, the transcritical bifurcation is always forwards in the innate avoidance system. Solid lines represent locally stable equilibria, while dashed lines represent unstable equilibria. Diagrams were generated by varying
, which has a linear relationship with
. Top:
, bottom:
. Other parameter values were
and 
Here we calculate the conditions for a backward bifurcation to occur, and show they cannot be satisfied under innate avoidance given our assumptions about the model; i.e., we show that the transcritical bifurcation is always forward. To do this, we use the approach in (Castillo-Chavez and Song 2004) (see also van den Driessche and Watmough 2002). The method, based on center manifold theory, allows us to not only show that a transcritical bifurcation of the DFE does occur at
, but also to calculate a general condition for the direction of this bifurcation. The calculations result in two bifurcation parameters,
and
: a backward bifurcation occurs if and only if both of these are positive. The work for these calculations is lengthy and is provided as a Maxima script (IA_backwardsBifurcation.wxmx; Poulton and Ellner 2024). The resulting bifurcation parameters are given in Eqs. 18-19. For brevity, in these equations we let
,
,
, and
.
![]() |
18 |
![]() |
19 |
We can easily see that
is always positive. However,
is only positive if
![]() |
20 |
The right hand side of Eq. 20 is positive, so for a backward bifurcation to occur, we must at the very least have
; however, we assumed that under behavioral avoidance,
. If this is the case, then
must be negative, and the transcritical bifurcation at
in the innate avoidance system is always forwards. Under a different model interpretation where
is possible, though, a backward bifurcation could potentially occur; for instance, if
included within it terms such that transmission was a nonlinear function of incidence. Past work has shown that nonlinear incidence rates can indeed lead to backward bifurcations, see for example Jin et al. (2007).
Learned avoidance model analysis
and disease-free equilibrium
We focus our analysis of the learned avoidance model on the non-negative state space (
) to be consistent with biological interpretations. In Sect. S1.1, we again define a positively invariant region (
) for use in our analysis and show that so long as the initial conditions are non-negative, the state variables will remain non-negative for all time.
Letting I, P = 0 and solving
for the learned avoidance system gives us the disease-free equilibrium, DFE =
, where
and
![]() |
21 |
We again use the next generation matrix approach to calculate
(van den Driessche and Watmough 2002). Separating the dynamics for infectious compartments (I, P) into vectors representing the appearance of new infections (
) and other transfers in/out of the compartment (
),
![]() |
22 |
Again letting F, V be the Jacobians of
evaluated at the DFE,
is found by taking the spectral radius of
, from which we obtain
![]() |
23 |
In terms of
, we have that
when
![]() |
24 |
Note the similarity to the form of
in the innate avoidance system: the only difference is that
in Eq. 12 has been replaced with
in Eq. 23. This quantity can be thought of as the ‘effective number’ of susceptible individuals in the disease-free equilibrium available to be infected (with
scaled by
due to the reduced chance of infection with avoidance behavior). As this quantity increases,
also increases. Our calculation of
again satisfies the conditions in Theorem A.1 of (Diekmann et al. 2010), and thus the disease-free equilibrium (
) is locally stable when
, and unstable for
. The same result can also be obtained by examining the eigenvalues of the Jacobian evaluated at the DFE, which we do in Maxima (LA_R0_DFEstability.wxmx; Poulton and Ellner 2024).
For the innate avoidance system, we showed that the DFE is globally asymptotically stable in the region
for
. This turns out to not always be the case under learned avoidance, as we show in the next two sections that a stable endemic equilibrium may exist for
. Despite this, there are certain subcases in which we can show that the DFE is globally asymptotically stable in the positively invariant region
(Eq. S5). In Sect. S1.3, we show that this is the case for the ‘unmanaged’ (
) system, again using the approach from (Castillo-Chavez et al. 2002).
Endemic equilibria
To solve for the endemic equilibria, we first set Eq. 8 equal to 0, which again gives us
. Then, repeating the process for Eqs. 5-7, we obtain
![]() |
25 |
Just as for the innate avoidance system, solving further requires choosing forms for the behavioral functions
and c. Here we focus on the case of constant
and c. The resulting expressions for the endemic equilibria are long and are discussed further in Sect. S1.4. But the key result is that, depending on parameter values, either zero, one, or two endemic equilibria can exist (i.e., are real and positive). In the case of a forward bifurcation, one endemic equilibrium, which we denote as
, exists for
. In the case of a backward bifurcation, a saddle-node bifurcation at
results in two endemic equilibria (see Fig. 2 bottom, Sect. S1.4). The endemic equilibrium
exists for
, while the other endemic equilibrium (which we denote
, aka the ‘secondary’ endemic equilibrium), only exists for
. Thus, much of our attention will be focused on the endemic equilibrium
.
In the innate avoidance model, the endemic equilibrium was always locally stable for
. However, this is not the case for the learned avoidance model:
may be stable or unstable for
(and similarly for
, when it exists). While the learned avoidance system is too complex to draw meaningful conclusions about local stability from eigenvalue conditions, in Sect. 4.4 we use the MatCont software to demonstrate that the local stability of
may change through Hopf bifurcation(s).
While the endemic equilibrium
may sometimes be unstable for
, we can show that the disease is uniformly persistent in the system when
. We define uniform disease persistence as follows (similar to LeJeune and Browne 2023): there exists an
such that for all initial conditions
with
in a region of interest,
. We actually prove a more general conclusion, that all state variables are uniformly persistent for
. A proof of uniform persistence is given in Sect. S1.5, following the approach in (Freedman et al. 1994). The main step of the proof is to identify a closed positively invariant set B and show that the disease-free equilibrium is the maximal invariant set on the boundary of B. After checking a few additional conditions, the uniform persistence result for
follows from simply noting that the disease-free equilibrium is unstable for
.
Backward bifurcation
We again use the approach of Castillo-Chavez and Song (2004) to calculate the condition for the transcritical bifurcation at
to be backwards. The calculation steps are provided as a Maxima script (LA_backwardsBifurcation.wxmx; Poulton and Ellner 2024) and hold for any choice of the behavioral functions
and c. The resulting bifurcation parameters
and
are given in Equations 26-28; a backward bifurcation occurs if and only if both of these are positive. For brevity, we let
, and
.
![]() |
26 |
![]() |
27 |
where
![]() |
28 |
It is easy to see that
is always positive, but
is more difficult to interpret. Here we make note of a few important properties of
. First,
is always positive, so we can ignore it and focus on the inner terms of
. Second, we wrote the formulas for
in a specific way to emphasize the fact that increasing disease-induced mortality (
) decreases
and
(while having no effect on
, or
). Thus, increasing
decreases
, making a backward bifurcation ‘less likely’. If
is sufficiently large, no backward bifurcation will occur. We demonstrate these observations in Fig. 3, which shows the regions of (v, p) space for which backward bifurcations occur for different values of
. With
(Fig. 3 left), backward bifurcations occur over a large area with
, but the area shrinks rapidly as
is increased, and by
backward bifurcations no longer occur. Note that given our chosen parameters,
corresponds to a
mortality rate from each infection event; equivalently, it represents an approximately 16-fold increase in the mortality rate (compared to background natural mortality). When behavioral avoidance was more effective (
in the right panel of Fig. 3), backward bifurcations occurred for larger areas of (v, p) parameter space (note especially the change in the x-axis) and for slightly larger disease-induced mortality rates.
Fig. 3.
The regions of (v, p) parameter space for which a backward bifurcation occurs in the learned avoidance model as disease-induced mortality is varied. Left:
, right:
. The overlapping shaded areas for different values of
represent where the transcritical bifurcation at
is backwards; outside these regions, the bifurcation is forwards. Backward bifurcations occurred over larger areas of parameter space when behavioral avoidance was more effective (note the different x-axis scales). Other parameters have the values
and 
Third, again consider the unmanaged system (
). Then
,
, and the condition for a backward bifurcation to occur becomes simply
, or equivalently,
![]() |
29 |
The right hand side is greater than 1, which violates our assumptions about behavioral avoidance (
). Thus, backward bifurcations are not possible in the unmanaged system. This makes sense, as we previously showed that the DFE is globally asymptotically stable for
in the unmanaged system. Finally, since we assumed that
and
, we have that
. This means that constant avoidance functions (
) represents a ‘best case’ scenario for a backward bifurcation to occur (
). Under constant avoidance behavior, the condition for a backward bifurcation to occur is simply
.
A backward bifurcation guarantees that an endemic equilibrium exists for some values of
, but it does not guarantee disease persistence for
. For one, there may or may not be a locally stable endemic equilibrium (or limit cycle), as we demonstrate in Sect. 4.4. Secondly, when there is a locally stable endemic equilibrium (or limit cycle), disease persistence depends on the initial conditions of the system — the dynamics are bistable. Trajectories that begin close enough to the DFE approach it (no disease persistence), while other trajectories approach the stable endemic equilibrium (or limit cycle). In rare cases, the bifurcation analysis presented below shows that the learned avoidance system can even demonstrate ‘tristability’, in which trajectories may approach the stable DFE, a stable endemic equilibrium, or a stable limit cycle.
Some intuition for the backward bifurcation can be gained by considering the ‘effective susceptible population size’,
. Consider starting from near the DFE (
) and introducing some amount of infection into the system. In typical cases, introducing infection causes a net flow from
, as individuals survive infection and learn behavioral avoidance. This decreases the effective susceptible population size, and with fewer vulnerable individuals, the infection tends to die out. However, under certain parameter choices, introducing infection may actually cause a net flow from
, leading to an increase in the effective susceptible population size. This can occur if there is management to induce learned avoidance (
, meaning
), but when individuals with learned avoidance become infected in the wild, they sometimes abandon the behavior upon recovery (
is sufficiently small). Then, if the initial infection is sufficiently large, the effective susceptible population size may increase to a level at which the infection can be sustained (see also (Reluga and Medlock 2007), who noted a similar finding). This observation also agrees with our findings regarding disease-induced mortality (
), as high enough disease-induced mortality leads to sufficient deaths in the population such that
cannot increase to a level at which the infection can be sustained, no matter the flow between A and S.
Limit cycles and bifurcations
We previously demonstrated that a transcritical bifurcation at
results in the disease-free equilibrium switching stability, and that this bifurcation may be either forwards or backwards. In the case of a backward bifurcation, two endemic equilibria arise from a saddle-node bifurcation at some
. Both of these are codimension-1 bifurcations, meaning that they result as a single parameter is varied (Strogatz 2015). While these are the only two bifurcations in our system that change the number of equilibria that exist (i.e., that are real and positive), there are other codimension-1 bifurcations that change the stability of the equilibria and/or have other global effects, such as the creation/destruction of limit cycle(s). While it is possible to state general conditions for some of these bifurcations (like we did for the backward bifurcation), due to the complexity and number of parameters in our model, such conditions are impossible to interpret in a meaningful way. Thus, in this section we focus on using the MatCont software to numerically detect and continue these bifurcations. In these examples, we vary both the infection rate (
) and disease-induced mortality rate (
) while fixing the remaining parameters. Parameter values were selected to best demonstrate the resulting bifurcation curves, which sometimes only occur over very small areas.
A Hopf (i.e. Andronov-Hopf) bifurcation simultaneously results in the appearance of a limit cycle and the switch in stability of an equilibrium point (Strogatz 2015). In the learned avoidance system, we found that a Hopf bifurcation may occur around the endemic equilibrium
. The Hopf bifurcation may be either supercritical, resulting in a stable limit cycle and unstable fixed point, or subcritical, resulting in an unstable limit cycle and stable fixed point (Strogatz 2015). The top panel of Fig. 4 shows an example bifurcation diagram in which two supercritical Hopf bifurcations occur at
and
; for
in-between, the endemic equilibrium is unstable and a stable limit cycle exists. There is also a supercritical Hopf bifurcation in the bottom panel of Fig. 4 at
. In contrast, Fig. 5 shows an example in which there is a subcritical Hopf bifurcation that results in an unstable limit cycle.
Fig. 4.

Two bifurcation diagrams demonstrating bifurcations of limit cycles in the learned avoidance model. Solid lines represent locally stable equilibria, while dashed lines represent unstable equilibria. Diagrams were generated by varying
(which has a linear relationship with
). Top (
): a supercritical Hopf bifurcation at
results in the endemic equilibrium
becoming unstable and a stable limit cycle appearing; another supercritical Hopf bifurcation at
undoes this. Bottom (
): a homoclinic bifurcation near
results in the creation of a stable limit cycle, which is destroyed by a supercritical Hopf bifurcation at
. Parameter values used were
and
.
Fig. 5.
Demonstration of the three types of codimension-1 bifurcations of limit cycles in the learned avoidance system. The left plot shows the size (min/max number of infected individuals) of the resulting limit cycles(s), while the right plot shows the period of the limit cycle(s). As the infection rate
increases (with
), a subcritical Hopf bifurcation results in an unstable limit cycle, a homoclinic bifurcation results in a stable limit cycle, and then the two limit cycles collide and disappear at the LPC (limit point bifurcation of cycles) point. Other parameters have the values
and
.
We state the general condition for a Hopf bifurcation to occur at
in Sect. S1.6. Due to the complexity our model, though, the resulting condition is difficult to derive meaning from. As for the other equilibria, we showed previously that the DFE only switches stability due to the transcritical bifurcation at
, and thus no Hopf bifurcations occur at the DFE. While the condition for a Hopf bifurcation to occur at the secondary endemic equilibrium
is similarly difficult to interpret, numerical simulations support that
is always unstable when it exists, and thus that there are no Hopf bifurcations around
(Fig. S2).
A homoclinic bifurcation occurs when a limit cycle and saddle point collide, resulting in the destruction of the limit cycle (Strogatz 2015). This is a global bifurcation, and cannot be detected by examining the eigenvalues of the Jacobian at the equilibrium point (Strogatz 2015). As the limit cycle gets closer and closer to the saddle point, the period of the cycle approaches infinity; at the bifurcation point the limit cycle becomes a homoclinic orbit (Strogatz 2015). In numerical simulations of the learned avoidance model, we found that a homoclinic bifurcation could occur with the secondary endemic equilibrium
. Figure 5 shows an example in which the homoclinic bifurcation involves a stable limit cycle, while Fig. S3 shows an example in which it involves an unstable limit cycle. A homoclinic bifurcation also occurs in the bottom panel of Fig. 4 near
(not observable via changes in fixed point stability), resulting in a stable limit cycle which is destroyed by a Hopf bifurcation as
increases. The final codimension-1 bifurcation in our model is a limit point bifurcation of cycles (LPC), also known as a fold or saddle-node bifurcation of cycles. At this type of bifurcation, a stable and an unstable limit cycle collide and disappear (Kuznetsov 1998). This is another global bifurcation that cannot be detected through eigenvalue conditions of equilibria (Strogatz 2015). Figure 5 shows an example of an LPC bifurcation that occurs as the infection rate (
) varies. This figure also demonstrates that there are regions in the learned avoidance model in which a stable and unstable limit cycle coexist.
The five previously described codimension-1 bifurcations result in bifurcation curves as two parameters are varied. Figures 6 and 7 show a two-dimensional numerical bifurcation diagram for our model resulting from varying both the infection rate (
) and the disease-induced mortality rate (
). For instance, the backward bifurcation (BB) curve represents the values
at which the saddle-node bifurcation of endemic equilibria occurs (and is positive). Similarly, the curve labeled
shows where the transcritical bifurcation of the disease-free equilibrium occurs. The bifurcation curves divide the model into ten regions with distinct behavior. In Table 2, we describe for each region the existence/stability of equilibria, existence/stability of limit cycles, and typical behavior of trajectories. Sample trajectories for each region are shown in Fig. 8. For sample trajectories, we focus on the general behavior of the system towards attracting fixed points/limit cycles in the presence of disease (as we previously showed that if no disease is present, the DFE is always globally asymptotically stable).
Fig. 6.

A bifurcation diagram of the learned avoidance system, varying the infection parameter
and the disease-induced mortality parameter
. Only the five largest regions are indicated numerically here for clarity; zoomed in figures of the areas indicated with red boxes are given in Fig. 7. The grey line indicates the transcritical bifurcation at
, with the area above the line being
and below
. Other bifurcation curves include a Hopf curve, the saddle-node curve arising from a backward bifurcation (BB), a homoclinic curve (Hom), and a limit point of cycles curve (LPC). Co-dimension two bifurcations are indicated with red stars and include two Bogdanov-Takens (BT) points, a cusp point (CP), a neutral saddle point (NS), and a generalized Hopf point (GH). The parameter values used were
and 
Fig. 7.

Zoomed in figures of the areas indicated by red boxes in Fig. 6 (top: left box, bottom: right box). The grey line indicates the transcritical bifurcation at
, with the area above the line being
and below
. Other bifurcation curves include a Hopf curve, the saddle-node curve arising from a backward bifurcation (BB), a homoclinic curve (Hom), and a limit point of cycles curve (LPC). Co-dimension two bifurcations are indicated with red stars and include a Bogdanov-Takens point (BT) and a cusp point (CP). The parameter values used were the same as in Fig. 6
Table 2.
| Region | DFE | ![]() |
![]() |
Limit Cycle(s) | Sample Trajectories |
|---|---|---|---|---|---|
| 1 | Stable | Trajectories approach the DFE | |||
| 2 (& 10) | Stable | Stable | Unstable | Bistability: trajectories approach the DFE or
|
|
| 3 | Unstable | Stable | Trajectories approach
|
||
| 4 | Unstable | Unstable | One (stable) | Trajectories approach the stable limit cycle | |
| 5 | Stable | Unstable | Unstable | Trajectories approach the DFE | |
| 6 | Stable | Unstable | Unstable | One (stable) | Bistability: trajectories approach the DFE or the stable limit cycle |
| 7 | Unstable | Stable | Two (stable & unstable) | Bistability: trajectories approach the stable limit cycle or slowly spiral towards
|
|
| 8 | Stable | Stable | Unstable | Two (stable & unstable) | Tristability: trajectories approach the DFE, the stable limit cycle, or slowly spiral towards
|
| 9 | Stable | Stable | Unstable | One (unstable) | Bistability: trajectories approach the DFE or slowly spiral towards
|
Sample trajectories for each attracting equilibria/limit cycle are shown for each region in Fig. 8. Equilibrium points include the disease-free equilibrium (DFE), the endemic equilibrium
, and the ‘secondary’ endemic equilibrium
(which only exists when a backward bifurcation occurs)
Fig. 8.
Sample trajectories corresponding to the labeled numeric regions in Figs. 6 and 7. Solid red dots represent (locally) stable equilibria, while open red dots represent unstable equilibria. Multiple trajectories are shown when bistability is present (multiple stable equilibria/cycles). Trajectories are described in detail in Table 2. 1)
. 2)
. 3)
. 4)
. 5)
. 6)
. 7)
. 8)
. 9)
. Region 10 was qualitatively similar to region 2 and is not shown here. Line widths were varied to result in clearer depictions of each trajectory. Other parameter values were the same as in Fig. 6.
As
and
are varied in Figs. 6 and 7, several types of codimension-2 bifurcations occur, which involve the creation/destruction of the codimension-1 bifurcation curves. A cusp point (CP) is found where the backward bifurcation curve collides with the line for the transcritical bifurcation at
, at approximately
). The backward bifurcation curve ends at the cusp point, and thus the cusp point represents the transition between a backward bifurcation and forward bifurcation as
increases. A Bodganov-Takens (BT) bifurcation occurs where a Hopf, homoclinic, and saddle-node curve meet, resulting in the end of the Hopf and homoclinic curves (Guckenheimer 1986). There are two BT points in Fig. 6, where the Hopf and homoclinic curves meet the backward bifurcation (i.e., saddle-node) curve at approximately
and
. A neutral saddle (NS) point is found on the homoclinic curve near
(0.001304, 0.034685). While a neutral saddle simply means that the Jacobian of an equilibrium point has two real eigenvalues that sum to zero, it sometimes indicates more interesting behavior; in this case, the neutral saddle point marks the start of the LPC curve (Guckenheimer 1986; Kuznetsov 1998). The LPC curve doesn’t exist for long, as nearby it collides with the Hopf curve and disappears at a generalized Hopf (GH) point at approximately
. A generalized Hopf (i.e., Bautin) bifurcation occurs when the Hopf bifurcation switches from supercritical to subcritical (Kuznetsov 1998). Thus, in Fig. 6 the Hopf bifurcation is subcritical for
and supercritical for
.
Simulation results
In the presence of disease-induced mortality, avoidance behavior has the potential to increase host abundance, thus benefiting populations by decreasing the chance of extinction via demographic stochasticity. We begin by comparing the outcomes of innate versus learned avoidance behavior to examine what scenarios can lead one to outperform the other (in terms of increasing host population size), and how these outcomes compare to having no avoidance behavior. Assuming constant avoidance functions with
(and no management to induce learned avoidance), Fig. 9 shows the steady state population size as the infection rate varies in different mortality scenarios. We see that when disease-induced mortality is low, learned avoidance and innate avoidance generally have similar outcomes, with the steady-state population size being higher than under no avoidance. In the best case scenario, the steady-state population size under learned avoidance was more than
greater than under no avoidance. The performance of learned and innate avoidance was even better when behavior was more effective (with
in Fig. S4, the steady-state population under learned avoidance was up to 127
greater than under no avoidance). With high disease-induced mortality, though, learned avoidance had similar outcomes to no avoidance. Even when behavioral avoidance was very effective, with the chance of dying from each infection event being 80%, few individuals had the chance to learn and benefit from avoidance. Unsurprisingly, the benefits of innate and learned avoidance behavior also lessened as the survival cost of avoidance increased.
Fig. 9.
The steady-state population size resulting from learned, innate, or no behavioral avoidance as the infection rate (
) varies. Learned avoidance generally had similar outcomes to innate avoidance under low disease-induced mortality, and similar outcomes to no avoidance under high disease-induced mortality. Simulations assume constant avoidance behavior for the innate/learned avoidance models, with a moderate effectiveness of behavior (
) and the survival cost
equal to 0 (no cost),
(low cost), or
(high cost). The no avoidance model was obtained by setting
and
. Disease-induced mortality rates were
(low), 0.04 (medium), or 0.16 (high). Other parameter values were
, and for the learned avoidance model,
.
While innate avoidance generally had the best outcomes, in some cases with a small infection rate it performed worse. This is because while all individuals possessing avoidance behavior prevented the disease from persisting, all individuals also experienced the survival cost of avoidance, which brought the steady-state population size down. In contrast, under learned avoidance if the disease cannot persist, the population eventually returns to all fully susceptible individuals (who don’t experience an extra survival cost). However, this difference may be rectified by examining non-constant avoidance behavior: for instance, a behavioral response that ‘turns off’ at very low pathogen concentrations (Figures S5 -S6).
We next consider the effectiveness of management effort to induce avoidance (v) in the learned avoidance system. Figure 10 shows the steady-state population size resulting from varying levels of management effort to induce learned avoidance. We found that management effort was most effective at increasing the steady-state population size when behavioral avoidance was strong, and the cost of behavioral avoidance was not too large. Steady-state population size was maximized at the point where management effort decreased
to 1 (note that backward bifurcations did not occur under the chosen simulated parameters). While increasing v further insured a greater decrease in
, in cases with a survival cost this leads to slightly decreasing steady-state population sizes. Further simulations showed that management effort was most effective under larger disease-induced mortality (Figure S7, top), which is intuitive since there is more to be gained by avoiding the disease when disease-induced mortality is high. As we assumed that management to induce behavior carries no mortality risk, it thus offers a safe path to learning avoidance behavior in the face of high disease-induced mortality. Management effort to induce avoidance was also more effective when the
of the unmanaged system was closer to 1 (Figure S7, bottom).
Fig. 10.
The steady-state population size resulting from varying levels of management effort to induce behavioral avoidance (v) in the learned avoidance system. Management had the most positive impact when avoidance behavior was effective (small
) and the survival cost of avoidance was not too large. Simulations assume moderate disease-induced mortality (
) and constant avoidance behavior, with the survival cost
equal to 0 (no cost),
(low cost), or
(high cost). The infection rate
was selected to result in
when
. Other parameter values were
and
.
Discussion
We examined models representing two alternative mechanisms for behavioral avoidance: innate avoidance, which is present from birth, and learned avoidance, which may be gained after an infection event. The innate avoidance model showed relatively simple behavior, in which there was a single endemic equilibrium and disease persistence was only possible for
. In contrast, the learned behavioral avoidance model showed a wealth of codimension-1 and -2 bifurcations, resulting in potential disease persistence for
and other complex model behavior, such as limit cycles. We provided analytical results for these bifurcations when possible, and otherwise performed numerical bifurcation analyses to demonstrate our observations. Our work showed that learned avoidance behavior may lead to interesting dynamics in waterborne (or more generally, environmentally-spread) disease systems, and that it may have unexpected consequences when interacting with management effort to control the disease. It is noteworthy that such varied and complicated dynamics are possible even for the simple models of avoidance behavior that we focused on in this paper.
Many management strategies to control the spread of diseases work by influencing factors to decrease the reproduction number (through vaccinations, quarantines, etc.), ideally bringing it below 1 (Ridenhour et al. 2014). Thus, backward bifurcations have important implications for disease management, as their existence in a system implies that bringing
below one is not enough to ensure the disease dies out. Interestingly, backward bifurcations were only possible in the learned avoidance system, and only when management effort to induce avoidance behavior was non-zero. While this is an unexpected consequence, our analysis also demonstrated that backward bifurcations became ‘less likely’ under higher disease-induced mortality. As chytridiomycosis carries a high mortality risk for many species of amphibians (Rosenblum et al. 2010; Tobler and Schmidt 2010), backward bifurcations may be less of a concern for their management. However, we found that backward bifurcations were still possible at disease-induced mortality rates high enough to be relevant for many diseases of fish and wildlife.
Reintroductions of amphibians have failed due to Bd presence (Stockwell et al. 2011), which can persist in the environment and on more tolerant host species (Brannelly et al. 2015; Johnson and Speare 2005; Narayan et al. 2014). (McMahon et al. 2021) suggest that inducing avoidance behavior (e.g., in captive bred individuals before release) could help improve the establishment and persistence of amphibian populations. Our simulations of management effort to induce avoidance behavior showed that it could increase the size of amphibian populations and even reduce
below 1, especially when the behavioral response was strong and with little additional survival cost. However, our work considered a relatively simple implementation of such management (constant effort over time) in wild individuals. Future work could consider time-varying management strategies, or even add an optimal control aspect to the model to consider when it is best to apply management effort to induce avoidance behavior. For instance, one might consider the optimization of a captive-breeding program in which behavior may be induced in individuals before release at an additional cost. Of course, in practice, management to induce behavior would only be useful in species which have the capacity for learning behavioral avoidance: while (McMahon et al. 2014, 2021) found two frog species that demonstrated significant learned avoidance, two other tested species did not demonstrate such a capacity. Behavioral studies, such as those performed in (McMahon et al. 2014, 2021), would be needed before implementing such a management strategy for other species.
We made some simplifications to our model to make obtaining analytical results more feasible, but there are many interesting questions that could be answered with more complex models of learned and innate behavioral avoidance. For one, our model assumes a constant environment through time, but in reality, seasonality is not only an important aspect of amphibian population dynamics (e.g. reproduction, migration) (Borzée et al. 2019; Kinney et al. 2011) but also Bd dynamics. The growth of Bd is maximized around 17-25
C (62-77
F), with slower or no growth outside this range (Piotrowski et al. 2004), meaning that prevalence and impacts of Bd may vary greatly over the course of a year (Kinney et al. 2011; Lenker et al. 2014; Longo et al. 2010). We also kept our learned avoidance model to four state variables, focusing on how avoidance might confer a lower chance of infection. However, should infection occur, avoidance could also potentially result in lower infection severity or faster recovery, in which case a model with multiple infectious compartments would be worth examining. Furthermore, we did not consider a load-dependent model, although in reality the impacts of Bd (e.g. mortality) are highly load-dependent (Wilber et al. 2016). A model with sequential infectious stages, or better yet an integral projection model (e.g., Wilber et al. 2016), would be best suited for analyzing the interactions between behavior and load. Other potential generalizations of our model include examining non-constant recruitment functions or additional modes of infection (e.g., direct host-to-host transmission along with environmental transmission).
Because we focused on relatively simple models for avoidance behavior, there is scope for further research examining more complicated adaptive behavioral responses. For instance, realistically, animals may abandon avoidance behaviors quicker if the cost is higher, when disease incidence is low, or when other mortality risks are more pressing (e.g., if avoidance behavior makes it harder to capture prey and they and they are close to starvation). Finally, an interesting question is that of the evolution of avoidance behavior. (McMahon et al. 2021) theorize that the lack of significant innate/learned avoidance in some tested species could be related to species having only a limited evolutionary history with Bd, or already having other resistance/tolerance mechanisms that result in a lower selective pressure for avoidance. Future modeling work could study what factors favor the evolution of avoidance behavior, and how it interacts with other resistance/tolerance mechanisms.
Disease outbreaks can cause increased pressures on animal populations already impacted by climate change, invasive species, habitat loss, and other anthropogenic pressures (Smith et al. 2009; Wake and Vredenburg 2008). Such factors may also increase the emergence and spread of wildlife diseases (Lafferty and Gerber 2002; Smith et al. 2009), potentially leading to worldwide impacts, as has been seen with chytridiomycosis (Scheele et al. 2019). Behavioral avoidance offers an additional route for animals to resist potentially deadly diseases, and has been demonstrated in a variety of taxa. Our work illustrates important dynamics related to innate and learned avoidance in waterborne diseases, and shows how and when management to induce avoidance behavior may help bolster host populations. Inducing behavior as a management tactic has indeed already proven successful in other contexts: for example, conditioned taste aversion has been used to dissuade threatened predators from consuming toxic prey (Ward-Fear et al. 2024) and predator avoidance behavior can be induced in captured/captive-bred prey to help improve survival after release (Edwards et al. 2021). Behavioral avoidance thus offers an additional option alongside a suite of existing disease management strategies in wildlife (Langwig et al. 2015) that could help improve future conservation and reintroduction efforts.
Supplementary Information
Below is the link to the electronic supplementary material.
Acknowledgements
We thank the Cornell BEEID theory group for their helpful comments and feedback on this manuscript.
Author contributions
Both authors conceptualized the project and designed the methodology; Anna J. Poulton performed the analysis, wrote the code, and generated the visualizations; Stephen P. Ellner provided supervision; Anna J. Poulton wrote the original manuscript draft; both authors contributed to review and editing.
Funding
We acknowledge support from NSF Grant DEB-1933497.
Data availability
Novel code, Maxima scripts, and output (Poulton and Ellner 2024) are available on Figshare (https://doi.org/10.6084/m9.figshare.27914121).
Declarations
Conflict of interest
The authors declare there are no conflicts of interest.
Footnotes
The original online version of this article was revised due to update in the funding section.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- Asada T, Yoshida H (2003) Coefficient criterion for four-dimensional Hopf bifurcations: a complete mathematical characterization and applications to economic dynamics. Chaos, Solitons Fractals 18(3):525–536 [Google Scholar]
- Babin A, Kolly S, Schneider F, Dolivo V, Zini M, Kawecki TJ (2014) Fruit flies learn to avoid odours associated with virulent infection. Biol Let 10(3):20140048 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Behringer DC, Karvonen A, Bojko J (2018) Parasite avoidance behaviours in aquatic environments. Philos Trans Royal Soc B Biol Sci 373(1751):20170202 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Berger L, Hyatt AD, Speare R, Longcore JE (2005) Life cycle stages of the amphibian chytrid Batrachochytrium dendrobatidis. Dis Aquat Org 68(1):51–63 [DOI] [PubMed] [Google Scholar]
- Bhatia N, Szegö G (1967). Dynamical Systems: Stability Theory and Applications. Lecture notes in mathematics. Springer-Verlag
- Bhattacharyya S, Bauch CT (2011) “Wait and see’’ vaccinating behaviour during a pandemic: a game theoretic analysis. Vaccine 29(33):5519–5525 [DOI] [PubMed] [Google Scholar]
- Boillat M, Challet L, Rossier D, Kan C, Carleton A, Rodriguez I (2015) The vomeronasal system mediates sick conspecific avoidance. Curr Biol 25(2):251–255 [DOI] [PubMed] [Google Scholar]
- Borzée A, Choi Y, Kim YE, Jablonski PG, Jang Y (2019). Interspecific Variation in Seasonal Migration and Brumation Behavior in Two Closely Related Species of Treefrogs. Frontiers in Ecology and Evolution 7
- Brannelly LA, Hunter DA, Lenger D, Scheele BC, Skerratt LF, Berger L (2015) Dynamics of Chytridiomycosis during the Breeding Season in an Australian Alpine Amphibian. PLoS ONE 10(12):e0143629 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Castillo-Chavez C, Feng Z, Huang W (2002). On the computation of R0 and its role in global stability. In C. Castillo-Chávez, S. Blower, P. van den Driessche, D. Kirschner, and A.-A. Yakubu (Eds.), Mathematical approaches for emerging and reemerging infectious diseases: An introduction., Volume IMA 125, pp. 229–250. Springer
- Castillo-Chavez C, Song B (2004) Dynamical models of tuberculosis and their applications. Math Biosci Eng 1(2):361–404 [DOI] [PubMed] [Google Scholar]
- Dashtbali M, Mirzaie M (2021) A compartmental model that predicts the effect of social distancing and vaccination on controlling COVID-19. Sci Rep 11(1):8191 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Dhooge A, Govaerts W, Kuznetsov YA, Meijer HG, Sautois B (2008) New features of the software MatCont for bifurcation analysis of dynamical systems. Math Comput Model Dyn Syst 14(2):147–175 [Google Scholar]
- Diekmann O, Heesterbeek JAP, Metz JAJ (1990) On the definition and the computation of the basic reproduction ratio R0 in models for infectious diseases in heterogeneous populations. J Math Biol 28(4):365–382 [DOI] [PubMed] [Google Scholar]
- Diekmann O, Heesterbeek JAP, Roberts MG (2010) The construction of next-generation matrices for compartmental epidemic models. J R Soc Interface 7(47):873–885 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Edwards MC, Ford C, Hoy JM, FitzGibbon S, Murray PJ (2021) How to train your wildlife: a review of predator avoidance training. Appl Anim Behav Sci 234:105170 [Google Scholar]
- Ezenwa V, Altizer SM, Hall R (Eds.) (2022). Animal Behavior and Parasitism. Oxford University Press
- Freedman HI, Ruan S, Tang M (1994) Uniform persistence and flows near a closed positively invariant set. J Dyn Diff Equat 6(4):583–600 [Google Scholar]
- Guckenheimer J (1986) Multiple bifurcation problems for chemical reactors. Physica D 20(1):1–20 [Google Scholar]
- Herczeg D, Horváth G, Bókony V, Herczeg G, Kásler A, Holly D, Mikó Z, Ujhegyi N, Ujszegi J, Papp T, Hettyey A (2024) Juvenile agile frogs spatially avoid ranavirus-infected conspecifics. Sci Rep 14(1):23945 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Jin Y, Wang W, Xiao S (2007) An SIRS model with a nonlinear incidence rate. Chaos Solitons & Fractals 34(5):1482–1497 [Google Scholar]
- Johnson ML, Speare R (2005) Possible modes of dissemination of the amphibian chytrid Batrachochytrium dendrobatidis in the environment. Dis Aquat Org 65(3):181–186 [DOI] [PubMed] [Google Scholar]
- Kinney VC, Heemeyer JL, Pessier AP, Lannoo MJ (2011) Seasonal pattern of batrachochytrium dendrobatidis infection and mortality in Lithobates areolatus: affirmation of Vredenburg’s “10,000 Zoospore Rule’’. PLoS ONE 6(3):e16708 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kolby JE, Ramirez SD, Berger L, Richards-Hrdlicka KL, Jocque M, Skerratt LF (2015) Terrestrial dispersal and potential environmental transmission of the amphibian chytrid fungus (Batrachochytrium dendrobatidis). PLoS ONE 10(4):e0125386 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kuznetsov YA (1998) Elements of Applied Bifurcation Theory, Second Edition, vol 112. Springer [Google Scholar]
- Lafferty KD, Gerber LR (2002) Good medicine for conservation biology: the intersection of epidemiology and conservation theory. Conserv Biol 16(3):593–604 [Google Scholar]
- Langwig KE, Voyles J, Wilber MQ, Frick WF, Murray KA, Bolker BM, Collins JP, Cheng TL, Fisher MC, Hoyt JR, Lindner DL, McCallum HI, Puschendorf R, Rosenblum EB, Toothman M, Willis CK, Briggs CJ, Kilpatrick AM (2015) Context-dependent conservation responses to emerging wildlife diseases. Front Ecol Environ 13(4):195–202 [Google Scholar]
- LeJeune L, Browne C (2023) Effect of cross-immunity in a two-strain cholera model with aquatic component. Math Biosci 365:109086 [DOI] [PubMed] [Google Scholar]
- Lenker M, Savage A, Becker C, Rodriguez D, Zamudio K (2014) Batrachochytrium dendrobatidis infection dynamics vary seasonally in upstate New York, USA. Dis Aquat Org 111(1):51–60 [DOI] [PubMed] [Google Scholar]
- Longo AV, Burrowes PA, Joglar RL (2010) Seasonality of Batrachochytrium dendrobatidis infection in direct-developing frogs suggests a mechanism for persistence. Dis Aquat Org 92(2–3):253–260 [DOI] [PubMed] [Google Scholar]
- Maxima (2023). Maxima, a Computer Algebra System. Version 5.47.0. https://maxima.sourceforge.io/
- McCallum H (2016) Models for managing wildlife disease. Parasitology 143(7):805–820 [DOI] [PubMed] [Google Scholar]
- McMahon TA, Hill MN, Lentz GC, Scott EF, Tenouri NF, Rohr JR (2021) Amphibian species vary in their learned avoidance response to the deadly fungal pathogen Batrachochytrium dendrobatidis. J Appl Ecol 58(8):1613–1620 [Google Scholar]
- McMahon TA, Sears BF, Venesky MD, Bessler SM, Brown JM, Deutsch K, Halstead NT, Lentz G, Tenouri N, Young S, Civitello DJ, Ortega N, Fites JS, Reinert LK, Rollins-Smith LA, Raffel TR, Rohr JR (2014) Amphibians acquire resistance to live and dead fungus overcoming fungal immunosuppression. Nature 511(7508):224–227 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Miller MR, White A, Boots M (2005) The evolution of host resistance: tolerance and control as distinct strategies. J Theor Biol 236(2):198–207 [DOI] [PubMed] [Google Scholar]
- Narayan EJ, Graham C, McCallum H, Hero J-M (2014) Over-wintering tadpoles of Mixophyes fasciolatus act as reservoir host for Batrachochytrium dendrobatidis. PLoS ONE 9(3):e92499 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ndlovu, M., A. Pérez-Rodríguez, E. Devereux, M. Thomas, A. Colina, and L. Molaba (2018). Water for African elephants (Loxodonta africana): faecal microbial loads affect use of artificial waterholes. Biology letters 14(8) [DOI] [PMC free article] [PubMed]
- Ni S, Weng W, Zhang H (2011) Modeling the effects of social impact on epidemic spreading in complex networks. XXPhys A 390(23):4528–4534 [Google Scholar]
- Piotrowski JS, Annis SL, Longcore JE (2004) Physiology of Batrachochytrium dendrobatidis, a chytrid pathogen of amphibians. Mycologia 96(1):9–15 [PubMed] [Google Scholar]
- Poulton AJ, Ellner SP (2024). Learned behavioral avoidance can alter outbreak dynamics in a model for waterborne infectious diseases. Code, scripts, and results. Figshare. 10.6084/m9.figshare.27914121 [DOI] [PMC free article] [PubMed]
- R Core Team (2022) R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria
- Reluga TC, Medlock J (2007). Resistance mechanisms matter in SIR models. Mathematical biosciences and engineering: MBE 4(3), 553–563. Place: United States [DOI] [PubMed]
- Ridenhour B, Kowalik JM, Shay DK (2014) Unraveling R0: considerations for public health applications. Am J Public Health 104(2):e32–e41 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rosenblum EB, Voyles J, Poorten TJ, Stajich JE (2010) The deadly chytrid fungus: a story of an emerging pathogen. PLoS Pathog 6(1):e1000550 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rosengaus RB, Jordan C, Lefebvre ML, Traniello JFA (1999) pathogen alarm behavior in a termite: a new form of communication in social insects. Naturwissenschaften 86(11):544–548 [DOI] [PubMed] [Google Scholar]
- Rowley JJL, Alford RA (2007) Behaviour of Australian rainforest stream frogs may affect the transmission of chytridiomycosis. Dis Aquat Org 77(1):1–9 [DOI] [PubMed] [Google Scholar]
- Roy BA, Kirchner JW (2000) Evolutionary dynamics of pathogen resistance and tolerance. Evolution 54(1):51–63 [DOI] [PubMed] [Google Scholar]
- Sarabian C, Belais R, MacIntosh AJJ (2018). Feeding decisions under contamination risk in bonobos. Philosophical transactions of the Royal Society of London. Series B, Biological sciences 373(1751) [DOI] [PMC free article] [PubMed]
- Scheele BC, Pasmans F, Skerratt LF, Berger L, Martel A, Beukema W, Acevedo AA, Burrowes PA, Carvalho T, Catenazzi A, I. D. l. Riva, M. C. Fisher, S. V. Flechas, C. N. Foster, P. Frías-Álvarez, T. W. J. Garner, B. Gratwicke, J. M. Guayasamin, M. Hirschfeld, J. E. Kolby, T. A. Kosch, E. L. Marca, D. B. Lindenmayer, K. R. Lips, A. V. Longo, R. Maneyro, C. A. McDonald, J. Mendelson, P. Palacios-Rodriguez, G. Parra-Olea, C. L. Richards-Zawacki, M.-O. Rödel, S. M. Rovito, C. Soto-Azat, L. F. Toledo, J. Voyles, C. Weldon, S. M. Whitfield, M. Wilkinson, K. R. Zamudio, and S. Canessa, (2019) Amphibian fungal panzootic causes catastrophic and ongoing loss of biodiversity. Science 363(6434):1459–1463 [DOI] [PubMed]
- Smith KF, Acevedo-Whitehouse K, Pedersen AB (2009) The role of infectious diseases in biological conservation. Anim Conserv 12(1):1–12 [Google Scholar]
- Soetaert K, Petzoldt T, Setzer RW (2010) Solving Differential Equations in R: Package deSolve. J Stat Softw 33(9):1–25. 10.18637/jss.v033.i0920808728 [Google Scholar]
- Stockwell M, Clulow S, Clulow J, Mahony M (2011) The impact of the Amphibian Chytrid Fungus Batrachochytrium dendrobatidis on a Green and Golden Bell Frog Litoria aurea reintroduction program at the Hunter Wetlands Centre Australia in the Hunter Region of NSW. Australian Zool 34(3):379–386 [Google Scholar]
- Strogatz S (2015). Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering (2nd ed.). CRC Press. 10.1201/9780429492563
- The MathWorks Inc. (2024). MATLAB version: 24.1.0.2689473 (R2024a) Update 6. https://www.mathworks.com
- Tobler U, Schmidt BR (2010) Within- and among-population variation in chytridiomycosis-induced mortality in the toad alytes obstetricans. PLoS ONE 5(6):e10927 [DOI] [PMC free article] [PubMed] [Google Scholar]
- van den Driessche P, Watmough J (2002) Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission. Math Biosci 180:29–48 [DOI] [PubMed] [Google Scholar]
- Verelst F, Willem L, Beutels P (2016) Behavioural change models for infectious disease transmission: a systematic review (2010–2015). J R Soc Interface 13(125):20160820 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wake DB, Vredenburg VT (2008). Are we in the midst of the sixth mass extinction? A view from the world of amphibians. Proceedings of the National Academy of Sciences 105(supplement_1), 11466–11473 [DOI] [PMC free article] [PubMed]
- Wang Z, Zhang H, Wang Z (2014) Multiple effects of self-protection on the spreading of epidemics. Chaos Solitons & Fractals 61:1–7 [Google Scholar]
- Ward-Fear G, Bruny M, Rangers TB, Forward C, Cooksey I, Shine R (2024) Taste aversion training can educate free-ranging crocodiles against toxic invaders. Proc Biol Sci 291(2028):20232507 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wilber MQ, Langwig KE, Kilpatrick AM, McCallum HI, Briggs CJ (2016) Integral Projection Models for host–parasite systems with an application to amphibian chytrid fungus. Methods Ecol Evol 7(10):1182–1194 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Woodhams DC, Alford RA, Briggs CJ, Johnson M, Rollins-Smith LA (2008) Life-history trade-offs influence disease in changing climates: strategies of an amphibian pathogen. Ecology 89(6):1627–1639 [DOI] [PubMed] [Google Scholar]
- Yang C, Wang X, Gao D, Wang J (2017) Impact of awareness programs on cholera dynamics: two modeling approaches. Bull Math Biol 79(9):2109–2131 [DOI] [PubMed] [Google Scholar]
- Zhang Y, Lu H, Bargmann CI (2005) Pathogenic bacteria induce aversive olfactory learning in Caenorhabditis elegans. Nature 438(7065):179–184 [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Novel code, Maxima scripts, and output (Poulton and Ellner 2024) are available on Figshare (https://doi.org/10.6084/m9.figshare.27914121).







































































