Asymptotic Methods of ODEs: Exploring Singularities of the Second Kind

Similar documents
Linear Systems of Differential Equations

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

Repeated Eigenvalues and Symmetric Matrices

12.4 The Diagonalization Process

Linear Algebra Primer

Lecture Notes in Linear Algebra

Linear Algebra Primer

Linear Algebra (Review) Volker Tresp 2018

A matrix over a field F is a rectangular array of elements from F. The symbol

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

LS.1 Review of Linear Algebra

Green s Functions Computation

Chapter 3. Determinants and Eigenvalues

Chapter 2. Linear Algebra. rather simple and learning them will eventually allow us to explain the strange results of

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Introduction to Matrices

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Stat 159/259: Linear Algebra Notes

Linear Algebra (Review) Volker Tresp 2017

Matrices. Chapter Definitions and Notations

Econ Slides from Lecture 7

ELEMENTARY LINEAR ALGEBRA

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

Review of Linear Algebra

Lecture notes on Quantum Computing. Chapter 1 Mathematical Background

Phys 201. Matrices and Determinants

Linear Algebra V = T = ( 4 3 ).

Green s Functions with Reflection

Matrices and Linear Algebra

Appendix A: Matrices

A = 3 1. We conclude that the algebraic multiplicity of the eigenvalues are both one, that is,

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Columbus State Community College Mathematics Department. CREDITS: 5 CLASS HOURS PER WEEK: 5 PREREQUISITES: MATH 2173 with a C or higher

Miller Objectives Alignment Math

Introduction to Matrices

Review of Linear Algebra

Module 6 : Solving Ordinary Differential Equations - Initial Value Problems (ODE-IVPs) Section 3 : Analytical Solutions of Linear ODE-IVPs

GUIDED NOTES 5.6 RATIONAL FUNCTIONS

Eigenvalue and Eigenvector Homework

Matrices. In this chapter: matrices, determinants. inverse matrix

Asymptotics of Integrals of. Hermite Polynomials

Quantum Mechanics using Matrix Methods

Semi-formal solution and monodromy of some confluent hypergeometric equations

A primer on matrices

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

THE MINIMAL POLYNOMIAL AND SOME APPLICATIONS

ON A NESTED BOUNDARY-LAYER PROBLEM. X. Liang. R. Wong. Dedicated to Professor Philippe G. Ciarlet on the occasion of his 70th birthday

1 Searching the World Wide Web

Large Scale Data Analysis Using Deep Learning

Activity 8: Eigenvectors and Linear Transformations

Notes on the Matrix-Tree theorem and Cayley s tree enumerator

Section 5.2 Series Solution Near Ordinary Point

3.4 Elementary Matrices and Matrix Inverse

Foundations of Matrix Analysis

j=1 u 1jv 1j. 1/ 2 Lemma 1. An orthogonal set of vectors must be linearly independent.

Eigenvalues and Eigenvectors

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

Fundamentals of Engineering Analysis (650163)

Math 307 Learning Goals. March 23, 2010

EQ: What are limits, and how do we find them? Finite limits as x ± Horizontal Asymptote. Example Horizontal Asymptote

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then

CHAPTER 3. Matrix Eigenvalue Problems

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Chapter Two Elements of Linear Algebra

Preface. Figures Figures appearing in the text were prepared using MATLAB R. For product information, please contact:

Using MATLAB. Linear Algebra

3 (Maths) Linear Algebra

ELEMENTARY LINEAR ALGEBRA

Linear Equations and Matrix

Calculus II - Basic Matrix Operations

Linear Algebra - Part II

Diagonalisierung. Eigenwerte, Eigenvektoren, Mathematische Methoden der Physik I. Vorlesungsnotizen zu

Math 307 Learning Goals

Lectures on Linear Algebra for IT

SECTION 2: VECTORS AND MATRICES. ENGR 112 Introduction to Engineering Computing

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Section 9.2: Matrices.. a m1 a m2 a mn

