Next Article in Journal
A Random Forest-Based Method for Predicting Borehole Trajectories
Previous Article in Journal
An Iterative PSD-Based Procedure for the Gaussian Stochastic Earthquake Model with Combined Intensity and Frequency Nonstationarities: Its Application into Precast Concrete Structures
Previous Article in Special Issue
Accurate Approximation of the Matrix Hyperbolic Cosine Using Bernoulli Polynomials
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Qualitative Numerical Analysis of a Free-Boundary Diffusive Logistic Model

1
Instituto de Matemática Multidisciplinar, Universitat Politècnica de València, Camino de Vera, s/n, 46022 Valencia, Spain
2
Depto de Matemática Aplicada y Ciencias de la Computación, Universidad de Cantabria, Avda. de los Castros, s/n, 39005 Santander, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(6), 1296; https://doi.org/10.3390/math11061296
Submission received: 9 February 2023 / Revised: 3 March 2023 / Accepted: 6 March 2023 / Published: 8 March 2023
(This article belongs to the Special Issue Mathematical Methods and Models in Nature and Society)

Abstract

:
A two-dimensional free-boundary diffusive logistic model with radial symmetry is considered. This model is used in various fields to describe the dynamics of spreading in different media: fire propagation, spreading of population or biological invasions. Due to the radial symmetry, the free boundary can be treated by a front-fixing approach resulting in a fixed-domain non-linear problem, which is solved by an explicit finite difference method. Qualitative numerical analysis establishes the stability, positivity and monotonicity conditions. Special attention is paid to the spreading–vanishing dichotomy and a numerical algorithm for the spreading–vanishing boundary is proposed. Theoretical statements are illustrated by numerical tests.

1. Introduction

Since the seminal works of Hotelling (1921) [1], Fisher (1937) [2] and Kolmogorov, Petrovski and Piskunov (1937) [3], time-dependent diffusion–reaction partial differential equations (PDE) have been commonly used for describing the growth and spread of populations and for propagation modelling in many different applications, such as biological invasions [4], epidemic spreading [5,6], wildfire propagation [7,8] or population genetics [9].
A crucial element of the propagation problems is the localisation of the spreading front. By the strong maximum principle for parabolic equations, the unknown population density u ( x , t ) satisfies
u ( x , t ) > 0 x R n , t > 0 ,
although the initial population range is bounded.
In [10], Du and Lin introduced a modification of the Fisher-KPP diffusive logistic model by adding a Stefan’s type condition for the boundary, such that the front has to be determined depending on time together with the unknown u ( x , t ) . Thus, the problem becomes a free boundary problem. The one-dimensional case is considered in [10], while the two-dimensional case with radial symmetry is studied in [11]. The cited works [10,11] have inspired many further studies for more complex models [6,12,13,14] and the model in a heterogeneous time-periodic environment [15].
One important advantage of considering this free boundary propagation model is the ability to capture the realistic dichotomy of two possible scenarios: spreading or vanishing. However, with the previous reaction–diffusion models without imposed free boundary, only spreading is observed. Some relevant theoretical results about the spreading–vanishing dichotomy are proved in [10,11].
The aim of this paper is to provide an efficient numerical method for the free boundary diffusive logistic model with radial symmetry. Since the best model may be wasted with a careless numerical treatment, a detailed numerical analysis is studied. Furthermore, reliable algorithms are proposed for numerical approximation of the relevant parameters for a spreading or vanishing scenario.
The aim of this paper is to present an effective numerical approach for solving the free boundary diffusive logistic model with radial symmetry based on front-fixing transformation. Given the potential loss of accuracy that can result from a poor numerical treatment, we provide a detailed numerical analysis. Additionally, the paper also includes a presentation of several significant theorems related to spreading–vanishing phenomena. Furthermore, we propose efficient algorithms for the numerical approximation of the relevant parameters for preading or vanishing scenario.
The paper is structured into several sections. Section 2, provides a concise explanation of the free boundary diffusive logistic model [11], followed by new results related to the spreading–vanishing dichotomy. In Section 3, we describe the methodology employed to derive numerical solutions for the unknown population density and the propagation front. This involved the development of a front-fixing method and the utilization of a finite difference scheme. Section 4 focuses on the numerical analysis of the solution, with specific emphasis on stability, positivity, and monotonicity. We then present numerical experiments to illustrate the results in Section 5. Finally, we conclude the paper in the last section.

2. Diffusive Logistic Model

In the present study we follow the approach introduced by Du and Lin [10] of using the free boundary formulation with the Stefan condition. In [11], authors extended this approach to a multidimensional case with radial symmetry. This assumption allows the reduction of the general multidimensional partial differential equation (PDE) to the one dimensional with the unique spatial variable r = | x | , where x R N . In this paper we consider N = 2 , i.e., the two-dimensional problem. Hence, the population density of a spreading species u ( r , t ) is found to be a positive solution of the following free-boundary PDE problem,
u t ( r , t ) = D Δ u ( r , t ) + u ( r , t ) α ( r ) β ( r ) u ( r , t ) , t > 0 , 0 < r < H ( t ) ,
d H ( t ) d t = μ u r ( H ( t ) , t ) , t > 0 ,
subject to the initial and boundary conditions
H ( 0 ) = H 0 , u ( r , 0 ) = u 0 ( r ) , 0 r H 0 ,
u r ( 0 , t ) = 0 , u ( H ( t ) , t ) = 0 , t > 0 ,
where H ( t ) is the unknown moving boundary describing the spreading front of the species, D is the diffusion rate, μ is a given positive proportionality constant between the moving boundary speed and the population gradient at the front, α ( r ) is the intrinsic growth rate and α ( r ) / β ( r ) is the habitat carrying capacity. Both α ( r ) and β ( r ) are bounded functions, i.e., there are two positive constants κ 1 and κ 2 , such that
κ 1 α ( r ) , β ( r ) κ 2 , r [ 0 , ) .
Note that this model is radially symmetric but heterogeneous. The opportunity of considering these type of population dynamics models instead of the homogeneous ones is pointed out in [4,16,17].
Initial distribution u 0 ( r ) satisfies
u 0 C 2 [ 0 , H 0 ] , u 0 ( 0 ) = u 0 ( H 0 ) = 0 , u 0 ( r ) > 0 r [ 0 , H 0 ) .
Due to the radial symmetry, u ( r , t ) depends only on one spatial variable r and Laplacian Δ u takes the form
Δ u = u r r + 1 r u r ,
where the right side of equality (8) is the so-called Bessel operator [18,19].
The Stefan condition, expressed by Equation (3), ensures that the speed of the spreading front is directly proportional to the gradient of the population at the front. It is important to note that when μ = 0 , the free-boundary PDE problem is reduced to a fixed domain problem, which corresponds to the classical Fisher-KPP model [2].

