Numerical Solutions to Partial Differential Equations

Size: px
Start display at page:

Download "Numerical Solutions to Partial Differential Equations"

Transcription

1 Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University

2 A Model Problem and Its Difference Approximations 1-D Initial Boundary Value Problem of Heat Equation 1-D Initial Boundary Value Problem of Heat Equation The standard model problem: Homogeneous heat equation with homogeneous Dirichlet boundary condition u t = u xx, 0 < x < 1, t > 0, (1) u(x, 0) = u 0 (x), 0 x 1, (2) u(0, t) = u(1, t) = 0, t > 0. (3) 1 A sequence of independent nontrivial special solutions: u k (x, t) = e k2 π 2t sin kπx, k = 1, 2,. 2 / 37

3 A Model Problem and Its Difference Approximations Analytical Solutions of the Homogeneous Heat Equation Analytical Solutions of the Homogeneous Heat Equation 2 If the initial data u 0 has a Fourier sine expansion where a k = u 0 (x) = a k sin kπx, k=1 u 0 (x) sin kπx dx, k = 1, 2,, 3 then, the solution to the model problem (1)-(3) can be written as u(x, t) = a k e k2 π 2t sin kπx. k=1 3 / 37

4 A Model Problem and Its Difference Approximations Finite Difference Discretization of the Heat Equation Grid and Grid Function 1 Spatial grid: h = h N = x = 1/N, and x = h, = 0, 1,, N; 2 Temporal grid: τ = t, and t m = m τ, m = 0, 1, ; 3 Grid function: U = U (h,τ) = {U m : = 0, 1,, N; m = 0, 1, }; Next, we are going to discuss finite difference schemes of heat equations and their analytical properties. 4 / 37

5 The Explicit Scheme for the Heat Equation An Explicit Scheme of the Heat Equation Substituting / t by +t / t; Substituting 2 / x 2 by δ 2 x/( x) 2 ; leads to the explicit difference scheme U m U m+1 τ = Um +1 2Um + U 1 m h 2, 1 N 1; m 0; (4) U 0 = u 0, 0 N; (5) U m 0 = U m N = 0, m 1. (6) The explicit scheme (4) can be equivalently written as [ +t τ ] δ2 x h 2 U m = 0. 5 / 37

6 The Explicit Scheme for the Heat Equation The Stencil of the Explicit Scheme of the Heat Equation The scheme (4) is called an explicit scheme, since U m+1 = (1 2µ)U m + µ ( U m 1 + U m +1),, where µ = τ/h 2 is called the grid ratio of the heat equation, thus, can be explicitly calculated from U m node by node. U m+1 t m+1 m 1 +1 x 6 / 37

7 Truncation Error of the Explicit Scheme By comparing[ the explicit ] scheme and [ the heat] equation +t δ2 x τ h 2 U m = 0, t 2 x 2 u = 0, we introduce the truncation operator [ ] [ ] +t T = T (h,τ) := δ2 x τ h 2 t 2 x 2. For sufficiently smooth u, by Taylor series expansion, +t u(x, t) = u t (x, t) t+ 1 2 u tt(x, t)( t) u ttt(x, t)( t) 3 +, δ 2 xu(x, t) = u xx (x, t)( x) u xxxx(x, t)( x) 4 +. Hence the truncation error can be written as Tu(x, t) = 1 2 u tt(x, t)τ 1 12 u xxxx(x, t)h 2 + O(τ 2 + h 4 ).

8 Truncation Error, Consistency and Order of Accuracy Truncation Error of the Explicit Scheme We can also use another form of the Taylor expansion of u at (x, t) +t u(x, t) = u t (x, t) t u tt(x, η)( t) 2, δ 2 xu(x, t) = u xx (x, t)( x) u xxxx(ξ, t)( x) 4, where η (t, t + τ), ξ (x h, x + h), to express the truncation error in the form Tu(x, t) = 1 2 u tt(x, η)τ 1 12 u xxxx(ξ, t)h 2. 8 / 37

9 Truncation Error, Consistency and Order of Accuracy Consistency and Order of Accuracy of the Explicit Scheme Since, for smooth u, the truncation error satisfy Tu(x, t) = 1 2 u tt(x, η)τ 1 12 u xxxx(ξ, t)h 2, 1 [τ 1 +t h 2 δ 2 x] is consistent with [ t 2 x ], since Tu(x, t) 0, as h 0, τ 0, (x, t) (0, 1) R +. 2 The explicit scheme is of first and second order accurate with respect to time and space, since Tu(x, t) = O(τ) + O(h 2 ). 3 Tu(x, t) 1 2 M tt τ M xxxx h 2, (x, t) Ω tmax, where Ω tmax (0, 1) (0, t max ), M tt = sup (x,t) Ωtmax u tt (x, t) and M xxxx = sup (x,t) Ωtmax u xxxx (x, t). 9 / 37

10 L Stability and Convergence of the Explicit Scheme 1 Error: e m = U m u m, = 0, 1,, N, m = 0, 1,. 2 The error equation (compare τ 1 +t U m = h 2 δxu 2 m + f m ): e m+1 e m = em +1 2em + e 1 m τ h 2 T m, 1 N 1; m 0; (7) e 0 = 0, 0 N; (8) e m 0 = e m N = 0, m 1, (9) 3 Stability (uniformly well-posedness of (7)-(9), to be proved): ( ) e,ωtmax C 1 max 0 N e0 + max ( e0 m + en m )) +C 2 T,Ωtmax 0<mτ t max 4 A priori error estimate e,ωtmax C(M tt τ + M xxxx h 2 ). What remains to show is the stability.

11 Stability and Convergence of the Explicit Scheme L Stability of the Explicit Scheme 1 Define Ω = Ω ( tmax, Ω D = {(x, t) Ω tmax : t = 0, or x = 0, 1}, δ L (h,τ) U m+1 2 = x ( x) 2 ) +t U m, then the conditions (1), (2) t of the maximum principle are satisfied, if 0 < µ 1/2 (Exercises 2.4). 2 Proper comparison function can also be found (Exercises 2.5). 3 The explicit scheme and its error equation: L (h,τ) U m+1 = f m, L (h,τ) e m+1 = T m ; 4 The stability then follows from the maximum principle. 11 / 37

