<?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">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2021.121005</article-id><article-id pub-id-type="publisher-id">AM-106909</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>
 
 
  An Analytic Approximate Solution of the SIR Model
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>I.</surname><given-names>Lazzizzera</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Physics, University of Trento, via Sommarive 14 Povo (Trento), Italy</addr-line></aff><pub-date pub-type="epub"><day>20</day><month>01</month><year>2021</year></pub-date><volume>12</volume><issue>01</issue><fpage>58</fpage><lpage>73</lpage><history><date date-type="received"><day>21,</day>	<month>December</month>	<year>2020</year></date><date date-type="rev-recd"><day>26,</day>	<month>January</month>	<year>2021</year>	</date><date date-type="accepted"><day>29,</day>	<month>January</month>	<year>2021</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>
 
 
  The SIR(D) epidemiological model is defined through a system of transcendental equations, not solvable by elementary functions. In the present paper those equations are successfully replaced by approximate ones, whose solutions are given explicitly in terms of elementary functions, originating, piece-wisely, from generalized logistic functions: they ensure 
  <em>exact</em> (in the numerical sense) asymptotic values, besides to be quite practical to use, for example with fit to data algorithms; moreover they unveil a useful feature, that in fact, at least with very strict approximation, is also owned by the (numerical) solutions of the 
  <em>exact</em> equations. The novelties in the work are: the way the approximate equations are obtained, using simple, analytic geometry considerations; the easy and practical formulation of the final approximate solutions; the mentioned useful feature, never disclosed before. The work’s method and result prove to be robust over a range of values of the well known non-dimensional parameter called 
  <em>basic reproduction ratio</em>, that covers at least all the known epidemic cases, from influenza to measles: this is a point which doesn’t appear much discussed in analogous works.
 