Spreading–Vanishing Dichotomy

Previous theoretical studies [10,11] found that the population can either spread by occupying a new area or vanish without propagating depending on the initial front, population density and the parameter μ . This phenomena is called a spreading–vanishing dichotomy. Summarising the results of Theorems 2.4, 2.5 and 2.10 of [11], we can formulate the following spreading criteria:
Theorem 1 (Spreading–vanishing dichotomy
[11]). Let u ( r , t ) , H ( t ) be the solution of the problem (2)–(5), then there is a positive constant R * , such that the following situations are possible:
1. 
If H 0 R * , then the population spreads;
2. 
If H 0 < R * , then there exists μ * > 0 depending on u 0 such that:
  • If μ > μ * , then the population spreads;
  • If μ μ * , then the population vanishes.
In the present paper, we focus on the computation of R * with the aim of providing a numerical complementation of the results in [11]. Following the ideas of [11], R * is established such that
λ 1 ( D , α ( r ) , R * ) = 1 ,
where λ 1 ( D , α ( r ) , R * ) is the principal eigenvalue of the problem
D Δ ϕ + λ α ( r ) ϕ = 0 , 0 < r < R * , ϕ ( R * ) = 0 .
Hence, we aim to solve the inverse problem: for fixed λ = 1 , find R * such that (10) holds. The following corollary defines R * .
Corollary 1 (Initial value problem for spreading–vanishing boundary).
Due to the radial symmetry, problem (10) for λ = 1 , is equivalent to the following initial value problem (IVP):
D Δ ϕ + α ( r ) ϕ = 0 , r > 0 , ϕ ( 0 ) = C , ϕ ( 0 ) = 0 ,
where C > 0 is some arbitrary constant. Then, R * is the first positive root of ϕ ( r ) = 0 .
Note that the choice of the constant C does not change the value R * , which can be shown by the following lemma.
Lemma 1.
Let ϕ 1 ( r ) and ϕ 2 ( r ) be the solutions of IVP (11) for C = C 1 > 0 and C = C 2 > 0 , respectively. If  r 0 is a root of ϕ 1 ( r ) = 0 , then ϕ 2 ( r 0 ) = 0 .
Proof of Lemma 1.
First, let us show that ϕ 2 ( r ) = κ ϕ 1 ( r ) , where κ = C 2 C 1 . Since Equation (11) is linear, it is easy to see that
D Δ ( κ ϕ 1 ( r ) ) + α ( r ) ( κ ϕ 1 ( r ) ) = κ D Δ ϕ 1 ( r ) + α ( r ) ϕ 1 ( r ) = 0 .
Moreover, ϕ 2 ( 0 ) = κ ϕ 1 ( 0 ) = C 2 , and  ϕ 2 ( 0 ) = κ ϕ 1 ( 0 ) = 0 . Hence, ϕ 2 ( r ) is a solution of IVP (11) with C = C 2 .
Now, if  r 0 is a root of ϕ 1 ( r ) = 0 , then ϕ 2 ( r 0 ) = κ ϕ 1 ( r 0 ) = 0 .   □
Corollary 1 defines the algorithm for computation of R * . The following theorem gives analytical expression for R * for the simplest case α = c o n s t .
Theorem 2.
Spreading–vanishing boundary R * for the problem (2)–(5) with constant intrinsic growth rate α = c o n s t is defined as follows
R * = r 0 D α ,
where r 0 is the first positive root of the Bessel function of the first kind, r 0 = 2.40483 .
Proof of Theorem 2.
Since α = c o n s t , from (8), the differential equation in problem (11) can be written as the following second-order linear differential equation
x y + a y + b x y = 0 , with a = 1 , b = α D .
The general solution of (14) is given in terms of the Bessel functions ([20], p. 241, eq. 63), by
y ( x ) = x 1 a 2 C 1 J ν ( b x ) + C 2 Y ν ( b x ) , ν = 1 2 | 1 a | ,
where J ν ( x ) and Y ν ( x ) are the Bessel functions of the first and second kind, respectively.
In the case of (11), a = 1 and b = α D , and consequently ν = 0 , which leads to the following general solution
y ( x ) = C 1 J 0 α D x + C 2 Y 0 α D x .
From (11), ϕ ( 0 ) = C , hence, since Y 0 ( x ) is singular in x = 0 [21], C 2 = 0 and C 1 = C . Moreover, d d x J 0 ( x = 0 ) = 0 [21], which agrees with the second initial condition in (11). Finally, the solution of the IVP (11) is found as follows
ϕ ( r ) = C · J 0 α D r .
The distribution of zeroes for the Bessel functions of the first kind on the real line is known [21], and the first positive root is r 0 = 2.40483 , hence
α D R * = r 0 ,
which proves the statement of the Theorem.   □
In the general case α = α ( r ) , numerical methods have to be employed, see Algorithm 1. In the present paper, the numerical solution to the IVP (11) is obtained through the use of the Runge–Kutta–Fehlberg (RKF) method [22], an adaptive step-size method that estimates local errors and adjusts step size accordingly. By using fourth and fifth-order Runge–Kutta formulae, the RKF method can provide highly accurate solutions to IVPs. While factors such as initial conditions may affect the accuracy of the RKF method, it has been demonstrated that the choice of C does not impact the value of the first positive root. Given the high accuracy of the RKF method, root-finding algorithms are likely to converge quickly and accurately to the first positive root. If necessary, the numerical solution can be interpolated using computationally efficient and accurate methods, such as cubic spline interpolation, to obtain values at points of interest.
Algorithm 1: Computation of R * .
Mathematics 11 01296 i001
Once R * is found, Theorem 1 is applied. If  H 0 < R * is chosen, we search for μ * by using the simplified bisection method, see Algorithm 2.
Algorithm 2: Computation of μ * .
Mathematics 11 01296 i002

