Analysis and Implementation of Numerical Methods for Solving Ordinary Differential Equations Muhammad Sohel Rana Western Kentucky University, Sohel [email protected]

Total Page:16

File Type:pdf, Size:1020Kb

Analysis and Implementation of Numerical Methods for Solving Ordinary Differential Equations Muhammad Sohel Rana Western Kentucky University, Sohel P1230@Yahoo.Com Western Kentucky University TopSCHOLAR® Masters Theses & Specialist Projects Graduate School Fall 2017 Analysis and Implementation of Numerical Methods for Solving Ordinary Differential Equations Muhammad Sohel Rana Western Kentucky University, [email protected] Follow this and additional works at: https://digitalcommons.wku.edu/theses Part of the Numerical Analysis and Computation Commons, Ordinary Differential Equations and Applied Dynamics Commons, and the Partial Differential Equations Commons Recommended Citation Rana, Muhammad Sohel, "Analysis and Implementation of Numerical Methods for Solving Ordinary Differential Equations" (2017). Masters Theses & Specialist Projects. Paper 2053. https://digitalcommons.wku.edu/theses/2053 This Thesis is brought to you for free and open access by TopSCHOLAR®. It has been accepted for inclusion in Masters Theses & Specialist Projects by an authorized administrator of TopSCHOLAR®. For more information, please contact [email protected]. ANALYSIS AND IMPLEMENTATION OF NUMERICAL METHODS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS A Thesis Presented to The Faculty of the Department of Mathematics Western Kentucky University Bowling Green, Kentucky In Partial Fulfillment Of the Requirements for the Degree Master of Science By Muhammad Sohel Rana December 2017 ACKNOWLEDGMENTS At the very outset I would like to thank my advisor Dr. Mark Robinson to give me a chance to work with him for my thesis and for his constant supervision to finish my work. I am also grateful for his patience during the work. I especially indebted to him for his support, help and guidance in the course of prepare this paper. I also want to give special thanks to my other two thesis committee members Dr. Ferhan Atici and Dr. Ngoc Nguyen for their cooperation towards me. It is also worth mentioning all my supportive and inspiring friends for their inspiration during the hard time. Finally, I would like mention my beloved parents and other family members for their enthusiastic support and advice to move forward in life. iii CONTENTS List of Figures vi List of Tables ix ABSTRACT x Chapter 1. INTRODUCTION 1 1.1. Differential Equations and Initial Value Problems 1 1.2. Numerical Difference Methods 2 1.3. Order and Truncation Error of a Numerical Method 3 Chapter 2. Stiffness and Stability 13 2.1. Stiffness 13 2.2. Stability 16 Chapter 3. Some Special Problems and Their Numerical Solutions 22 3.1. Nonhomogeneous Differential Equations 22 3.2. Logistic Differential Equation 27 3.3. Systems of Differential Equations 32 3.4. Predator-Prey Problem 34 3.5. Harmonic Oscillator 40 3.6. Conditions Under Which Newton Iteration Converges When Applied for Backward Euler or Trapezoidal Method 43 Chapter 4. Discretization of Partial Differential Equations 49 4.1. Difference Formulas and Other Preliminaries 49 iv 4.2. Stiff Differential Systems in Some Applications: 52 4.3. Nonhomogeneous Heat Equation 56 Chapter 5. Experimental Estimation of the Order of Numerical Methods 60 5.1. Error Analysis 60 5.2. Handling Order in Practice 66 Chapter 6. Numerical Approximation for Second Order Singular Differential Equations 72 6.1. Lane-Emden Equation and Series Solutions 72 6.2. Numerical Results for Second Order Singular Differential Equations 75 Chapter 7. Conclusion and Future Work 84 Appendices 87 BIBLIOGRAPHY 97 v List of Figures 2.2.1 Stability region of Euler’s method (non shaded region) 19 2.2.2 Stability region of backward Euler method (non shaded region) 19 2.2.3 Stability region of Trapezoidal method (non shaded region) 20 2.2.4 Stability region of modified Euler method (non shaded region) 20 3.1.1 Graph of exact solution of y0 = −100(y − et) with y(0) = 0. 25 3.1.2 Graph of the solution using Trapezoidal method (oscillating curve) with step size h = 0:1 together with exact solution of y0 = −100(y − et) with y(0) = 0: 25 3.1.3 Graph of exact solution (dark curve) and solution using backward Euler method (light curve) for h = 0:1 of y0 = −100(y − et) with y(0) = 0. 26 3.1.4 Approximate solution for Example 3.1.1 using backward Euler method (smoother curve) and Trapezoidal method (oscillating curve) for step size h = 0.1. 26 3.2.1 Figure shows no stiffness for λ = 1. 29 3.2.2 Figure shows that the differential equation starts to become stiff for λ = 5. 29 3.2.3 Figure shows that the stiffness increased for the differential equation when λ = 15. 29 3.2.4 Figure shows that the differential equation is very stiff when λ = 50. 30 vi 3.2.5 Figure of results from the use of Trapezoidal method for numerical solution using λ = 1; 5; 15; 50 for h = 0:25. Gray level decreases as the value of the λ increases. 30 3.2.6 Figure of results of the logistic equation for different values of λ = 1; 5; 15; 50 using StiffnessSwitching command in Mathematica. Gray level decreases as the value of λ increases. 30 3.2.7 Figure of step size h versus t using StiffnessSwitching for logistic equation for λ = 1 (dashed curve) and λ = 50 (lined curve). 31 3.4.1 Using explicit Euler method for Lotka-Volterra problem (3.9) with step size h = 0:001 dark graph for predator and light one is for prey for initial 79 conditions x1(0) = 40 and x2(0) = 1 37 3.4.2 Phase space plot where horizontal axis represents number of prey and vertical axis represents numbers of predator for the problem (3.9) using implicit solution of the differential equation by Mathematica ContourPlot 38 3.4.3 Numerical solution using backward Euler method where horizontal-axis for prey and vertical-axis for predator with step size h = 0:001: 38 3.4.4 Using implicit Trapezoidal method(using the codes developed for system of two differential equations) the plot of the numeric discrete solution for Lotka-Volterra problem (3.9) with step size h = 0:05 for initial solution 79 x1(0) = 40 and x2(0) = 1 39 3.4.5 Using implicit Trapezoidal method(using the codes developed for system of two differential equations) the plot of the numeric discrete solution for Lotka-Volterra equation (3.9) with step size h = 0:05 for initial conditions 79 x1(0) = 40 and x2(0) = 1 39 3.5.1 Plot of exact solution y(t) = cos(wt) of the second order differential equation (3.10) for ! = 20. 44 vii 3.5.2 Plot of numeric solution of the converted system of equations of second order differential equation (3.10) using Trapezoidal method for system of two equations for ! = 20 and step size h = 0.005. 44 3.5.3 Combined plot of exact solution and numeric solution using trapezoidal method of the second order ODE (3.10) for ! = 20 and step size h = 0:005. 44 3.5.4 Plot of exact solution and numeric solution using trapezoidal method of the second order ODE (3.10) for ! = 20 and step size h = 0:035. 45 2 2b0 2 2b1 2 4.2.1 Figure of circles center at − 2 , ( − 2 ) and (− − 2 ) on the real h a0h h a1h h 2 1 axis having radius h2 for h = 1, b0 = 2 , a0 = 4, a1 = 8 and b1 = 1. 56 5.1.1 Plot of claimed E(h) versus h for backward Euler method, implicit trapezoidal method, and Runge-Kutta method. 64 5.1.2 Plot of acctual error, E(h) versus h for backward Euler method, implicit trapezoidal method, and Runge-Kutta method for the equation in Example 5.1.1. 64 5.2.1 Plot of E(h) versus h when computational finiteness contributes to the error of the methods. 71 viii List of Tables 5.1.1 Approximation wh(b) and actual Error jE(h)j = jy(b) − wh(b)j for y0(t) = 5e5t(y − t)2 + 1 63 lnjE(2h)|−lnjE(h)j 0 5t 2 5.1.2 Order of Error p = ln2 for y (t) = 5e (y − t) + 1 66 lnjD4h|−lnjD2hj 0 2 5.2.1 Order p = ln2 for y (t) = t − y 70 lnjE(2h)|−lnjE(h)j 00 2 0 6.2.1 Order of Error p = ln2 for y (t) + t y (t) + y = 0; t 2 0 sin t (0; 1] with y(0) = 1; y (0) = 0 and exact solution y(t) = t for Nystrom method. 81 6.2.2 Comparison of the backward Euler method and Nystrom method with Beech’s approximation for Lane-Emden equation for n = 3 and h = 0:025. 82 6.2.3 Comparison of backward Euler method and Nystrom method with Fowler and Hoyle’s approximation for Lane-Emden equation for n = 1:5 and h = 0:025 . 83 ix ANALYSIS AND IMPLEMENTATION OF NUMERICAL METHODS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS Muhammad Sohel Rana December 2017 98 Pages Directed by: Dr. Mark Robinson, Dr. Ferhan Atici and Dr. Ngoc Nguyen Department of Mathematics Western Kentucky University Numerical methods to solve initial value problems of differential equations pro- gressed quite a bit in the last century. We give a brief summary of how useful numerical methods are for ordinary differential equations of first and higher order. In this thesis both computational and theoretical discussion of the application of numerical methods on differential equations takes place. The thesis consists of an investigation of various categories of numerical methods for the solution of ordi- nary differential equations including the numerical solution of ordinary differential equations from a number of practical fields such as equations arising in population dynamics and astrophysics. It includes discussion what are the advantages and dis- advantages of implicit methods over explicit methods, the accuracy and stability of methods and how the order of various methods can be approximated numerically.
Recommended publications
  • Numerical Solution of Ordinary Differential Equations
    NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS Kendall Atkinson, Weimin Han, David Stewart University of Iowa Iowa City, Iowa A JOHN WILEY & SONS, INC., PUBLICATION Copyright c 2009 by John Wiley & Sons, Inc. All rights reserved. Published by John Wiley & Sons, Inc., Hoboken, New Jersey. Published simultaneously in Canada. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600, or on the web at www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008. Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically disclaim any implied warranties of merchantability or fitness for a particular purpose. No warranty may be created ore extended by sales representatives or written sales materials. The advice and strategies contained herin may not be suitable for your situation. You should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages.
    [Show full text]
  • Numerical Methods for Evolutionary Systems, Lecture 2 Stiff Equations
    Numerical Methods for Evolutionary Systems, Lecture 2 C. W. Gear Celaya, Mexico, January 2007 Stiff Equations The history of stiff differential equations goes back 55 years to the very early days of machine computation. The first identification of stiff equations as a special class of problems seems to have been due to chemists [chemical engineers] in 1952 (C.F. Curtiss and J.O. Hirschfelder, Integration of stiff equations, Proc. of the National Academy of Sciences of U.S., 38 (1952), pp 235--243.) For 15 years stiff equations presented serious difficulties and were hard to solve, both in chemical problems (reaction kinetics) and increasingly in other areas (electrical engineering, mechanical engineering, etc) until around 1968 when a variety of methods began to appear in the literature. The nature of the problems that leads to stiffness is the existence of physical phenomena with very different speeds (time constants) so that, while we may be interested in relative slow aspects of the model, there are features of the model that could change very rapidly. Prior to the availability of electronic computers, one could seldom solve problems that were large enough for this to be a problem, but once electronic computers became available and people began to apply them to all sorts of problems, we very quickly ran into stiff problems. In fact, most large problems are stiff, as we will see as we look at them in a little detail. L2-1 Copyright 2006, C. W. Gear Suppose the family of solutions to an ODE looks like the figure below. This looks to be an ideal problem for integration because almost no matter where we start the final solution finishes up on the blue curve.
    [Show full text]
  • Identifying Stiff Ordinary Differential Equations and Problem Solving Environments (Pses)
    Journal of Scientific Research & Reports 3(11): 1430-1448, 2014; Article no. JSRR.2014.11.002 SCIENCEDOMAIN international www.sciencedomain.org Identifying Stiff Ordinary Differential Equations and Problem Solving Environments (PSEs) B. K. Aliyu1*, C. A. Osheku1, A. A. Funmilayo1 and J. I. Musa1 1Federal Ministry of Science and Technology (FMST), National Space Research and Development Agency (NASRDA), Centre For Space Transport and Propulsion (CSTP) Epe, Lagos State, Nigeria. Authors’ contributions This work was carried out in collaboration between all authors. Author BKA designed the study, carried out the simulations and wrote the first draft of the manuscript. Author CAO supervised the study and re-drafted the manuscript. Authors AAF and JIM verified all simulations results and literature search. All authors read and approved the final manuscript. Received 3rd March 2014 th Original Research Article Accepted 4 April 2014 Published 16th April 2014 ABSTRACT Stiff Ordinary Differential Equations (SODEs) are present in engineering, mathematics, and sciences. Identifying them for effective simulation (or prediction) and perhaps hardware implementation in aerospace control systems is imperative. This paper considers only linear Initial Value Problems (IVPs) and brings to light the fact that stiffness ratio or coefficient of a suspected stiff dynamic system can be elusive as regards the phenomenon of stiffness. Though, it gives the insight suggesting stiffness when the value is up to 1000 but is not necessarily so in all ODEs. Neither does a value less than 1000 imply non-stiffness. MATLAB/Simulink® and MAPLE® were selected as the Problem Solving Environment (PSE) largely due to the peculiar attribute of Model Based Software Engineering (MBSE) and analytical computational superiority of each PSEs, respectively.
    [Show full text]
  • Problems for Stiff Differential Equations by Joseph E
    MATHEMATICS OF COMPUTATION, VOLUME 31, NUMBER 137 JANUARY 1977, PAGES 66-93 The Numerical Solution of Boundary Value Problems for Stiff Differential Equations By Joseph E. Flaherty* and R. E. O'Malley, Jr.** Abstract. The numerical solution of boundary value problems for certain stiff ordinary differential equations is studied. The methods developed use singular perturbation theory to construct approximate numerical solutions which are valid asymptotically; hence, they have the desirable feature of becoming more accurate as the equations be- come stiffer. Several numerical examples are presented which demonstrate the effective- ness of these methods. 1. Introduction. Stiff initial and boundary value problems for ordinary differen- tial equations arise in fluid mechanics, elasticity, electrical networks, chemical reactions, and many other areas of physical importance. Singularly perturbed problems, which are characterized by differential equations where the highest derivatives are multiplied by small parameters, are an important subclass of stiff problems. These problems must often be solved numerically; however, because they typically feature boundary layers (narrow intervals where the solution varies rapidly) their accurate numerical solution has been far from trivial. Several schemes have been developed for the numerical solution of stiff initial value problems for ordinary differential equations; among them we note Gear's method [14] and the method of Bulirsch and Stoer [4]. These schemes work well for mod- erately stiff systems; however, as the stiffness increases they all require the use of very small mesh spacings over portions of the domain of integration. Thus, computational cost increases and accuracy decreases as the stiffness increases. Numerical schemes for two-point boundary value problems are not nearly as plentiful.
    [Show full text]
  • Second Derivative Two-Step Block Hybrid Enright's Linear Multistep Methods for Solving Initial Value Problems of General Secon
    Journal of Advances in Mathematics and Computer Science 30(2): 1-10, 2019; Article no.JAMCS.45557 ISSN: 2456-9968 (Past name: British Journal of Mathematics & Computer Science, Past ISSN: 2231-0851) Second Derivative Two-step Block Hybrid Enright’s Linear Multistep Methods for Solving Initial Value Problems of General Second Order Stiff Ordinary Differential Equations Sabo John 1*, Yusuf, T. Kyagya 2 and Adamu, A. Bambur 3 1Department of Mathematic, Adamawa State University, Mubi, Nigeria. 2Department of Mathematics and Statistics, Federal University, Wukari, Nigeria. 3Department of Mathematics and Statistics, Taraba State Polytechnic, Suntai, Jalingo Campus, Nigeria. Authors’ contributions This work was carried out in collaboration between all authors. Author SJ designed the method. Author YTK analyzed the basic properties of the method and author AAB implemented the method on some stiff differential equations. All authors read and approved the final manuscript. Article Information DOI: 10.9734/JAMCS/2019/45557 Editor(s): (1) Dr. Metin Basarir, Professor, Department of Mathematics, Sakarya University, Turkey. (2) Dr. Kai-Long Hsiao, Associate Professor, Taiwan Shoufu University, Taiwan. Reviewers: (1) E. O. Omole, Joseph Ayo Babalola University, Nigeria. (2) Adeyeye Oluwaseun, Universiti Utara Malaysia, Malaysia. (3) Yahaya Shagaiya Daniel, Kaduna State University, Nigeria. Complete Peer review History: http://www.sdiarticle3.com/review-history/45557 Received: 20 September 2018 Accepted: 04 December 2018 Original Research Article Published: 19 January 2019 _______________________________________________________________________________ Abstract In this research, the formation of second derivative two-step block hybrid Enright’s linear multistep methods for solving initial value problems is studied. In forming the method, we follow Enright’s 1974 approach, by introducing the off-mesh points at both interpolation and collocations; we developed the continuous schemes for new Enright’s method.
    [Show full text]
  • A New Multi-Step Approach Based on Top Order Methods (Toms) for the Numerical Integration of Stiff Ordinary Differential Equations
    "Science Stays True Here" Journal of Mathematics and Statistical Science (ISSN 2411-2518), Vol.5, 1-14 | Science Signpost Publishing A New Multi-Step Approach based on Top Order Methods (TOMs) for the Numerical Integration of Stiff Ordinary Differential Equations Awari, Yohanna Sani Department of Mathematical Sciences, Taraba State University, Jalingo Nigeria. Kumleng, Geofrey Micah Department of Mathematics, University of Jos, Nigeria. Abstract This paper presents an entirely new approach to obtaining self-starting Top Order Methods (TOMs) which we shall called Extended Top Order Methods (ETOMs). ETOMs were obtained through hermite polynomial used as basis function. Stability analysis of the new approach shows a uniform order six method for k = 3, they also possess very good absolute stability regions which made them highly suitable for the numerical integration of stiff ordinary differential equations. Implementation of the method in block form eliminates the need for starters and hence, generating simultaneously approximate solutions yi, i = 1, 2, ..., 6on the go. To further observe the effect of the new approach, it was implemented on four numerical initial value problems of stiff ordinary differential equations occurring in real life and was shown to compete favorably with the work of existing scientists. Keywords: Trapezoidal Method, Hermite Polynomial, Top Order Methods, Stiff Equation, Block Method, Stiff ODEs. 1. Introduction Many field of applications, notably Science and Technology yields initial value problems of first order ordinary differential equations. Some of these equations may not be easily solved theoretically, therefore numerical methods are provided as a means to approximating their solutions. A potentially good numerical method for the solution of stiff system of ODEs of the form y′ = f (t, y), y′(t0 ) = y0 ,t ∈[t0 ,Tn ] (1) Corresponding author: Awari, Yohanna Sani, Department of Mathematical Sciences, Taraba State University, Jalingo Nigeria.
    [Show full text]
  • Explicit and Implicit Methods in Solving Differential Equations Timothy Bui University of Connecticut - Storrs, [email protected]
    University of Connecticut OpenCommons@UConn Honors Scholar Theses Honors Scholar Program Spring 5-9-2010 Explicit and Implicit Methods In Solving Differential Equations Timothy Bui University of Connecticut - Storrs, [email protected] Follow this and additional works at: https://opencommons.uconn.edu/srhonors_theses Part of the Mathematics Commons Recommended Citation Bui, Timothy, "Explicit and Implicit Methods In Solving Differential Equations" (2010). Honors Scholar Theses. 119. https://opencommons.uconn.edu/srhonors_theses/119 Explicit and Implicit Methods In Solving Differential Equations By: Timothy Bui Peoplesoft ID# 1500510 Honors Thesis Advisor: Dr. Yung S. Choi 12/11/2009 Contents 1 Abstract………………………………………………………………………………………… 1 2 Introduction…………………………………………………………………………………… 2 3 Explicit and Implicit Methods in Solving Differential Equations……… 3-19 4 Conclusion and Future Work…………………………………………………………… 20-21 5 Works Cited…………………………………………………………………………………… 22-23 6 Appendix………………………………………………………………………………………… 24-45 Bui 1 Abstract: Differential equations are equations that involve an unknown function and derivatives. There will be times when solving the exact solution for the equation may be unavailable or the means to solve it will be unavailable. At these times and most of the time explicit and implicit methods will be used in place of exact solution. In the simpler cases, ordinary differential equations or ODEs, the forward Euler's method and backward Euler's method are efficient methods to yield fairly accurate approximations of the actual solutions. By manipulating such methods, one can find ways to provide good approximations compared to the exact solution of parabolic partial differential equations and nonlinear parabolic differential equations. Further, the experimental results show that smaller h values result in reduction in error which is true in both cases of differential equations.
    [Show full text]
  • Communications in Applied Mathematics and Computational Science
    Communications in Applied Mathematics and Computational Science Volume 2 No. 1 2007 IMPLICATIONS OF THE CHOICE OF PREDICTORS FOR SEMI-IMPLICIT PICARD INTEGRAL DEFERRED CORRECTION METHODS ANITA T. LAYTON AND MICHAEL L. MINION mathematical sciences publishers 1 COMM. APP. MATH. AND COMP. SCI. Vol. 2, No. 1, 2007 IMPLICATIONS OF THE CHOICE OF PREDICTORS FOR SEMI-IMPLICIT PICARD INTEGRAL DEFERRED CORRECTION METHODS ANITA T. LAYTON AND MICHAEL L. MINION High-order semi-implicit Picard integral deferred correction (SIPIDC) methods have previously been proposed for the time-integration of partial differential equations with two or more disparate time scales. The SIPIDC methods studied to date compute a high-order approximation by first computing a provisional solution with a first-order semi-implicit method and then using a similar semi-implicit method to solve a series of correction equations, each of which raises the order of accuracy of the solution by one. This study assesses the efficiency of SIPIDC methods that instead use standard semi-implicit methods with orders two through four to compute the provisional solution. Numerical results indicate that using a method with more than first-order accuracy in the computation of the provisional solution increases the efficiency of SIPIDC methods in some cases. First-order PIDC corrections can improve the efficiency of semi-implicit integration methods based on backward difference formulae (BDF) or Runge–Kutta methods while maintaining desirable stability properties. Finally, the phenomenon of order reduction, which may be encountered in the integration of stiff problems, can be partially alleviated by the use of BDF methods in the computation of the provisional solution.
    [Show full text]
  • A Review of Recent Developments in Solving ODES
    A Review of Recent Developments in Solving ODES GOPAL K. GUPTA Department of Computer Science, Monnsh University, Clayton, 3168, Australia RON SACKS-DAVIS Department of Computing, Royal Melbourne Institute of Technology, Melbourne, 3001, Australia PETER E. TISCHER Department of Computer Science, Monash University, Clayton, 3168, Australia Mathematical models when simulating the behavior of physical, chemical, and biological systems often include one or more ordinary differential equations (ODES). To study the system behavior predicted by a model, these equations are usually solved numerically. Although many of the current methods for solving ODES were developed around the turn of the century, the past 15 years or so has been a period of intensive research. The emphasis of this survey is on the methods and techniques used in software for solving ODES. ODES can be classified as stiff or nonstiff, and may be stiff for some parts of an interval and nonstiff for others. We discuss stiff equations, why they are difficult to solve, and methods and software for solving both nonstiff and stiff equations. We conclude this review by looking at techniques for dealing with special problems that may arise in some ODES, for example, discontinuities. Although important theoretical developments have also taken place, we report only those developments which have directly affected the software and provide a review of this research. We present the basic concepts involved but assume that the reader has some background in numerical computing, such as a first course in numerical methods. Categories and Subject Descriptors: A.1 [General Literature]: Introductory and Survey; G.1.7 [Numerical Analysis]: Ordinary Differential Equations General Terms: Algorithms, Theory Additional Key Words and Phrases: Mathematical software, performance evalu- ation INTRODUCTION When simulating the behavior of physical, chemical and biological systems, mathematical models often include one or more ordinary differential equations (ODES).
    [Show full text]
  • Linear Differential Equations
    International Journal of Applied Science and Technology Vol. 7, No. 3, September 2017 Comparison of Stability of Selected Numerical Methods for Solving Stiff Semi- Linear Differential Equations Kwaku Darkwah Department of Mathematics Kwame Nkrumah University of Science and Technology Kumasi – Ghana Isaac Azure Department of Business Administration Regentropfen College of Applied Science Bolgatanga – Ghana Abstract Attention was focused on the explicit Exponential Time Differencing (ETD) integrators that are designed to solve stiff semi-linear problems. Semi-linear PDEs can be split into a linear part, which contains the stiffest part of the dynamics of the problem, and a nonlinear part, which varies more slowly than the linear part. The ETD methods solve the linear part exactly, and then explicitly approximate the remaining part by polynomial approximations. The research involves an analytical examination and comparison of the asymptotic stability properties of some Exponential Time Differencing Schemes (ETD1, ETD2, ETD2RK1 and ETD2RK2) methods in order to present the advantage of these methods in overcoming the stability constraints. Keywords : Differential Equation, Exponential Time Differencing Method, Exponential Time Differencing Runge Kutta Method, Integrating Factor Method, Ordinary differential Equation, Partial Differential Equation and Stiff linear differential Equation. Introduction Various problems in the world can be solved when they are modeled and presented in the form of an ordinary differential equation or partial differential equation. However, there are times where different phenomena acting on very different time scales occur simultaneously introducing a parameter called stiff parameter which sometimes makes it difficult to solve. All differential equations with this property are said to be stiff differential equations.
    [Show full text]
  • A Study of Numerical Methods for Hyperbolic Conservation Laws with Stiff Ours Ce Terms R
    University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln NASA Publications National Aeronautics and Space Administration 1990 A Study of Numerical Methods for Hyperbolic Conservation Laws with Stiff ourS ce Terms R. J. LeVeque University of Washington Helen C. Yee NASA Ames Research Center, [email protected] Follow this and additional works at: http://digitalcommons.unl.edu/nasapub LeVeque, R. J. and Yee, Helen C., "A Study of Numerical Methods for Hyperbolic Conservation Laws with Stiff ourS ce Terms" (1990). NASA Publications. 282. http://digitalcommons.unl.edu/nasapub/282 This Article is brought to you for free and open access by the National Aeronautics and Space Administration at DigitalCommons@University of Nebraska - Lincoln. It has been accepted for inclusion in NASA Publications by an authorized administrator of DigitalCommons@University of Nebraska - Lincoln. Of COMPUTATIONAL PHYSICS 86, 187-210 (1990) J()VRNAL A Study of Numerical Methods for Hyperbolic Conservation Laws with Stiff Source Terms R. J. LEVEQUE* Department of Mathematics, University of Washington, Seattle, Washington 98195 AND H. C. YEE Research Scientist, Computational Fluid Dynamics Branch, NASA Ames Research Center, Moffett Field, California 94035. Received June 6, 1988; revised December 20, 1988 The proper modeling of nonequilibrium gas dynamics is required in certain regimes of hypersonic flow. For inviscid flow this gives a system of conservation laws coupled with source terms representing the chemistry. Often a wide range of time scales is present in the problem, leading to numerical difficulties as in stiff systems of ordinary differential equations. Stability can be achieved by using implicit methods, but other numerical difficulties are obser­ ved.
    [Show full text]
  • Stiffly Stable Linear Multistep Methods of Extended Order J.M. Varah Department of Computer Science the University of British Co
    Stiffly Stable Linear Multistep Methods of Extended Order J.M. Varah Department of Computer Science The University of British Columbia Abstract In this paper we discuss some desirable properties of linear multistep methods applied to stiff equations. We then proceed to produce and examine a class of methods with these properties. These schemes are extensions of those discussed by Gear (1968), and are of higher order. Stiffly Stable Linear Multistep Methods of Extended Order J.M. Varah Department of Computer Science The University of British Columbia 1. Introduction For the general initial value problem y' = f(x,y), y(o) = y , (1.1) 0 the general linear k-step method is defined by k k E aiyj+l • h E ~if(xj+l' Yj+l), j = 0, 1, 2, ••. (1.2) ~o ~o In this paper we shall be concerned with the behavior of (1.2) on af stiff equations; that is, problems (1.1) where af < < 0 or, for a system ati of equations y' = .f(x,y), when the Jacobian matrix bas some ayj eigenvalues with large negative real parts. Much can be seen from the behavior of (1.2) on the simple linear homogeneous problem y' = AY, y(O) = y (1.3) 0 for Re(A) < O. For this problem, the general solution of (1.2) is (assuming no multiple roots) 2 k t ci(si(hA))j i=l where {si(hA)}k are the roots of p(s) - hXo(s) = 0 k rs ~i i=O i Since the solution of (1.3) decays for Re(A) < O, we would like the solution of (1.2) to do so as well; however Dahlquist (1963) has shown that this can happen in the whole left half-plane Re(A) < 0 only for methods of order two or less.
    [Show full text]