12 Stability and Convergence of the Explicit Scheme L Stability of the Explicit Scheme For parabolic problems, we have an alternative approach. The explicit scheme and its error equation (µ = τ/h 2 ): U m+1 = (1 2µ)U m + µ ( U 1 m + U+1 m ) + τ f m, e m+1 = (1 2µ)e m + µ ( e 1 m + e+1 m ) τ T m. If µ 1 2, em+1 max 0 N em + τ T m, = 1, 2,, N 1; where T m = max T m. Therefore, for all m 0, we have 1 N 1 { ( ) max max max 0 N e0, max max e0, l en }+τ l 1 l m 1 N 1 em+1 m T l. l=0 12 / 37

13 Stability and Convergence of the Explicit Scheme L Stability Condition of the Explicit Scheme If the grid ratio satisfies µ t/( x) 2 1/2, then, the explicit scheme has the following properties (C-1) stability: for all m 0, { max max max 0 N U0, max max ( U0, l UN l ) } +t max f,ωtmax, 1 l m 1 N 1 Um+1 e,ωtmax max 0 N e0 + max max ( e0 m, en m )) + t max T,Ωtmax ; 0<mτ t max 13 / 37

14 Stability and Convergence of the Explicit Scheme L Stability Condition of the Explicit Scheme (C-2) convergence rate is O(τ) (or O(h 2 )), more precisely ( 1 e,ωtmax τ ) M xxxx t max. 12µ (Recall Tu(x, t) 1 2 M tt τ M xxxx h 2, µ = τ h 2 and u t = u xx ) 14 / 37

15 Stability and Convergence of the Explicit Scheme Refinement Path and Condition of L Stability τ = r(h) is said to give a refinement path, if r is a strictly increasing function and r(0) = 0. (C-2) can be rewritten as (C-3) Let {h i } i=1 satisfy lim i 0 h i = 0. Let the refinement path τ = r(h) satisfy µ i = r(h i )/h 2 i 1/2. Suppose the solution u of (1)-(3) satisfies that u xxxx C on (0, 1) (0, t max ). Then the solution sequence U (i) of (4)-(6), with grid sizes (h i, τ i = r(h i )), converge uniformly on [0, 1] [0, t max ] to u, and the convergence rate is O(h 2 i ). 15 / 37

16 Stability and Convergence of the Explicit Scheme Refinement Path and Condition of L Stability The convergence rate is optimal. However, for any fixed grid spacing, as t max, we lost control on the error. Recall that, if f = 0, the( exact solution ) u(x, t) 0, as 1 t, e,ωtmax τ + 1 M 2 12µ xxxx t max is certainly not a satisfactory error estimate for large t max. Better results on error estimates can be obtained by applying the maximum principle and choosing proper comparison functions (Exercises 2.5 and 2.6). 16 / 37

17 Stability and Convergence of the Explicit Scheme Fourier Analysis and L 2 Stability of the Explicit Scheme Similar as the model problem (1)-(3), the difference problem U m+1 τ U m = Um +1 2Um + U m 1 h 2, 1 N 1; m 0, U 0 = u 0, 0 N, U m 0 = U m N = 0, m 1, can also be solved by the method of separation of variables. 17 / 37

18 Stability and Convergence of the Explicit Scheme Fourier Analysis and L 2 Stability of the Explicit Scheme In fact, any given general constant-coefficient linear homogeneous difference equation defined on a uniform grid on [ 1, 1] [0, ) admits a complete set of Fourier modes solutions: U (k)m = λ m k eikπ x, N + 1 N, N + 1 k N, x = 1/N: λ k = λ k e i arg λ k : the spatial grid size, the amplification factor, λ k : relative change in the modulus arg λ k : the change in the phase angle of the corresponding Fourier mode in one time step. 18 / 37

19 Stability and Convergence of the Explicit Scheme Fourier Modes and Characteristic Equations Substituting the Fourier mode U m = λ m k eikπ N into the homogeneous explicit difference scheme U m+1 = U m + µ ( U m 1 2U m + U m +1), yields the characteristic equation of the explicit scheme [ 1 + µ λ m+1 k e ikπ N = λ m k e ikπ N (e ikπ 1 N + e ikπ 1 N 2 )], which has a unique solution λ k = 1 4 µ sin 2 kπ x / 37

20 A Necessary L 2 Stability Condition: von Neumann condition The stability of the computation requires that all Fourier modes should be uniformly bounded, i.e. there exist a constant C independent of N and k such that λ m k C, mτ t max, N + 1 k N. Assume C > 1, 2τ t max, and set m = [t max /τ], hence m t max /τ 1 t max /2τ. Since C s is a concave function of C if 0 < s < 1, the above condition implies λ k C 1/ m 1 + (C 1)/ m 1 + 2τ(C 1)/t max, which leads to the following necessary condition, usually called the von Neumann condition, for the L 2 stability: there exists a constant K independent of N and k such that λ k 1 + K τ, N + 1 k N.

21 Stability and Convergence of the Explicit Scheme A Necessary L 2 Stability Condition of the Explicit Scheme Take k = N, since λ N = 1 4µ, it follows from the von Neumann condition for the L 2 stability: λ k 1 + K τ, N + 1 k N, we obtain a necessary condition for the L 2 stability of the explicit scheme: 1 1 4µ 1, or more concisely (since µ > 0) µ 1 2. In fact, if µ > 1/2, it follows from λ N = 1 4µ < 1 that the modulus of λ m N eiπ will grow exponentially fast as m increases. Thus the scheme is unstable for µ > 1/2. 21 / 37

22 A Sufficient L 2 Stability Condition of the Explicit Scheme On the other hand, if µ 1 kπ 2, then 0 4 µ sin2 2N λ k 1, N + 1 k N. 2, thus (C-4) µ 1 2 the L 2 stability of the explicit scheme. Proof: Let U 0 = 1 2 N k= N+1 (U 0 ) k e ikπ N. Then, U m = 1 2 N k= N+1 λ m k (U 0 ) k e ikπ N. Thus, it follows from λ k 1, k and the Parseval relation that U m 2 2 = (U N m ) 2 2 = λ m k (U 0 2 N ) k (U 0 2 ) k = U k= N+1 k= N+1

