Open access peer-reviewed chapter

# SIR Model with Homotopy to Predict Corona Cases

By Nahid Fatima

Submitted: August 4th 2020Reviewed: February 8th 2021Published: March 24th 2021

DOI: 10.5772/intechopen.96481

## Abstract

In this chapter, we will discuss SIR model to study the spread of COVID-2019 pandemic of India. We will give the prediction of corona cases using homotopy method. The HM is a method for solving the ordinary differential equations. The SIR model consists of three ordinary differential equations. In this study, we have used the data of COVID-2019 Outbreak of India on 20 Jan 2021. In this data, Recovered is 102656163, Active cases are 189245 Susceptible persons are 189347782 for the experimental purpose. Data about a wide variety of infectious diseases has been analyzed with the help of SIR model. Therefore, this model has been already well tested for infectious diseases by various scientists and researchers.

### Keywords

• SIR model
• homotopy
• differential equation
• corona
• graph
• table

## 1. Introduction

Novel Coronavirus, assigned as 2019-nCoV, emerged in Wuhan, China, toward the end of 2019. As of January 24, 2020, as many as 830 cases had been analyzed in nine nations: China, Thailand, Japan, South Korea, Singapore, Vietnam, Taiwan, Nepal, and the United States [1, 2, 3]. Twenty-six fatalities happened, chiefly in patients who had genuine basic sickness. Albeit numerous subtleties of the rise of this infection.

In 2019, the Centers for Disease Control and Prevention (CDC) started monitoring the outbreak of a new coronavirus, SARS-CoV-2, which causes the respiratory illness now known as COVID-19. Authorities first identified the virus in Wuhan, China. More than 74,000 people have contracted the virus in China. Health authorities have identified many other people with COVID-19 around the world, including many in the United States. On January 31, 2020, the virus passed from one person to another in the U.S. The World Health Organization (WHO) have declared a public health emergency relating to COVID-19. Since then, this strain has been diagnosed in several U.S. residents. The CDC have advised that it is likely to spread to more people. COVID-19 has started causing disruption in at least 25 other countries.

All the adjoining nations of India have revealed positive COVID-19 cases. To secure against the lethal infection, the Indian government have taken fundamental and severe measures, including setting up wellbeing check posts between the public lines to test whether individuals entering the nation have the infection. Various nations have presented salvage endeavors and reconnaissance measures for residents wishing to get back from China. The exercise gained from the SARS episode was first that the absence of lucidity and data about SARS debilitated China’s worldwide standing and hampered its financial development. The episode of SARS in China was disastrous and has prompted changes in medical care and clinical frameworks. Contrasted and China, the capacity of India to counter a pandemic is by all accounts a lot of lower. A new report announced that influenced relatives had not visit the Wuhan market in China, proposing that SARS-CoV-2 may spread without showing side effects. Analysts accept that this wonder is typical for some infections. India, with a populace of more than 1.34 billion—the second biggest populace on the planet—will experience issues treating serious COVID-19 cases on the grounds that the nation has just 49,000 ventilators, which is a negligible sum. On the off chance that the quantity of COVID-19 cases increments in the country, it would be a fiasco for India.

As the characteristics of a potential vaccine become better known, mathematical models can be used to explore alternative scenarios about effectively distributing a vaccine in order to limit transmission and protect the most vulnerable population groups.

Coronaviruses can spread in the following ways:

Coughing and sneezing without covering the mouth can disperse droplets into the air. Touching or shaking hands with a person who has the virus can pass the virus between individuals. Making contact with a surface or object that has the virus and then touching the nose, eyes, or mouth.

The National Institutes of Health (NIH) suggest that several groups of people have the highest risk of developing complications due to COVID-19. These groups include:

1. Young children

2. People aged 65 years or older

3. Pregnant women.

