<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2023.1112251</article-id><article-id pub-id-type="publisher-id">JAMP-130039</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Numerical Study of Several Species Population Models
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Francisco</surname><given-names>J. Sánchez-Bernabe</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Maria</surname><given-names>del Rosario Escalona-Magdaleno</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, Universidad Autónoma Metropolitana Iztapalapa, Ciudad de México, Mexico</addr-line></aff><aff id="aff2"><addr-line>Instituto de Educación Media Superior de la Ciudad de México, Plantel Miravalle, Zapote y Mirador, Mexico</addr-line></aff><pub-date pub-type="epub"><day>19</day><month>12</month><year>2023</year></pub-date><volume>11</volume><issue>12</issue><fpage>3943</fpage><lpage>3952</lpage><history><date date-type="received"><day>6,</day>	<month>November</month>	<year>2023</year></date><date date-type="rev-recd"><day>23,</day>	<month>December</month>	<year>2023</year>	</date><date date-type="accepted"><day>26,</day>	<month>December</month>	<year>2023</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This work considers a special case of Lotka-Volterra equations, which means that in the system of two ordinary differential equations, we take the four parameters equal to one. The reason is that we want just to illustrate the procedure to reduce that system to only one ordinary differential equation, such that we know its analytical solution. This idea will be applied to study the relations between a system of three ordinary differential equations, and a couple of partial differential equations. Lotka-Volterra equations are solved numerically by a fourth-order predictor-corrector method, which is initialized by an improved Euler method with a rather small time step because it is only a second-order algorithm. Then, it is proposed a model with three species, defined by ordinary differential equations.
 
