Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

Size: px
Start display at page:

Download "Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations"

Transcription

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

2 Numerical Analysis of Differential Equations The One-Dimensional Model Problem We consider the following initial boundary value problem (IBVP) modelling heat flow in a thin rod, i.e., in one space dimension: u t = κu xx, x (0, 1), t > 0, (6.1a) u(0, t) = g 0 (t), t > 0, (6.1b) u(1, t) = g 1 (t), t > 0, (6.1c) u(x, 0) = u 0 (x), x [0, 1] (6.1d) with given (constant) heat conductivity κ (which we set to one in the following) as well as (possibly time-dependent) Dirichlet boundary values g 0, g 1 and initial data u The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

3 Numerical Analysis of Differential Equations 217 Steady-state version: u xx = 0, u(0) = g 0, u(1) = g 1. Analogous IBVP in 2D and 3D: u t = u + initial and boundary data. Related: linear ordinary differential equation u t = Au, u : t u(t) R n. Here linear differential operator xx in place of matrix A. 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

4 Numerical Analysis of Differential Equations 218 Series solution by separation of variables: in special cases an analytic representation of the (exact) solution may be constructed using the technique of separation of variables. This is helpful for checking numerical approximations and provides important insight into the structure of the solution. Inserting the special trial solution u(x, t) = f(x)g(t) into the PDE u t = u xx results in fg = f g, i.e. For each value of k we obtain a solution g g = f f = const. =: k2. u k (x, t) = e k2t sin(kx) of u t = u xx. The boundary condition u(0, t) = u(1, t) = 0 constrains k to the discrete values k = k m := mπ, m N. 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

5 Numerical Analysis of Differential Equations 219 Due to the linearity and homogeneity of u t = u xx any linear combination of these solutions is also a solution. If we succeed in finding coefficients a m in such a way that u 0 (x) = a m sin(mπx), then the series u(x, t) := solves the complete IBVP (6.1). m=1 m=1 a m e m2 π 2t sin(mπx) Since the functions {sin(mπx)} m=1 form a complete orthogonal system of the function space L 2 (0, 1), this is possible for all u 0 L 2 (0, 1). The coefficients are given by a m = u 0 (x) sin(mπx) dx. 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

6 Numerical Analysis of Differential Equations 220 Example: u 0 (x) = 1 2 x 1 2. Here the coefficients are a m = 8 mπ m 2 sin π2 2, m N N=1 N=3 N=5 N=19 u 0 (x) x Partial sums N m=1 a m sin(mπx) of the Fourier series of u The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

7 Numerical Analysis of Differential Equations t=0 t=1/ m Decay of first 4 nonzero Fourier coefficients of u x 0 1 Fourier series solution of IBVP (6.1) with κ = 1 and u 0 (x) = 1 2 x 1 2 in domain (x, t) [0, 1] [0, 1] t The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

8 Numerical Analysis of Differential Equations 222 We first discretize the IBVP (6.1) in the spatial variable x only, leaving time t continuous. To this end we proceed as in the elliptic case and introduce the grid points 0 = x 0 < x 1 < < x J < x J+1 = 1 using a fixed grid spacing x = 1/(J + 1) and approximate u xx x=xj [A x u] j, j = 1, 2,..., J, with A x = 1 tridiag(1, 2, 1). (6.2) x2 If u = u(t) denotes the vector with components u j (t) u(x j, t), t > 0, j = 1, 2,..., J, 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

9 Numerical Analysis of Differential Equations 223 then (6.1) is transformed into the semi-discrete system of ODEs u (t) = A x u(t) + g(t), u(0) = u 0, (6.3a) (6.3b) with [u 0 ] j = u 0 (x j ), j = 1, 2,..., J as well as g(t) = 1/( x 2 )[g 0 (t), 0,..., 0, g 1 (t)] R J. We can now solve (6.3) with known numerical methods for solving ODEs. Introducing the fixed time step t > 0, we set U n j [u(t n )] j u(x j, t n ), t n = n t. The approximation of the solution of a time-dependent PDE as a system of ODEs along the lines {(x j, t) : t > 0} is known as the method of lines. 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