Coronaviruses will contaminate most individuals at a few time amid their lifetime. Coronaviruses can change viably, which makes them so infectious. To anticipate transmission, individuals ought to remain at domestic and rest whereas side effects are dynamic. They ought to moreover maintain a strategic distance from near contact with other individuals. They should also avoid close contact with other people. Covering the mouth and nose with a tissue or handkerchief while coughing or sneezing.

## 2. Analysis of SIR model

SIR model is first introduced by W.O. Kermach and A.G Mckendrick in 1927. SIR model is a best model of an infectious disease. This model divided the population into the three groups. The groups name is.

S (t) is the Susceptible people at the time.

I (t) is the infected people at the time.

R(t) is the recovered people at the time.

This model is constructing the ordinary differential equations in this model time t is the independent variable and S, I, R is the dependent variables. These groups have taken the number of people on every day. Yet, the data is transitions with time, as human being act from one group to another group. Illustration, human being in group Swill act to the group I, that is the infected. Furthermore, infected person, Iwill act to the recovered Rgroup that is they are recover or die from the disease. This method has been used successfully many times before in spreading disease like yellow fever, plague, fever, influenza, avian influenza, etc. Therefore, we have made the differential equations of COVID 19 using this method. This method is very helpful in giving a mathematical model to COVID.

dsdt=gsi.E1
didt=gsifiE2
drdt=fiE3

where tis the independent variable s,i,ris dependent variables i.e.

sis denote the susceptible person at the time t

iis denote the infected person at the time t

ris denote the recovered person at the time t

gis transmission coefficient

fis recovery

If s>0, i>0then

dsdt=gsi<0,s>0,i>0E4
didt=igsfE5
gsf=0
s=fg
sfg=0E6
So didt<0 if s<fgE7

didt>0if s>fgis defined the direction diagram of trajectories

We find the trajectories

dids=didtdsdt=gsifigsi
dids=1+fgs
di=1ds+fgsds
i=s+fglogs+c

Initial conditions

s0=s0
i0=i0

(If)

s0,i
s,i

1. It is impossible for the disease to infect all the susceptible person.

2. s0>fgfor an epidemic to occur.

3. s0<fgdisease dig out.

4. gs0f>1then number of infected is increase.

5. s+i+ris the total population.

## 3. Mathematical modeling of COVID 19

### 3.1 Case study of India

In this research work we have discussed about the COVID 19 disease. also know about how many people got sick in India due to pandemic disease COVID19. In this article, we have given a mathematical model to COVID 19 with the help of SIR model [4, 5, 6]. We have taken data of how many people had become ill in India by COVID 19 on 20 January 2021 and using this data , we have created a mathematical model of COVID 19 with the help of SIR model. We have created three differential equations by taking the original data and solving those equations by the Homotopy Perturbation method (HPM ).We got out the numerical solutions and made a table, and with the help of that table, we tried to tell what is the position of COVID 19 in India by making the graphs. There are a lot of methods which solves the differential equations [7, 8, 9], but we have used the HPM method. This method solves the biggest and most difficult equations very easily and with less of calculations.We will solve the Differential Equations of COVID 19, which is made with the help of SIR model. In these equations, we took the data of 20 January 2021 COVID 19 people of India who were caught by COVID 19 epidemics.

Total confirmed cases on 20 January 2021 in India is 10611728.

Death 152907

Recovered is 102656163

Active cases are 189245

Susceptible persons are 189347782

So, we take the

s0=18.9347782
i0=1.0611728
r0=10265163+152907=1.0418070
g=activecases of indiaon20january2021for COVID19susceptible people of indiaon20january2021for COVID19
g=18924518.9347782=0.00999457
f=114=0.0714
dsdt=gsiE8
didt=gsifiE9
drdt=fiE10

where tis the independent variable s,i,ris dependent variables i.e.

sis denote the susceptible person at the time t

iis denote the infected person at the time t

ris denote the recovered person at the time t

gis transmission coefficient

fis recovery

Now we will solve these equations with the help of HPM method.

By the homotopy method we get,

1pdSdt+p(dSdt+si)