23 Stability and Convergence of the Explicit Scheme A Sufficient L 2 Stability Condition of the Explicit Scheme Rewrite the explicit scheme as U m+1 = N (U m ), then, we have shown that, for µ 1/2, N (U m ) 2 U m 2 U 0 2. The corresponding error equation is e m+1 = N (e m ) τt m, thus we have e m+1 2 = N (e m ) τt m 2 e m 2 + τ T m 2 m e τ T l 2. This shows that the dependence of the solution of the explicit scheme on the right hand side as well as the initial data is uniformly continuous in the L 2 norm, therefore is L 2 stable. l=0 23 / 37

24 Stability and Convergence of the Explicit Scheme L 2 Convergence of the Explicit Scheme Since, for µ 1/2, the error of the explicit scheme satisfies m e m+1 2 e τ T l 2, if the corresponding consistency holds, say lim h 0 e 0 2 = 0 and lim τ m T l 2 = 0, m t max /τ, τ 0 l=0 then the difference solution is convergent. Note, if Tu(, t) 2 is a uniformly continuous function of t, then [tmax /τ] lim τ τ 0 l=0 T l 2 = 0 lim τ 0 l=0 tmax 0 Tu(, t) 2 dt = / 37

25 Stability and Convergence of the Explicit Scheme L 2 Convergence of the Explicit Scheme (C-5) Suppose 1 {h i } i=1 satisfies lim i 0 h i = 0; 2 the refinement path r satisfies µ i = r(h i )/h 2 i 1/2; 3 the solution u satisfies u xxxx C(( 1, 1) R + ) and tmax 0 u xxxx (, t) 2 dt <. Then, max e (i)m 2 = O(hi 2 ). 0<mτ i t max Remark: Here it is assumed that e (i)0 2 = O(hi 2 ), i.e. the initial data is approximated with second order accuracy. 25 / 37

26 Stability and Convergence of the Explicit Scheme Summary of the 1st Order Forward Explicit Scheme 1 A sufficient and necessary condition for L 2 stability, also a sufficient condition for L stability: µ = τ/h 2 1/2, a rather strict restriction on the time step; 2 Convergence rate O(τ + h 2 ). 3 Easy to solve, and the computational cost is low. Question: is it possible to develop an explicit scheme so that the stability condition is relaxed to say τ = O(h), and the convergence rate is O(τ 2 + h 2 ). 26 / 37

27 Stability and Convergence of the Explicit Scheme The Richardson scheme The Richardson scheme (with truncation error O(τ 2 + h 2 )): U m+1 U m 1 = Um +1 2Um + U 1 m 2τ h 2. Substitute the Fourier mode U m = λ m k eikπ x into the scheme, we are led to the characteristic equation of the Richardson scheme: λ 2 k + 8λ kµ sin 2 kπ x 1 = 0. 2 The equation has two distinct real roots λ ± k, and for all k 0, λ + k + kπ x λ k = 8µ sin2 < 0, λ + 2 k λ k = 1, λ k < 1. Hence, the Richardson scheme is unconditionally unstable. 27 / 37

28 The Du Fort-Frankel scheme The Du Fort-Frankel scheme: U m+1 U m 1 2τ = Um +1 (Um+1 + U m 1 ) + U 1 m h 2. The characteristic equation of the Du Fort-Frankel scheme: (1 + 2µ)λ 2 k 4λ kµ cos(kπ x) (1 2µ) = 0, which has roots λ ± k = 2µ cos(kπ x)± 1 4µ 2 sin 2 (kπ x) 1+2µ. If 4µ 2 sin 2 (kπ x) > 1, λ ± k are conugate complex roots, hence λ ± k = λ+ k λ k = (1 2µ)/(1 + 2µ) < 1; If 4µ 2 sin 2 (kπ x) 1, λ ± k (2µ cos(kπ x) +1)/(1 + 2µ) 1. Consequently Du Fort-Frankel scheme is unconditionally L 2 stable. The truncation error is T m = O(( τ h )2 ) + O(τ 2 + h 2 ) + O( τ 4 h 2 ). consistent if τ = o(h); convergence rate O(h 2 ) only if τ = O(h 2 ).

29 Stability and Convergence of the Explicit Scheme No Explicit Scheme Can Unconditionally Converge Since the solution of the heat equation picks up information globally on the initial and the boundary data, it is impossible to develop an explicit scheme which is unconditionally stable and at the same time unconditionally consistent. In fact, to guarantee an explicit scheme to converge, τ = o(h) must hold on the refinement path. Therefore, it is necessary to develop implicit finite difference schemes for the parabolic partial differential equations. 29 / 37

30 The 1st Order Backward Implicit Finite Difference Scheme The initial-boundary value problem of the simplest implicit finite difference scheme for the model problem (2.2.1)-(2.2.3): U m+1 τ U m = Um Um+1 + U m+1 1 h 2, 1 N 1; m 0; U 0 = u 0, 0 N; U m 0 = U m N = 0, m 1. The scheme can be equivalently rewritten as (1 + 2µ)U m+1 = µu m Um + µu m The truncation [ operator ] [ T (h,τ) := t τ δ2 t x h 2 t 2 x ]. 2 L (h,τ) = δ2 x t ( x) 2 t. Maximum principle holds for Ω = Ω tmax, Ω D = {(x, t) Ω tmax : x = 0, 1 or t = 0}. m+1 m 1 +1 x

31 The Implicit Schemes The 1st Order Backward Implicit Finite Difference Scheme Truncation Error and Order of Accuracy The truncation operator T (h,τ) := [ t τ ] [ δ2 x h 2 t ]. 2 x 2 By the Taylor series expansion, the truncation error of the 1st order backward implicit scheme is Tu(x, t) = 1 2 u tt(x, t)τ 1 12 u xxxx(x, t)h 2 + O(τ 2 + h 4 ), Tu(x, t) = 1 2 u tt(x, η)τ 1 12 u xxxx(ξ, t)h 2. Thus the 1st order backward implicit scheme is consistent with the heat equation, and is of first and second order accurate with respect to time and space respectively, i.e. Tu(x, t) = O(τ + h 2 ). 31 / 37