3. Numerical Algorithm

Problem (2)–(4) is a free-boundary PDE problem to be solved numerically. One of the challenges related to the problem is the free boundary that can be treated by the front-fixing Landau transformation [23,24], as it is done for the one-dimensional case [25]. In this paper, we extend this approach to the two-dimensional case.
The front-fixing method has provided reliable results for free boundary models in other fields, such as in mathematical finance [26] or civil engineering [27].

3.1. Front-Fixing Transformation

Under the assumption of the radial symmetry, the diffusive logistic model is described by the free-boundary PDE (2) with one spatial variables; hence, the Landau transformation takes the form
z ( r , t ) = r H ( t ) , V ( z , t ) = u ( r , t ) .
Under the transformation (19), the moving domain r ( 0 , H ( t ) ) becomes the fixed one z ( 0 , 1 ) at any time moment t > 0 . Let us introduce the following notation
a ( z , t ) = α ( z · H ( t ) ) = α ( r ) ,
b ( z , t ) = β ( z · H ( t ) ) = β ( r ) ,
with the same constraint
0 < κ 1 a ( z , t ) , b ( z , t ) κ 2 .
By denoting G ( t ) = H 2 ( t ) and substituting (19) into the problem (2)–(5), one obtains
G ( t ) V t = D V z z + D z + z 2 G ( t ) V z + G ( t ) V a ( z , t ) b ( z , t ) V , t > 0 , 0 < z < 1 ,
G ( t ) = 2 μ V z ( 1 , t ) , t > 0 ,
subject to the initial and boundary conditions
G ( 0 ) = H 0 2 , V ( z , 0 ) = u 0 ( z H 0 ) , 0 z 1 ,
V z ( 0 , t ) = 0 , V ( 1 , t ) = 0 , t > 0 ,
Non-linear PDE problem (23)–(26) is solved numerically by using the explicit finite difference method (FDM) as described below.

3.2. Explicit FDM

First, let us introduce a bounded computational domain Ω = [ 0 , T ] × [ 0 , 1 ] . We define the uniform grid
z j = j h , h = 1 / M , t n = n k , k = T / N ,
where N and M are two given integer numbers. Then, by denoting
v j n V ( z j , t n ) , g n G ( t n ) , a j n = a ( z j , t n ) , b j n = b ( z j , t n ) ,
a forward in time central in space FD scheme for (23) is given as
g n v j n + 1 v j n k = D v j + 1 n 2 v j n + v j 1 n h 2 + D z j + z j 2 g n + 1 g n k v j + 1 n v j 1 n 2 h + g n v j n a j n b j n v j n , 1 j M 1 , 0 n N 1 .
By reordering the terms in the scheme (29), one obtains
v j n + 1 = A j n v j 1 n + B j n v j n + C j n v j + 1 n ,
where
A j n = D k h 2 g n D k 2 h g n z j z j 4 h g n + 1 g n 1 ,
B j n = 1 2 D k h 2 g n + k a j n b j n v j n ,
C j n = D k h 2 g n + D k 2 h g n z j + z j 4 h g n + 1 g n 1 .
The Stefan condition (24) is discretized by using the forward in time one-sided in space FD scheme as follows
g n + 1 g n k = μ 3 v M n 4 v M 1 n + v M 2 n h .
The boundary conditions (26) are discretized as
V z ( 0 , t n ) 3 v 0 n + 4 v 1 n v 2 n 2 h = 0 , v M n = 0 .
Finally, the explicit FDM for problem (23)–(26) is written as follows
g n + 1 = g n + k h μ 4 v M 1 n v M 2 n , v j n + 1 = A j n v j 1 n + B j n v j n + C j n v j + 1 n , 1 j M 1 , v 0 n + 1 = 4 3 v 1 n + 1 1 3 v 2 n + 1 , v M n + 1 = 0 , 0 n N 1 ,
together with the initial conditions g 0 = H 0 2 and v j 0 = u 0 ( z j H 0 ) , 0 j M .

4. Numerical Analysis

In this section, we study the most important characteristics of the proposed numerical scheme, such as consistency and stability. Moreover, this section is dedicated to showing that the proposed numerical algorithm preserves crucial qualitative properties of the exact solution of the problem [10], such as positivity and monotonicity.
Consistency of the proposed numerical scheme can be easily established by following Section 3 of [25].

4.1. Positivity