</p></abstract><kwd-group><kwd>Lotka-Volterra Equations</kwd><kwd> Adams-Bashfort Predictor</kwd><kwd> Adams-Moulton Corrector</kwd><kwd> Improved Euler Method</kwd><kwd> GeoGebra</kwd><kwd> Matlab</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Lotka-Volterra model [<xref ref-type="bibr" rid="scirp.130039-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.130039-ref2">2</xref>] is a well known system of ordinary differential equations that model interactions between two species, that it is numerically approximated by an Adams-Bashfort predictor and a corresponding Adams-Moulton corrector scheme [<xref ref-type="bibr" rid="scirp.130039-ref3">3</xref>] . Since an implicit exact solution for Lotka-Volterra equations is known, the numerical values may be compared with those defined for the exact solution to verify that predictor-corrector method produces good results [<xref ref-type="bibr" rid="scirp.130039-ref4">4</xref>] . Next, taking like a motivation Lotka-Volterra equations, we consider a couple of partial differential equations that have a similar structure. Then, a system of three ordinary differential equations [<xref ref-type="bibr" rid="scirp.130039-ref5">5</xref>] is related to that system of two coupled partial differential equations that is studied from a geometric point of view, with MATLAB [<xref ref-type="bibr" rid="scirp.130039-ref6">6</xref>] . It is shown that curves that are solutions of the system of ordinary differential equations are contained in the surface defined by a equation that it turns to be a solution of both partial differential equations.</p></sec><sec id="s2"><title>2. Statement of the Problem</title><p>Given the system of ordinary differential equations</p><p>{ d x d t = x − x y , d y d t = x y − y (1)</p><p>where we consider the following initial conditions</p><p>{ x ( 0 ) ≡ x 0 = e , y ( 0 ) ≡ y 0 = 1 (2)</p><p>by applying chain rule</p><p>d y d t = d y d x d x d t , (3)</p><p>then, solving for d y / d x</p><p>d y d x = d y / d t d x / d t , (4)</p><p>by substituting each Equation of (1) in (4)</p><p>d y d x = y x x − 1 1 − y . (5)</p><p>Next step is to introduce an equation that satisfies initial conditions (2), that is</p><p>x + y = ln x y + e . (6)</p><p>Let us check that also satisfies the differential Equation (5). By taking derivatives with respect to x on both sides of (6)</p><p>1 + d y d x = 1 x y ( x d y d x + y ) , (7)</p><p>in other words</p><p>1 + d y d x = 1 y d y d x + 1 x , (8)</p><p>that is</p><p>1 y d y d x − d y d x = 1 − 1 x , (9)</p><p>in an equivalent way</p><p>d y d x ( 1 y − 1 ) = x − 1 x , (10)</p><p>furthermore</p><p>d y d x ( 1 − y y ) = x − 1 x , (11)</p><p>in consequence, we obtain the result by solving in (11) for the derivative.</p><p>On the other hand, system of diferential Equation (1) can be written in the following way</p><p>{ x ′ ( t ) = f ( t , x , y ) , y ′ ( t ) = g ( t , x , y ) (12)</p><p>besides initial conditions (2).</p><p>Improved Euler method applied to each equation gives</p><p>{ x n + 1 = x n + h 2 ( f ( t n , x n , y n ) + f ( t n + 1 , x n + h f ( t n , x n , y n ) , y n ) ) , y n + 1 = y n + h 2 ( g ( t n , x n , y n ) + g ( t n + 1 , x n , y n + h g ( t n , x n , y n ) ) ) (13)</p><p>since</p><p>{ f ( t n , x n , y n ) = x n − x n y n , g ( t n , x n , y n ) = x n y n − y n (14)</p><p>by substituting the first Equation of (14)</p><p>f ( t n + 1 , x n + h f ( t n , x n , y n ) , y n ) = f ( t n + 1 , x n + h ( x n − x n y n ) , y n ) , (15)</p><p>that is</p><p>f ( t n + 1 , x n + h f ( t n , x n , y n ) , y n ) = f ( t n + 1 , ( 1 + h ) x n − h x n y n , y n ) , (16)</p><p>again, by the first Equation of (14)</p><p>f ( t n + 1 , x n + h f ( t n , x n , y n ) , y n ) = ( ( 1 + h ) x n − h x n y n ) ( 1 − y n ) , (17)</p><p>in an equivalent way</p><p>f ( t n + 1 , x n + h f ( t n , x n , y n ) , y n ) = x n ( 1 + h − h y n ) ( 1 − y n ) , (18)</p><p>by sustituting (18) into the first Equation of (13)</p><p>x n + 1 = x n + h 2 ( x n − x n y n + x n ( 1 + h − h y n ) ( 1 − y n ) ) , (19)</p><p>that is</p><p>x n + 1 = x n + x n h 2 ( 1 − y n + ( 1 + h − h y n ) ( 1 − y n ) ) , (20)</p><p>in consequence</p><p>x n + 1 = x n + x n ( 1 − y n ) h 2 ( 2 + h ( 1 − y n ) ) . (21)</p><p>Similarly, from the second Equation of (13)</p><p>y n + 1 = y n + ( x n − 1 ) y n h 2 ( 2 + h ( x n − 1 ) ) . (22)</p><p>From initial conditions (2), we choose h = 1 / 512 , so that, with n = 0 , we obtain</p><p>{ x 1 = e ≈ 2.718281828459 , y 1 = 1 + ( e − 1 ) 1 1024 ( 2 + 1 512 ( e − 1 ) ) ≈ 1.0033616 (23)</p><p>in the following step</p><p>{ x 2 ≈ 2.71826398, y 2 ≈ 1.0067346 (24)</p><p>applying again, improved Euler method</p><p>{ x 3 ≈ 2.71822822, y 3 ≈ 1.0101188 (25)</p><p>Calculated points and initial conditions iniciales, are denotated in the following way: A = ( x 0 , y 0 ) = ( e ,1 ) , B = ( x 1 , y 1 ) , C = ( x 2 , y 2 ) , and D = ( x 3 , y 3 ) . These points are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>Up to now, we have considered a time step given by h = 1 / 512 that is relatively small because improved Euler is a low order method. But, since we already have, beside the initial values, three ordered pairs of approximated values, it is possible to apply fourth order predictor scheme</p><p>x ˜ m + 1 = x m + h 24 ( 55 f ( x m , y m ) − 59 f ( x m − 1 , y m − 1 )     + 37 f ( x m − 2 , y m − 2 ) − 9 f ( x m − 3 , y m − 3 ) ) , (26)</p><p>similarly</p><p>y ˜ m + 1 = y m + h 24 ( 55 g ( x m , y m ) − 59 g ( x m − 1 , y m − 1 )     + 37 g ( x m − 2 , y m − 2 ) − 9 g ( x m − 3 , y m − 3 ) ) , (27)</p><p>then, a corrector method of fifth order is also considered</p><p>x m + 1 = x m + h 720 ( 251 f ( x ˜ m + 1 , y ˜ m + 1 ) + 646 f ( x m , y m ) − 246 f ( x m − 1 , y m − 1 )       + 106 f ( x m − 2 , y m − 2 ) − 19 f ( x m − 3 , y m − 3 ) ) , (28)</p><p>besides</p><p>y m + 1 = y m + h 720 ( 251   g ( x ˜ m + 1 , y ˜ m + 1 ) + 646 g ( x m , y m ) − 246 g ( x m − 1 , y m − 1 )     + 106 g ( x m − 2 , y m − 2 ) − 19 g ( x m − 3 , y m − 3 ) ) . (29)</p><p>these schemes, are known as Adams-Bashfort and, Adams-Moulton. In this way, we obtain from the four points A , B , C y D , with h = 1 / 512 the following predictions</p><p>{ x ˜ 4 ≈ 2.71816549, y ˜ 4 ≈ 1.01351437 (30)</p><p>and then, the corrections</p><p>{ x 4 ≈ 2.71816460, y 4 ≈ 1.01359883 (31)</p><p>By defining E p = ( x 4 , y 4 ) , from the points B , C , D , and   E p , we calculate the predictions</p><p>{ x ˜ 5 ≈ 2.71808279, y ˜ 5 ≈ 1.01700624 (32)</p><p>and then, the corrections</p><p>{ x 5 ≈ 2.71808191, y 5 ≈ 1.01643729 (33)</p><p>Next, we define F p = ( x 5 , y 5 ) , and from the points C , D , E p , and   F p , we obtain the predictions</p><p>{ x ˜ 6 ≈ 2.71798206, y ˜ 6 ≈ 1.02050936 (34)</p><p>and then, the corrections</p><p>{ x 6 ≈ 2.71798025, y 6 ≈ 1.02059439 (35)</p><p>Now, by defining G p = ( x 6 , y 6 ) , from the points A , C , E p and   G p , we are going to double the value of h = 1 / 256 because we are using a higher order method than improved Euler. So, by applying Adams-Bashfort we obtain</p><p>{ x ˜ 7 ≈ 2.71772389, y ˜ 7 ≈ 1.02746678 (36)</p><p>and then, we make a correction with Adams-Moulton</p><p>{ x 7 ≈ 2.71772123, y 7 ≈ 1.02763628 (37)</p><p>Next step: we define H p = ( x 7 , y 7 ) , we consider the points C , E p , G p , and   H p , we get the following predictions with Adams-Bashfort</p><p>{ x ˜ 8 ≈ 2.71739061, y ˜ 8 ≈ 1.03455447 (38)</p><p>and then, by applying Adams-Moulton</p><p>{ x 8 ≈ 2.71738546, y 8 ≈ 1.03472549 (39)</p><p>Finaly, we define K p = ( x 8 , y 8 )</p><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref> it is shown the exact solution (6) of studied case of Lotka-Volterra equations, and the points obtained by numerical methods.</p></sec><sec id="s3"><title>3. A Model for Three Species</title><p>We take as motivation, the Lotka-Volterra equations to propose the couple of partial differential equations</p><p>{ ∂ z ∂ x = z x ( x − 1 1 − z ) , ∂ z ∂ y = z y ( y − 1 1 − z ) (40)</p><p>then, we define the following system of ordinary differential equations</p><p>{ d x d t = x x − 1 , d y d t = y y − 1 , d z d t = 2 z 1 − z (41)</p><p>from the first Equation of (41)</p><p>x − 1 x d x d t = 1 , (42)</p><p>that is</p><p>  ( 1 − 1 x ) d x d t = 1, (43)</p><p>then, we obtain</p><p>d x − d x x = d t , (44)</p><p>by integrating</p><p>x − ln x = t + c 1 , (45)</p><p>similarly, from the second Equation of (41)</p><p>y − ln y = t + c 2 , (46)</p><p>next, from the third differential Equation of (41), we get</p><p>1 − z 2 z d z d t = 1, (47)</p><p>that is</p><p>( 1 z − 1 ) d z d t = 2</p><p>( 1 z − 1 ) d z d t = 2 , (48)</p><p>implying that</p><p>d z z − d z = 2 d t , (49)</p><p>by integrating</p><p>ln z − z = 2 t + c ˜ 3 , (50)</p><p>as a consequence, we have the following equations</p><p>{ x − ln x = t + c 1 , y − ln y = t + c 2 , z − ln z = − 2 t + c 3 (51)</p><p>by adding each corresponding side of Equation of (51), we obtain</p><p>x + y + z − ln x − ln y − ln z = c ˜ , (52)</p><p>that can be expressed in the following way</p><p>x + y + z − 1 2 ln x − 1 2 ln y − 1 2 ln x − 1 2 ln z − 1 2 ln y − 1 2 ln z = c ˜ , (53)</p><p>multiplicating by 2</p><p>2 x + 2 y + 2 z − ln x − ln y − ln x − ln z − ln y − ln z = c , (54)</p><p>that is</p><p>2 x + 2 y + 2 z − ln x y − ln x z − ln y z = c . (55)</p><p>Let us consider the value c = 6 e − e , that is</p><p>2 x + 2 y + 2 z − ln x y − ln x z − ln y z = 6 e − e . (56)</p><p>Then, in the system (41), we will have the following initial conditions</p><p>{ x ( 0 ) = e , y ( 0 ) = e , z ( 0 ) = e (57)</p><p>now, let us consider the first Equation of (51)</p><p>x − ln x = t + c 1 , (58)</p><p>then we substitute x = e , if t = 0 , to obtain</p><p>e − ln e = 0 + c 1 , (59)</p><p>that is</p><p>e − 1 = 0 + c 1 , (60)</p><p>by solving for the constant</p><p>c 1 = e − 1, (61)</p><p>in consequence, from (58)</p><p>x − ln x = t + e − 1. (62)</p><p>Similarly, the second Equation of (51), now becomes</p><p>y − ln y = t + e − 1. (63)</p><p>Next, we consider the third Equation of (51)</p><p>z − ln z = − 2 t + c 3 , (64)</p><p>by imposing the initial condition</p><p>e − ln e = − 2 ( 0 ) + c 3 , (65)</p><p>where, the constant is given by</p><p>c 3 = e − 1, (66)</p><p>in consequence</p><p>z − ln z = − 2 t + e − 1. (67)</p><p>Now, by adding the three solutions (62), (63), and (67), variable t is canceled</p><p>x + y + z − ln x − ln y − ln z = 3 e − 3. (68)</p><p>that can be written in the following way</p><p>x + y + z − 1 2 ln x − 1 2 ln y − 1 2 ln x − 1 2 ln z − 1 2 ln y − 1 2 ln z = 3 e − 3. (69)</p><p>multiplicating by 2</p><p>2 x + 2 y + 2 z − ln x − ln y − ln x − ln z − ln y − ln z = 6 e − 6. (70)</p><p>that coincides with (56) after applying logarithms properties (see <xref ref-type="fig" rid="fig2">Figure 2</xref>).</p></sec><sec id="s4"><title>4. Main Results</title><p>Let us take partial derivatives with respect to x on both sides of (56)</p><p>2 + 2 ∂ z ∂ x − y x y − x z x + z x z − y z x y z = 0, (71)</p><p>that is</p><p>2 ∂ z ∂ x − 1 x − x z x + z x z − z x z = − 2, (72)</p><p>multiplying both sides of (72) by xz</p><p>2 x z ∂ z ∂ x − z − ( x z x + z ) − x z x = − 2 x z , (73)</p><p>in other words</p><p>2 x z ∂ z ∂ x − 2 z − 2 x ∂ z ∂ x = − 2 x z , (74)</p><p>from where, we obtain</p><p>x z ∂ z ∂ x − x ∂ z ∂ x = z − x z , (75)</p><p>that is</p><p>x ∂ z ∂ x ( z − 1 ) = z ( 1 − x ) , (76)</p><p>in consequence, we recover the first Equation of system (40). Therefore, the surface defined by (56) satisfies the first partial differential Equation of system (40).</p><p>Similarly, it can be check that the Equation of the surface (56), also satisfies the second partial differential Equation of the system (40) of partial differential equations.</p></sec><sec id="s5"><title>5. Conclusion and Suggestions</title><p>Lotka-Volterra equations are solved by the improved Euler method and fourth-order predictor-corrector scheme Adams-Bashfort and Adams-Moulton. Then a three-species model is defined by a couple of partial differential equations, which are transformed into a system of three ordinary differential equations, which are not coupled between them. It was shown that solutions of the system of three ordinary differential equations are contained in the surface defined by the solution of the couple of partial differential equations. Future work will be addressed to study systems of three ordinary differential equations [<xref ref-type="bibr" rid="scirp.130039-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.130039-ref8">8</xref>] , which are actually coupled. This means that each right-hand side of these differential equations depends on at least two independent variables.</p></sec><sec id="s6"><title>Acknowledgements</title><p>Sincere thanks to the members of JAMP for their professional performance, and special thanks to assistant editor Nancy Ho.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>S&#225;nchez-Bernabe, F.J. and del Rosario Escalona-Magdaleno, M. (2023) A Numerical Study of Several Species Population Models. Journal of Applied Mathematics and Physics, 11, 3943-3952. https://doi.org/10.4236/jamp.2023.1112251</p></sec></body><back><ref-list><title>References</title><ref id="scirp.130039-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Evans, C. and Findley, G. (1999) Analytic Solutions to a Family of Lotka-Volterra Related Differential Equations. Journal of Mathematical Chemistry, 25, 181-189. https://doi.org/10.1023/A:1019184417025</mixed-citation></ref><ref id="scirp.130039-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Draper, P.W. (2017) Lotka-Volterra Predator-Prey Analytic and Numerical Models. Master’s Thesis, Laurentian University Sudbury, Ontario.</mixed-citation></ref><ref id="scirp.130039-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Sauer, T. (2012) Numerical Analysis. 2nd Edition, Pearson Education Inc., Boston.</mixed-citation></ref><ref id="scirp.130039-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Hall, J. and Lingefj&amp;#228;rd, T. (2016) Mathematical Modeling: Applications with GeoGebra. J. Wiley &amp; Sons, New Jersey.</mixed-citation></ref><ref id="scirp.130039-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Reddy, B.R. (2013) Stability Analysis of Mathematical Syn-Ecological Model Comprising of Prey-Predator, Host-Commensal, Mutualism and Neutral Pairs II (Three of the Four Species Are Washed out States). Journal of Engineering, Science and Mathematics, 2, 119-129.</mixed-citation></ref><ref id="scirp.130039-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Attaway, D.C. (2018) MATLAB: A Practical Introduction to Programming and Problem Solving. Butterworth-Heinemann, Oxford.</mixed-citation></ref><ref id="scirp.130039-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Escalona-Magdaleno, M.D.R. (2017) Modelos Poblacionales, Undergraduate Research Project, Universidad Autónoma Metropolitana Iztapalapa.</mixed-citation></ref><ref id="scirp.130039-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Fonseca-Riquelme, W.A. (2015) Modelos Matemáticos en Dinámica de Poblaciones. Universidad del Bío-Bío, Chile.</mixed-citation></ref></ref-list></back></article>