Solution Set 7, Fall '12

Notations. Primary definition. Specific values. Traditional name. Traditional notation. Mathematica StandardForm notation. Specialized values

Determinant: 3.3 Properties of Determinants

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Dominant Eigenvalue of a Sudoku Submatrix

Math Ordinary Differential Equations

Elementary Row Operations on Matrices

evaluate functions, expressed in function notation, given one or more elements in their domains

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

Appendix 2: Linear Algebra

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017

ACI-matrices all of whose completions have the same rank

Lecture 11: Eigenvalues and Eigenvectors

MAT292 - Calculus III - Fall Solution for Term Test 2 - November 6, 2014 DO NOT WRITE ON THE QR CODE AT THE TOP OF THE PAGES.

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls):

Gershgorin s Circle Theorem for Estimating the Eigenvalues of a Matrix with Known Error Bounds

Linear Algebra. and

NORMS ON SPACE OF MATRICES

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Algebra & Trigonometry for College Readiness Media Update, 2016

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

Transcription:

The Mathematica Journal Asymptotic Methods of ODEs: Exploring Singularities of the Second Kind Christopher J. Winfield Madison Area Science and Technology We develop symbolic methods of asymptotic approximations for solutions of linear ordinary differential equations and use them to stabilize numerical calculations. Our method follows classical analysis for first-order systems and higherorder scalar equations where growth behavior is expressed in terms of elementary functions. We then recast our equations in mollified form - thereby obtaining stability. Introduction and Review Following [1], we will study methods to develop asymptotic estimates for a system of ordinary differential equations given in the form d d t w t tr A t w t where A is an n n matrix with elements depending on t and w t is a column matrix whose elements are unknown functions. We will suppose that A has analytic coefficients (near infinity) and can be written as a series A j 0 t j A j (convergent for large t) for constant matrices A j where A 0 is non-trivial. (Such a singularity at finite t may be turned into a singularity at infinity by a change of variables.) This type of singularity for r 1 is called a singularity of the second kind (also known [4] as an 'irregular' singularity). (1) Asymptotic Methods.nb 8/5/11 The Mathematica Journal volume:issue year Wolfram Media, Inc.

2 Author(s) Differential equations of the form t r j n j o a j t dn j d t n j y 0 a j ' s bounded for large t>0 and a 0 1) can also be written in the above general matrix form by setting A t 1 2 3 where the j ' s have zero elements except for the following: 1 has diagonal elements 0, r 1 t 1 r,, r n 1 t 1 r ; 2 has ones on the diagonal above the main diagonal; the last row of 3 consists of the block matrix a n t, a n 1 t,, a 1 t ). Here, solutions y and their first n-1 many derivatives are given by the respective components of w as y j 1 t j 1 r w n j 1 : j 1, 2,, n. Asymptotic Procedures Consider a system of the form w'=t r A w where the elements of A are analytic near infinity and A A 0 t 1 A 1 + + t r A r 1 (formal series) where A 0 is a diagonal matrix for distinct complex numbers Λ j along as the diagonal elements. Then, there are constant matrices R, Q j : j 0, 1,, r 1 and P j : j 0, 1, so that the columns of t t j P j j 0 r 1 t R EXP t j Q j j 0 (3) are each asymptotic series for some solution of (1). Here the matrices R, Q j are each diagonal, P 0 may be taken as the identity matrix, and Q 0 may be taken to equal A 0 ; here, EXP denotes the matrix exponential and t R EXP ln t R. This is a special case of Theorems 2.1 and 4.1 of Chapt. 5 [1]. (In fact, this method produces exact solutions in cases not treated here. Cf. Chapt. 4 [1].) We will not repeat the entire proof of this result here, but we will elaborat on the construction of the Q j s and R. By methods which amount to a matrix version of the dominant balance method, the matrices P j, Q j 1 : 1 j r 1 and R satisfy k P k Q 0 Q 0 P k A l P k l P k l Q l for 1 k r ; and, l 1 P r 1 Q 0 Q 0 P r 1 A r 1 R r l 1 A l P r 1 l P r 1 l Q l For j 1, let us denote by P j are the same matrix as P j s above but with zeros on their main diagonals. For our objectives, we need only to solve for the corresponding P j 's to proceed: We obtain The Mathematica Journal volume:issue year Wolfram Media, Inc. Asymptotic Methods.nb 8/5/11