Dealing with the models for spreading media, such as fire propagation, population spreading, etc., it is important to preserve non-negativity, otherwise the numerical solution is meaningless. Hence, in this subsection, we show that the proposed scheme (36) provides non-negative solutions under some conditions on the step size discretization.
Theorem 3.
With previous notation, { g n } 0 n N is positive increasing in a time sequence.
Proof of Theorem 3.
Let us use the induction principle on the index n. For n = 0 , from the initial conditions (4), it follows that
d u 0 d r ( H 0 ) < 0 ,
which becomes v z ( 1 , 0 ) < 0 under the front-fixing transformation.
By assuming that v ( z , t ) is at least twice differentiable with respect to z and by using the Taylor’s expansion about ( z M , 0 ) , z M = 1 , one obtains
v M 1 0 = v M 0 h v z ( 1 , 0 ) + O ( h 2 ) ,
v M 2 0 = v M 0 2 h v z ( 1 , 0 ) + O ( h 2 ) .
Since v M 0 = 0 and v z ( 1 , 0 ) < 0 ,
Δ 0 = 4 v M 1 0 v M 2 0 = 2 h v z ( 1 , 0 ) + O ( h 2 ) > 0 ,
for small enough values of h.
Hence, from (36), the positivity of g 1 is established for any μ > 0
g 1 = g 0 + k h μ Δ 0 > g 0 > 0 .
Hence, the base case n = 0 is proven. Now, assuming that the statement of the Theorem holds true up to some integer n, let us prove that it holds for ( n + 1 ) as well.
Let us denote
Δ n = 4 v M 1 n v M 2 n , n 0 .
Under the induction hypothesis, g n > g n 1 , then for sufficiently small k, Δ n 1 > 0 from the first equation of (36). As
Δ n = Δ n 1 + O ( k ) ,
it follows that Δ n > 0 for small enough values of k and, consequently, g n + 1 > g n . Then, the statement of the Theorem is straightforward:
g n + 1 > g n > > g 1 > g 0 > 0 .
The next lemmas show the positivity of the coefficients defined in (31)–(33), which implies directly the positivity of the solution.
Lemma 2.
Coefficients A j n and C j n , defined by (31) and (33), respectively, are positive.
Proof of Lemma 2.
From Theorem 3 and definition (33), C j n > 0 , as it is a sum of positive terms.
Since h z j < M h = 1 , for any j = 1 , , M 1 , from (31), the following estimation is obtained
A j n D k h 2 g n D k 2 g n h 2 1 4 h g n + 1 g n 1 = k h 2 g n D 2 h 4 k ( g n + 1 g n ) .
From (34) and (42), one gets
h g n + 1 g n k = μ Δ n .
By using the Taylor’s expansion about ( z M , t n ) with sufficiently small h,
Δ n = 2 h v z ( 1 , t n ) + O ( h 2 ) .
Hence, h g n + 1 g n k = O ( h ) , which together with (45) implies the positivity of A j n for sufficiently small h. □
In order to show the positivity of B j n > 0 , 1 j M 1 , and 0 < v j n M 0 , 0 j M 1 , we consider two possible cases related to the relation between the initial population density u 0 ( r ) and the carrying capacity of the species α ( r ) β ( r ) :
  • 0 < u 0 ( r ) < C 0 , 0 r H 0 ,
  • max 0 r H 0 { u 0 ( r ) } = M 0 C 0 ,
where C 0 = sup α ( r ) β ( r ) , 0 r < .
Let us introduce the following notation
0 < κ 1 α 1 α ( r ) α 2 κ 2 , 0 r < ,
0 < κ 1 β 1 β ( r ) β 2 κ 2 , 0 r < ,
then, C 0 is bounded as follows
α 1 β 2 C 0 α 2 β 1 .
Let us consider the first case, 0 < u 0 ( r ) < C 0 , 0 r H 0 . We use the induction principle on the index n to prove that under a condition to be found, the coefficients B j n are positive and also the numerical solution is positive and upper bounded by C 0 , 0 < v j n < C 0 , 0 j M 1 , 0 n N .
For n = 0 , since 0 < u 0 ( r ) < C 0 , then from the initial conditions (25), 0 < v j 0 < C 0 , 0 j M 1 . Moreover,
B j 0 = 1 + k a j 0 b j 0 v j 0 2 D k h 2 g 0 > 1 + k α 1 β 2 α 2 β 1 2 D k h 2 g 0 = 1 k α 2 β 2 α 1 β 1 1 α 1 + 2 D h 2 g 0 > 0 , 1 j M 1 ,
under the following constrain
k < Q 1 h 2 , Q 1 = g 0 2 D + h 2 α 1 g 0 α 2 β 2 α 1 β 1 1 .
Now, let us assume that for some fixed n, the following is fulfilled
B j n > 0 , 1 j M 1 , 0 < v j n < C 0 , 0 j M 1 .
Then, v j n + 1 defined by (30), is positive due to the positivity of all coefficients A j n , B j n , C j n and the solution at the nth time level. On the other hand, v j n + 1 can be considered as a function of v j n , i.e., v j n + 1 = f ( v j n ) for 1 j M 1 . Then, the first derivative
f v j n = B j n k b j n v j n = 1 + k a j n 2 b j n v j n 2 D h 2 g n > 1 + k α 1 2 β 2 α 2 β 1 2 D h 2 g 0 > 0 ,
if
k < Q 2 h 2 , Q 2 = g 0 2 D + h 2 α 1 g 0 2 α 2 β 2 α 1 β 1 1 < Q 1 .
The positivity of the first derivative f v j n means that v j n + 1 is increasing with respect to v j n , 0 < v j n < C 0 . Hence,
v j n + 1 < ( A j n + B j n + C j n ) C 0 = 1 + k a j n 1 C 0 a j n / b j n C 0 C 0 , 1 j M 1 .
For j = 0 , by applying the Taylor’s expansion about ( 0 , t n + 1 ) , it is found that
v 0 n + 1 = v 1 n + 1 + O ( h ) ,
which leads to the boundedness of v 0 n + 1 , and, consequently,
0 < v j n + 1 < C 0 , 0 j M 1 .
To finish the proof for the first case, we show that under the constrain (52), B j n + 1 0 , as
B j n + 1 > 1 + k α 1 β 2 α 2 β 1 2 D h 2 g 0 > 0 .
Now, let us consider the second case, max 0 r H 0 { u 0 ( r ) } = M 0 C 0 . Analogously, we use the induction principle.
For n = 0 ,
0 < v j 0 = u 0 ( H 0 z j ) M 0 , 0 j M 1 .
By defining
C m = inf r R + α ( r ) β ( r ) , α 1 β 2 C m C 0 M 0 ,
one obtains
a j 0 b j 0 v j 0 b j 0 a j 0 b j 0 M 0 b j 0 ( C m M 0 ) β 2 ( C m M 0 ) .
Therefore,
B j 0 1 k β 2 ( M 0 C m ) + 2 D h 2 g 0 > 0 ,
if k satisfies the following condition
k < Q 3 h 2 , Q 3 = g 0 2 D + h 2 g 0 β 2 ( M 0 C m ) .
Let us assume that for some fixed n, B j n > 0 , 1 j M 1 , and 0 < v j n M 0 , 0 j M 1 . To complete the proof we have to show that it holds for n + 1 .
The positivity of v j n + 1 , 1 j M 1 is straightforward from the definition (30) and positivity of the coefficients at the time level t n . By using the Taylor’s expansion about ( z 0 , t n + 1 ) , it is easy to show that v 0 n + 1 > 0 .
Analogously to the first case, we consider v j n + 1 = f ( v j n ) with the first partial derivative
f v j n = 1 + k a j n 2 b j n v j n 2 D h 2 g n 1 + k β 2 ( C m 2 M 0 ) 2 D h 2 g 0 > 0 ,
if
k < Q 4 h 2 , Q 4 = g 0 2 D + h 2 g 0 β 2 ( 2 M 0 C m ) < Q 3 .
Since 0 < v j n M 0 , 1 j M 1 , by the hypothesis of the induction, then by taking into account that 1 C 0 = inf r R + β ( r ) α ( r ) , one obtains
v j n + 1 f ( M 0 ) ( A j n + B j n + C j n ) M 0 1 + k a j n 1 M 0 C 0 M 0 M 0 .
For j = 0 , if v 0 n + 1 > M 0 , then v z | z = 0 > 0 , which contradicts the boundary conditions. Hence, v 0 n + 1 M 0 .
Finally, if k satisfies (64), then
B j n + 1 1 + k β 2 ( C m M 0 ) 2 D h 2 g 0 > 0 .
Summarising, the following Lemma and Theorem about the positivity condition are formulated.
Lemma 3.
Let us consider the numerical scheme (36) with sufficiently small step sizes h and k such that
k < Q h 2 ,
where Q = min Q 2 , Q 4 , defined in (55) and (66). Then, coefficients B j n , 1 j M 1 , 0 n N 1 , defined by (32) are positive.
Theorem 4 (Positivity condition).
The numerical solution computed by the scheme (36) with sufficiently small step sizes h and k such that
k < Q h 2 , Q = min Q 2 , Q 4
where Q 2 , Q 4 are defined in (55), and (66) is positive and bounded:
0 v j n P 0 , 0 j M , 0 n N ,
where P 0 = max { M 0 , C 0 } .

