Designing Efficient Software for Solving Delay Differential Equations. C.A.H. Paul. Numerical Analysis Report No Oct 2000
|
|
|
- Jeffry Robinson
- 9 years ago
- Views:
Transcription
1 ISSN UMIST Designing Efficient Software for Solving Delay Differential Equations C.A.H. Paul Numerical Analysis Report No. 368 Oct 2000 Manchester Centre for Computational Mathematics Numerical Analysis Reports DEPARTMENTS OF MATHEMATICS Reports available from: Department of Mathematics University of Manchester Manchester M13 9PL England And over the World-Wide Web from URLs ftp://ftp.ma.man.ac.uk/pub/narep
2 Designing Efficient Software for Solving Delay Differential Equations Christopher A.H. Paul Oct 1, 2000 Abstract In this paper the efficient implementation of numerical software for solving delay differential equations is addressed. Several strategies that have been developed over the past 25 years for improving the efficiency of delay differential equation solvers are described. Of particular interest is a new method of automatically constructing the network dependency graph used in tracking derivative discontinuities. Key words. Numerical software, delay differential equations. AMS subject classifications. 34K99, 65C20, 65D30 1 Introduction The past ten years have seen a substantial increase in both the research into and the use of delay differential equations (DDEs), such as y (t) =f(t, y(t),y(t τ(t))) where τ(t) 0. (1) The increased use of DDEs in mathematical modelling has been fuelled by the availability of efficient and robust software for solving such types of problem. In this paper some aspects of the design of efficient numerical software for solving DDEs are discussed. In particular, several methods of automatically obtaining useful information about a DDE are described and then used to improve the efficiency with which the DDE is solved. Funded by the U.K. Engineering & Physical Science Research Council, granr GR/L
3 The DDE (1) may be solved numerically by combining an interpolation method (for evaluating delayed solution values) with an ordinary differential equation (ODE) integration method (for solving the resulting ODE ). However there are certain features of DDEs, such as the propagation of derivative discontinuities [4, 6] and the possibility of vanishing delays [1], that make such an over-simplification unhelpful when writing efficient and robust software unless measures are taken to address them. 2 Evaluating delayed solution values In order to evaluate delayed solution values, it is necessary to construct a suitable continuous solution for each accepted step and store this solution for later use. Whilst there are several possible continuous extensions for Runge-Kutta methods (see [2, p.186]), the most flexible are those one-step natural continuous extensions [7] that are also Hermite interpolants: They can be used to provide defect error control [3], to evaluate delayed derivative values for NDDEs, and to construct smooth graphical output (where appropriate). 2.1 Storage of the past solution A key feature of any DDE solver is the ability to evaluate delayed solution values efficiently. This feature is related to, although not necessarily the same as, the ability to provide a dense output of the solution. Consider the DDE y (t) =y(t τ(t)). If the delay function τ(t) is bounded then the oldest solution information may eventually be safely overwritten. However if τ(t) is unbounded then it is necessary to keep as much of the past solution as possible. This is because once a delayed solution value that is not available is required, the DDE cannot be solved any further. Given that the storage available for the past solution is limited, this can best be achieved by using a cyclic storage structure once a cyclic storage structure is full, the oldest solution information is overwritten. This means that some DDEs may be solved over much larger ranges of integration than would otherwise be possible. 2
4 2.2 Dense output One of the requirements of any good DDE solver is the ability to produce a dense output (continuous extension) of the solution. Using a cyclic storage structure for storing the past solution means that it is possible that, even after successfully solving a DDE, not all of the solution is available for dense output. However if the dense output points are known before the DDE is solved, then they can be output as soon as the appropriate continuous solution becomes available. This means that graphical output can be provided and parameter fitting problems can be solved over much larger ranges of integration. 2.3Retrieving delayed solution values Efficient implementation of the routine that calculates delayed solution values is essential, otherwise the time taken to solve simple DDEs may be dominated by housekeeping. When a delayed solution value is required, it is necessary to locate the correct previously stored solution if a fixed stepsize is used then the location of the stored solution can be easily computed, otherwise it is necessary to search the solution history. For a DDE with more than one delay function, if only one pointer is used to search the solution history, considerable time can be spent searching backwards and forwards between calculating different delayed solution values [5, p.200]. For a DDE with more than three delay functions, such as y (t) =y(t 1) y 2 (t 7) + y(t 3) + y(t 5), (2) there is also the problem of the most efficient order for evaluating the delayed solution values a question that should not really have to concern the user. The best ordering of the delayed arguments for the above example is y (t) =y(t 1) + y(t 3) + y(t 5) y 2 (t 7), because then the delayed solution values are evaluated in strictly increasing order. The answer to both problems is simply to have separate pointers for each delay function; then the ordering of delayed arguments is irrelevant and the time spent searching for the solution information is minimised (see Table 1). 3
5 Four pointers One pointer Stepsize Worst ordering Best ordering Worst ordering Best ordering secs 0.89 secs secs secs secs 1.78 secs secs secs secs 3.50 secs secs secs Table 1: Archi [5] timings for solving equation (2) over the range [0, 10] using a fixed stepsize. 3Derivative discontinuities In order to treat derivative discontinuities (from now on referred to as discontinuities) efficiently and effectively, it is necessary to know how they arise and how they are propagated. It is also useful to understand what impact discontinuities have on the numerical solution of DDEs. There are two ways of improving the efficiency of a DDE solver in the presence of discontinuities, defect control [3] and discontinuity tracking [6]. How discontinuities are treated determines how some parts of the user-interface should be specified. 3.1 Origin and propagation of derivative discontinuities Consider the scalar DDE y (t) =y(t τ(t)) (t t 0 ), y(t) =Ψ(t) (t<t 0 ), y(t 0 )=y 0. (3) Discontinuities can originate in the initial function Ψ(t), from the initial point t 0 when Ψ (k) (t 0 ) y (k) (t 0 +) for some integer k 0, and from discontinuities in the DDE itself and the delay functions. Suppose that t 0 =0,τ(t) =1and Ψ(t 0 )=y 0 but that Ψ (t 0 ) y (t 0 +), then there is a discontinuity in y (t) at t = 0. This discontinuity is propagated by the lag function α(t) =t τ(t) so that y (1 ) =Ψ (0 ) y (0+) = y (1+). Note that when a discontinuity is propagated in a DDE it is also smoothed, that is to say, it occurs in a higher derivative. For a general lag function α(t), a discontinuity in y (r) (t) typically propagates into y (r+1) (t). However if σ k is an odd-multiple zero of α(t) =σ i,whereσ i is some previous discontinuity, then σ k occurs in a much higher derivative [4, p.847]. 4
6 3.2 Impact of derivative discontinuities A fundamental assumption made when deriving integration methods is that the solution is sufficiently smooth (over each step). If the solution is not sufficiently smooth, a high-order integration method collapses to lower order and consequently the reliability of the local error estimator will be affected. When this happens, the extra computational cost involved in using a high-order method can be wasted because a cheaper, lower order method could have been used to achieve the same order with better error control. Thus when a DDE is not sufficiently smooth, unless appropriate measures are taken, the efficiency of a high-order integration method can be severely compromised. 3.3 Defect control of derivative discontinuities One way in which discontinuities can be detected and located is by using the defect δ(t) [3]; in the case of equation (1), δ(t) =f(t, y(t),y(t τ(t))) y (t). An advantage of defect control (over discontinuity tracking) is that no extra information about the DDE is required in order to locate discontinuities. However, in practice, an estimate of the maximum size of δ(t) on each step is used, and this estimate is based on asymptotic arguments that are no longer valid if a low-order discontinuity occurs in the step. Significant discontinuities 1 are detected by monitoring the sequence of rejected steps and their associated defects. Once detected, it is usually necessary to locate the position of the discontinuity more precisely. However, because defect control is concerned with the accuracy of the solution and not its order, it is not generally necessary to locate the discontinuity precisely. Having detected a discontinuity in the interval (t n,t n +h), a bisection method can be used to locate it to within a smaller interval (r, s) (t n,t n +h), where the defect over the interval (r, s) is acceptably small. (In general the exact location of a discontinuity cannot be found because there is no precise event function, and thus high-order event location methods cannot be used.) Each bisection it- 1 A significant discontinuity is any discontinuity that gives rise to such a large defect (estimate) that a step is rejected. Thus not all low-order discontinuities are significant and, in fact, the treatment of discontinuities relies on a discontinuity becoming less significant as the size of the step in which it occurs decreases. 5
7 eration requires a defect evaluation, so that repeated derivative evaluations may be required. However in systems of DDEs only one solution component can have the most significant discontinuity at any one point. Thus evaluating all the derivative components can be very inefficient. This problem may be overcome by specifying the derivatives so that they can be evaluated separately. (However this approach may severely affect the efficiency of the numerical integration. method) Consider the DDE y 1(t) =y 1 (t)y 2 (t 1), y 2(t) =y 2 (t 2 ) y 3 (y 1 (t)), y 3(t) =y 2 (t 3). (4) The corresponding fortran 90 code could be written as REAL FUNCTION DERIVATIVE(COMPONENT,T) USE DELAY_SOLVER INTEGER, INTENT(IN) :: COMPONENT REAL, INTENT(IN) :: T SELECT CASE (COMPONENT) CASE(1) DERIVATIVE = DELAY(1,T)*DELAY(2,T-1) CASE(2) DERIVATIVE = DELAY(2,T*T)-DELAY(3,DELAY(1,T)) CASE(3) DERIVATIVE = DELAY(2,T-3) END SELECT END FUNCTION DERIVATIVE where the module DELAY SOLVER contains a function DELAY(i,t) that evaluates the i-th solution component at the argument t. 3.4 Tracking derivative discontinuities Discontinuity tracking maintains the order of a numerical solution by including low-order discontinuities in the meshpoints. It is much more intimately connected with the structure of the DDE being solved than defect control. Software that tracks discontinuities àlawillé & Baker [6] requires the user to specify the lag functions and derivative functions separately, as well as specifying the initial discontinuities and the network dependency graph ( 3.4.3). 6
8 3.4.1 The derivative discontinuity tracking equations Reconsider equation (3) and assume that Ψ(t 0 ) y(t 0 +). The discontinuity in y(t) att = t 0 is propagated to the point t = σ 1 when the lag function crosses the position of the discontinuity, that is to say, (α(σ 1 +) t 0 ) (α(σ 1 ) t 0 ) < 0. (5) Condition (5) is almost equivalent to requiring α(σ 1 )=t 0,exceptthatthis does not exclude even-multiplicity zeros whereas only odd-multiplicity zeros satisfy the switching condition (5). However since multiple zeros are numerically ill-conditioned [4], in practice they are given no special treatment. The discontinuity at t = σ 1 may itself be propagated to a point t = σ 2, where α(σ 2 )=σ 1. It is also possible, depending on the lag function, that the discontinuity at t = t 0 is again propagated to a point t = σ 2,whereσ 2 >σ 1 can be arbitrarily large. Thus y(t) cannot be guaranteed to be ultimately smooth. Thus discontinuity tracking in a scalar DDE involves the evaluation of the lag functions and a record of the (initial) discontinuities and how they have been propagated. The need to evaluate the lag functions means that they must be specified separately from the DDE ( 3.4.3) Tracking derivative discontinuities in systems of DDEs In a system of DDEs discontinuity tracking can be complicated by discontinuities being propagated between solution components. This fact gives rise to the concept of strong and weak coupling and network dependency graphs (NDGs) [6]. Strong coupling describes the propagation of discontinuities between different solution components by an ODE term, that is to say τ(t) 0. Weak coupling describes the propagation of discontinuities within the same solution component and between different solution components by a DDE term, that is to say τ(t) 0. Given a system of DDEs, the NDG is key to tracking the propagation of discontinuities. For the system of DDEs (4), the NDG is 7
9 y 1 t-1 t y 1 (t ) y 2 t 2 y 3 t-3 Thus tracking discontinuities requires the following extra information about the DDE to be specified: (i) the initial discontinuities and (ii) the network dependency graph. Whilst the initial discontinuities cannot be automatically determined, it is possible to construct the NDG automatically Constructing the network dependency graph Reconsider the DDE system (4). Unlike using defect control for treating discontinuities ( 3.3), the lag functions have to be specified separately from the derivative functions. Thus the DDE could be specified using fortran 90 as REAL FUNCTION DERIVATIVE(COMPONENT,T) USE DELAY_SOLVER INTEGER, INTENT(IN) :: COMPONENT REAL, INTENT(IN) :: T SELECT CASE (COMPONENT) CASE(1) DERIVATIVE = DELAY(1,1)*DELAY(2,2) CASE(2) DERIVATIVE = DELAY(2,3)-DELAY(3,4) CASE(3) DERIVATIVE = DELAY(2,5) END SELECT END FUNCTION DERIVATIVE where the function DELAY(i,j) evaluates the i-th solution component using the j-th lag function. The corresponding lag functions would then be given as REAL FUNCTION LAG(COMPONENT,T) USE DELAY_SOLVER INTEGER, INTENT(IN) :: COMPONENT 8
10 REAL, INTENT(IN) :: T SELECT CASE (COMPONENT) CASE(1) LAG = T CASE(2) LAG = T-1 CASE(3) LAG = T*T CASE(4) LAG = DELAY(1,1) CASE(5) LAG = T-3 END SELECT END FUNCTION LAG By evaluating each of the lag functions in turn and counting the number of calls to the DELAY function, it is possible to determine which lag functions are state-independent (do not depend on the solution) and which are statedependent (and on which solution components and other lag functions they depend). This information is necessary for constructing the NDG, as well as being useful when tracking discontinuities because there are additional difficulties associated with discontinuities propagated by state-dependent lag functions. Next, by evaluating each derivative component in turn and monitoring calls to the DELAY function, it is possible to determine the links in the NDG and which lag functions are associated with each link. For state-dependent lag functions there is also the question of the propagation of discontinuities in the lag functions, which gives rise to additional links in the NDG. This then completes the construction of the NDG Efficient tracking of derivative discontinuities The implementation of discontinuity tracking is even more complicated than already suggested. Having specified the initial discontinuities and constructed the NDG, it is necessary to calculate ( predict ) where discontinuities will be propagated to before attempting to solve the DDE over an interval in which a discontinuity occurs. This can be achieved efficiently by determining whether an interval contains a discontinuity just before attempting to solve over it. 9
11 Testing the switching condition (α(t n + h) σ i ) (α(t n ) σ i ) < 0 on each step [t n,t n + h] might appear to be sufficient for detecting if the discontinuity σ i is propagated into the interval [t n,t n + h]. However if the lag function α(t) propagates the discontinuity σ i into the interval an even number of times, then the propagated discontinuities will not be detected (see below). () t i t n t n + h t Once detected, the location of the discontinuity must be found more precisely by solving the equation α(t) =σ i. However the convergence test is usually of the form α(t) σ i <ν σ i ɛ, whereν > 1andɛ is the unit-roundoff. For some DDEs, for example, y (t) =y(t 2 )y(t 1 10 )witht 0 =0,thisgivesriseto numerous spurious discontinuities [5, p.86]. A strategy for reducing the impact of this problem is to require discontinuities in the same solution component and derivative to be at least a distance δ ɛ apart before they are considered to be distinct. Having located a discontinuity at the point t = σ k, it still remains to advance the solution up to t = σ k. For DDEs in which y(t) is discontinuous at the point t = t 0, it is particularly important to evaluate delayed solution values correctly [5, p.87]: If α(t) t 0 +ast σ k,theny(α(σ k )) should be evaluated as y(t 0 +) and not y(t 0 ). The correct evaluation of delayed solution values can be achieved by monitoring whether the current interval is [t n,σ k )or[σ k,t n+1 ] and by knowing whether α(t n ) <t 0 or α(t n ) >t 0. (For continuous solutions this problem does not arise because y(t 0 + ɛ) y(t 0 ɛ) = O(ɛ).) Discontinuity tracking maintains the order of the solution by including discontinuities in the meshpoints, whilst attempting to avoid unnecessarily small and inefficient stepsizes. However for discontinuities propagated by state-dependent lag functions, very small stepsizes may still arise because the discontinuities may 10
12 move slightly as the solution advances [5, p.150]. This problem has still to be adequately addressed by codes that track discontinuities. Tracking discontinuities can be computationally expensive, and it becomes more expensive as the number of discontinuities that need to be tracked increases [5, p.177]. However it is not necessary to track every discontinuity: The smoothing of discontinuities when they are propagated means that they eventually occur in a sufficiently high derivative that they can be ignored. Also, although it is necessary to track every low-order discontinuity (for a general lag function), if the user can specify a bound on the size of the delays then the oldest discontinuities can eventually be safely ignored. 4 Conclusion The analytical theory underlying the numerical solution of DDEs has advanced considerably over the past decade. However the number of available DDE solvers has remained somewhat limited and has thus delayed the widespread use of DDEs by non-mathematicians. Whilst there are a number of theoretical areas in the numerical solution of DDEs, convergence, stability, bifurcations, oscillations, etc., this paper has aimed at shedding light on some of the practical issues in writing an efficient and robust code for solving DDEs. Having identified some of the obvious and less obvious design problems, the next generation of DDE solvers should hopefully be more efficient and easier to use. References [1] C.T.H. Baker and C.A.H. Paul, Parallel continuous Runge-Kutta methods and vanishing lag delay differential equations, Adv. Comp. Math. 1 (1993) [2] C.T.H. Baker, C.A.H. Paul and D.R. Willé, Issues in the numerical solution of evolutionary delay differential equations, Adv. Comp. Math. 3 (1995) [3] W.H. Enright and H. Hayashi, A delay differential equation solver based on a continuous Runge-Kutta method with defect control, Numer. Algorithms 16 (1997)
13 [4] M.A. Feldstein and K.W. Neves, High-order methods for state-dependent delay differential equations with non-smooth solutions, SIAM J. Numer. Anal. 21 (1984) [5] C.A.H. Paul, Runge-Kutta methods for functional differential equations, Ph.D. Thesis, Department of Mathematics, University of Manchester, [6] D.R. Willé and C.T.H. Baker, The tracking of derivative discontinuities in systems of delay differential equations, Appl. Num. Math. 9 (1992) [7] M. Zennaro, Natural continuous extensions of Runge-Kutta methods, Math. Comp. 46 (1986)
1 Error in Euler s Method
1 Error in Euler s Method Experience with Euler s 1 method raises some interesting questions about numerical approximations for the solutions of differential equations. 1. What determines the amount of
Numerical Solution of Delay Differential Equations
Numerical Solution of Delay Differential Equations L.F. Shampine 1 and S. Thompson 2 1 Mathematics Department, Southern Methodist University, Dallas, TX 75275 [email protected] 2 Dept. of Mathematics &
Homework 2 Solutions
Homework Solutions Igor Yanovsky Math 5B TA Section 5.3, Problem b: Use Taylor s method of order two to approximate the solution for the following initial-value problem: y = + t y, t 3, y =, with h = 0.5.
1 The Brownian bridge construction
The Brownian bridge construction The Brownian bridge construction is a way to build a Brownian motion path by successively adding finer scale detail. This construction leads to a relatively easy proof
5 Numerical Differentiation
D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives
Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88
Nonlinear Algebraic Equations Lectures INF2320 p. 1/88 Lectures INF2320 p. 2/88 Nonlinear algebraic equations When solving the system u (t) = g(u), u(0) = u 0, (1) with an implicit Euler scheme we have
1 Review of Least Squares Solutions to Overdetermined Systems
cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares
Model order reduction via Proper Orthogonal Decomposition
Model order reduction via Proper Orthogonal Decomposition Reduced Basis Summer School 2015 Martin Gubisch University of Konstanz September 17, 2015 Martin Gubisch (University of Konstanz) Model order reduction
Recursive Algorithms. Recursion. Motivating Example Factorial Recall the factorial function. { 1 if n = 1 n! = n (n 1)! if n > 1
Recursion Slides by Christopher M Bourke Instructor: Berthe Y Choueiry Fall 007 Computer Science & Engineering 35 Introduction to Discrete Mathematics Sections 71-7 of Rosen cse35@cseunledu Recursive Algorithms
Euler s Method and Functions
Chapter 3 Euler s Method and Functions The simplest method for approximately solving a differential equation is Euler s method. One starts with a particular initial value problem of the form dx dt = f(t,
1 Review of Newton Polynomials
cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael
INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition)
INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition) Abstract Indirect inference is a simulation-based method for estimating the parameters of economic models. Its
Section 1.3 P 1 = 1 2. = 1 4 2 8. P n = 1 P 3 = Continuing in this fashion, it should seem reasonable that, for any n = 1, 2, 3,..., = 1 2 4.
Difference Equations to Differential Equations Section. The Sum of a Sequence This section considers the problem of adding together the terms of a sequence. Of course, this is a problem only if more than
Numerical Analysis An Introduction
Walter Gautschi Numerical Analysis An Introduction 1997 Birkhauser Boston Basel Berlin CONTENTS PREFACE xi CHAPTER 0. PROLOGUE 1 0.1. Overview 1 0.2. Numerical analysis software 3 0.3. Textbooks and monographs
12.5: CHI-SQUARE GOODNESS OF FIT TESTS
125: Chi-Square Goodness of Fit Tests CD12-1 125: CHI-SQUARE GOODNESS OF FIT TESTS In this section, the χ 2 distribution is used for testing the goodness of fit of a set of data to a specific probability
Numerical Methods for Option Pricing
Chapter 9 Numerical Methods for Option Pricing Equation (8.26) provides a way to evaluate option prices. For some simple options, such as the European call and put options, one can integrate (8.26) directly
S. Boyd EE102. Lecture 1 Signals. notation and meaning. common signals. size of a signal. qualitative properties of signals.
S. Boyd EE102 Lecture 1 Signals notation and meaning common signals size of a signal qualitative properties of signals impulsive signals 1 1 Signals a signal is a function of time, e.g., f is the force
Volterra integral equations and fractional calculus: Do neighbouring solutions intersect?
CHESTER RESEARCH ONLINE Research in Mathematics and its Applications ISSN 25-661 Series Editors: CTH Baker, NJ Ford Volterra integral equations and fractional calculus: Do neighbouring solutions intersect?
Confidence Intervals for Cp
Chapter 296 Confidence Intervals for Cp Introduction This routine calculates the sample size needed to obtain a specified width of a Cp confidence interval at a stated confidence level. Cp is a process
Introduction to the Finite Element Method
Introduction to the Finite Element Method 09.06.2009 Outline Motivation Partial Differential Equations (PDEs) Finite Difference Method (FDM) Finite Element Method (FEM) References Motivation Figure: cross
SENSITIVITY ANALYSIS AND INFERENCE. Lecture 12
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this
Numerical Methods for Differential Equations
1 Numerical Methods for Differential Equations 1 2 NUMERICAL METHODS FOR DIFFERENTIAL EQUATIONS Introduction Differential equations can describe nearly all systems undergoing change. They are ubiquitous
Math 21a Curl and Divergence Spring, 2009. 1 Define the operator (pronounced del ) by. = i
Math 21a url and ivergence Spring, 29 1 efine the operator (pronounced del by = i j y k z Notice that the gradient f (or also grad f is just applied to f (a We define the divergence of a vector field F,
Several Views of Support Vector Machines
Several Views of Support Vector Machines Ryan M. Rifkin Honda Research Institute USA, Inc. Human Intention Understanding Group 2007 Tikhonov Regularization We are considering algorithms of the form min
Roots of Equations (Chapters 5 and 6)
Roots of Equations (Chapters 5 and 6) Problem: given f() = 0, find. In general, f() can be any function. For some forms of f(), analytical solutions are available. However, for other functions, we have
7 Gaussian Elimination and LU Factorization
7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method
Real Roots of Univariate Polynomials with Real Coefficients
Real Roots of Univariate Polynomials with Real Coefficients mostly written by Christina Hewitt March 22, 2012 1 Introduction Polynomial equations are used throughout mathematics. When solving polynomials
a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations
Difference Equations to Differential Equations Section.7 Rolle s Theorem and the Mean Value Theorem The two theorems which are at the heart of this section draw connections between the instantaneous rate
Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10
Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T. Heath Chapter 10 Boundary Value Problems for Ordinary Differential Equations Copyright c 2001. Reproduction
Modeling, Computers, and Error Analysis Mathematical Modeling and Engineering Problem-Solving
Next: Roots of Equations Up: Numerical Analysis for Chemical Previous: Contents Subsections Mathematical Modeling and Engineering Problem-Solving A Simple Mathematical Model Computers and Software The
November 16, 2015. Interpolation, Extrapolation & Polynomial Approximation
Interpolation, Extrapolation & Polynomial Approximation November 16, 2015 Introduction In many cases we know the values of a function f (x) at a set of points x 1, x 2,..., x N, but we don t have the analytic
Continued Fractions and the Euclidean Algorithm
Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction
Numerical Methods for Differential Equations
Numerical Methods for Differential Equations Chapter 1: Initial value problems in ODEs Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the Numerical
4 Lyapunov Stability Theory
4 Lyapunov Stability Theory In this section we review the tools of Lyapunov stability theory. These tools will be used in the next section to analyze the stability properties of a robot controller. We
A power series about x = a is the series of the form
POWER SERIES AND THE USES OF POWER SERIES Elizabeth Wood Now we are finally going to start working with a topic that uses all of the information from the previous topics. The topic that we are going to
Trend and Seasonal Components
Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing
Significant Figures, Propagation of Error, Graphs and Graphing
Chapter Two Significant Figures, Propagation of Error, Graphs and Graphing Every measurement has an error associated with it. If you were to put an object on a balance and weight it several times you will
Exact Nonparametric Tests for Comparing Means - A Personal Summary
Exact Nonparametric Tests for Comparing Means - A Personal Summary Karl H. Schlag European University Institute 1 December 14, 2006 1 Economics Department, European University Institute. Via della Piazzuola
Maximizing volume given a surface area constraint
Maximizing volume given a surface area constraint Math 8 Department of Mathematics Dartmouth College Maximizing volume given a surface area constraint p.1/9 Maximizing wih a constraint We wish to solve
Special Situations in the Simplex Algorithm
Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the
Suggestions for simplified Fixed Capital Stock calculations at Statistics Sweden Michael Wolf, National Accounts Division Statistics Sweden
Capital Stock Conference March 1997 Agenda Item VI Suggestions for simplified Fixed Capital Stock calculations at Statistics Sweden Michael Wolf, National Accounts Division Statistics Sweden 1 Suggestions
OUTLIER ANALYSIS. Data Mining 1
OUTLIER ANALYSIS Data Mining 1 What Are Outliers? Outlier: A data object that deviates significantly from the normal objects as if it were generated by a different mechanism Ex.: Unusual credit card purchase,
Graphical Integration Exercises Part Four: Reverse Graphical Integration
D-4603 1 Graphical Integration Exercises Part Four: Reverse Graphical Integration Prepared for the MIT System Dynamics in Education Project Under the Supervision of Dr. Jay W. Forrester by Laughton Stanley
The normal approximation to the binomial
The normal approximation to the binomial The binomial probability function is not useful for calculating probabilities when the number of trials n is large, as it involves multiplying a potentially very
3. Reaction Diffusion Equations Consider the following ODE model for population growth
3. Reaction Diffusion Equations Consider the following ODE model for population growth u t a u t u t, u 0 u 0 where u t denotes the population size at time t, and a u plays the role of the population dependent
10.2 Series and Convergence
10.2 Series and Convergence Write sums using sigma notation Find the partial sums of series and determine convergence or divergence of infinite series Find the N th partial sums of geometric series and
(Refer Slide Time: 01.26)
Discrete Mathematical Structures Dr. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture # 27 Pigeonhole Principle In the next few lectures
CS 3719 (Theory of Computation and Algorithms) Lecture 4
CS 3719 (Theory of Computation and Algorithms) Lecture 4 Antonina Kolokolova January 18, 2012 1 Undecidable languages 1.1 Church-Turing thesis Let s recap how it all started. In 1990, Hilbert stated a
1 Cubic Hermite Spline Interpolation
cs412: introduction to numerical analysis 10/26/10 Lecture 13: Cubic Hermite Spline Interpolation II Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore 1 Cubic Hermite
01 In any business, or, indeed, in life in general, hindsight is a beautiful thing. If only we could look into a
01 technical cost-volumeprofit relevant to acca qualification paper F5 In any business, or, indeed, in life in general, hindsight is a beautiful thing. If only we could look into a crystal ball and find
Math 120 Final Exam Practice Problems, Form: A
Math 120 Final Exam Practice Problems, Form: A Name: While every attempt was made to be complete in the types of problems given below, we make no guarantees about the completeness of the problems. Specifically,
Reading 13 : Finite State Automata and Regular Expressions
CS/Math 24: Introduction to Discrete Mathematics Fall 25 Reading 3 : Finite State Automata and Regular Expressions Instructors: Beck Hasti, Gautam Prakriya In this reading we study a mathematical model
8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
EXPONENTIAL FUNCTIONS 8.1.1 8.1.6
EXPONENTIAL FUNCTIONS 8.1.1 8.1.6 In these sections, students generalize what they have learned about geometric sequences to investigate exponential functions. Students study exponential functions of the
Numerical Matrix Analysis
Numerical Matrix Analysis Lecture Notes #10 Conditioning and / Peter Blomgren, [email protected] Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research
Numerical Methods in MATLAB
Numerical Methods in MATLAB Center for Interdisciplinary Research and Consulting Department of Mathematics and Statistics University of Maryland, Baltimore County www.umbc.edu/circ Winter 2008 Mission
abc GCE 2005 Mark Scheme January Series Mathematics MPC1
GCE 005 January Series abc Mark Scheme Mathematics MPC1 Mark schemes are prepared by the Principal Examiner and considered, together with the relevant questions, by a panel of subject teachers. This mark
For additional information, see the Math Notes boxes in Lesson B.1.3 and B.2.3.
EXPONENTIAL FUNCTIONS B.1.1 B.1.6 In these sections, students generalize what they have learned about geometric sequences to investigate exponential functions. Students study exponential functions of the
Fixed Point Theorems
Fixed Point Theorems Definition: Let X be a set and let T : X X be a function that maps X into itself. (Such a function is often called an operator, a transformation, or a transform on X, and the notation
Math 241, Exam 1 Information.
Math 241, Exam 1 Information. 9/24/12, LC 310, 11:15-12:05. Exam 1 will be based on: Sections 12.1-12.5, 14.1-14.3. The corresponding assigned homework problems (see http://www.math.sc.edu/ boylan/sccourses/241fa12/241.html)
MATH10040 Chapter 2: Prime and relatively prime numbers
MATH10040 Chapter 2: Prime and relatively prime numbers Recall the basic definition: 1. Prime numbers Definition 1.1. Recall that a positive integer is said to be prime if it has precisely two positive
Predict the Popularity of YouTube Videos Using Early View Data
000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050
Confidence Intervals for Cpk
Chapter 297 Confidence Intervals for Cpk Introduction This routine calculates the sample size needed to obtain a specified width of a Cpk confidence interval at a stated confidence level. Cpk is a process
Dynamic Programming Problem Set Partial Solution CMPSC 465
Dynamic Programming Problem Set Partial Solution CMPSC 465 I ve annotated this document with partial solutions to problems written more like a test solution. (I remind you again, though, that a formal
The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method
The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method Robert M. Freund February, 004 004 Massachusetts Institute of Technology. 1 1 The Algorithm The problem
Linear Equations and Inequalities
Linear Equations and Inequalities Section 1.1 Prof. Wodarz Math 109 - Fall 2008 Contents 1 Linear Equations 2 1.1 Standard Form of a Linear Equation................ 2 1.2 Solving Linear Equations......................
3. Mathematical Induction
3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)
Non Parametric Inference
Maura Department of Economics and Finance Università Tor Vergata Outline 1 2 3 Inverse distribution function Theorem: Let U be a uniform random variable on (0, 1). Let X be a continuous random variable
Sensitivity of Hospital Clinic queues to patient non-attendance. Neville J. Ford, Paul D. Crofts, and Richard H. T. Edwards
ISSN 1360-1725 UMIST Sensitivity of Hospital Clinic queues to patient non-attendance Neville J. Ford, Paul D. Crofts, and Richard H. T. Edwards Numerical Analysis Report No. 383 A report in association
INTRUSION PREVENTION AND EXPERT SYSTEMS
INTRUSION PREVENTION AND EXPERT SYSTEMS By Avi Chesla [email protected] Introduction Over the past few years, the market has developed new expectations from the security industry, especially from the intrusion
Version 1.0. klm. General Certificate of Education June 2010. Mathematics. Pure Core 3. Mark Scheme
Version.0 klm General Certificate of Education June 00 Mathematics MPC Pure Core Mark Scheme Mark schemes are prepared by the Principal Eaminer and considered, together with the relevant questions, by
Exponential Functions and Laplace Transforms for Alpha Derivatives
Exponential Functions and Laplace Transforms for Alpha Derivatives ELVAN AKIN BOHNER and MARTIN BOHNER Department of Mathematics, Florida Institute of Technology Melbourne, Florida 3291, USA E-mail: [email protected],
Natural cubic splines
Natural cubic splines Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology October 21 2008 Motivation We are given a large dataset, i.e. a function sampled
Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model
Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written
The Effects of Start Prices on the Performance of the Certainty Equivalent Pricing Policy
BMI Paper The Effects of Start Prices on the Performance of the Certainty Equivalent Pricing Policy Faculty of Sciences VU University Amsterdam De Boelelaan 1081 1081 HV Amsterdam Netherlands Author: R.D.R.
Sequential Data Structures
Sequential Data Structures In this lecture we introduce the basic data structures for storing sequences of objects. These data structures are based on arrays and linked lists, which you met in first year
Linear and quadratic Taylor polynomials for functions of several variables.
ams/econ 11b supplementary notes ucsc Linear quadratic Taylor polynomials for functions of several variables. c 010, Yonatan Katznelson Finding the extreme (minimum or maximum) values of a function, is
Numerical Methods with Excel/VBA:
Numerical Methods with Excel/VBA: Many problems in Mathematics, Physics, Economics, etc can only be solved in very idealized situations in an exact analytical fashion. Even solvable problems can often
Numerical Analysis. Professor Donna Calhoun. Fall 2013 Math 465/565. Office : MG241A Office Hours : Wednesday 10:00-12:00 and 1:00-3:00
Numerical Analysis Professor Donna Calhoun Office : MG241A Office Hours : Wednesday 10:00-12:00 and 1:00-3:00 Fall 2013 Math 465/565 http://math.boisestate.edu/~calhoun/teaching/math565_fall2013 What is
3 An Illustrative Example
Objectives An Illustrative Example Objectives - Theory and Examples -2 Problem Statement -2 Perceptron - Two-Input Case -4 Pattern Recognition Example -5 Hamming Network -8 Feedforward Layer -8 Recurrent
DERIVATIVES AS MATRICES; CHAIN RULE
DERIVATIVES AS MATRICES; CHAIN RULE 1. Derivatives of Real-valued Functions Let s first consider functions f : R 2 R. Recall that if the partial derivatives of f exist at the point (x 0, y 0 ), then we
MATH 425, PRACTICE FINAL EXAM SOLUTIONS.
MATH 45, PRACTICE FINAL EXAM SOLUTIONS. Exercise. a Is the operator L defined on smooth functions of x, y by L u := u xx + cosu linear? b Does the answer change if we replace the operator L by the operator
A Strategy for Teaching Finite Element Analysis to Undergraduate Students
A Strategy for Teaching Finite Element Analysis to Undergraduate Students Gordon Smyrell, School of Computing and Mathematics, University of Teesside The analytical power and design flexibility offered
Lecture 7: Finding Lyapunov Functions 1
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.243j (Fall 2003): DYNAMICS OF NONLINEAR SYSTEMS by A. Megretski Lecture 7: Finding Lyapunov Functions 1
Regular Expressions with Nested Levels of Back Referencing Form a Hierarchy
Regular Expressions with Nested Levels of Back Referencing Form a Hierarchy Kim S. Larsen Odense University Abstract For many years, regular expressions with back referencing have been used in a variety
Turing Machines, Part I
Turing Machines, Part I Languages The $64,000 Question What is a language? What is a class of languages? Computer Science Theory 2 1 Now our picture looks like Context Free Languages Deterministic Context
degrees of freedom and are able to adapt to the task they are supposed to do [Gupta].
1.3 Neural Networks 19 Neural Networks are large structured systems of equations. These systems have many degrees of freedom and are able to adapt to the task they are supposed to do [Gupta]. Two very
POISSON AND LAPLACE EQUATIONS. Charles R. O Neill. School of Mechanical and Aerospace Engineering. Oklahoma State University. Stillwater, OK 74078
21 ELLIPTICAL PARTIAL DIFFERENTIAL EQUATIONS: POISSON AND LAPLACE EQUATIONS Charles R. O Neill School of Mechanical and Aerospace Engineering Oklahoma State University Stillwater, OK 74078 2nd Computer
Pricing I: Linear Demand
Pricing I: Linear Demand This module covers the relationships between price and quantity, maximum willing to buy, maximum reservation price, profit maximizing price, and price elasticity, assuming a linear
NPV Versus IRR. W.L. Silber -1000 0 0 +300 +600 +900. We know that if the cost of capital is 18 percent we reject the project because the NPV
NPV Versus IRR W.L. Silber I. Our favorite project A has the following cash flows: -1 + +6 +9 1 2 We know that if the cost of capital is 18 percent we reject the project because the net present value is
DELAY DIFFERENTIAL EQUATIONS IN MODELING INSULIN THERAPIES FOR DIABETES
DELAY DIFFERENTIAL EQUATIONS IN MODELING INSULIN THERAPIES FOR DIABETES Final year project submitted to the Dept. of Mathematics of the University of Portsmouth May 2008 By Emma Geraghty B.Sc. (Hons) Mathematics
Module 3: Correlation and Covariance
Using Statistical Data to Make Decisions Module 3: Correlation and Covariance Tom Ilvento Dr. Mugdim Pašiƒ University of Delaware Sarajevo Graduate School of Business O ften our interest in data analysis
Irrational Numbers. A. Rational Numbers 1. Before we discuss irrational numbers, it would probably be a good idea to define rational numbers.
Irrational Numbers A. Rational Numbers 1. Before we discuss irrational numbers, it would probably be a good idea to define rational numbers. Definition: Rational Number A rational number is a number that
Chapter 4. Polynomial and Rational Functions. 4.1 Polynomial Functions and Their Graphs
Chapter 4. Polynomial and Rational Functions 4.1 Polynomial Functions and Their Graphs A polynomial function of degree n is a function of the form P = a n n + a n 1 n 1 + + a 2 2 + a 1 + a 0 Where a s
The Aggregate Production Function Revised: January 9, 2008
Global Economy Chris Edmond The Aggregate Production Function Revised: January 9, 2008 Economic systems transform inputs labor, capital, raw materials into products. We use a theoretical construct called
Version : 1.0 0609. klm. General Certificate of Education. Mathematics 6360. MPC1 Pure Core 1. Mark Scheme. 2009 examination - June series
Version :.0 0609 klm General Certificate of Education Mathematics 660 MPC Pure Core Mark Scheme 009 examination - June series Mark schemes are prepared by the Principal Examiner and considered, together