dSdt=p0.00999457si
1pdidt+pdidt0.00999457si+0.0714iE11
didt=p(0.00999457si0.0714i)E12
drdt=p0.0714i
s=s0+p1s1+p2s2+E13
i=i0+p1i1+p2i2+E14
r=r0+p1r1+p2r2+E15

Putting value s,i,rwe get,

dsdt=p(0.00999457{s0+p1s1+p2s2+}{i0+p1i1+p2i2+})E16
didt=p(0.00999457[{s0+p1s1+p2s2+}{i0+p1i1+p2i2+}]0.0714{i0+p1i1+p2i2+})E17
drdt=p0.0714{i0+p1i1+p2i2E18

Both side comparing the coefficient of p we get

s0=18.9347782
i0=1.0611728
r0=1.0418070
ds1dt=0.0099945718.93477821.0611728
s1=0.2008216t
di1dt=0.0099945718.93477821.06117280.07141.0611728
i1=0.1250538t
dr1dt=0.0714{1.0611728}duplicate_equation_number_1_4
r1=0.0757677t

So, by the HPM we get the solution:

st=18.93477820.2008216t+
it=1.0611728+0.1250538t+
rt=1.0418070+0.0757677t+

We have the table

S.NO.DATESIR
120/01/202118.93477821.06117281.0418070
221 /01/202118.73395661.06622661.1175747
322/01/202118.5331351.061280401.1933424
423/01/202118.33231341.066334241.2691101
524/01/202118.13149181.06138801.3448778
625/01/202117.93067021.06644181.4206455
726/01/202117.72984861.06849561.4964132
827/01/202117.5290271.07054941.5721809
928/01/202117.32820541.07160321.6479486
1029/01/202117.12738381.07266571.7237163
1130/01/202116.92656221.07471081.799484
1231/01/202116.72574061.07676461.8752517

From the above table we can predict that infected cases of corona on 31 January which is almost same as actual cases on 31 January. The current COVID-19 pandemic is unprecedented, but the global response draws on the lessons learned from other disease outbreaks over the past several decades.

World scientists on COVID-19 then met at the World Health Organization’s Geneva headquarters on 11–12 February 2020 to assess the current level of knowledge about the new virus, agree on critical research questions that need to be answered urgently, and to find ways to work together to accelerate and fund priority research to curtail this outbreak and prepare for those in the future see Figures 13 for reference.

## 4. Conclusion

In this chapter, we have taken data of people affected by coronavirus in India till 20 January (1). Then we converted this data into three differential equations with the help of SIR model. We solved the equation made from SIR model with HPM. From the result of solving, we estimated the people who got infected with corona virus in the coming 5 days. We converted the result from HPM into a table and graph and from the result we saw that in the coming days, corona cases are increasing and recovering but the corona positive rate is very high, and the rate of recovery is very short. We saw that the information about Corona-positive cases being given by the Government of India was also that the rate of positive is increasing very fast, but the rate of recovery is very low. From all these, we can now say that by solving with HPM we get the result very close to the actual result. We have predicted cases of corona till Jan 31 using SIR model, risk factors for the coronavirus disease. The risk is especially high if two or three of the Cs come together.

chapter PDF
Citations in RIS format
Citations in bibtex format

## More

© 2021 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## How to cite and reference

### Cite this chapter Copy to clipboard

Nahid Fatima (March 24th 2021). SIR Model with Homotopy to Predict Corona Cases, A Collection of Papers on Chaos Theory and Its Applications, Paul Bracken and Dimo I. Uzunov, IntechOpen, DOI: 10.5772/intechopen.96481. Available from:

### Related Content

#### A Collection of Papers on Chaos Theory and Its Applications

Edited by Paul Bracken

Next chapter

#### Research Advances in Chaos Theory

Edited by Paul Bracken

First chapter

#### Introductory Chapter: Dynamical Symmetries and Quantum Chaos

By Paul Bracken

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.