Article Title 3 Q 1 Diag A 1 ; and P 1 Q 0 Q 0 P 1 A 1 Q 1 off the diagonal. (4) By Diag( ) we mean that diagonal matrix whose elements match those of the argument along the main diagonal: This is not exactly the same as the Mathematica algorithm Diagonal[ ]. Then for each 2 k r (provided r>1) we may recursively compute the Q k ' s, P k ' s, and R by k 1 Q k Diag A k A l P k l P k l Q l ; l 1 k P k Q 0 Q 0 P k A l P k l P k l Q l off the diagonal for 2 k r; and, l 1 (5) (6) R Diag A r 1 r l 1 A l P r 1 l P r 1 l Q l. (7) Example System of Equations We begin with an example involving rational functions of t. (Such examples suffice in our general setting by our hypothesis on A t ). Consider the case r=1, x 0 0, y 0 4, and A t 0.1 0 0 0.5 t 1 1 1 1 0 t 2 0 1 0 1. We set (8) In[1]:= A0 1, 0, 0, 0.5 ; Q0 A0; P0 IdentityMatrix 2 ; A1 1, 1, 1, 0 ; as we need only terms of order t and 1 for accuracy up to O t 1 in the first factor of (3). We follow equations (4) to solve Q 1 and P 1 (we will denote respective P j s by Pj' s in our inputs cells) and (7) to solve R: In[2]:= prep1 Array a, 2, 2 ; NN 2; C1 A1 DiagonalMatrix Diagonal A1 ; E1 prep1. Q0 Q0. prep1; Asymptotic Methods.nb 8/5/11 The Mathematica Journal volume:issue year Wolfram Media, Inc.

4 Author(s) av1 j_, m_ : If j m, 0, a j, m. Flatten Solve Flatten Table E1 k, l C1 k, l, k, NN, l, NN, Delete Flatten Table a k, l, k, NN, l, NN, Array 1 NN 1 1 1 &, NN P1 Simplify Array av1, NN, NN ; Q1 Simplify DiagonalMatrix Diagonal A1 ; PreR A1.P1 P1.Q1; R DiagonalMatrix Diagonal PreR ; Asymptotic solutions up to first derivatives are given by the columns of the matrix V which we compute by In[7]:= V Simplify P0 P1 t.matrixexp Log t R. MatrixExp t^2 Q0 2 t Q1 ; MatrixForm V Out[7]//MatrixForm= t 2 2 0. t 2. 0.25 t2 t 1. t 2. t 2 2. t 2 t 3. 0. 0.25 t2 t 2. We find that there are two linearly independent solution vectors V 1 and V 2 satisfying 2 V 1 = 0.25 t2 t 1 o t t 2 1 o t t2 t ; V 1 = 2 t 2 1 o t 2 t 3 1 o t as t. We compare our result with exact solution of an initial value problem of the following asymptotically equivalent [2] system: d d t x t 1 t 1 1 t 2 x t ; x 0 1 1 Routine calculations, involving hypergeometric functions, show that x t = 2 t 1 o t C 0.25 t2 t 2 for a constant C 12.09. 1 o t The Mathematica Journal volume:issue year Wolfram Media, Inc. Asymptotic Methods.nb 8/5/11

Article Title 5 Instability A natural way to check our results is to compute numerical results via NDSolve[ ]. Here, we compare our dominant asymptotic calculations (from V 2 ) to numerical results (via Interpolation) of the original equation. Below we expect our graphs to have horizontal asymptotes; instead, we find the calculations to be unstable for t 9. In[8]:= F t : 1 t 2 1 t; S NDSolve x' t 1 t x t t F t y t, y' t.5 t y t t F t x t, x 2 5, y 2 5, x, y, t, 2, 11 ; Testx x t V 1, 2. S; Testy y t V 2, 2. S; Plot Testx, Testy, t, 2, 11, PlotRange Automatic, AxesLabel t 3.5 3.0 Out[10]= 2.5 2.0 1.5 t Mollification We can apply these asymptotic estimates to produce stable solutions from ND-.25 t2 Solve[ ] for large t. We will replace x t by 2 te x t and y t by t 2 e.25 t2 y t to produce a solution x, y with less drastic decay rates: Asymptotic Methods.nb 8/5/11 The Mathematica Journal volume:issue year Wolfram Media, Inc.

6 Author(s) In[11]:= newsys D x t t 1 Exp.25 t^2, t 1 t t 1 Exp.25 t^2 x t t 1 ^2 Exp.25 t^2 y t, D Exp.25 t^2 1 t ^2 y t, t t 1 Exp.25 t^2 x t 0.5 t Exp.25 t^2 1 t ^2 y t ; Reformedprob Flatten NDSolve newsys, x 0 1, y 0 1, x t, y t, t, 0, 300 ; Plot x t. Reformedprob, y t. Reformedprob, t, 0, 600, AxesLabel t 20 15 Out[13]= 10 5 t The solutions seem to be tending to limiting values for t near 600 : All with no call to any special calculational options. It is beyond the scope of this article to compare and contrast numerical schemes since our objective is to predict theoretically the growth behavior of solution as demonstrated using default options of NDSolve[ ]. Our method, we note, may serve to improve stability and reduce stiffness, yet we do not quantify such results. We do, however, note that widely varying exponential growth/decay of solutions are known to produce instability similar to those we see (References [6], [7], [8] and NDSolve of the Documentation Center [9], among many others, introduce rigorous methods regarding such issues.) The Mathematica Journal volume:issue year Wolfram Media, Inc. Asymptotic Methods.nb 8/5/11

Article Title 7 Application to a Third-order Ordinary Differential Equation We will study asymptotic behavior of solutions to L y = 0 (t 0) for the operator L D 3 (t 2 3 t D 2 t 4 D. Following (2) we will study the system w M w which we can write as M t 2 0 1 0 0 0 1 0 2 1 1 t 0 0 0 0 0 0 0 0 3 1 t 2 0 0 0 0 0 0 0 0 0 1 t 3 0 0 0 0 2 0 0 0 4 We choose this example so as to force a diagonalization step before applying the procedure to produce estimates (3), after which we identify A j : j 0, 1, 2, 3 (with r 2) (9) In[14]:= NN 3; rr 2; M0 0, 1, 0, 0, 0, 1, 0, 2, 1 ; M1 0, 0, 0, 0, 0, 0, 0, 0, 3 ; M2 0, 0, 0, 0, 0, 0, 0, 0, 0 ; M3 DiagonalMatrix Array 1 rr &, NN ; We proceed with the diagonalization step: In[15]:= Clear TT ; TT Transpose Eigenvectors M0 ; A0 Inverse TT.M0.TT; A1 Inverse TT.M1.TT; A2 Inverse TT.M2.TT; A3 Inverse TT.M3.TT; Here Q 0, and Q 1 are obvious and, using (4) and (5), we compute P 1 and Q 2 : In[17]:= Q0 A0; Q1 DiagonalMatrix Diagonal A1 ; prep1 Array a, 3, 3 ; EE10 prep1.q0 Q0.preP1; EE20 prep2.q0 Q0.preP2; CC1 A1 Q1; av1 j_, m_ : If j m, 0, a j, m. Flatten Solve Flatten Table EE10 k, l CC1 k, l, k, NN, l, NN, Delete Flatten Table a k, l, k, NN, l, NN, Array 1 4 1 &, NN ; P1 Array av1, NN, NN ; PreQ2 A1 Q1.P1 A2; Q2 DiagonalMatrix Diagonal PreQ2 ; Using (6) and (7) we compute P 2 and R: Asymptotic Methods.nb 8/5/11 The Mathematica Journal volume:issue year Wolfram Media, Inc.

8 Author(s) prep2 Array aa, 3, 3 ; CC21 A2 Q2 DiagonalMatrix Diagonal A2 Q2 ; CC22 A1.P1 P1.Q1 DiagonalMatrix Diagonal A1.P1 P1.Q1 ; av2 j_, m_ : If j m, 0, aa j, m. Flatten Solve Flatten Table EE20 k, l CC21 k, l CC22 k, l, k, NN, l, NN, Delete Flatten Table aa k, l, k, NN, l, NN, Array 1 4 1 &, NN ; P2 Array av2, NN, NN ; PreR A1 Q1.P2 A2 Q2.P1 A3; R DiagonalMatrix Diagonal PreR ; We are ready to compute asymptotic solutions after a of change basis: In[25]:= prev Simplify MatrixExp Log t R. MatrixExp t^3 Q0 3 t^2 Q1 2 t Q2 ; V Simplify TT.preV ; Now, we multiply rows of the solution matrix by various power of t to produce the various asymptotic estimates of solutions to L y 0 which we can read off from the columns of Soln. In[27]:= S DiagonalMatrix Array t^ rr 1 &, NN ; Soln S.V; MatrixForm Soln Out[27]//MatrixForm= 1 3 t 2 3 t 2 t2 2 1 t 32 9 3 t 2 3 t 2 t2 t 14 9 1 6 t 4 3 t 2 t2 1 t 22 9 1 6 t 4 3 t 2 t2 0 t 4 9 4 1 3 t 2 3 t 2 t2 t 4 9 1 6 t 4 3 t 2 t2 t 14 9 0 We find three different types of behavior for asymptotic solutions: rapid decay, rapid growth, and a constant solution. We can check that any constant function is indeed a solution, so the constant behavior is precise and not just asymptotic in this case. Moreover, any solution y is majorized by Soln 1, 2 t 22 9 1 6 t 4 3 t 2 t2. The Mathematica Journal volume:issue year Wolfram Media, Inc. Asymptotic Methods.nb 8/5/11

Article Title 9 Graphical Results We check our results using two approaches. First we simply graph ratios w Soln 2, 1 with numerical solutions w. Let us consider this using a non-constant solution arising from the initial values w 0, w' 0, w " 0 0,1,0 (the analysis for initial values 0, 0, 1 is similar and we invite the reader to check): In[28]:= diffop y''' t 2 t^4 y' t t^2 3 t y'' t ; initvprob NDSolve diffop 0, y 0 0, y' 0 1, y'' 0 0, y t, t, 0, 15 ; Plot y t Soln 1, 2. initvprob, t, 0, 15, PlotRange All, AxesLabel t, ratio 0.20 0.15 Out[29]= 0.10 0.05 t We are able to produce graphs using default options of NDSolve[ ] only for moderate domains of t. For our second approach we mollify the operator by replacing y t y t t 22 9 1 t 4 3 t 2 t2 6, thereby theoretically guaranteeing bounded solutions y on intervals away from the origin t 0. Asymptotic Methods.nb 8/5/11 The Mathematica Journal volume:issue year Wolfram Media, Inc.

10 Author(s) In[30]:= newdiffop Simplify D y t Soln 1, 2, t, 3 2 t^4 D y t Soln 1, 2, t, 1 t^2 3 t D y t Soln 1, 2, t, 2 Soln 1, 2 ; t0 30; Mollified NDSolve newdiffop 0, y t0 1, y' t0 0, y'' t0 0, y t, t, t0, t0 200 ; Plot y t. Mollified, t, t0, t0 200, AxesLabel t, y 1.010 1.008 Out[30]= 1.006 1.004 1.002 t We find instability as we calculate relative errors over large intervals (see [5]) likewise to those of the previous section. Alternatively, we use a mollified operator along with a linear change of variable to calculate solutions on intervals for large t. We apply the transformation t Τ q after applying the mollification procedure above: Then the initial value problem applied near t 0 for the new problem is equivalent to solving the original near t q for large q. We find that in this way we can accurately compute solutions on large intervals in t: The Mathematica Journal volume:issue year Wolfram Media, Inc. Asymptotic Methods.nb 8/5/11

Article Title 11 In[31]:= Manipulate newfactor Soln 1, 2. t Τ q; newdiffop Simplify D y Τ newfactor, Τ, 3 2 Τ q ^4 D y Τ newfactor, Τ, 1 Τ q ^2 3 Τ q D y Τ newfactor, Τ, 2 newfactor ; newsol NDSolve newdiffop 0, y 0 10, y' 0 0, y'' 0 0, y Τ, Τ, 2500 ; Plot y Τ. newsol, Τ, 0, 200, AxesLabel Τ, y, q, 400, 500 q 440 10.0025 Out[31]= 10.0020 10.0015 10.0010 10.0005 Τ We note that the advantage here is that our end result is of the form y t t 22 9 1 6 t 4 3 t 2 t2 for large t where y is computed with considerable accuracy and the other terms are known exactly. Conclusions Asymptotic Methods.nb 8/5/11 The Mathematica Journal volume:issue year Wolfram Media, Inc.

12 Author(s) We find that classical techniques of asymptotics can be calculated symbolically and in an automated way via simple matrix manipulations. These estimates can serve to check accuracy of numerical solutions both for scalar equations and for systems of equations of the types studied. Moreover, these estimates may serve to transform differential equations to certain mollified versions which admit solutions bounded as t : As solutions of mollified problems can be computed with accuracy and stability, with the transformation in elementary form, accuracy in our calculations is improved overall. Acknowledgments The author would like to thank the members of Madison Area Science and Technology for their discussions of Mathematica programming and various applications. References E. Coddington and N. Levinson, Theory of Ordinary Differential Equations, New York: Mc- Graw-Hill, 1955. F. Brower and J. Nohel, The Qualitative Theory of Ordinary Differential Equations: An Introduction, New York: W. A. Benjamin Inc., 1969. C. Bender and S. Orzag, Advanced Mathematical Methods for Scientists and Engineers, New York: McGraw-Hill, 1978. [4] Nayfeh, Perturbation Methods, New York: Wiley, 1973. [5] C. Winfield, Application of Mathematica to a Third-Order Ordinary Differential Equation, MAST Research Log (05/18/2011) http://www.madscitech.org/rlog/rlog1.html. [6] A. Iserles, A First Course in the Numerical Analysis of Differential Equations, New York: Cambridge University Press, 2009. J. C. Butcher, Numerical Methods for Ordinary Differential Equations, Wiley, Chichester: Wiley, 2003. M. Solfroniou and R. Knapp, Wolfram Mathematica Tutorial Collection: Advanced Numerical Differential Equations Solving in Mathematica: Champaign, Wolfram Research, Inc, 2008. About the Author Dr. Winfield holds a PhD in Mathematics/Real Analysis from UCLA (1996) and an MS in Physics from UW-Madison (1989). He has publications in partial differential equations, quantum scattering theory and cosmology/einstein s equation. He currently works as consultant with the Madison Area Science and Technology group based in Madison WI. Christopher Winfield cjwinfield@madscitech.org The Mathematica Journal volume:issue year Wolfram Media, Inc. Asymptotic Methods.nb 8/5/11