4.2. Stability

In the present study, we use the definition of stability proposed in [28], p. 92, based on the supremum norm of a vector. Therefore, we start this subsection with recalling the definition of the stability.
Definition 1 (Stability).
The numerical scheme (36) is said to be · -stable in the domain [ 0 , 1 ] × [ 0 , T ] , if for every partition with step sizes h = 1 M and k = T N , the following holds
v n K , 0 n N ,
where v n = [ v 0 n , v 1 n , , v M n ] T is the vector solution of the scheme (36) and K > 0 is some constant independent of n and the step sizes h and k.
By using this definition, from Theorem 4, one can take K = P 0 = max M 0 , C 0 , where M 0 = max u 0 ( r ) : 0 r H 0 and C 0 = sup α ( r ) β ( r ) , 0 r < . As K is independent of n and the step sizes h and k, the following result has been established.
Theorem 5 (Stability).
With the previous notation, for small enough step sizes h and k satisfying the positivity condition (70), the scheme (36) is · -stable in the domain [ 0 , 1 ] × [ 0 , T ] .

4.3. Monotonicity

Apart from the basic qualitative properties, such as stability and positivity, we study the monotonicity of the numerical solution.
Theorem 6 (Monotonicity).
Let (36) be a numerical scheme for the problem (23)–(25), where α ( r ) is a monotone decreasing function and β ( r ) is a monotone increasing function. If h is sufficiently small and k satisfies the following constraint
k < Q ˜ h 2 ,
where Q ˜ > 0 is some positive constant that can be found in terms of the parameters of the problem, then the scheme (36) preserved the monotonicity of the numerical solution,
v j n v j + 1 n , v j n + 1 v j + 1 n + 1 , 0 j M 1 .
Proof of Theorem 6.
From (30),
v j n + 1 v j + 1 n + 1 = ( v j n + 1 v j n ) + ( v j n v j + 1 n ) ( v j + 1 n + 1 v j + 1 n ) = A j n v j 1 n + k a j n b j n v j n 2 D h 2 g n v j n + C j n v j + 1 n + ( v j n v j + 1 n ) A j + 1 n v j n + k a j + 1 n b j + 1 n v j + 1 n 2 D h 2 g n v j + 1 n C j + 1 n v j + 2 n ( v j n v j + 1 n ) + ( A j n A j + 1 n ) v j n + ( C j n C j + 1 n ) v j + 1 n k 2 D h 2 g n ( v j n v j + 1 n ) + k ( a j n b j n v j n ) v j n ( a j + 1 n b j + 1 n ) v j + 1 n ) v j + 1 n ( v j n v j + 1 n ) 1 k D 4 h 2 g n + 2 D h 2 g n + k b j + 1 n ( v j + 1 n + v j n ) ( v j + 1 n v j n ) ( v j n v j + 1 n ) 1 k 9 D 4 h 2 g 0 + 2 P 0 β 2 0 ,
where P 0 = max M 0 , C 0 , if
k Q ˜ h 2 , Q ˜ = 4 g 0 9 D + 8 h 2 g 0 P 0 β 2 .

5. Numerical Results

5.1. Constant Intrinsic Growth Rate and Carrying Capacity

First, we consider the case α = c o n s t , β = c o n s t . It has been shown in Section 2 that in this case, R * can be found by applying Theorem 2. In the following example, we use the proposed numerical algorithm to approximate R * .
Example 1.
In the logistic model (2)–(5), we set the following default parameters
D = 1 , μ = 2 , α = β = 1 , H 0 = 3 , u 0 ( r ) = 1 r H 0 2 .
In order to calculate R * , we solve numerically the IVP
D ϕ + D r ϕ + α ϕ = 0 , ϕ ( 0 ) = 1 , ϕ ( 0 ) = 0 ,
by using the Runge–Kutta–Fehlberg method, and then the first positive root is calculated by using the secant method. The found value R * = 2.4056 agrees with the theoretical value R t * = r 0 D α = 2.4048 . Since the default value H 0 = 3 > R * , spreading is observed, as well as for H 0 = 2.5 and H 0 = 2 . However, H 0 = 1 leads to vanishing, as shown in Figure 1, where the free boundary H ( t ) is increasing in time for H 0 = 2 , 2.5 , 3 and constant for H 0 = 1 .
Despite H 0 = 2 < R * , the population still spreads, see Figure 1. It is explained by Theorem 1, case μ > μ * . The threshold value μ * is calculated by Algorithm 2, and it is found that μ * = 0.2682 . Since the default value is μ = 2 > μ * , the population spreads for H 0 = 2 .
The spreading–vanishing dichotomy for H 0 = 2 is illustrated in Figure 2. For the simulations we set H 0 = 2 < R * and two values for μ : one was μ * , and the other was 10 % higher, i.e., μ = 1.1 μ * .
Note that T should be chosen properly and large enough since the population may decrease, but after some time, it starts recovering and finally, grows. It is illustrated by the following example.
Example 2.
In the logistic model (2)–(5), we set the following default parameters
D = 1 , μ = 0.27 , α = β = 1 , H 0 = 2 , u 0 ( r ) = 1 r H 0 2 .
As shown in the previous example, H 0 = 2 < R * and μ = 0.27 > μ * = 0.2682 . We set T = 200 and plot the maximum population u max ( t ) , which in accordance with Theorem 6 about the monotonicity preserving property of the numerical solution, is u ( 0 , t ) , see Figure 3.
If one considers the time horizon until T = 100 , the population can be considered as vanished; however, if the time horizon is enlarged, until T = 200 , the recovering effect is observed.