10 Numerical Analysis of Differential Equations 224 Applying the explicit Euler method to (6.3) (setting g 0 (t) = g 1 (t) = 0 for now) leads to U n+1 j = Uj n + t ( U n x 2 j 1 2Uj n + Uj+1 n ), 1 j J, n = 0, 1, This corresponds to the finite difference approximation Uj n } t {{ } u t U n+1 j = U n j 1 2U n j + U n j+1 x 2 }{{} u xx (6.4) of the differential equation (6.1a). In matrix notation: U n+1 = (I + t A x )U n, n = 0, 1, 2,..., with U n = [U1 n, U2 n,..., UJ n]. 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

11 Numerical Analysis of Differential Equations 225 We define the local discretisation error of the difference scheme (6.4) to be the residual obtained on inserting the exact solution into the difference scheme: d(x, t) := u(x, t + t) u(x, t) t u(x x, t) 2u(x, t) + u(x + x, t) x 2. Using Taylor expansions in (x, t) one easily obtains: ( ) t d ee (x, t) = 2 x2 u xxxx + O( t 2 ) + O( x 4 ). (6.5) 12 Terminology: the explicit Euler method for solving the heat equation is consistent of first order in time and of second order in space. 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

12 Numerical Analysis of Differential Equations 226 Besides the asymptotic statement (6.5) we also require upper bounds for d. Truncating the Taylor expansions with a remainder term, we obtain in time u(x, t + t) = (u + t u t ) (x,t) + t2 2 u tt(x, τ), τ (t, t + t). Proceeding analogously in x yields d ee (x, t) = t 2 u tt(x, τ) x2 12 u xxxx(ξ, t), ξ (x x, x + x), and we obtain, setting µ := t x 2, d ee (x, t) t 2 M tt x2 12 M xxxx = t 2 assuming u tt M tt und u xxxx M xxxx on [0, 1] [0, T ]. ( M tt + 1 ) 6µ M xxxx, (6.6) 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

13 Numerical Analysis of Differential Equations 227 Applying the implicit Euler method to (6.3) one obtains, in place of (6.4), the implicit difference scheme U n+1 j t U n j = U n+1 j 1 n+1 2Uj + U n+1 j+1 x 2. (6.7) The calculation of u n+1 from u n is seen to require the solution of a linear system of equations with coefficient matrix I ta x. Here Taylor expansion results in a local discretization error of ( ) t d ie (x, t) = 2 + x2 u xxxx + O( t 2 ) + O( x 4 ) The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

14 Numerical Analysis of Differential Equations 228 Applying instead the trapezoidal rule, which for an ODE y (t) = f (t, y(t)) is given by y n+1 = y n + t 2 [ f (tn, y n ) + f (t n+1, y n+1 ) ] yields another implicit scheme U n+1 j Uj n = 1 ( U n j 1 2Uj n + U j+1 n t 2 x 2 + U n+1 j 1 n+1 2Uj + U n+1 ) j+1 x 2, which in this context is known as the Crank-Nicolson scheme a. This method is also implicit, requiring in each time step the solution of a linear system of equations with the coefficient matrix I t 2 A x. For Crank-Nicolson (CN) there holds d CN (x, t) = O( t 2 ) + O( x 2 ). a J. CRANK AND P. NICOLSON (1947) 6.1 The One-Dimensional Model Problem TU Bergakademie Freiberg, SS 2012

15 Numerical Analysis of Differential Equations Convergence All three methods considered so far are consistent, i.e., at all points (x, t) of the domain we have d(x, t) 0 as x 0 and t 0. To analyze their convergence, we proceed as in the case of numerical methods for ODEs and consider a finite time interval t [0, T ], T > 0 as well as a sequence of grids with grid spacings x 0, t 0 and determine whether at every fixed grid point (x j, t n ) also the global error u(x j, t n ) Uj n tends to zero uniformly. A sequence of grid spacings {( x) k, ( t) k } can approach the point (0, 0) in different ways. The following figure shows different refinement curves in the ( x, t)-plane. We will see that the explicit Euler method converges only if the refinement satisfies µ := t x Convergence TU Bergakademie Freiberg, SS 2012

16 Numerical Analysis of Differential Equations t = x 2 /4 t = x 2 /2 t = x 2 t = x t = x/2 0.3 t x Different refinement curves t, x 0: red: t/ x 2 = const, blue: t/ x = const. 6.2 Convergence TU Bergakademie Freiberg, SS 2012

17 Numerical Analysis of Differential Equations 231 Theorem 6.1 If a sequence of grids satisfies µ k = ( t) k ( x) 2 k 1 2 for all k sufficiently large, and if for the corresponding sequences {j k } and {n k } there holds n k ( t) k t [0, T ], j k ( x) k x [0, 1], then, under the assumption that u xxxx M xxxx uniformly in [0, 1] [0, T ], the approximations generated by the explicit Euler method (6.4) converge to the exact solution u(x, t) as k uniformly on [0, 1] [0, T ]. 6.2 Convergence TU Bergakademie Freiberg, SS 2012

18 Numerical Analysis of Differential Equations expl. Euler dx=1/10 expl. Euler dx=1/20 Crank Nicolson, dx = 1/10 Crank Nicolson, dx = 1/ E n t Error E(t n ) = max j u n j U n j of numerical solution of model problem(6.1) with g 0 = g 1 = 0 and u 0 (x) = x(1 x) obtained with explicit Euler method with t = x 2 /2 and the Crank-Nicolson method with t = x/ Convergence TU Bergakademie Freiberg, SS 2012

19 Numerical Analysis of Differential Equations Stability In the method of lines, an ODE solver is applied to the semidiscrete system (6.3). Recalling the regions of absolute stability of the explicit and implicit Euler and trapezoidal methods, we are led to investigate the behavior of the eigenvalues of the matrix A x in (6.2) as x explicit Euler R( λ) = 1 + λ implicit Euler R( λ) = 1 1 λ trapezoidal R( λ) = 1+ λ/2 1 λ/2 6.3 Stability TU Bergakademie Freiberg, SS 2012

20 Numerical Analysis of Differential Equations 234 The eigenvalues of A x (cf. (5.7)) are given by λ j = 4 jπ x x 2 sin2, j = 1, 2..., J. 2 The eigenvalue of largest magnitude is λ J = 4 ( π ) x 2 sin2 2 (1 x) Therefore, in order to satisfy = 4 x 2 + π2 + O ( x 2). R ( t λ j ) 1 for all j = 1, 2,..., J in the explicit Euler method, it is necessary that t x (6.8) Both implicit Euler and the trapezoidal rule are absolutely stable methods. Therefore, as all eigenvalues of A x lie in the left half plane, the requirement of absolute stability places no constraints on the time step t. Since the CN scheme (trapezoidal rule) is consisten of order 2 in both x and t, this suggests a time step t x. 6.3 Stability TU Bergakademie Freiberg, SS 2012

21 Numerical Analysis of Differential Equations 235 Absolute stability describes the behavior of a numerical approximation u n at time t n of the solution of an ODE as n. The appropriate stability concept for the convergence analysis of numerical methods for solving IVPs for PDEs was developed by Lax a and Richtmyer b. All three methods considered so far can be written in the form c U n+1 = B( t)u n + g n ( t), n = 0, 1,... (6.9) with different matrices B( t) given in each case by B ee ( t) = I + t A x, (6.10a) B ie ( t) = (I t A x ) 1, ( B CN ( t) = I t ) 1 ( 2 A x I + t ) 2 A x a PETER D. LAX ( 1906) b ROBERT DAVIS RICHTMYER ( ) c We assume that t is chosen as a fixed given function of x. (6.10b). (6.10c) 6.3 Stability TU Bergakademie Freiberg, SS 2012

22 Numerical Analysis of Differential Equations 236 A linear finite difference scheme of the form (6.9) is called Lax-Richtmyer stable, if for any fixed stopping time T there exists a constant K T > 0 such that B( t) n K T, t > 0 and n N, n t T. Theorem 6.2 (Lax-Richtmyer equivalence theorem) A consistent linear finite difference scheme (6.9) is convergent if, and only if, it is Lax-Richtmyer stable. Examples: For the explicit Euler method applied to (6.1) the resulting matrix (6.10a) is normal, implying B( t) 2 = ρ(b( t)). If condition (6.8) is satisfied, we have B( t) 2 1, implying that the explicit Euler method is Lax-Richtmyer stable and therefore convergent. The implicit Euler and Crank-Nicolson schemes are also Lax-Richtmyer stable but without constraints on the mesh ratio or time step. 6.3 Stability TU Bergakademie Freiberg, SS 2012

23 Numerical Analysis of Differential Equations 237 Remark 6.3 In all three schemes considered so far we were able to show the stronger statement B( t) 1, which is sometimes called strong stability. However, strong stability is not necessary for Lax-Richtmyer stability. More precisely, for Lax-Richtmyer stability it is necessary that there exist a constant α such that B( t) 1 + α t (6.11) for all sufficiently small time steps t, which is evident from the inequality B( t) n (1 + α t) n e αt, n t T. 6.3 Stability TU Bergakademie Freiberg, SS 2012

24 Numerical Analysis of Differential Equations Von-Neumann Analysis A formal procedure based on Fourier analysis for determining stability bounds was introduced by von Neumann a. In general, von Neumann analysis only yields necessary conditions, which are also sufficient only in special cases, among these linear PDEs with constant coefficients, unbounded spatial domain (Cauchy problem) or periodic boundary conditions, uniform grid. Fundamental fact: in the continuous case (x R) the functions e iξx, ξ R, are eigenfunctions of the differential operator x, i.e., x e iξx = iξ e iξx, and thus are also eigenfunctions of any linear differential operator with constant coefficients. a JOHN VON NEUMANN ( ) 6.4 Von-Neumann Analysis TU Bergakademie Freiberg, SS 2012

25 Numerical Analysis of Differential Equations 239 On the unbounded spatial grid {x j = j x} j Z the grid function v j := e iξx j = e iξj x, j Z, is an eigenfunction of any difference operator with constant coefficients. Example: For the central difference operator δ 0 defined as (δ 0 v) j := (v j+1 v j 1 )/(2 x) there holds δ 0 v j := (δ 0 v) j = eiξ(j+1) x e iξ(j 1) x 2 x = i x sin(ξ x) v j The power series expansion = eiξ x e iξ x 2 x e iξj x i x sin(ξ x) = i x (ξ x (ξ x)3 6 + O ( (ξ x) 5)) = iξ + O( x 2 ξ 3 ) shows that the eigenvalue of δ 0 approximates the corresponding eigenvalue of x. 6.4 Von-Neumann Analysis TU Bergakademie Freiberg, SS 2012

26 Numerical Analysis of Differential Equations 240 Any grid function on {x j = j x : j Z} can be represented as the superposition v j = 1 2π π/ x π/ x v(ξ)e iξj x dξ, j Z of grid waves e iξj x, ξ [ π, π ] with Fourier coefficients v(ξ) given by x x v(ξ) = x j= v j e iξj x, ξ [ π x, π ]. x If the magnitude of grid functions and their Fourier coefficients are measured by v = ( x j= v j 2 ) 1/2 then Parseval s identity states that and v = ( π/ x π/ x v(ξ) 2 dξ) 1/2, v = 2π v. (6.12) 6.4 Von-Neumann Analysis TU Bergakademie Freiberg, SS 2012

27 Numerical Analysis of Differential Equations 241 The bound B 1 + α t requires verifying Bu (1 + α t) u u. According to (6.12), an equivalent condition is Bu (1 + α t) û û, (6.13) which is easier to show because the Fourier coefficients are decoupled. For a one-step method one obtains û n+1 (ξ) = g(ξ) û n (ξ) with a so-called amplification factor g(ξ). If we are able to show that g(ξ) 1 + α t. with a constant α which is independent of ξ, then this implies (6.13). 6.4 Von-Neumann Analysis TU Bergakademie Freiberg, SS 2012

28 Numerical Analysis of Differential Equations 242 Examples: (a) For the explicit Euler scheme applied to (6.3) we obtain the amplification factor g(ξ) = 1 4 t ξ x sin2 x2 2. (b) For Crank-Nicolson, g(ξ) = 1 + z(ξ) t ( ), z(ξ) = 1 z(ξ) x cos(ξ x) 0 ξ. 6.4 Von-Neumann Analysis TU Bergakademie Freiberg, SS 2012

7 Hyperbolic Differential Equations

7 Hyperbolic Differential Equations Numerical Analysis of Differential Equations 243 7 Hyperbolic Differential Equations While parabolic equations model diffusion processes, hyperbolic equations model wave propagation and transport phenomena.

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

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 The Implicit Schemes for the Model Problem The Crank-Nicolson scheme and θ-scheme

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

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 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 and Its Difference Approximations 1-D Initial Boundary Value

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

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

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

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

Chapter 10 Exercises

Chapter 10 Exercises Chapter 10 Exercises From: Finite Difference Methods for Ordinary and Partial Differential Equations by R. J. LeVeque, SIAM, 2007. http://www.amath.washington.edu/ rl/fdmbook Exercise 10.1 (One-sided and

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

Introduction to PDEs and Numerical Methods: Exam 1

Introduction to PDEs and Numerical Methods: Exam 1 Prof Dr Thomas Sonar, Institute of Analysis Winter Semester 2003/4 17122003 Introduction to PDEs and Numerical Methods: Exam 1 To obtain full points explain your solutions thoroughly and self-consistently

More information

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems Index A-conjugate directions, 83 A-stability, 171 A( )-stability, 171 absolute error, 243 absolute stability, 149 for systems of equations, 154 absorbing boundary conditions, 228 Adams Bashforth methods,

More information

Midterm 2: Sample solutions Math 118A, Fall 2013

Midterm 2: Sample solutions Math 118A, Fall 2013 Midterm 2: Sample solutions Math 118A, Fall 213 1. Find all separated solutions u(r,t = F(rG(t of the radially symmetric heat equation u t = k ( r u. r r r Solve for G(t explicitly. Write down an ODE for

More information

Problem set 3: Solutions Math 207B, Winter Suppose that u(x) is a non-zero solution of the eigenvalue problem. (u ) 2 dx, u 2 dx.

Problem set 3: Solutions Math 207B, Winter Suppose that u(x) is a non-zero solution of the eigenvalue problem. (u ) 2 dx, u 2 dx. Problem set 3: Solutions Math 27B, Winter 216 1. Suppose that u(x) is a non-zero solution of the eigenvalue problem u = λu < x < 1, u() =, u(1) =. Show that λ = (u ) 2 dx u2 dx. Deduce that every eigenvalue

More information

Wave Equation With Homogeneous Boundary Conditions

Wave Equation With Homogeneous Boundary Conditions Wave Equation With Homogeneous Boundary Conditions MATH 467 Partial Differential Equations J. Robert Buchanan Department of Mathematics Fall 018 Objectives In this lesson we will learn: how to solve the

More information

2.4 Eigenvalue problems

2.4 Eigenvalue problems 2.4 Eigenvalue problems Associated with the boundary problem (2.1) (Poisson eq.), we call λ an eigenvalue if Lu = λu (2.36) for a nonzero function u C 2 0 ((0, 1)). Recall Lu = u. Then u is called an eigenfunction.

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

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

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

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

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

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

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 11 Partial Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002.

More information

Tong Sun Department of Mathematics and Statistics Bowling Green State University, Bowling Green, OH

Tong Sun Department of Mathematics and Statistics Bowling Green State University, Bowling Green, OH Consistency & Numerical Smoothing Error Estimation An Alternative of the Lax-Richtmyer Theorem Tong Sun Department of Mathematics and Statistics Bowling Green State University, Bowling Green, OH 43403

More information

MA 201: Method of Separation of Variables Finite Vibrating String Problem Lecture - 11 MA201(2016): PDE

MA 201: Method of Separation of Variables Finite Vibrating String Problem Lecture - 11 MA201(2016): PDE MA 201: Method of Separation of Variables Finite Vibrating String Problem ecture - 11 IBVP for Vibrating string with no external forces We consider the problem in a computational domain (x,t) [0,] [0,

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

Part 1. The diffusion equation

Part 1. The diffusion equation Differential Equations FMNN10 Graded Project #3 c G Söderlind 2016 2017 Published 2017-11-27. Instruction in computer lab 2017-11-30/2017-12-06/07. Project due date: Monday 2017-12-11 at 12:00:00. Goals.

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

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

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

Partial Differential Equations Separation of Variables. 1 Partial Differential Equations and Operators

Partial Differential Equations Separation of Variables. 1 Partial Differential Equations and Operators PDE-SEP-HEAT-1 Partial Differential Equations Separation of Variables 1 Partial Differential Equations and Operators et C = C(R 2 ) be the collection of infinitely differentiable functions from the plane

More information

Mathematics Qualifying Exam Study Material

Mathematics Qualifying Exam Study Material Mathematics Qualifying Exam Study Material The candidate is expected to have a thorough understanding of engineering mathematics topics. These topics are listed below for clarification. Not all instructors

More information

Lecture Notes on PDEs

Lecture Notes on PDEs Lecture Notes on PDEs Alberto Bressan February 26, 2012 1 Elliptic equations Let IR n be a bounded open set Given measurable functions a ij, b i, c : IR, consider the linear, second order differential

More information

v(x, 0) = g(x) where g(x) = f(x) U(x). The solution is where b n = 2 g(x) sin(nπx) dx. (c) As t, we have v(x, t) 0 and u(x, t) U(x).

v(x, 0) = g(x) where g(x) = f(x) U(x). The solution is where b n = 2 g(x) sin(nπx) dx. (c) As t, we have v(x, t) 0 and u(x, t) U(x). Problem set 4: Solutions Math 27B, Winter216 1. The following nonhomogeneous IBVP describes heat flow in a rod whose ends are held at temperatures u, u 1 : u t = u xx < x < 1, t > u(, t) = u, u(1, t) =

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Introduction Deng Li Discretization Methods Chunfang Chen, Danny Thorne, Adam Zornes CS521 Feb.,7, 2006 What do You Stand For? A PDE is a Partial Differential Equation This

More information

Discontinuous Galerkin methods for fractional diffusion problems

Discontinuous Galerkin methods for fractional diffusion problems Discontinuous Galerkin methods for fractional diffusion problems Bill McLean Kassem Mustapha School of Maths and Stats, University of NSW KFUPM, Dhahran Leipzig, 7 October, 2010 Outline Sub-diffusion Equation

More information

Math 46, Applied Math (Spring 2009): Final

Math 46, Applied Math (Spring 2009): Final Math 46, Applied Math (Spring 2009): Final 3 hours, 80 points total, 9 questions worth varying numbers of points 1. [8 points] Find an approximate solution to the following initial-value problem which

More information

Math 46, Applied Math (Spring 2008): Final

Math 46, Applied Math (Spring 2008): Final Math 46, Applied Math (Spring 2008): Final 3 hours, 80 points total, 9 questions, roughly in syllabus order (apart from short answers) 1. [16 points. Note part c, worth 7 points, is independent of the

More information

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES 1 BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES 1.1 Separable Partial Differential Equations 1. Classical PDEs and Boundary-Value Problems 1.3 Heat Equation 1.4 Wave Equation 1.5 Laplace s Equation

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

INTRODUCTION TO PDEs

INTRODUCTION TO PDEs INTRODUCTION TO PDEs In this course we are interested in the numerical approximation of PDEs using finite difference methods (FDM). We will use some simple prototype boundary value problems (BVP) and initial

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

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

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

Basic Aspects of Discretization

Basic Aspects of Discretization Basic Aspects of Discretization Solution Methods Singularity Methods Panel method and VLM Simple, very powerful, can be used on PC Nonlinear flow effects were excluded Direct numerical Methods (Field Methods)

More information

Plot of temperature u versus x and t for the heat conduction problem of. ln(80/π) = 820 sec. τ = 2500 π 2. + xu t. = 0 3. u xx. + u xt 4.

Plot of temperature u versus x and t for the heat conduction problem of. ln(80/π) = 820 sec. τ = 2500 π 2. + xu t. = 0 3. u xx. + u xt 4. 10.5 Separation of Variables; Heat Conduction in a Rod 579 u 20 15 10 5 10 50 20 100 30 150 40 200 50 300 x t FIGURE 10.5.5 Example 1. Plot of temperature u versus x and t for the heat conduction problem

More information

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Philippe B. Laval KSU Current Semester Philippe B. Laval (KSU) Key Concepts Current Semester 1 / 25 Introduction The purpose of this section is to define

More information

DUHAMEL S PRINCIPLE FOR THE WAVE EQUATION HEAT EQUATION WITH EXPONENTIAL GROWTH or DECAY COOLING OF A SPHERE DIFFUSION IN A DISK SUMMARY of PDEs

DUHAMEL S PRINCIPLE FOR THE WAVE EQUATION HEAT EQUATION WITH EXPONENTIAL GROWTH or DECAY COOLING OF A SPHERE DIFFUSION IN A DISK SUMMARY of PDEs DUHAMEL S PRINCIPLE FOR THE WAVE EQUATION HEAT EQUATION WITH EXPONENTIAL GROWTH or DECAY COOLING OF A SPHERE DIFFUSION IN A DISK SUMMARY of PDEs MATH 4354 Fall 2005 December 5, 2005 1 Duhamel s Principle

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

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

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Partial differential equations arise in a number of physical problems, such as fluid flow, heat transfer, solid mechanics and biological processes. These

More information

Vibrating Strings and Heat Flow

Vibrating Strings and Heat Flow Vibrating Strings and Heat Flow Consider an infinite vibrating string Assume that the -ais is the equilibrium position of the string and that the tension in the string at rest in equilibrium is τ Let u(,

More information

Method of Separation of Variables

Method of Separation of Variables MODUE 5: HEAT EQUATION 11 ecture 3 Method of Separation of Variables Separation of variables is one of the oldest technique for solving initial-boundary value problems (IBVP) and applies to problems, where

More information

Transforming Nonhomogeneous BCs Into Homogeneous Ones

Transforming Nonhomogeneous BCs Into Homogeneous Ones Chapter 8 Transforming Nonhomogeneous s Into Homogeneous Ones 8.1 Goal In this chapter we look at more challenging example of problems which can be solved by separation of variables. A restriction of the

More information

Analysis III (BAUG) Assignment 3 Prof. Dr. Alessandro Sisto Due 13th October 2017

Analysis III (BAUG) Assignment 3 Prof. Dr. Alessandro Sisto Due 13th October 2017 Analysis III (BAUG Assignment 3 Prof. Dr. Alessandro Sisto Due 13th October 2017 Question 1 et a 0,..., a n be constants. Consider the function. Show that a 0 = 1 0 φ(xdx. φ(x = a 0 + Since the integral

More information

Diffusion on the half-line. The Dirichlet problem

Diffusion on the half-line. The Dirichlet problem Diffusion on the half-line The Dirichlet problem Consider the initial boundary value problem (IBVP) on the half line (, ): v t kv xx = v(x, ) = φ(x) v(, t) =. The solution will be obtained by the reflection

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 19: SEPARATION OF VARIABLES, HEAT CONDUCTION IN A ROD

LECTURE 19: SEPARATION OF VARIABLES, HEAT CONDUCTION IN A ROD ECTURE 19: SEPARATION OF VARIABES, HEAT CONDUCTION IN A ROD The idea of separation of variables is simple: in order to solve a partial differential equation in u(x, t), we ask, is it possible to find a

More information

Introduction to multiscale modeling and simulation. Explicit methods for ODEs : forward Euler. y n+1 = y n + tf(y n ) dy dt = f(y), y(0) = y 0

Introduction to multiscale modeling and simulation. Explicit methods for ODEs : forward Euler. y n+1 = y n + tf(y n ) dy dt = f(y), y(0) = y 0 Introduction to multiscale modeling and simulation Lecture 5 Numerical methods for ODEs, SDEs and PDEs The need for multiscale methods Two generic frameworks for multiscale computation Explicit methods

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

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

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

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

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

1 Separation of Variables

1 Separation of Variables Jim ambers ENERGY 281 Spring Quarter 27-8 ecture 2 Notes 1 Separation of Variables In the previous lecture, we learned how to derive a PDE that describes fluid flow. Now, we will learn a number of analytical

More information

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems.

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems. Printed Name: Signature: Applied Math Qualifying Exam 11 October 2014 Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems. 2 Part 1 (1) Let Ω be an open subset of R

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

Chapter 3 Second Order Linear Equations

Chapter 3 Second Order Linear Equations Partial Differential Equations (Math 3303) A Ë@ Õæ Aë áöß @. X. @ 2015-2014 ú GA JË@ É Ë@ Chapter 3 Second Order Linear Equations Second-order partial differential equations for an known function u(x,

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

Homework 6 Math 309 Spring 2016

Homework 6 Math 309 Spring 2016 Homework 6 Math 309 Spring 2016 Due May 18th Name: Solution: KEY: Do not distribute! Directions: No late homework will be accepted. The homework can be turned in during class or in the math lounge in Pedelford

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

6 Non-homogeneous Heat Problems

6 Non-homogeneous Heat Problems 6 Non-homogeneous Heat Problems Up to this point all the problems we have considered for the heat or wave equation we what we call homogeneous problems. This means that for an interval < x < l the problems

More information

Solving the Heat Equation (Sect. 10.5).

Solving the Heat Equation (Sect. 10.5). Solving the Heat Equation Sect. 1.5. Review: The Stationary Heat Equation. The Heat Equation. The Initial-Boundary Value Problem. The separation of variables method. An example of separation of variables.

More information

Transforming Nonhomogeneous BCs Into Homogeneous Ones

Transforming Nonhomogeneous BCs Into Homogeneous Ones Chapter 10 Transforming Nonhomogeneous s Into Homogeneous Ones 10.1 Goal In the previous chapter, we looked at separation of variables. We saw that this method applies if both the boundary conditions and

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

AMS527: Numerical Analysis II

AMS527: Numerical Analysis II AMS527: Numerical Analysis II Supplementary Material on Finite Different Methods for Two-Point Boundary-Value Problems Xiangmin Jiao Stony Brook University Xiangmin Jiao Stony Brook University AMS527:

More information

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim.

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim. 56 Summary High order FD Finite-order finite differences: Points per Wavelength: Number of passes: D n f(x j ) = f j+n f j n n x df xj = m α m dx n D n f j j n= α m n = ( ) n (m!) (m n)!(m + n)!. PPW =

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II February 23 2017 Separation of variables Wave eq. (PDE) 2 u t (t, x) = 2 u 2 c2 (t, x), x2 c > 0 constant. Describes small vibrations in a homogeneous string. u(t, x)

More information

THE METHOD OF LINES FOR PARABOLIC PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS

THE METHOD OF LINES FOR PARABOLIC PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS JOURNAL OF INTEGRAL EQUATIONS AND APPLICATIONS Volume 4, Number 1, Winter 1992 THE METHOD OF LINES FOR PARABOLIC PARTIAL INTEGRO-DIFFERENTIAL EQUATIONS J.-P. KAUTHEN ABSTRACT. We present a method of lines

More information

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2 Index advection equation, 29 in three dimensions, 446 advection-diffusion equation, 31 aluminum, 200 angle between two vectors, 58 area integral, 439 automatic step control, 119 back substitution, 604

More information

Chapter Parabolic Partial Differential Equations

Chapter Parabolic Partial Differential Equations hapter. Parabolic Partial Differential Equations After reading this chapter, you should be able to:. Use numerical methods to solve parabolic partial differential equations by explicit, implicit, and rank-nicolson

More information

PART IV Spectral Methods

PART IV Spectral Methods PART IV Spectral Methods Additional References: R. Peyret, Spectral methods for incompressible viscous flow, Springer (2002), B. Mercier, An introduction to the numerical analysis of spectral methods,

More information

Selected HW Solutions

Selected HW Solutions Selected HW Solutions HW1 1 & See web page notes Derivative Approximations. For example: df f i+1 f i 1 = dx h i 1 f i + hf i + h h f i + h3 6 f i + f i + h 6 f i + 3 a realmax 17 1.7014 10 38 b realmin

More information

Class Meeting # 2: The Diffusion (aka Heat) Equation

Class Meeting # 2: The Diffusion (aka Heat) Equation MATH 8.52 COURSE NOTES - CLASS MEETING # 2 8.52 Introduction to PDEs, Fall 20 Professor: Jared Speck Class Meeting # 2: The Diffusion (aka Heat) Equation The heat equation for a function u(, x (.0.). Introduction

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

Mathematical Modeling using Partial Differential Equations (PDE s)

Mathematical Modeling using Partial Differential Equations (PDE s) Mathematical Modeling using Partial Differential Equations (PDE s) 145. Physical Models: heat conduction, vibration. 146. Mathematical Models: why build them. The solution to the mathematical model will

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Xu Chen Assistant Professor United Technologies Engineering Build, Rm. 382 Department of Mechanical Engineering University of Connecticut xchen@engr.uconn.edu Contents 1

More information

Lecture 42 Determining Internal Node Values

Lecture 42 Determining Internal Node Values Lecture 42 Determining Internal Node Values As seen in the previous section, a finite element solution of a boundary value problem boils down to finding the best values of the constants {C j } n, which

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

Boundary-value Problems in Rectangular Coordinates

Boundary-value Problems in Rectangular Coordinates Boundary-value Problems in Rectangular Coordinates 2009 Outline Separation of Variables: Heat Equation on a Slab Separation of Variables: Vibrating String Separation of Variables: Laplace Equation Review

More information

10 Numerical Solutions of PDEs

10 Numerical Solutions of PDEs 10 Numerical Solutions of PDEs There s no sense in being precise when you don t even know what you re talking about.- John von Neumann (1903-1957) Most of the book has dealt with finding exact solutions

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

1. Differential Equations (ODE and PDE)

1. Differential Equations (ODE and PDE) 1. Differential Equations (ODE and PDE) 1.1. Ordinary Differential Equations (ODE) So far we have dealt with Ordinary Differential Equations (ODE): involve derivatives with respect to only one variable

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

X b n sin nπx L. n=1 Fourier Sine Series Expansion. a n cos nπx L 2 + X. n=1 Fourier Cosine Series Expansion ³ L. n=1 Fourier Series Expansion

X b n sin nπx L. n=1 Fourier Sine Series Expansion. a n cos nπx L 2 + X. n=1 Fourier Cosine Series Expansion ³ L. n=1 Fourier Series Expansion 3 Fourier Series 3.1 Introduction Although it was not apparent in the early historical development of the method of separation of variables what we are about to do is the analog for function spaces of

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