32 The Implicit Schemes The 1st Order Backward Implicit Finite Difference Scheme L Stability of the 1st Order Backward Implicit Scheme The 1st order backward implicit scheme and its error equation can be equivalently written as ( ) (1 + 2µ)U m+1 = U m + µ U m Um τ f m+1, ( ) (1 + 2µ)e m+1 = e m + µ e m em+1 +1 τ T m+1. Thus, for any µ > 0 and for all m 0, { ( ) } max 1 N 1 em+1 max max 0 N e0, max max e0, l en l +τ 1 l m+1 Hence, the 1st order backward implicit scheme is unconditionally L stable and satisfies the maximum principle. Better estimate can be obtained by taking proper comparison functions. m+1 l=1 T l. 32 / 37

33 The Implicit Schemes The 1st Order Backward Implicit Finite Difference Scheme L 2 Stability of the 1st Order Backward Implicit Scheme Substituting the Fourier mode U m = λ m k eikπ x into the homogeneous 1st order backward implicit scheme, yields the characteristic equations of the scheme [ )] λ m+1 k e ikπ N 1 µ (e ikπ 1 N + e ikπ 1 N 2 = λ m k eikπ N, which has a unique solution λ k = µ sin 2 kπ x 2 Hence, the 1st order backward implicit scheme is unconditionally L 2 stable.. 33 / 37

34 The Implicit Schemes The 1st Order Backward Implicit Finite Difference Scheme Efficiency of the 1st Order Backward Implicit Scheme 1 Unconditionally L 2 and L stable, can use larger τ; 2 Convergence rate O(τ + h 2 ), τ = O(h 2 ), for efficiency. 3 Need to solve a tridiagonal and diagonally dominant linear system, and the computational cost is about twice that of the 1st order forward explicit scheme if solved by the Thompson method (forward elimination and backward substitution). 4 More efficient only if µ > 1, the computational cost is about 1/µ of that of the 1st order forward explicit scheme. Better, but not good enough. 34 / 37

35 The Crank-Nicolson scheme The well known Crank-Nicolson scheme: U m+1 [ U m = 1 U m +1 2U m + U 1 m τ 2 h 2 (1 + µ)u m+1 = (1 µ)u m + µ 2 + Um Um+1 + U m+1 1 h 2 ( U m 1 + U m +1 + U m+1 1 [ 1 T m+ 1 2 = 1 12 u ttt (x, η)τ 2 + u xxxx (ξ, t m+ 1 )h ]; 2 2 [ ] [ ] 2 λ k = 1 2 µ sin 2 kπ x 2 / µ sin 2 kπ x 2, thus unconditionally L 2 stable. ) + Um The computational cost is about twice that of the explicit scheme if solved by the Thompson method. 4 The maximum principle holds for µ 1. 5 Convergence rate is O(τ 2 + h 2 ), efficient if τ = O(h). ] ;

36 The Implicit Schemes The Crank-Nicolson scheme and θ-scheme The θ-scheme (0 < θ < 1, θ 1/2) U m+1 τ U m = (1 θ) Um +1 2Um + U m 1 h 2 (1+2µθ)U m+1 = (1 2µ(1 θ))u m +µ(1 θ) ( U m 1 + U m +1 + θ Um Um+1 + U m+1 1 h 2 ; ) +µθ (U m Um+1 +1 ). 1 T m+ 1 2 = O(τ 2 + h 4 ), if θ = [ [ 12µ ; = O(τ + h2 ), otherwise. ], thus ] / 2 λ k = 1 4(1 θ) µ sin 2 kπ x θ µ sin 2 kπ x 2 L 2 stable for 2µ (1 2θ) 1 (unconditional for θ 1/2). 3 The maximum principle holds for 2µ(1 θ) / 37

37 SK 2µ5, 10, 12; þåš 1 Thank You!

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University The Implicit Schemes for the Model Problem The Crank-Nicolson scheme and θ-scheme

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University A Model Problem in a 2D Box Region Let us consider a model problem of parabolic

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Introduction to Hyperbolic Equations The Hyperbolic Equations n-d 1st Order Linear

More information

Finite difference method for heat equation

Finite difference method for heat equation Finite difference method for heat equation Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in/~praveen

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Modified Equation of a Difference Scheme What is a Modified Equation of a Difference

More information

Tutorial 2. Introduction to numerical schemes

Tutorial 2. Introduction to numerical schemes 236861 Numerical Geometry of Images Tutorial 2 Introduction to numerical schemes c 2012 Classifying PDEs Looking at the PDE Au xx + 2Bu xy + Cu yy + Du x + Eu y + Fu +.. = 0, and its discriminant, B 2

More information

Finite difference methods for the diffusion equation

Finite difference methods for the diffusion equation Finite difference methods for the diffusion equation D150, Tillämpade numeriska metoder II Olof Runborg May 0, 003 These notes summarize a part of the material in Chapter 13 of Iserles. They are based

More information

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations Numerical Analysis of Differential Equations 215 6 Numerical Solution of Parabolic Equations 6 Numerical Solution of Parabolic Equations TU Bergakademie Freiberg, SS 2012 Numerical Analysis of Differential

More information

Introduction to numerical schemes

Introduction to numerical schemes 236861 Numerical Geometry of Images Tutorial 2 Introduction to numerical schemes Heat equation The simple parabolic PDE with the initial values u t = K 2 u 2 x u(0, x) = u 0 (x) and some boundary conditions

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Discretization of Boundary Conditions Discretization of Boundary Conditions On

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Numerical Methods for Partial Differential Equations Finite Difference Methods

More information

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 28 PART II Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 29 BOUNDARY VALUE PROBLEMS (I) Solving a TWO

More information

FDM for parabolic equations

FDM for parabolic equations FDM for parabolic equations Consider the heat equation where Well-posed problem Existence & Uniqueness Mass & Energy decreasing FDM for parabolic equations CNFD Crank-Nicolson + 2 nd order finite difference

More information

Numerical Algorithms for Visual Computing II 2010/11 Example Solutions for Assignment 6

Numerical Algorithms for Visual Computing II 2010/11 Example Solutions for Assignment 6 Numerical Algorithms for Visual Computing II 00/ Example Solutions for Assignment 6 Problem (Matrix Stability Infusion). The matrix A of the arising matrix notation U n+ = AU n takes the following form,

More information

Computation Fluid Dynamics

Computation Fluid Dynamics Computation Fluid Dynamics CFD I Jitesh Gajjar Maths Dept Manchester University Computation Fluid Dynamics p.1/189 Garbage In, Garbage Out We will begin with a discussion of errors. Useful to understand

More information

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems Lecture Notes on Numerical Schemes for Flow and Transport Problems by Sri Redeki Pudaprasetya sr pudap@math.itb.ac.id Department of Mathematics Faculty of Mathematics and Natural Sciences Bandung Institute

More information

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems Lecture Notes on Numerical Schemes for Flow and Transport Problems by Sri Redeki Pudaprasetya sr pudap@math.itb.ac.id Department of Mathematics Faculty of Mathematics and Natural Sciences Bandung Institute

More information

Evolution equations with spectral methods: the case of the wave equation

Evolution equations with spectral methods: the case of the wave equation Evolution equations with spectral methods: the case of the wave equation Jerome.Novak@obspm.fr Laboratoire de l Univers et de ses Théories (LUTH) CNRS / Observatoire de Paris, France in collaboration with

More information

Implicit Scheme for the Heat Equation

Implicit Scheme for the Heat Equation Implicit Scheme for the Heat Equation Implicit scheme for the one-dimensional heat equation Once again we consider the one-dimensional heat equation where we seek a u(x, t) satisfying u t = νu xx + f(x,

More information

Finite Difference Methods for Boundary Value Problems

Finite Difference Methods for Boundary Value Problems Finite Difference Methods for Boundary Value Problems October 2, 2013 () Finite Differences October 2, 2013 1 / 52 Goals Learn steps to approximate BVPs using the Finite Difference Method Start with two-point

More information

12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis

12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis ATH 337, by T. Lakoba, University of Vermont 113 12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis 12.1 Formulation of the IBVP and the minimax property of its

More information

Approximations of diffusions. Mathématiques appliquées (MATH0504-1) B. Dewals, Ch. Geuzaine

Approximations of diffusions. Mathématiques appliquées (MATH0504-1) B. Dewals, Ch. Geuzaine Lecture 3b Approximations of diffusions Mathématiques appliquées (MATH0504-1) B. Dewals, Ch. Geuzaine V1.1 04/10/2018 1 Learning objectives Become aware of the existence of stability conditions for the

More information

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation:

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation: Chapter 7 Heat Equation Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation: u t = ku x x, x, t > (7.1) Here k is a constant

More information

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 13

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 13 REVIEW Lecture 12: Spring 2015 Lecture 13 Grid-Refinement and Error estimation Estimation of the order of convergence and of the discretization error Richardson s extrapolation and Iterative improvements

More information

Numerical Methods for PDEs

Numerical Methods for PDEs Numerical Methods for PDEs Problems 1. Numerical Differentiation. Find the best approximation to the second drivative d 2 f(x)/dx 2 at x = x you can of a function f(x) using (a) the Taylor series approach

More information

Domain decomposition schemes with high-order accuracy and unconditional stability

Domain decomposition schemes with high-order accuracy and unconditional stability Domain decomposition schemes with high-order accuracy and unconditional stability Wenrui Hao Shaohong Zhu March 7, 0 Abstract Parallel finite difference schemes with high-order accuracy and unconditional

More information

Applied Mathematics 205. Unit III: Numerical Calculus. Lecturer: Dr. David Knezevic

Applied Mathematics 205. Unit III: Numerical Calculus. Lecturer: Dr. David Knezevic Applied Mathematics 205 Unit III: Numerical Calculus Lecturer: Dr. David Knezevic Unit III: Numerical Calculus Chapter III.3: Boundary Value Problems and PDEs 2 / 96 ODE Boundary Value Problems 3 / 96

More information

Multi-Factor Finite Differences

Multi-Factor Finite Differences February 17, 2017 Aims and outline Finite differences for more than one direction The θ-method, explicit, implicit, Crank-Nicolson Iterative solution of discretised equations Alternating directions implicit

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q ! Revised Tuesday, December 8, 015! 1 Chapter 7: Diffusion Copyright 015, David A. Randall 7.1! Introduction Diffusion is a macroscopic statistical description of microscopic advection. Here microscopic

More information

A CCD-ADI method for unsteady convection-diffusion equations

A CCD-ADI method for unsteady convection-diffusion equations A CCD-ADI method for unsteady convection-diffusion equations Hai-Wei Sun, Leonard Z. Li Department of Mathematics, University of Macau, Macao Abstract With a combined compact difference scheme for the

More information

Lecture 4.5 Schemes for Parabolic Type Equations

Lecture 4.5 Schemes for Parabolic Type Equations Lecture 4.5 Schemes for Parabolic Type Equations 1 Difference Schemes for Parabolic Equations One-dimensional problems: Consider the unsteady diffusion problem (parabolic in nature) in a thin wire governed

More information

PDEs, part 3: Hyperbolic PDEs

PDEs, part 3: Hyperbolic PDEs PDEs, part 3: Hyperbolic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2011 Hyperbolic equations (Sections 6.4 and 6.5 of Strang). Consider the model problem (the

More information

Numerical Analysis of Differential Equations Numerical Solution of Elliptic Boundary Value

Numerical Analysis of Differential Equations Numerical Solution of Elliptic Boundary Value Numerical Analysis of Differential Equations 188 5 Numerical Solution of Elliptic Boundary Value Problems 5 Numerical Solution of Elliptic Boundary Value Problems TU Bergakademie Freiberg, SS 2012 Numerical

More information

The method of lines (MOL) for the diffusion equation

The method of lines (MOL) for the diffusion equation Chapter 1 The method of lines (MOL) for the diffusion equation The method of lines refers to an approximation of one or more partial differential equations with ordinary differential equations in just

More information

The Convergence of Mimetic Discretization

The Convergence of Mimetic Discretization The Convergence of Mimetic Discretization for Rough Grids James M. Hyman Los Alamos National Laboratory T-7, MS-B84 Los Alamos NM 87545 and Stanly Steinberg Department of Mathematics and Statistics University

More information

Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation

Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation Chapter 3. Finite Difference Methods for Hyperbolic Equations 3.1. Introduction Most hyperbolic problems involve the transport of fluid properties. In the equations of motion, the term describing the transport

More information

Basics of Discretization Methods

Basics of Discretization Methods Basics of Discretization Methods In the finite difference approach, the continuous problem domain is discretized, so that the dependent variables are considered to exist only at discrete points. Derivatives

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations We call Ordinary Differential Equation (ODE) of nth order in the variable x, a relation of the kind: where L is an operator. If it is a linear operator, we call the equation

More information

n 1 f n 1 c 1 n+1 = c 1 n $ c 1 n 1. After taking logs, this becomes

n 1 f n 1 c 1 n+1 = c 1 n $ c 1 n 1. After taking logs, this becomes Root finding: 1 a The points {x n+1, }, {x n, f n }, {x n 1, f n 1 } should be co-linear Say they lie on the line x + y = This gives the relations x n+1 + = x n +f n = x n 1 +f n 1 = Eliminating α and

More information

Chapter 5. Numerical Methods: Finite Differences

Chapter 5. Numerical Methods: Finite Differences Chapter 5 Numerical Methods: Finite Differences As you know, the differential equations that can be solved by an explicit analytic formula are few and far between. Consequently, the development of accurate

More information

Finite Differences: Consistency, Stability and Convergence

Finite Differences: Consistency, Stability and Convergence Finite Differences: Consistency, Stability and Convergence Varun Shankar March, 06 Introduction Now that we have tackled our first space-time PDE, we will take a quick detour from presenting new FD methods,

More information

Finite Difference Methods for

Finite Difference Methods for CE 601: Numerical Methods Lecture 33 Finite Difference Methods for PDEs Course Coordinator: Course Coordinator: Dr. Suresh A. Kartha, Associate Professor, Department of Civil Engineering, IIT Guwahati.

More information

The goal of this chapter is to study linear systems of ordinary differential equations: dt,..., dx ) T

The goal of this chapter is to study linear systems of ordinary differential equations: dt,..., dx ) T 1 1 Linear Systems The goal of this chapter is to study linear systems of ordinary differential equations: ẋ = Ax, x(0) = x 0, (1) where x R n, A is an n n matrix and ẋ = dx ( dt = dx1 dt,..., dx ) T n.

More information

The One-Dimensional Heat Equation

The One-Dimensional Heat Equation The One-Dimensional Heat Equation R. C. Trinity University Partial Differential Equations February 24, 2015 Introduction The heat equation Goal: Model heat (thermal energy) flow in a one-dimensional object

More information

Introduction to PDEs and Numerical Methods Tutorial 4. Finite difference methods stability, concsistency, convergence

Introduction to PDEs and Numerical Methods Tutorial 4. Finite difference methods stability, concsistency, convergence Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Introduction to PDEs and Numerical Methods Tutorial 4. Finite difference methods stability, concsistency, convergence Dr. Noemi Friedman,

More information

An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations.

An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations. An Efficient Algorithm Based on Quadratic Spline Collocation and Finite Difference Methods for Parabolic Partial Differential Equations by Tong Chen A thesis submitted in conformity with the requirements

More information

ECE539 - Advanced Theory of Semiconductors and Semiconductor Devices. Numerical Methods and Simulation / Umberto Ravaioli

ECE539 - Advanced Theory of Semiconductors and Semiconductor Devices. Numerical Methods and Simulation / Umberto Ravaioli ECE539 - Advanced Theory of Semiconductors and Semiconductor Devices 1 General concepts Numerical Methods and Simulation / Umberto Ravaioli Introduction to the Numerical Solution of Partial Differential

More information

Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen

Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Introduction to PDEs and Numerical Methods Lecture 6: Numerical solution of the heat equation with FD method: method of lines, Euler

More information

DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science

DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science ANSWERS OF THE TEST NUMERICAL METHODS FOR DIFFERENTIAL EQUATIONS ( WI3097 TU AESB0 ) Thursday April 6

More information

M.Sc. in Meteorology. Numerical Weather Prediction

M.Sc. in Meteorology. Numerical Weather Prediction M.Sc. in Meteorology UCD Numerical Weather Prediction Prof Peter Lynch Meteorology & Climate Centre School of Mathematical Sciences University College Dublin Second Semester, 2005 2006. In this section

More information

MATH 205C: STATIONARY PHASE LEMMA

MATH 205C: STATIONARY PHASE LEMMA MATH 205C: STATIONARY PHASE LEMMA For ω, consider an integral of the form I(ω) = e iωf(x) u(x) dx, where u Cc (R n ) complex valued, with support in a compact set K, and f C (R n ) real valued. Thus, I(ω)

More information

Numerical explorations of a forward-backward diffusion equation

Numerical explorations of a forward-backward diffusion equation Numerical explorations of a forward-backward diffusion equation Newton Institute KIT Programme Pauline Lafitte 1 C. Mascia 2 1 SIMPAF - INRIA & U. Lille 1, France 2 Univ. La Sapienza, Roma, Italy September

More information

Finite Difference Method for PDE. Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36

Finite Difference Method for PDE. Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36 Finite Difference Method for PDE Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36 1 Classification of the Partial Differential Equations Consider a scalar second order partial

More information

Numerical Integration of Linear and Nonlinear Wave Equations

Numerical Integration of Linear and Nonlinear Wave Equations University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Dissertations, Theses, and Student Research Papers in Mathematics Mathematics, Department of 12-2004 Numerical Integration

More information

Finite Difference Method

Finite Difference Method Capter 8 Finite Difference Metod 81 2nd order linear pde in two variables General 2nd order linear pde in two variables is given in te following form: L[u] = Au xx +2Bu xy +Cu yy +Du x +Eu y +Fu = G According

More information

Finite Difference Methods (FDMs) 2

Finite Difference Methods (FDMs) 2 Finite Difference Methods (FDMs) 2 Time- dependent PDEs A partial differential equation of the form (15.1) where A, B, and C are constants, is called quasilinear. There are three types of quasilinear equations:

More information

Finite Difference and Finite Element Methods

Finite Difference and Finite Element Methods Finite Difference and Finite Element Methods Georgy Gimel farb COMPSCI 369 Computational Science 1 / 39 1 Finite Differences Difference Equations 3 Finite Difference Methods: Euler FDMs 4 Finite Element

More information

Chapter 10. Numerical Methods

Chapter 10. Numerical Methods Chapter 0 Numerical Methods As you know, most differential equations are far too complicated to be solved by an explicit analytic formula Thus, the development of accurate numerical approximation schemes

More information

Numerical methods for complex systems. S. V. Gurevich

Numerical methods for complex systems. S. V. Gurevich Numerical methods for complex systems S. V. Gurevich December 16, 2008 2 Part I Partial Differential Equations 3 Chapter 1 Intorduction 1.1 Definition, Notation and Classification A differential equation

More information

Research Article L-Stable Derivative-Free Error-Corrected Trapezoidal Rule for Burgers Equation with Inconsistent Initial and Boundary Conditions

Research Article L-Stable Derivative-Free Error-Corrected Trapezoidal Rule for Burgers Equation with Inconsistent Initial and Boundary Conditions International Mathematics and Mathematical Sciences Volume 212, Article ID 82197, 13 pages doi:1.1155/212/82197 Research Article L-Stable Derivative-Free Error-Corrected Trapezoidal Rule for Burgers Equation

More information

Additive Manufacturing Module 8

Additive Manufacturing Module 8 Additive Manufacturing Module 8 Spring 2015 Wenchao Zhou zhouw@uark.edu (479) 575-7250 The Department of Mechanical Engineering University of Arkansas, Fayetteville 1 Evaluating design https://www.youtube.com/watch?v=p

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

Chapter 4. MAC Scheme. The MAC scheme is a numerical method used to solve the incompressible Navier-Stokes. u = 0

Chapter 4. MAC Scheme. The MAC scheme is a numerical method used to solve the incompressible Navier-Stokes. u = 0 Chapter 4. MAC Scheme 4.1. MAC Scheme and the Staggered Grid. The MAC scheme is a numerical method used to solve the incompressible Navier-Stokes equation in the velocity-pressure formulation: (4.1.1)

More information

2.3. Quantitative Properties of Finite Difference Schemes. Reading: Tannehill et al. Sections and

2.3. Quantitative Properties of Finite Difference Schemes. Reading: Tannehill et al. Sections and 3 Quantitative Properties of Finite Difference Schemes 31 Consistency, Convergence and Stability of FD schemes Reading: Tannehill et al Sections 333 and 334 Three important properties of FD schemes: Consistency

More information

arxiv: v1 [physics.comp-ph] 22 Feb 2013

arxiv: v1 [physics.comp-ph] 22 Feb 2013 Numerical Methods and Causality in Physics Muhammad Adeel Ajaib 1 University of Delaware, Newark, DE 19716, USA arxiv:1302.5601v1 [physics.comp-ph] 22 Feb 2013 Abstract We discuss physical implications

More information

Time stepping methods

Time stepping methods Time stepping methods ATHENS course: Introduction into Finite Elements Delft Institute of Applied Mathematics, TU Delft Matthias Möller (m.moller@tudelft.nl) 19 November 2014 M. Möller (DIAM@TUDelft) Time

More information

A Novel Approach with Time-Splitting Spectral Technique for the Coupled Schrödinger Boussinesq Equations Involving Riesz Fractional Derivative

A Novel Approach with Time-Splitting Spectral Technique for the Coupled Schrödinger Boussinesq Equations Involving Riesz Fractional Derivative Commun. Theor. Phys. 68 2017 301 308 Vol. 68, No. 3, September 1, 2017 A Novel Approach with Time-Splitting Spectral Technique for the Coupled Schrödinger Boussinesq Equations Involving Riesz Fractional

More information

FDM for wave equations

FDM for wave equations FDM for wave equations Consider the second order wave equation Some properties Existence & Uniqueness Wave speed finite!!! Dependence region Analytical solution in 1D Finite difference discretization Finite

More information

Time-dependent variational forms

Time-dependent variational forms Time-dependent variational forms Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Oct 30, 2015 PRELIMINARY VERSION

More information

Introduction to standard and non-standard Numerical Methods

Introduction to standard and non-standard Numerical Methods Introduction to standard and non-standard Numerical Methods Dr. Mountaga LAM AMS : African Mathematic School 2018 May 23, 2018 One-step methods Runge-Kutta Methods Nonstandard Finite Difference Scheme

More information

Convergence and Error Bound Analysis for the Space-Time CESE Method

Convergence and Error Bound Analysis for the Space-Time CESE Method Convergence and Error Bound Analysis for the Space-Time CESE Method Daoqi Yang, 1 Shengtao Yu, Jennifer Zhao 3 1 Department of Mathematics Wayne State University Detroit, MI 480 Department of Mechanics

More information

1 Introduction. J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods

1 Introduction. J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods 1 Introduction Achieving high order time-accuracy in the approximation of the incompressible Navier Stokes equations by means of fractional-step

More information

Block-Structured Adaptive Mesh Refinement

Block-Structured Adaptive Mesh Refinement Block-Structured Adaptive Mesh Refinement Lecture 2 Incompressible Navier-Stokes Equations Fractional Step Scheme 1-D AMR for classical PDE s hyperbolic elliptic parabolic Accuracy considerations Bell

More information

An Exponential High-Order Compact ADI Method for 3D Unsteady Convection Diffusion Problems

An Exponential High-Order Compact ADI Method for 3D Unsteady Convection Diffusion Problems An Exponential High-Order Compact ADI Method for 3D Unsteady Convection Diffusion Problems Yongbin Ge, 1 Zhen F. Tian, 2 Jun Zhang 3 1 Institute of Applied Mathematics and Mechanics, Ningxia University,

More information

Math 251 December 14, 2005 Answer Key to Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Math 251 December 14, 2005 Answer Key to Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt Name Section Math 51 December 14, 5 Answer Key to Final Exam There are 1 questions on this exam. Many of them have multiple parts. The point value of each question is indicated either at the beginning

More information

A Hybrid Method for the Wave Equation. beilina

A Hybrid Method for the Wave Equation.   beilina A Hybrid Method for the Wave Equation http://www.math.unibas.ch/ beilina 1 The mathematical model The model problem is the wave equation 2 u t 2 = (a 2 u) + f, x Ω R 3, t > 0, (1) u(x, 0) = 0, x Ω, (2)

More information

3.3. Phase and Amplitude Errors of 1-D Advection Equation

3.3. Phase and Amplitude Errors of 1-D Advection Equation 3.3. Phase and Amplitude Errors of 1-D Advection Equation Reading: Duran section 2.4.2. Tannehill et al section 4.1.2. The following example F.D. solutions of a 1D advection equation show errors in both

More information

10 The Finite Element Method for a Parabolic Problem

10 The Finite Element Method for a Parabolic Problem 1 The Finite Element Method for a Parabolic Problem In this chapter we consider the approximation of solutions of the model heat equation in two space dimensions by means of Galerkin s method, using piecewise

More information

Numerical Solution of partial differential equations

Numerical Solution of partial differential equations G. D. SMITH Brunei University Numerical Solution of partial differential equations FINITE DIFFERENCE METHODS THIRD EDITION CLARENDON PRESS OXFORD Contents NOTATION 1. INTRODUCTION AND FINITE-DIFFERENCE

More information

A Brief Introduction to Numerical Methods for Differential Equations

A Brief Introduction to Numerical Methods for Differential Equations A Brief Introduction to Numerical Methods for Differential Equations January 10, 2011 This tutorial introduces some basic numerical computation techniques that are useful for the simulation and analysis

More information

Examples include: (a) the Lorenz system for climate and weather modeling (b) the Hodgkin-Huxley system for neuron modeling

Examples include: (a) the Lorenz system for climate and weather modeling (b) the Hodgkin-Huxley system for neuron modeling 1 Introduction Many natural processes can be viewed as dynamical systems, where the system is represented by a set of state variables and its evolution governed by a set of differential equations. Examples

More information

FINITE DIFFERENCES. Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations.

FINITE DIFFERENCES. Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations. FINITE DIFFERENCES Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations. 1. Introduction When a function is known explicitly, it is easy

More information

UNIVERSITY OF MANITOBA

UNIVERSITY OF MANITOBA Question Points Score INSTRUCTIONS TO STUDENTS: This is a 6 hour examination. No extra time will be given. No texts, notes, or other aids are permitted. There are no calculators, cellphones or electronic

More information

Lecture 5: Single Step Methods

Lecture 5: Single Step Methods Lecture 5: Single Step Methods J.K. Ryan@tudelft.nl WI3097TU Delft Institute of Applied Mathematics Delft University of Technology 1 October 2012 () Single Step Methods 1 October 2012 1 / 44 Outline 1

More information

Notes on Numerical Analysis

Notes on Numerical Analysis Notes on Numerical Analysis Alejandro Cantarero This set of notes covers topics that most commonly show up on the Numerical Analysis qualifying exam in the Mathematics department at UCLA. Each section

More information

Introduction to the Numerical Solution of IVP for ODE

Introduction to the Numerical Solution of IVP for ODE Introduction to the Numerical Solution of IVP for ODE 45 Introduction to the Numerical Solution of IVP for ODE Consider the IVP: DE x = f(t, x), IC x(a) = x a. For simplicity, we will assume here that

More information

Stochastic Processes

Stochastic Processes Stochastic Processes A very simple introduction Péter Medvegyev 2009, January Medvegyev (CEU) Stochastic Processes 2009, January 1 / 54 Summary from measure theory De nition (X, A) is a measurable space

More information

Partial Differential Equations

Partial Differential Equations Part II Partial Differential Equations Year 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2015 Paper 4, Section II 29E Partial Differential Equations 72 (a) Show that the Cauchy problem for u(x,

More information

Lecture 4.2 Finite Difference Approximation

Lecture 4.2 Finite Difference Approximation Lecture 4. Finite Difference Approimation 1 Discretization As stated in Lecture 1.0, there are three steps in numerically solving the differential equations. They are: 1. Discretization of the domain by

More information

Math 4263 Homework Set 1

Math 4263 Homework Set 1 Homework Set 1 1. Solve the following PDE/BVP 2. Solve the following PDE/BVP 2u t + 3u x = 0 u (x, 0) = sin (x) u x + e x u y = 0 u (0, y) = y 2 3. (a) Find the curves γ : t (x (t), y (t)) such that that

More information

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

An Introduction to Numerical Methods for Differential Equations. Janet Peterson An Introduction to Numerical Methods for Differential Equations Janet Peterson Fall 2015 2 Chapter 1 Introduction Differential equations arise in many disciplines such as engineering, mathematics, sciences

More information

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs AM 205: lecture 14 Last time: Boundary value problems Today: Numerical solution of PDEs ODE BVPs A more general approach is to formulate a coupled system of equations for the BVP based on a finite difference

More information

CS205B / CME306 Homework 3. R n+1 = R n + tω R n. (b) Show that the updated rotation matrix computed from this update is not orthogonal.

CS205B / CME306 Homework 3. R n+1 = R n + tω R n. (b) Show that the updated rotation matrix computed from this update is not orthogonal. CS205B / CME306 Homework 3 Rotation Matrices 1. The ODE that describes rigid body evolution is given by R = ω R. (a) Write down the forward Euler update for this equation. R n+1 = R n + tω R n (b) Show

More information

Differentiation and Integration

Differentiation and Integration Differentiation and Integration (Lectures on Numerical Analysis for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 12, 2018 1 University of Pennsylvania 2 Boston College Motivation

More information

Third part: finite difference schemes and numerical dispersion

Third part: finite difference schemes and numerical dispersion Tird part: finite difference scemes and numerical dispersion BCAM - Basque Center for Applied Matematics Bilbao, Basque Country, Spain BCAM and UPV/EHU courses 2011-2012: Advanced aspects in applied matematics

More information

Fourier Series. Department of Mathematical and Statistical Sciences University of Alberta

Fourier Series. Department of Mathematical and Statistical Sciences University of Alberta 1 Lecture Notes on Partial Differential Equations Chapter IV Fourier Series Ilyasse Aksikas Department of Mathematical and Statistical Sciences University of Alberta aksikas@ualberta.ca DEFINITIONS 2 Before

More information

2.2. Methods for Obtaining FD Expressions. There are several methods, and we will look at a few:

2.2. Methods for Obtaining FD Expressions. There are several methods, and we will look at a few: .. Methods for Obtaining FD Expressions There are several methods, and we will look at a few: ) Taylor series expansion the most common, but purely mathematical. ) Polynomial fitting or interpolation the

More information

A proof for the full Fourier series on [ π, π] is given here.

A proof for the full Fourier series on [ π, π] is given here. niform convergence of Fourier series A smooth function on an interval [a, b] may be represented by a full, sine, or cosine Fourier series, and pointwise convergence can be achieved, except possibly at

More information

2 Two-Point Boundary Value Problems

2 Two-Point Boundary Value Problems 2 Two-Point Boundary Value Problems Another fundamental equation, in addition to the heat eq. and the wave eq., is Poisson s equation: n j=1 2 u x 2 j The unknown is the function u = u(x 1, x 2,..., x

More information