5.2. General Case α ( r ) , β ( r )

Now, let us illustrate the theoretical results established above with numerical examples for the general case α ( r ) , β ( r ) .
Example 3.
In the logistic model (2)–(5), we set the following default parameters
D = 1 , μ = 2 , α ( r ) = 2 r + 3 2 r + 2 , β ( r ) = 2 r + 1 2 r + 2 , H 0 = 3 , u 0 ( r ) = 1 r H 0 2 , T = 3 .
Analogous to the previous subsection, we start with the spreading–vanishing dichotomy. By Algorithm 1, we calculate R * = 2.1289 , which is lower than in the constant case. Hence, for H 0 > R * , the population spreads, see Figure 4 (left plot).
Note that in the general case, the habitat carrying capacity varies between 1 and 3 (for α ( r ) and β ( r ) defined by (80)). In this case, the initial population density u 0 ( r ) is less than the supremum of the carrying capacity C 0 , and then the population can grow from the initial state but can not reach C 0 .
Theorem 6 states that the proposed numerical method preserves the monotonicity of the solution with respect to r, if α ( r ) is monotone decreasing and β ( r ) is monotone increasing functions. This property is also shown in Figure 4 (left plot); the solution is monotone non-increasing. However, if we change the intrinsic growth rate,
α ( r ) = 0.5 · ( 1 + sin ( r ) ) ,
then the monotonicity is lost, see the right plot of Figure 4.
In order to check the monotone behaviour of the solution, Figure 5 presents the slope Δ = d u d r at the moment t = T for both monotone and osculating α ( r ) . Note that for monotone α ( r ) , the slope is negative; while for osculating α ( r ) , the slope changes sign several times.
Finally, we check the stability condition proposed in Theorem 4. For that purpose, we consider the problem (2)–(5) with T = 0.1 . We set M = 100 , so h = 10 2 . By using the condition of Theorem 4 and (76), we find
Q = min { Q 2 , Q 4 , Q ˜ } = min { 4.4899 , 4.4979 , 3.9968 } = 3.9968 .
In Figure 6, we compare the free boundary and the solution at r = 0 calculated by the proposed algorithm with k 1 = Q h 2 and k 2 = 1.25 Q h 2 .
To complete the study, let us consider a case when the initial population exceeds the carrying capacity, i.e., the model with parameters (80), but with the initial population defined as follows
u 0 ( r ) = 4 2 r H 0 2 .
The numerical solution at various time moments t = 0 , 0.5 , 3 , 10 , is plotted in Figure 7. Note that the initial population distribution is higher than the carrying capacity. At the first time moment t = 0.5 , the population is still above the carrying capacity, but recession is observable compared with the initial value. At t = 3 , the population curve is below the carrying capacity line. Since the parameters considered in this example guarantee spreading behaviour, we observe that at t = 10 , the population grows up to the carrying capacity. Hence, this example shows that the model and proposed numerical algorithm adapt to any initial conditions and preserve theoretical properties of the population.
The proposed numerical algorithm is compared with known numerical methods for solving free boundary time-dependent PDE problems, such as the Level Set method (LSM) [29]. In the case of the PDE (2), it is the 1D version of the LSM. The key idea behind the level set method is to represent the interface or shape is the zero level set of a higher-dimensional function. In other words, we embed the interface or shape in a higher-dimensional space and define a scalar function that is negative inside the population and positive outside it. The zero level set of this function represents the front or boundary. By evolving this function over time, we can track the motion of the interface. The evolution of the function is solved using explicit FDM.
One of the advantages of the level set method is its natural extension to higher dimensions and the fact that it can handle topological changes, such as merging or splitting of interfaces, which are challenging for other numerical methods. The level set method is useful for problems involving complex geometry or multiple interacting interfaces. However, for the problem (2) with radial symmetry, this characteristic is not urgent.
Table 1 displays the root-mean-square error between the results obtained from the front-fixing (FF-FDM) method and LSM, as well as the corresponding computational times for different numbers of spatial grid points. To ensure parity, we preserve the parabolic mesh ratio and keep the temporal step-size constant for each M value in both methods. Figure 8 shows the numerical solutions obtained from both methods. The small discrepancy near the free boundary observed in the results can be attributed to the approach used by the FF-FDM method, which calculates the free boundary as part of the solution. In contrast, the LSM method simply determines whether the solution lies inside or outside the population domain. This subtle difference in methodology can affect the accuracy of the solution near the free boundary, and should be taken into consideration when selecting an appropriate numerical method for solving similar problems.

6. Conclusions

The current paper presents a novel and highly efficient numerical algorithm for solving a two-dimensional diffusive logistic model with radial symmetry. The proposed front-fixing method is found to be more robust and easier to implement compared to the widely-used level set method. Moreover, the numerical analysis shows that the proposed method is conditionally stable, consistent with the original PDE problem, and preserves the positivity and monotonicity of the solution.
Furthermore, the paper presents several important theorems that have been proven, and a numerical algorithm for the spreading–vanishing boundary for the general case of non-constant parameters α ( r ) and β ( r ) . All theoretical statements have been illustrated by numerical examples, which demonstrate the crucial role of the proposed stability conditions and the importance of a large enough time horizon for analyzing the spreading–vanishing dichotomy.
Overall, the proposed algorithm provides a powerful tool for solving diffusive logistic models with radial symmetry, and the theoretical analysis presented in the paper offers valuable insights into the dynamics of such models. The results and methods presented in the paper may have significant implications for a range of fields, including ecology, population dynamics, and epidemiology.

