Anti-viral medication is comparably incredibly beneficial for individuals who are infected with numerous viruses. Mathematical modeling is crucial for comprehending the various relationships involving viruses, immune responses and health in general. This study concerns the implementation of a continuous Galerkin-Petrov time discretization scheme with mathematical models that consist of nonlinear ordinary differential equations for the hepatitis B virus, the Chen system and HIV infection. For the Galerkin scheme, we have two unknowns on each time interval which have to be computed by solving a $ 2 \times 2 $ block system. The proposed method is accurate to order 3 in the whole time interval and shows even super convergence of order 4 in the discrete time points. The study presents the accurate solutions achieved by means of the aforementioned schemes, presented numerically and graphically. Further, we implemented the classical fourth-order Runge-Kutta scheme accurately and performed various numerical tests for assessing the efficiency and computational cost (in terms of time) of the suggested schemes. The performances of the fourth order Runge-Kutta and the Galerkin-Petrov time discretization approaches for solving nonlinear ordinary differential equations were compared, with applications towards certain mathematical models in epidemiology. Several simulations were carried out with varying time step sizes, and the efficiency of the Galerkin and Runge Kutta schemes was evaluated at various time points. A detailed analysis of the outcomes obtained by the Galerkin scheme and the Runge-Kutta technique indicates that the results presented are in excellent agreement with each other despite having distinct computational costs in terms of time. It is observed that the Galerkin scheme is noticeably slower and requires more time in comparison to the Runge Kutta scheme. The numerical computations demonstrate that the Galerkin scheme provides highly precise solutions at relatively large time step sizes as compared to the Runge-Kutta scheme.
Citation: Attaullah, Mansour F. Yassen, Sultan Alyobi, Fuad S. Al-Duais, Wajaree Weera. On the comparative performance of fourth order Runge-Kutta and the Galerkin-Petrov time discretization methods for solving nonlinear ordinary differential equations with application to some mathematical models in epidemiology[J]. AIMS Mathematics, 2023, 8(2): 3699-3729. doi: 10.3934/math.2023185
Anti-viral medication is comparably incredibly beneficial for individuals who are infected with numerous viruses. Mathematical modeling is crucial for comprehending the various relationships involving viruses, immune responses and health in general. This study concerns the implementation of a continuous Galerkin-Petrov time discretization scheme with mathematical models that consist of nonlinear ordinary differential equations for the hepatitis B virus, the Chen system and HIV infection. For the Galerkin scheme, we have two unknowns on each time interval which have to be computed by solving a $ 2 \times 2 $ block system. The proposed method is accurate to order 3 in the whole time interval and shows even super convergence of order 4 in the discrete time points. The study presents the accurate solutions achieved by means of the aforementioned schemes, presented numerically and graphically. Further, we implemented the classical fourth-order Runge-Kutta scheme accurately and performed various numerical tests for assessing the efficiency and computational cost (in terms of time) of the suggested schemes. The performances of the fourth order Runge-Kutta and the Galerkin-Petrov time discretization approaches for solving nonlinear ordinary differential equations were compared, with applications towards certain mathematical models in epidemiology. Several simulations were carried out with varying time step sizes, and the efficiency of the Galerkin and Runge Kutta schemes was evaluated at various time points. A detailed analysis of the outcomes obtained by the Galerkin scheme and the Runge-Kutta technique indicates that the results presented are in excellent agreement with each other despite having distinct computational costs in terms of time. It is observed that the Galerkin scheme is noticeably slower and requires more time in comparison to the Runge Kutta scheme. The numerical computations demonstrate that the Galerkin scheme provides highly precise solutions at relatively large time step sizes as compared to the Runge-Kutta scheme.
[1] | C. Seeger, W. S. Mason, Hepatitis b virus biology, Microbiol. Mol. Biol. R., 1 (2000), 51–68. https://doi.org/10.1128/MMBR.64.1.51-68.2000 |
[2] | B. Hepatitis, http://www. who. int/mediacentre/factsheets/fs204/en/index. html. |
[3] | D. Candotti, O. Opare-Sem, H. Rezvan, F. Sarkodie, J. P. Allain, Molecular and serological characterization of hepatitis b virus in deferred ghanaian blood donors with and without elevated alanine aminotransferase, J. Viral Hepatitis, 13 (2006), 715–724. https://doi.org/10.1111/j.1365-2893.2006.00741.x doi: 10.1111/j.1365-2893.2006.00741.x |
[4] | M. Kane, Global programme for control of hepatitis b infection, Vaccine, 13 (1995), S47–S49. https://doi.org/10.1016/0264-410x(95)80050-n doi: 10.1016/0264-410x(95)80050-n |
[5] | G. F. Medley, N. A. Lindop, W. J. Edmunds, D. J. Nokes, Hepatitis-b virus endemicity: Heterogeneity, catastrophic dynamics and control, Nature medicine, 7 (2001), 619–624. https://doi.org/10.1038/87953 doi: 10.1038/87953 |
[6] | J. Hou, Z. Liu, F. Gu, Epidemiology and prevention of hepatitis b virus infection, Int. J. Med. Sci., 2 (2005), 50. https://doi.org/10.7150/ijms.2.50 doi: 10.7150/ijms.2.50 |
[7] | Z. Wang, J. Zhang, H. Yang, X. Li, S. Wen, Y. Guo, et al., Quantitative analysis of hbv dna level and hbeag titer in hepatitis b surface antigen positive mothers and their babies: Hbeag passage through the placenta and the rate of decay in babies, J. Med. Virol., 71 (2003), 360–366. https://doi.org/10.1002/jmv.10493 doi: 10.1002/jmv.10493 |
[8] | D. Z. Xu, Y. P. Yan, B. C. Choi, J. Q. Xu, K. Men, J. X. Zhang, et al., Risk factors and mechanism of transplacental transmission of hepatitis b virus: A case-control study, J. Med. virol., 67 (2002), 20–26. https://doi.org/10.1002/jmv.2187 doi: 10.1002/jmv.2187 |
[9] | L. Robinson, COVID-19 and uncertainties in the value per statistical life, Regulatory Rev., 8 (2020). https://doi.org/10.1001/jama.2020.19759 |
[10] | M. D. Cutler, H. L. Summers, The COVID-19 Pandemic and the 16 Trillion Virus, JAMA, 324 (2020), 1495–1496. https://doi.org/10.1001/jama.2020.19759 doi: 10.1001/jama.2020.19759 |
[11] | E. D. Bloom, D. Cadarette, J. P. Sevilla, Epidemics and economics, International Monetary Fund. Communications Department, 55 (2018), 46–48. https://doi.org/10.5089/9781484357415.022 |
[12] | M. Aniji, N. Kavitha, S. Balamuralitharan, Mathematical modeling of hepatitis b virus infection for antiviral therapy using lham, Adv. Differ. Equ-Ny., 1 (2020), 1–19. https://doi.org/10.1186/s13662-020-02770-2 doi: 10.1186/s13662-020-02770-2 |
[13] | I. Zada, M. Naeem Jan, N. Ali, D. Alrowail, K. Sooppy Nisar, G. Zaman, Mathematical analysis of hepatitis b epidemic model with optimal control, Adv. Differ. Equ-Ny., 1 (2021), 1–29. (https://doi.org/10.1186/s13662-021-03607-2). doi: 10.1186/s13662-021-03607-2) |
[14] | S. Zhao, Z. Xu, Y. Lu, A mathematical model of hepatitis b virus transmission and its application for vaccination strategy in china, Int. J. Epidemiol., 29 (2000), 744–752. https://doi.org/10.1093/ije/29.4.744 doi: 10.1093/ije/29.4.744 |
[15] | S. Means, M. A. Ali, H. Ho, J. Heffernan, Mathematical modeling for hepatitis b virus: Would spatial effects play a role and how to model it?, Frontiers Physiol., 11 (2020), 146. https://doi.org/10.3389/fphys.2020.00146 doi: 10.3389/fphys.2020.00146 |
[16] | Z. Khatun, M. S. Islam, U. Ghosh, Mathematical modeling of hepatitis b virus infection incorporating immune responses, Sensors Int., 1 (2020), 100017. https://doi.org/10.1016/j.sintl.2020.100017 doi: 10.1016/j.sintl.2020.100017 |
[17] | S. Zhang, Y. Zhou, The analysis and application of an hbv model, Appl. Math. Model., 36 (2012), 1302–1312. https://doi.org/10.1016/j.apm.2011.07.087 doi: 10.1016/j.apm.2011.07.087 |
[18] | S. A. Khan, K. Shah, P. Kumam, A. Seadawy, G. Zaman, Z. Shah, Study of mathematical model of hepatitis b under caputo-fabrizo derivative, AIMS Math., 6 (2021), 195–209. https://doi.org/10.3934/math.2021013 doi: 10.3934/math.2021013 |
[19] | Attaullah, M. Sohaib, Mathematical modeling and numerical simulation of HIV infection model, Results Appl. Math., 100118 (2020), 1–11. https://doi.org/10.1016/j.rinam.2020.100118 doi: 10.1016/j.rinam.2020.100118 |
[20] | S. Hussain, Z. Salleh, Continuous galerkin petrov time discretization scheme for the solutions of the Chen system, J. Comput. Nonlin. Dyn., 10 (2015). https://doi.org/10.1115/1.4029714 |
[21] | S. Hussain, Numerical analysis of new class of higher order Galerkin time discretization schemes for nonstationary incompressible flow problems, Ph.D thesis, Der Fakult$\ddot{a}$t F$\ddot{u}$r Mathematik der Technischen Universit$\ddot{a}$t Dortmund Vorgelegt Von. |
[22] | R. D. Attaullah, W. Weera, Galerkin time discretization scheme for the transmission dynamics of hiv infection with non-linear supply rate, AIMS Math., 6 (2022), 11292–11310. https://doi.org/10.3934/math.2022630 doi: 10.3934/math.2022630 |
[23] | F. Schieweck, A-stable discontinuous Galerkin-Petrov time discretization of higher order, J. Numer. Math., 18 (2010), 25–57. https://doi.org/10.1515/JNUM.2010.002 doi: 10.1515/JNUM.2010.002 |
[24] | S. Hussain, F. Schieweck, S. Turek, Higher order Galerkin time discretizations and fast multigrid solvers for the heat equation, J. Numer. Math., 19 (2011), 41–61. https://doi.org/10.1515/JNUM.2011.003 doi: 10.1515/JNUM.2011.003 |
[25] | S. Hussain, F. Schieweck, S. Turek, A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations, The Open Numerical Methods Journal, 4 (2012) 35–45. https://doi.org/10.2174/1876389801204010035 |
[26] | Attaullah, R. Jan, S. Y zbasi, Dynamical behaviour of HIV infection with the influence of variable source term through galerkin method, Chaos, Solitons and Fractals, 152 (2021), 1–13. https://doi.org/10.1016/j.chaos.2021.111429 doi: 10.1016/j.chaos.2021.111429 |
[27] | Attaullah, A. Jabeen, R. Jan, Solution of the HIV infection model with full logistic proliferation and variable source term using galerkin scheme, Matrix Sci. Math. (MSMK), 4 (2020), 7. https://doi.org/10.26480/msmk.02.2020.37.43 |
[28] | T. Khan, G. Zaman, M. I. Chohan, The transmission dynamic and optimal control of acute and chronic hepatitis B, J. Biol. Dynam., 11 (2017), 172–189. https://doi.org/10.1080/17513758.2016.1256441 doi: 10.1080/17513758.2016.1256441 |
[29] | C. O. Leary, Z. Hong, F. Zhang, M. Dawood, G. Smart, K. Kaita, et al., A mathematical model to study the effect of hepatitis b virus vaccine and antivirus treatment among the canadian inuit population, Eur. J. Clin. Microbiol., 29 (2010), 63–72. https://doi.org/10.1007/s10096-009-0821-6 doi: 10.1007/s10096-009-0821-6 |
[30] | L. Zou, W. Zhang, S. Ruan, Modeling the transmission dynamics and control of hepatitis b virus in china, J. Theor. Biol., 262 (2010), 330–338. https://doi.org/10.1016/j.jtbi.2009.09.035 doi: 10.1016/j.jtbi.2009.09.035 |
[31] | S. Thornley, C. Bullen, M. Roberts, Hepatitis b in a high prevalence new zealand population: A mathematical model applied to infection control policy, J. Theor. Biol., 254 (2008), 599–603. https://doi.org/10.1016/j.jtbi.2008.06.022 doi: 10.1016/j.jtbi.2008.06.022 |
[32] | S. Hahné, M. Ramsay, K. Balogun, W. J. Edmunds, P. Mortimer, Incidence and routes of transmission of hepatitis b virus in england and wales, 1995–2000: Implications for immunisation policy, J. Clin. Virol., 29 (2004), 211–220. https://doi.org/10.1016/j.jcv.2003.09.016 doi: 10.1016/j.jcv.2003.09.016 |
[33] | S. Hussain, F. Schieweck, S. Turek, Higher order Galerkin time discretizations and fast multigrid solvers for the heat equation, J. Numer. Math., 19 (2011), 41–61. https://doi.org/10.1515/jnum.2011.003 doi: 10.1515/jnum.2011.003 |
[34] | S. Hussain, F. Schieweck, S. Turek, An efficient and stable finite element solver of higher order in space and time for nonstationary incompressible flow, Tech. rep., Fakultät für Mathematik, TU Dortmund, ergebnisberichte des Instituts für Angewandte Mathematik, 450 (2012). https://doi.org/10.1002/fld.3831 |
[35] | G. Matthies, F. Schieweck, Higher order variational time discretizations for nonlinear systems of ordinary differential equations, 23 (2011). |
[36] | A. Aziz, P. Monk, Continuous finite elements in space and time for the heat equation, Math. Comput., 52 (1989), 255–274. https://doi.org/10.1090/S0025-5718-1989-0983310-2 doi: 10.1090/S0025-5718-1989-0983310-2 |
[37] | G. Matthies, F. Schieweck, Higher order variational time discretizations for nonlinear systems of ordinary differential equations, Technische Informationsbibliothek u. Universitatsbibliothek, 2011. |
[38] | Attaullah, Zeeshan, M. T. Khan, S. Alyobi, M. F. Yassen, D. Prathumwan, A computational approach to a model for HIV and the immune system interaction, Axioms, 11 (10), 578. https://doi.org/10.3390/axioms11100578 |
[39] | W. Kutta, Beitrag zur naerungsweisen integration totaler differential gleichungen, Z. Math. Phy., 46 (1901), 435–453. |
[40] | J. Butcher, Numerical methods for ordinary differential equations, Wiley, Hoboken, N. J., 2016. |
[41] | G. Chen, T. Ueta, Yet another chaotic attractor, Int. J. Bifurcat. Chaos, 9 (1999), 1465–1466. https://doi.org/10.1142/S0218127499001024 doi: 10.1142/S0218127499001024 |
[42] | Richard, L. Burden, J. D. Faires, Numerical analysis Ninth Edition. |
[43] | Attaullah, S. Yuzbasi, S. Alyobi, M. F. Yassen, W. Weera, A Higher-Order Galerkin Time Discretization and Numerical Comparisons for Two Models of HIV Infection, Computational and Mathematical Methods in Medicine, Volume 2022, Article ID 3599827, 24 pages. https://doi.org/10.1155/2022/3599827 |
[44] | Attaullah, Khurshaid, A. Zeeshan, S. Alyobi, M. F. Yassen, D. Prathumwan, Computational Framework of the SVIR Epidemic Model with a Non-Linear Saturation Incidence Rate. Axioms 2022, 11,651. https://doi.org/10.3390/axioms11110651 |