</p></abstract><kwd-group><kwd>SIR Epidemic Model</kwd><kwd> Kermack-McKendrick Model</kwd><kwd> Epidemic Dynamics</kwd><kwd> Approximate Analytic Solution</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The SIR model [<xref ref-type="bibr" rid="scirp.106909-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.106909-ref6">6</xref>] is a simple compartmental model of infectious diseases developed by Kermack and McKendrick [<xref ref-type="bibr" rid="scirp.106909-ref1">1</xref>] in 1927. It considers three compartments:</p><p>S, the set of susceptible individuals;</p><p>I, the set of the infectious (or currently positive) individuals, who have been infected and are capable of infecting susceptible individuals;</p><p>R, the set of the removed individuals, namely people who recovered (healed, H subset) from the disease or deceased due to the disease (D subset), the former assumed to remain immune afterwards.</p><p>The SIR model does not consider at all the sub-compartments H and D; instead the SIRD model simply assumes them to constitute a partition of R, fractionally fixed over time, so that, actually compared to the SIR model, nothing substantially changes in the dynamics of the epidemic progression.</p><p>It is assumed that births and non-epidemic-related deaths can be neglected in the epidemic timescale and that the incubation period is negligible, too. Indicating with letters not in bold the cardinality of each of the compartments, it is taken</p><p>S ( t 0 ) + I ( t 0 ) + R ( t 0 ) = N , (1)</p><p>where t 0 is an initial time, usually with R ( t 0 ) = 0 .</p><p>The model introduces two parameters, β and γ, having dimension of a frequency. Saying t the time variable, γ is defined as the fractional removal rate ( 1 / I ) ( d R / d t ) of individuals from the infectious compartment. Since SI is understood as the number of possible contacts among the infectious and the susceptible individuals, β/N is defined as the fractional decrease rate − ( S I ) − 1 ( d S / d t ) of the number of individuals in the susceptible compartment: it expresses therefore the fractional increment rate of the number of infectious individuals, that is the increment rate of the infectious compartment I, after subtraction of the rate of people entering the removed compartment R.</p><p>Usually one introduces the following non-dimensional variable and new functions:</p><p>α : = β γ   ,   x : = γ t ,   s ( x ) : = S ( t ) N   ,   i ( x ) : = I ( t ) N ,   r ( x ) : = R ( t ) N , (2)</p><p>α called basic reproduction ratio. Then the basic equations given by Kermack and McKendrick [<xref ref-type="bibr" rid="scirp.106909-ref1">1</xref>] are written as</p><p>d s d x ( x ) = − α i ( x ) s ( x ) (3a)</p><p>d i d x ( x ) = i ( x ) ( α s ( x ) − 1 ) (3b)</p><p>d r d x ( x ) = i ( x ) (3c)</p><p>with</p><p>s ( x ) + i ( x ) + r ( x ) = s ( x 0 ) + i ( x 0 ) + r ( x 0 ) = 1, (4)</p><p>and</p><p>s 0 : = s ( x 0 ) ,   i 0 : = i ( x 0 ) ,   r 0 : = r ( x 0 ) ≡ 0   . (5)</p><p>Using Equation (3c) in Equation (3a) and formally integrating, one gets s ( x ) = s 0 e − α r ( x ) ; using this and Equation (3c) again, from Equation (3b) one easily finds i ( x ) = 1 − s 0 e − α r ( x ) − r ( x ) ; then from Equation (3c) she/he will obtain</p><p>d r d x ( x ) = 1 − s 0 e − α r ( x ) − r ( x ) . (6)</p><p>This is a transcendental equation, whose solutions one cannot give explicitly in closed analytic form by elementary functions. In their original paper Kermack and McKendrick themselves [<xref ref-type="bibr" rid="scirp.106909-ref1">1</xref>] gave approximate solutions, however without any exhaustive discussion of applicability for various values of the basic reproduction ratio. Quite recently various authors have approached the problem in different ways, but with the same incompleteness [<xref ref-type="bibr" rid="scirp.106909-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.106909-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.106909-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.106909-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.106909-ref11">11</xref>]. In the sequel, on the basis of simple, analytic geometry considerations, a novel method is introduced, producing approximate but accurate solutions, given explicitly, piece-wisely, from generalized logistic function (see [<xref ref-type="bibr" rid="scirp.106909-ref12">12</xref>] for a description of the origin of the logistic function and its adoption in bio-assay); due attention is paid for the method to be robust over the whole range of possible known values of α , from just above 1 as for influenza, to 1.4 - 3.9 as for Covid-19, to 3 - 5 as for SARS, to 5 - 7 as for polio, to 10 - 12 as for varicella, to 12 - 18 as for measles (see for instance [<xref ref-type="bibr" rid="scirp.106909-ref13">13</xref>] and references therein).</p></sec><sec id="s2"><title>2. Getting the Key Differential Equation</title><p>For the epidemic to spread, the increment rate of the newly infectious individuals must be higher than the increment rate of the newly removed individuals. Dividing Equation (3a) by Equation (3c), one finds that it must be</p><p>1 &lt; − d s d r ( t ) = α s ( t ) . (7)</p><p>As a matter of fact this condition implies that i ( t ) increases over time due to Equation (3b). The functions s ( x ) , i ( x ) and r ( x ) are all defined positive and less or equal to 1; consequently it must be α &gt; 1 for the epidemic to spread and s ( x ) turns to be monotonic decreasing according to Equation (3a), while r ( x ) monotonic increasing according to Equation (3c). It follows that the function i ( x ) starts growing due to (7), reaching necessarily a maximum at a time t M = x M / γ such that</p><p>α s ( x M ) = 1, (8)</p><p>then asymptotically decreasing to zero. This implies that the bounded monotonically increasing function r ( x ) must exhibit a point of inflection at t M , after which it bends, increasing slower and slower, finally flattening to some limiting value</p><p>r ∞ ≡ r ( + ∞ ) ≤ 1. (9)</p><p>So one must have</p><p>0 = lim x → + ∞ d r d x ( x ) = 1 − s 0 e − α r ∞ − r ∞ , (10)</p><p>thus getting a transcendental equation for r ​ ∞ .</p><p>Conveniently for the following developments, a new function is introduced, namely</p><p>w ( x ) = 1 − s 0 e − α r ( x ) , (11)</p><p>in terms of which Equation (6) is re-written as</p><p>d w d x = F [ w ] , (12a)</p><p>F [ w ] : = ( 1 − w ) [ ϵ + α w + ln ( 1 − w ) ] , (12b)</p><p>ϵ = − ln ( s 0 ) = − ln ( 1 − i 0 ) . (12c)</p><p>Clearly</p><p>w ^ : = lim x → + ∞ w ( x ) = 1 − s 0 e − α r ∞ = r ∞ (13)</p><p>must be solution of the equation</p><p>F [ w ^ ] = 0 , (14)</p><p>for Equation (10) and the fact that</p><p>d w d x = s 0 α e − α r ( x ) d r d x ,</p><p>so that</p><p>d w d x = 0   ⇔   d r d x = 0.</p><p>The functional F [ w ] is null in w = 1 , but w ^ cannot be 1 because 0 ≤ r ( x ) ≤ 1 and s 0 is not null (see Equation (11)); thus w ^ must be solution of the equation</p><p>ϵ + α   w ^ + ln ( 1 − w ^ ) = 0 , (15)</p><p>which is nothing but Equation (10), as can be easily verified. Equation (15) is transcendental and is to be solved numerically; the interval [ 0, w ^ ] is the range of w ( x ) as x runs from x 0 to + ∞ .</p><p>The second derivative of F, namely</p><p>d 2 F d w 2 [ w ] = − 2 α + 1 1 − w (16)</p><p>starts and remains negative from w = 0 , until it reaches the point of inflection w f ​ l ​ x , given by</p><p>w f ​ l ​ x = 1 − 1 2 α   ; (17)</p><p>then it becomes positive: thus F [ w ] starts and remains concave until w = w f ​ l ​ x ; then it becomes convex. Of course, in an interval around its inflection point, F [ w ] is nearly straight. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows how w ^ and w f ​ l ​ x vary as a function of α : for α &lt; α cr ≃ 1.75 one has w ^ &lt; w f ​ l ​ x and consequently F [ w ] is always concave in the domain [ 0, w ^ ] ; otherwise it changes from concave to convex</p><p>after w = w f ​ l ​ x . It is worth noting that as α increases, w ^ (together with w f ​ l ​ x ) approaches more and more the limiting value 1, namely a region where the log term in F [ w ] becomes important: this fact is relevant here because such log term, with its argument approaching zero, rises complications in searching for an effective approximation.</p></sec><sec id="s3"><title>3. Approximating the Key Differential Equation</title><p>The idea is to approximate F [ w ] by few stretches of up to second order polynomials, joining continuously each other with the first derivative. Then in each stretch the obtained approximate differential equation becomes analytically and explicitly solvable by a generalized logistic function. For w ≪ 1 , it is taken</p><p>( 1 − w ) ln ( 1 − w ) ≈ − w ( 1 − 1 2 w ) , (18)</p><p>so that</p><p>d w d x ≈ ϵ + ( α − 1 − ϵ ) w − ( α − 1 2 )   w 2 = F ( 1 ) [ w ] . (19)</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows on the left, in red, this F ( 1 ) [ w ] segment against F [ w ] (black curve) for α = 2.74 and (consequently) w ^ ≃ 0.92 , extending to its maximum point, which is rather close to the maximum of F [ w ] . Clearly F ( 1 ) [ w ] is a parabola with axis along the ordinate line, so that the maximum is its vertex.</p><p>Denoting by w 1 ( 1 ) and w 2 ( 1 ) the roots of F ( 1 ) [ w ] , one can write</p><p>F ( 1 ) [ w ] = − A ( w − w 1 ( 1 ) ) ( w − w 2 ( 1 ) ) , (20a)</p><p>A : = α − 1 2 , (20b)</p><p>with</p><p>w 1 / 2 ( 1 ) = α − 1 − ϵ &#177; ( α − 1 − ϵ ) 2 + 2 ( 2 α − 1 ) ϵ 2 α − 1 . (21)</p><p>The vertex is located in</p><p>w M = w 1 ( 1 ) + w 2 ( 1 ) 2 . (22)</p><p>A new parabola is chosen as the second approximation stretch, tangent to F [ w ] on its descending side, with axis along the ordinates and the vertex coincident with that of the first segment F ( 1 ) [ w ] :</p><p>F ( 2 ) [ w ] = − Z ⋆ ( w − w 1 ( 2 ) ) ( w − w 2 ( 2 ) ) , (23a)</p><p>w 1 ( 1 ) + w 2 ( 1 ) 2 = w M = w 1 ( 2 ) + w 2 ( 2 ) 2 , (23b)</p><p>−   A ( w M − w 1 ( 1 ) ) ( w M − w 2 ( 1 ) ) = − Z ⋆ ( w M − w 1 ( 2 ) ) ( w M − w 2 ( 2 ) ) , (23c)</p><p>F ( 2 ) [ w ] = F [ w ] , (23d)</p><p>δ F ( 2 ) δ w [ w ( x ) ] = δ F δ w [ w ( x ) ] . (23e)</p><p>Equations (23b) and (23c) impose that the two stretches have in common their vertexes, located in w = w M ; the system of the last two equations states the conditions for F ( 2 ) [ w ] to be tangent to F [ w ] . It is convenient expressing Z ⋆ , appearing in Equation (23c), in terms of the unknown tangency point w ⋆ using Equation (23e), so that consequently one solves Equation (23d) for w ⋆ .</p><p>Namely, introducing</p><p>δ w ( 1 ) : = w 1 ( 1 ) − w 2 ( 1 ) 2 , (24a)</p><p>δ w ( 2 ) : = w 1 ( 2 ) − w 2 ( 2 ) 2 , (24b)</p><p>due to Equation (23c) one can write</p><p>Z ⋆   ( δ w ( 2 ) ) 2 = A ( δ w ( 1 ) ) 2 , (25)</p><p>while from Equation (23e) and Equation (23d) one has</p><p>( 1 − w ⋆ ) [ ϵ + α   w ⋆ + ln ( 1 − w ) ] = − Z ⋆ ( w − w M ) 2 +   A ( δ w ( 1 ) ) 2 , (26a)</p><p>Z ⋆ = 1 + ϵ + 2 α w ⋆ + ln ( 1 − w ⋆ ) − α 2 ( w ⋆ − w M ) . (26b)</p><p>Using this expression for Z ⋆ in Equation (26a), one obtains a transcendental ordinary equation for w ⋆ , to be solved numerically:</p><p>2 ϵ + ( α − ϵ − 1 ) w M − 2 A ( δ w ( 1 ) ) 2 + ( α − ϵ − 2 α w M + 1 ) w ⋆   + ( 2 − w ⋆ − w M ) ln ( 1 − w ⋆ ) = 0. (27)</p><p>Using w ⋆ so obtained, one gets Z ⋆ from Equation (26b) and finally w 1 ( 2 ) and w 2 ( 2 ) via Equation (25) and Equation (23b). In <xref ref-type="fig" rid="fig2">Figure 2</xref>, on the left, the second segment for α = 2.6 is shown in blue, extending from w M to the point of tangency of the successive approximation segment still to be chosen.</p><p>With reference to the discussion before the end of Section 2, it should be noted that F [ w ] remains concave up to w = w ^ when α ≤ α cr , while it happens that the root w 1 ( 2 ) of F ( 2 ) [ w ] (see <xref ref-type="fig" rid="fig3">Figure 3</xref>) remains very close to w ^ : this suggests in that range of α values replacing the above F ( 2 ) [ w ] by a different arc of parabola f ( 2 ) [ w ] , keeping its vertex in common with F ( 1 ) [ w ] as F ( 2 ) [ w ] does, but just ending in w ^ , thus imposing the constraint w 1 ( 2 ) = w ^ instead of the tangency to F [ w ] .</p><p>Then for α ≤ α cr</p><p>f ( 2 ) [ w ] = − Z ( w − w 1 ( f ) ) ( w − w 2 ( f ) ) , (28a)</p><p>w 1 ( 1 ) + w 2 ( 1 ) 2 = w M = w 1 ( f ) + w 2 ( f ) 2   , (28b)</p><p>−   A ( w M − w 1 ( 1 ) ) ( w M − w 2 ( 1 ) ) = − Z ( w M − w 1 ( f ) ) ( w M − w 2 ( f ) ) , (28c)</p><p>Z = ( α − 1 2 )   ( δ w ( 1 ) ) 2 ( w ^ − w M ) 2 , (28d)</p><p>w 1 ( f )   = w ^   ,   w 2 ( f ) = 2 w M − w ^ ,   δ w ( f ) = w ^ − w M . (28e)</p><p>For α cr &lt; α ≤ 6 F [ w ] is almost always concave, ending roughly as a straight line when approaching w ^ . In this range of α’s one keeps F ( 2 ) [ w ] , but completes the approximation through a new parabola, requiring it to be tangent to F ( 2 ) [ w ] and to reach w ^ along the tangent to F [ w ] in w ^ ; an alternative is the ray originating in w ^ , tangent to F ( 2 ) [ w ] . The latter is settled by</p><p>L [ w ] : = − 2 u Z ⋆ ( w − w ^ ) , (29a)</p><p>∍   '   { L [ w ] − F ( 2 ) [ w ] = 0   ∧   Δ ( L [ w ] − F ( 2 ) [ w ] ) = 0 } , (29b)</p><p>where Δ ( L [ w ] − F ( 2 ) [ w ] ) is the discriminant of the second order algebraic equation L [ w ] − F ( 2 ) [ w ] = 0 , set to zero to assure L [ w ] to be tangent to F ( 2 ) [ w ] . The appropriate solution for u is</p><p>u − = w ^ − w M − ( w ^ − w M ) 2 − ( δ w ( 2 ) ) 2 . (30)</p><p>The problem with this approximation is that, looking for instance at the function r ( x ) obtained from w ( x ) , it gets unacceptably overestimated in the region where it bends to reach the asymptotic value as x → + ∞ : this is because L [ w ] necessarily remains below F [ w ] due to the concavity of the latter.</p><p>The quadratic alternative is defined by</p><p>F ( 3 ) [ w ] : = − 2 λ ( w − w ^ ) + σ ( w − w ^ ) 2 , (31a)</p><p>  λ = ( F ( 2 ) [ w ] ) ′ | w = w ^ = 1 − α ( 1 − w ^ ) 2 , (31b)</p><p>∍   '   { F ( 3 ) [ w ] − F ( 2 ) [ w ] = 0   ∧   Δ ( F ( 3 ) [ w ] − F ( 2 ) [ w ] ) = 0 } , (31c)</p><p>where “prime” stands for derivative and Δ ( F ( 3 ) [ w ] − F ( 2 ) [ w ] ) is the discriminant of the second order algebraic equation F ( 3 ) [ w ] − F ( 2 ) [ w ] = 0 , set to zero so to assure F ( 3 ) [ w ] to be tangent to F ( 2 ) [ w ] . In this case, however, with respect to using L [ w ] , one has the opposite effect on r ( x ) , because the given choice for λ forces F ( 3 ) [ w ] to stay somewhat above F [ w ] .</p><p>The solution is to keep the quadratic alternative, but replacing the previous value of λ by a compromise one, defined through</p><p>λ ∘ : = tan ( arctan ( − 2 λ ) ) + tan ( arctan ( − 2 λ ) − arctan ( − 2 u − Z ⋆ ) 2 ) . (32)</p><p>Then the parameter σ in (31a) is set by means of the condition (31c):</p><p>σ = Z ⋆ h − g 2 2 w ^ g − h − Z ⋆ w ^ 2 , (33a)</p><p>  g = Z ⋆ w M + λ ∘ ,     h = Z ⋆ w 1 ( 2 ) w 2 ( 2 ) + 2 λ ∘ w ^ , (33b)</p><p>w ∘ = σ w ^ + g σ + Z ⋆ , (33c)</p><p>where w ∘ is the tangency point of F ( 3 ) [ w ] to F ( 2 ) [ w ] .</p><p>So, for α cr &lt; α ≤ 6 the third and last approximation segment is given by (31a), with λ replaced by λ ∘ , extending from w ∘ to w ^ .</p><p>For w &gt; 6 the convexity trait of F [ w ] , following the almost straight stretch around w f l x , gets more and more included in the domain [ 0, w ^ ] , because w ^ increases with α . Then, the solution adopted is to introduce a linear segment T [ w ] parallel to the tangent in w f l x to F [ w ] and tangent to F ( 2 ) [ w ] in a point that will be denoted w ˜ ; this linear segment will be continued by a new parabola F ( 4 ) [ w ] , which is similar to F ( 3 ) [ w ] , thus ending in w ^ , but tangent to T [ w ] . Namely</p><p>T [ w ] : = − 2 f ˜ w + I ˜ , (34a)</p><p>− 2 f ˜ : = F ′ [ w ] | w = w f l x = ln ( 2 α ) − α − ϵ , (34b)</p><p>∍   '   { T [ w ] − F ( 2 ) [ w ] = 0   ∧   Δ ( T [ w ] − F ( 2 ) [ w ] ) = 0 } , (34c)</p><p>giving</p><p>I ˜ = Z ⋆ [ w ˜ 2 − w M 2 + ( δ w ( 2 ) ) 2 ] (35a)</p><p>w ˜ = w M + f ˜ Z ⋆ . (35b)</p><p>Then the F ( 4 ) [ w ] approximation stretch, constrained to end in w ^ and to be tangent to T [ w ] in a point w u chosen by trial and error optimization, is given by:</p><p>F ( 4 ) [ w ] : = − 2 λ u ( w − w ^ ) + σ u ( w − w ^ ) 2 , (36a)</p><p>w u : = ( 1 − z ) w ​ f ​ l ​ x + z w ^ ,   z = 0.575   , (36b)</p><p>∍ ′   { F ( 4 ) [ w ] − T [ w ] = 0   ∧   Δ ( F ( 4 ) [ w ] − T [ w ] ) = 0 } , (36c)</p><p>giving</p><p>λ u = f ˜ + 2 w ^ f ˜ − I ˜ w u − w ^ , (37a)</p><p>σ u = 2 w ^ f ˜ − I ˜ ( w u − w ^ ) 2 . (37b)</p></sec><sec id="s4"><title>4. The Approximate Analytic Solution</title><p>For each of the above approximation segments a differential equations is defined of the type</p><p>d w d x ( x ) = F [ w ( x ) ] , (38)</p><p>where F [ w ] is one of F ( i ) [ w ] ( i = 1 , 2 , 3 , 4 ) or f ( 2 ) [ w ] or T [ w ] , with given α and β parameters (or βand γ) and initial conditions. For F [ w ] = F ( 1 ) [ w ] , from the definition in Equation (11), the initial condition is w ( x 0 ) = 1 − s 0 = i 0 ( x 0 = 0 without loss of generality), while for each of the remaining approximation segments it is given by the value of the respective preceding segment at the junction point. Since F [ w ] is at most a second order polynomial, Equation (38) is indeed quite trivially solved, giving a generalized logistic function.</p><p>For F [ w ] = F ( 1 ) [ w ] :</p><p>w ( 1 ) ( x ) = w 1 ( 1 ) + w 2 ( 1 ) k e − x / γ τ 1 1 + k e − x / γ τ 1 , (39a)</p><p>k = w 1 ( 1 ) − i 0 i 0 − w 2 ( 1 ) ,   τ 1 = 1 γ ⋅ ( α − 1 / 2 ) ( w 1 ( 1 ) − w 2 ( 1 ) ) . (39b)</p><p>For F [ w ] = f ( 2 ) [ w ] , thus α ≤ α cr :</p><p>w ( f ) ( x ) = w ^ + ( 2 w M − w ^ ) e − ( x − x M ) / γ τ f 1 + e − ( x − x M ) / γ τ f , (40a)</p><p>x M = γ τ 1 ln ( k )       ∍   '       w ( 1 ) ( x M ) = w M ,   τ f = δ w ( f ) δ w ( 1 ) τ 1 &gt; τ 1 . (40b)</p><p>For F [ w ] = F ( 2 ) [ w ] , thus α &gt; α cr :</p><p>w ( 2 ) ( x ) = w 1 ( 2 ) + w 2 ( 2 ) e − ( x − x M ) / γ τ 2 1 + e − ( x − x M ) / γ τ 2 , (41a)</p><p>x M = γ τ 1 ln ( k )     ∍   '     w ( 1 ) ( x M ) = w M   ,   τ 2 = δ w ( 2 ) δ w ( 1 ) τ 1 &gt; τ 1   . (41b)</p><p>For F [ w ] = F ( 3 ) [ w ] , thus α cr &lt; α ≤ 6 :</p><p>w ( 3 ) ( x ) = w ^ − ( w ^ + 2 λ ∘ / σ ) ϕ ∘ e −   ( x − x ∘ ) / γ τ 3 1 − ϕ ∘ e −   ( x − x ∘ ) / γ τ 3 , (42a)</p><p>x ∘ = γ x M + γ τ 2 ln ( w ∘ − w 2 ( 2 ) w 1 ( 2 ) − w ∘ )     ∍   '     w ( 2 ) ( x ∘ ) = w ∘ , (42b)</p><p>ϕ ∘   = w ^ − w ∘ w ^ − w ∘ + 2 λ ∘ σ ,   τ 3 = 1 2 λ ∘ γ . (42c)</p><p>For F [ w ] = T [ w ] , thus α &gt; 6 (see (34) and (35)):</p><p>w ( T ) ( x ) = 1 2 f ˜ [ I ˜ − ( I ˜ − 2 w ˜ f ˜ ) e −   ( x − x ˜ ) / γ τ ˜ ] , (43a)</p><p>τ ˜ = 1 2 f ˜ γ ,   x ˜ = γ x M + γ τ 2 ln ( w ˜ − w 2 ( 2 ) w 1 ( 2 ) − w ˜ )     ∍   '     w ( 2 ) ( x ˜ ) = w ˜   . (43b)</p><p>Finally for F [ w ] = F ( 4 ) [ w ] thus α &gt; 6 :</p><p>w ( 4 ) ( x ) = w ^ − ( w ^ + 2 λ u / σ u ) ϕ u e − ( x − x u ) / γ τ 4 1 − ϕ u e − ( x − x u ) / γ τ 4   , (44a)</p><p>x u = γ x ˜ + γ τ ˜ ln ( I ˜ − 2 f ˜   w ˜ I ˜ − 2 f ˜   w u )   ∍ ′     w ( T ) ( x u ) = w u (44b)</p><p>ϕ u = w ^ − w u w ^ − w u + 2 λ u σ u ,   τ 4 = 1 2 λ u γ . (44c)</p><p>It is convenient to introduce</p><p>r ∨ ( t ) : = r ( γ t )   ,   i ∨ ( t ) : = i ( γ t )   ,   s ∨ ( t ) : = s ( γ t ) ,   w ∨ ( t ) : = w ( γ t ) ,   etc . , . (45)</p><p>Then, from Equation (11) one has</p><p>r ∨ ( t ) = 1 α ln 1 − i 0 1 − w ( γ t ) , (46)</p><p>so that</p><p>i ∨ ( t ) = d r ∨ d t ( t ) = 1 α [ 1 1 − w ( x ) d w d x ( x ) ] x = γ t .</p><p>On the other hand Equation (12) implies</p><p>1 1 − w d w d x = α w − ln 1 − i 0 1 − w</p><p>and consequently (see Equation (46))</p><p>i ∨ ( t ) = [ w ( x ) − 1 α ln 1 − i 0 1 − w ( x ) ] x = γ t = w ∨ ( t ) − r ∨ ( t ) . (47)</p><p>Finally, of course, due to (4):</p><p>s ∨ ( t ) = 1 − i ∨ ( t ) − r ∨ ( t ) = 1 − w ∨ ( t ) . (48)</p><p>In the case of the SIRD model one defines</p><p>r ∨ = h ∨   + d ∨   , (49a)</p><p>γ → γ + μ     so   that     h ∨ = γ γ + μ r ∨     and     d ∨ = μ γ + μ r ∨ . (49b)</p><p><xref ref-type="fig" rid="fig4">Figure 4</xref> shows a comparison between the numerical “exact” solutions of the SIRD model and the approximate solutions of this work with β = 0.25 and α = 1.6   ,   2.5   ,   4.5   ,   8.3 .</p><p><sup>1 ( a ≤ b ) </sup>? then c = f : otherwise c = g .</p><p>Imitating a formal expression typical of computing languages<sup>1</sup>, the result for w can be summarized as follows:</p><p>for α ≤ α cr (50a)</p><p>w ∨ ( t ) = ( t ≤ t M ) ? w ∨ ( t ) ( 1 ) : w ∨ ( t ) ( f ) (50b)</p><p>for α cr &lt; α ≤ 6 :</p><p>w ∨ ( t ) = ( t ≤ t M ) ? w ∨ ( t ) ( 1 ) : ( ( t ≤ t ∘ ) ? w ∨ ( t ) ( 2 ) : w ∨ ( t ) ( 3 ) ) (50c)</p><p>for α &gt; 6 :</p><p>w ∨ ( t ) = ( t ≤ t M ) ? w ∨ ( t ) ( 1 ) :     ( ( t ≤ t ˜ ) ? w ∨ ( t ) ( 2 ) : ( ( t ≤ t u ) ? w ∨ ( t ) ( T ) : w ∨ ( t ) ( 4 ) ) ) . (50d)</p><p>Similarly for s ∨ ( t ) , i ∨ ( t ) , h ∨ ( t ) and d ∨ ( t ) .</p><p>In practice one does:</p><p>&#183; solve numerically the transcendental ordinary Equation (15) to get w ^ ;</p><p>&#183; use Equation (21) and Equation (39) to get w ( 1 ) ( x ) as in Equation (39);</p><p>&#183; for α ≤ α cr use Equation (22), Equations (28d) and (28e) to get w ( f ) ( x ) as in Equation (40);</p><p>&#183; for α &gt; α cr use Equation (27), Equation (26b), Equation (22), Equation (24b), Equation (25) and Equation (41) to get w ( 2 ) ( x ) as in Equation (41);</p><p>&#183; for α cr &lt; α ≤ 6 use Equation (32), Equation (33a) and Equation (33b), Equation (33c) and finally Equation (42) to get w ( 3 ) ( x ) as in Equation (42);</p><p>&#183; for α &gt; 6 use Equation (34b), Equation (35) and Equation (43) to get w ( T ) ( x ) as in Equation (43);</p><p>&#183; for α &gt; 6 use Equation (17), Equation (36b), Equation (37) and Equation (44) to get w ( 4 ) ( x ) as in Equation (44);</p><p>&#183; eventually use Equation (46), Equation (47), Equation (48), Equation (49).</p><p>The four plots in <xref ref-type="fig" rid="fig4">Figure 4</xref> are produced by a C++ code implementing the above steps, then sending the produced analytic function to the graphing utility “gnuplot”: the C++ code could be re-used easily to fit-study data.</p></sec><sec id="s5"><title>5. A Useful Feature</title><p>The equation of the first approximation segment can be re-written as</p><p>1 w ( 1 ) 2 d ​ w ( 1 ) d x = − A w ( 1 ) 2 ( w ( 1 ) − w 2 ( 1 ) − δ w ( 1 ) ) ( w ( 1 ) − w 2 ( 1 ) ) . (51)</p><p>Using the explicit solution Equation (39), one has</p><p>w ( 1 ) − w 2 ( 1 ) = 2 δ w ( 1 ) [ 1 + k e − ( x − x 0 ) / γ τ 1 ] 2 . (52)</p><p>and consequently</p><p>1 w ( 1 ) 2 d ​ w ( 1 ) d x = 4 A k ( δ w ( 1 ) ) 2 w 1 ( 1 ) 2 e − ( x − x 0 ) / γ τ 1 [ 1 + w 1 ( 1 ) w 2 ( 1 ) k e − ( x − x 0 ) / γ τ 1 ] 2 . (53)</p><p>Typically</p><p>| w 1 ( 1 ) w 2 ( 1 ) | ≪ 1     and     | w 1 ( 1 ) w 2 ( 1 ) k | ≲ 1, (54)</p><p>but anyway with t − t 0 greater than some τ 1 ’s, in the end one can write</p><p>ln ( 1 ( w ∨   ( 1 ) ) 2 d w ∨   ( 1 ) d t ) ( t ) ≃ ln ( 4 A γ k ) − t − t 0 τ 1 . (55)</p><p>Analogous results hold for all the approximation stretches in the different α intervals as summarized in Equation (50); for instance, with t − t ∘ greater enough then τ 3 , one has</p><p>ln ( 1 ( w ∨   ( 3 ) ) 2 d w ∨   ( 3 ) d t ) ( t ) ≃ ln [ 4 σ γ ϕ ∘ ( 2 λ ∘ σ w ^ ) 2 ] − t − t ∘ τ 3 . (56)</p><p>These piecewise linear behaviors can be seen in <xref ref-type="fig" rid="fig5">Figure 5</xref> for α = 2.6 . The plot on the left shows the numerical solution of the exact equation, compared with the corresponding approximate analytic solution: it is worth recalling (see Equation (47)) that w ( x ) = r ( x ) + i ( x ) , so that w is directly related to the data. The plot on the right shows that the function r ∨ ( t ) of the removed individuals exhibits an analogous behavior: since in the SIRD model the d ∨ ( t ) function is a fraction of r ∨ ( t ) , then one has the analogous behavior for the function of the deceased individuals. <xref ref-type="fig" rid="fig6">Figure 6</xref> refers to the data of the deceased individuals during the winter-spring 2020 first wave of Covid-19 in Italy: it remarkably confirms this model feature. One important point here is that the slopes of the straight segments, that are inversely proportional to the related time constants τ , are completely determined by the parameters α and β (besides the initial conditions) and so is the angle between such straight segments: consequently one can compare that angle with the theoretically predicted one and argue about the effects of social measures to reduce the pandemic, of course within the trustworthiness of the model.</p></sec><sec id="s6"><title>6. Conclusions</title><p>In this paper the equations of the SIR(D) epidemiological model are replaced by approximate ones, whose solutions are totally defined uniquely by the basic reproduction ratio α and the fractional removal rate γ (alternatively by β = γ / α ). These solutions are continuous (with the first derivative) chains of two or three or four generalized logistic related functions, the number depending on the value of α only; they are summarized in Equation (50) and easily implementable and usable, for instance, to fit-study data.</p><p>The analytic geometry based approximation method used here is novel and set stably at least over the range of the measured values of the basic reproduction ratio for several known pandemic diseases. A useful feature of the SIR(D) model, never disclosed before, is also given.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Lazzizzera, I. (2021) An Analytic Approximate Solution of the SIR Model. Applied Mathematics, 12, 58-73. https://doi.org/10.4236/am.2021.121005</p></sec></body><back><ref-list><title>References</title><ref id="scirp.106909-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Kermack, W.O. and McKendrick, A.G. (1927) Contribution to the Mathematical Theory of Epidemics. Proceedings of the Royal Socoety A, 115, 700-721. https://doi.org/10.1098/rspa.1927.0118</mixed-citation></ref><ref id="scirp.106909-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Murray, J. (1993) Mathematical Biology. Springer-Verlag, Berlin. https://doi.org/10.1007/978-3-662-08542-4</mixed-citation></ref><ref id="scirp.106909-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Daley, D. and Gani, J. (1999) Epidemic Modelling. Cambridge University Press, Cambridge.</mixed-citation></ref><ref id="scirp.106909-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Brauer, F. (2017) Mathematical Epidemiology: Past, Present, and Future. Infectious Disease Modelling, 2, 113-127. https://doi.org/10.1016/j.idm.2017.02.001</mixed-citation></ref><ref id="scirp.106909-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Martcheva, M. (2015) An Introduction to Mathematical Epidemiology. Springer, Berlin. https://doi.org/10.1007/978-1-4899-7612-3</mixed-citation></ref><ref id="scirp.106909-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Brauer, F., Castillo-Chavez, C. and Feng, Z. (2019) Mathematical Models in Epidemiology. Springer, Berlin. https://doi.org/10.1007/978-1-4939-9828-9</mixed-citation></ref><ref id="scirp.106909-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ozyapici, A. and Bilgehan, B. (2018) Generalized System of Trial Equation Methods and Their Applications to Biological Systems. Applied Mathematics and Computation, 338, 722-732. https://doi.org/10.1016/j.amc.2018.06.020</mixed-citation></ref><ref id="scirp.106909-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Barlow, N.S. and Weinstein, S.J. (2020) Accurate Closed-Form Solution of the SIR Epidemic Model. Physica D: Nonlinear Phenomena, 408, Article ID 132540. https://doi.org/10.1016/j.physd.2020.132540</mixed-citation></ref><ref id="scirp.106909-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Kroeger, M. and Schlickeiser, R. (2020) Analytical Solution of the SIR-Model for the Temporal Evolution of Epidemics. Part A: Time-Independent Reproduction Factor. Journal of Physics A: Mathematical and Theoretical, 53, Article ID 505601. https://doi.org/10.1088/1751-8121/abc65d</mixed-citation></ref><ref id="scirp.106909-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Pakes, A.G. (2015) Lambert’s W Meets Kermack-McKendrick Epidemics. IMA Journal of Applied Mathematics, 80, 1368-1386. https://doi.org/10.1093/imamat/hxu057</mixed-citation></ref><ref id="scirp.106909-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Fowler, A.C. and Hollingsworth, T.D. (2015) Simple Approximations for Epidemics with Exponential and Fixed Infectious Periods. Bulletin of Mathematical Biology, 77, 1539-1555. https://doi.org/10.1007/s11538-015-0095-3</mixed-citation></ref><ref id="scirp.106909-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Cramer, J.S. (2002) The Origins of Logistic Regression, TI 2002-119/4. Tinbergen Institute Discussion Paper. https://doi.org/10.2139/ssrn.360300</mixed-citation></ref><ref id="scirp.106909-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Heesterbeek, J.A.P. (2002) A Brief History of R&lt;SUB&gt;0&lt;/SUB&gt; and a Recipe for Its Calculation. Acta Biotheoretica, 50, 189-204. https://doi.org/10.1023/A:1016599411804</mixed-citation></ref></ref-list></back></article>