Author Contributions

Conceptualization, M.C.C., R.C., V.N.E. and L.J.; Methodology, M.C.C., R.C., V.N.E. and L.J.; Validation, M.C.C., R.C., V.N.E. and L.J.; Formal analysis, M.C.C., R.C., V.N.E. and L.J.; Investigation, M.C.C., R.C., V.N.E. and L.J.; Writing—review & editing, M.C.C., R.C., V.N.E. and L.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by the Spanish Ministry of Science, Innovation and Universities, State Research Agency, National Research and Development Plan 2019 grant number PID2019-107685RB-I00.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FDFinite difference
FDMFinite difference method
FFFront-fixing
IVPInitial value problem
LSMLevel set method
PDEPartial differential equation
RKFRunge–Kutta–Fehlberg
RMSERoot-mean-square error

References

  1. Hotelling, H. A Mathematical Theory of Migration. Environ. Plan. A 1978, 10, 1223–1239. [Google Scholar]
  2. Fisher, R.A. The wave of advance of advantageous genes. Ann. Eugen. 1937, 7, 355–369. [Google Scholar] [CrossRef] [Green Version]
  3. Kolmogorov, A.; Petrovsky, N.; Piscounov, S. Étude de l’équations de la diffusion avec croissance de la quantité de matière et son application a un problème biologique. Bull. Univ. Moskou 1937, 1, 1–25. [Google Scholar]
  4. Shigesada, N.; Kawasaki, K. Biological Invasions: Theory and Practice; Oxford University Press: Oxford, UK, 1997. [Google Scholar]
  5. Mollison, D. Spatial Contact Models for Ecological and Epidemic Spread. J. R. Stat. Soc. Ser. B (Methodol.) 1977, 39, 283–326. [Google Scholar] [CrossRef]
  6. Ahn, I.; Baek, S.; Lin, Z. The spreading fronts of an infective environment in a man–environment–man epidemic model. Appl. Math. Model. 2016, 40, 7082–7101. [Google Scholar] [CrossRef] [Green Version]
  7. Mandel, J.; Bennethum, L.S.; Beezley, J.D.; Coen, J.L.; Douglas, C.C.; Kim, M.; Vodacek, A. A wildland fire model with data assimilation. Math. Comput. Simul. 2008, 79, 584–606. [Google Scholar] [CrossRef] [Green Version]
  8. Pagnini, G.; Mentrelli, A. Modelling wildland fire propagation by tracking random fronts. Nat. Hazards Earth Syst. Sci. 2014, 14, 2249–2263. [Google Scholar] [CrossRef] [Green Version]
  9. Aronson, D.G.; Weinberger, H.F. Multidimensional nonlinear diffusion arising in population genetics. Adv. Math. 1978, 30, 33–76. [Google Scholar] [CrossRef] [Green Version]
  10. Du, Y.; Lin, Z. Spreading-Vanishing Dichotomy in the Diffusive Logistic Model with a Free Boundary. SIAM J. Math. Anal. 2010, 42, 377–405. [Google Scholar] [CrossRef]
  11. Du, Y.; Guo, Z. Spreading-vanishing dichotomy in a diffusive logistic model with a free boundary, II. J. Differ. Equ. 2011, 250, 4336–4366. [Google Scholar] [CrossRef] [Green Version]
  12. Kaneko, Y.; Matsuzawa, H.; Yamada, Y. Asymptotic Profiles of Solutions and Propagating Terrace for a Free Boundary Problem of Nonlinear Diffusion Equation with Positive Bistable Nonlinearity. SIAM J. Math. Anal. 2020, 52, 65–103. [Google Scholar] [CrossRef]
  13. Gu, H.; Lou, B.; Zhou, M. Long time behavior of solutions of Fisher-KPP equation with advection and free boundaries. J. Funct. Anal. 2015, 269, 1714–1768. [Google Scholar] [CrossRef]
  14. Wang, Z.; Nie, H.; Du, Y. Spreading speed for a West Nile virus model with free boundary. J. Math. Biol. 2019, 79, 433–466. [Google Scholar] [CrossRef] [PubMed]
  15. Ding, W.; Peng, R.; Wei, L. The diffusive logistic model with a free boundary in a heterogeneous time-periodic environment. J. Differ. Equ. 2017, 263, 2736–2779. [Google Scholar] [CrossRef]
  16. Cantrell, R.S.; Cosner, C. Spatial Ecology via Reaction-Diffusion Equations; John Wiley et Sons Ltd.: Hoboken, NJ, USA, 2003. [Google Scholar]
  17. Roques, L. Modèles de réaction-Diffusion pour l’écologie Spatiale; Editions Quae: Versailles, France, 2013. [Google Scholar]
  18. Kipriyanov, I.A. Fourier–Bessel transforms and imbedding theorems for weight classes. Trudy Mat. Inst. Steklov. 1967, 89, 130–213. [Google Scholar]
  19. Katrakhov, V.V.; Sitnik, S.M. The Transmutation Method and Boundary-Value Problems for Singular Differential Equations. Contemp. Math. Fundam. Dir. 2018, 64, 211–426. [Google Scholar] [CrossRef] [Green Version]
  20. Polyanin, A.D.; Zaitsev, V.F. Handbook of Exact Solutions for Ordinary Differential Equations, 2nd ed.; Chapman and Hall/CRC: Boca Raton, FL, USA, 2003. [Google Scholar]
  21. Watson, G.N. A Treatise on the Theory of Bessel Functions; Cambridge at the University Press: Cambridge, UK, 1922. [Google Scholar]
  22. Fehlberg, E. New High-Order Runge-Kutta Formulas with Step Size Control for Systems of First-and Second-Order Differential Equations. ZAMM-J. Appl. Math. Mech./Z. Angew. Math. Mech. 1964, 44, T17–T29. [Google Scholar] [CrossRef]
  23. Landau, H.G. Heat Conduction in a Melting Solid. Q. Appl. Math. 1950, 8, 81–95. [Google Scholar] [CrossRef] [Green Version]
  24. Crank, J. Free and Moving Boundary problems; Oxford University Press: Oxford, UK, 1984. [Google Scholar]
  25. Piqueras, M.A.; Company, R.; Jódar, L. A front-fixing numerical method for a free boundary nonlinear diffusion logistic population model. J. Comput. Appl. Math. 2017, 309, 473–481. [Google Scholar] [CrossRef]
  26. Company, R.; Egorova, V.; Jódar, L. Solving American option pricing models by the front fixing method: Numerical analysis and computing. Abstr. Appl. Anal. 2014, 2014, 146745. [Google Scholar] [CrossRef] [Green Version]
  27. Piqueras, M.A.; Company, R.; Jódar, L. Numerical analysis and computing of free boundary problems for concrete carbonation chemical corrosion. J. Comput. Appl. Math. 2018, 336, 297–316. [Google Scholar] [CrossRef]
  28. Kröner, D. Numerical Schemes for Conservation Laws; Wiley and Teubner: Oxford, UK, 1997. [Google Scholar]
  29. Osher, S.; Fedkiw, R.P. Level Set Methods: An Overview and Some Recent Results. J. Comput. Phys. 2001, 169, 463–502. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Free boundary H ( t ) for the logistic model (2)–(5) with parameters given in (77) and various H 0 .
Figure 1. Free boundary H ( t ) for the logistic model (2)–(5) with parameters given in (77) and various H 0 .
Mathematics 11 01296 g001
Figure 2. Numerical solution for Example 1: Free boundary H ( t ) (left) and population distribution at the final moment u ( r , T ) (right) for H 0 = 2 and μ = μ * (black solid line) and μ = 0.29507 > μ * (red solid line), which correspond to vanishing and spreading, respectively. The dashed line in the right plot is the initial population distribution u 0 ( r ) .
Figure 2. Numerical solution for Example 1: Free boundary H ( t ) (left) and population distribution at the final moment u ( r , T ) (right) for H 0 = 2 and μ = μ * (black solid line) and μ = 0.29507 > μ * (red solid line), which correspond to vanishing and spreading, respectively. The dashed line in the right plot is the initial population distribution u 0 ( r ) .
Mathematics 11 01296 g002
Figure 3. Maximum population with respect to time for the parameters (79) in Example 2.
Figure 3. Maximum population with respect to time for the parameters (79) in Example 2.
Mathematics 11 01296 g003
Figure 4. Population at t = 0 and t = T for α ( r ) = 2 r + 3 2 r + 2 (left) and α ( r ) = 0.5 ( 1 + sin ( r ) ) (right).
Figure 4. Population at t = 0 and t = T for α ( r ) = 2 r + 3 2 r + 2 (left) and α ( r ) = 0.5 ( 1 + sin ( r ) ) (right).
Mathematics 11 01296 g004
Figure 5. Slope at t = T for α ( r ) = 2 r + 3 2 r + 2 (left) and α ( r ) = 0.5 ( 1 + sin ( r ) ) (right).
Figure 5. Slope at t = T for α ( r ) = 2 r + 3 2 r + 2 (left) and α ( r ) = 0.5 ( 1 + sin ( r ) ) (right).
Mathematics 11 01296 g005
Figure 6. Stable (black dashed line) and unstable (red solid line) solution of the problem (2)–(5) with parameters (80), T = 0.1 : free boundary H ( t ) (left plot) and maximum population u ( r = 0 , t ) (right plot).
Figure 6. Stable (black dashed line) and unstable (red solid line) solution of the problem (2)–(5) with parameters (80), T = 0.1 : free boundary H ( t ) (left plot) and maximum population u ( r = 0 , t ) (right plot).
Mathematics 11 01296 g006
Figure 7. Numerical solution for Example 3 with parameters (80) and initial condition (83) at various moments t.
Figure 7. Numerical solution for Example 3 with parameters (80) and initial condition (83) at various moments t.
Mathematics 11 01296 g007
Figure 8. Numerical solutions u ( r , T ) for T = 3 obtained from the front-fixing finite difference method (FF-FDM) and the level set method (LSM) for the problem in Example 3.
Figure 8. Numerical solutions u ( r , T ) for T = 3 obtained from the front-fixing finite difference method (FF-FDM) and the level set method (LSM) for the problem in Example 3.
Mathematics 11 01296 g008
Table 1. Root-mean-square error between the numerical solutions u ( r , T ) obtained from the front-fixing (FF-FDM) method and LSM and corresponding CPU-time in seconds for both methods.
Table 1. Root-mean-square error between the numerical solutions u ( r , T ) obtained from the front-fixing (FF-FDM) method and LSM and corresponding CPU-time in seconds for both methods.
M (Spatial Discretization)LSM CPU-Time, sFF-FDM CPU-Time, sRMSE
1000.03120.00120.0079
2000.03130.09370.0142
4000.46870.53120.0150
8002.26562.75000.0129
160016.375017.81250.0100
3200148.5000148.06250.0073
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Casabán, M.C.; Company, R.; Egorova, V.N.; Jódar, L. Qualitative Numerical Analysis of a Free-Boundary Diffusive Logistic Model. Mathematics 2023, 11, 1296. https://doi.org/10.3390/math11061296

AMA Style

Casabán MC, Company R, Egorova VN, Jódar L. Qualitative Numerical Analysis of a Free-Boundary Diffusive Logistic Model. Mathematics. 2023; 11(6):1296. https://doi.org/10.3390/math11061296

Chicago/Turabian Style

Casabán, María Consuelo, Rafael Company, Vera N. Egorova, and Lucas Jódar. 2023. "Qualitative Numerical Analysis of a Free-Boundary Diffusive Logistic Model" Mathematics 11, no. 6: 1296. https://doi.org/10.3390/math11061296

APA Style

Casabán, M. C., Company, R., Egorova, V. N., & Jódar, L. (2023). Qualitative Numerical Analysis of a Free-Boundary Diffusive Logistic Model. Mathematics, 11(6), 1296. https://doi.org/10.3390/math11061296

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop