Introduction to spectral methods
|
|
- Karin Johnston
- 8 years ago
- Views:
Transcription
1 Introduction to spectral methods Eric Gourgoulhon Laboratoire de l Univers et de ses Théories (LUTH) CNRS / Observatoire de Paris Meudon, France Based on a collaboration with Silvano Bonazzola, Philippe Grandclément, Jean-Alain Marck & Jérome Novak Eric.Gourgoulhon@obspm.fr 4th EU Network Meeting, Palma de Mallorca, Sept. 2002
2 Plan 1 1. Basic principles 2. Legendre and Chebyshev expansions 3. An illustrative example 4. Spectral methods in numerical relativity
3 2 1 Basic principles
4 Solving a partial differential equation 3 Consider the PDE with boundary condition Lu(x) = s(x), x U IR d (1) Bu(y) = 0, y U, (2) where L and B are linear differential operators. Question: What is a numerical solution of (1)-(2)? Answer: It is a function ū which satisfies (2) and makes the residual R := Lū s small.
5 What do you mean by small? 4 Answer in the framework of Method of Weighted Residuals (MWR): Search for solutions ū in a finite-dimensional sub-space P N of some Hilbert space W (typically a L 2 space). Expansion functions = trial functions : basis of P N : (φ 0,..., φ N ) ū is expanded in terms of the trial functions: ū(x) = N ũ n φ n (x) Test functions : family of functions (χ 0,..., χ N ) to define the smallness of the residual R, by means of the Hilbert space scalar product: n=0 n {0,..., N}, (χ n, R) = 0
6 Various numerical methods 5 Classification according to the trial functions φ n : Finite difference: trial functions = overlapping local polynomials of low order Finite element: trial functions = local smooth functions (polynomial of fixed degree which are non-zero only on subdomains of U) Spectral methods : trial functions = global smooth functions (example: Fourier series)
7 Various spectral methods 6 All spectral method: trial functions (φ n ) = complete family (basis) of smooth global functions Classification according to the test functions χ n : Galerkin method: test functions = trial functions: χ n = φ n and each φ n satisfy the boundary condition : Bφ n (y) = 0 tau method: (Lanczos 1938) test functions = (most of) trial functions: χ n = φ n but the φ n do not satisfy the boundary conditions; the latter are enforced by an additional set of equations. collocation or pseudospectral method: test functions = delta functions at special points, called collocation points: χ n = δ(x x n ).
8 Solving a PDE with a Galerkin method 7 Let us return to Equation (1). Since χ n = φ n, the smallness condition for the residual reads, for all n {0,..., N}, (φ n, R) = 0 (φ n, Lū s) = 0 ( ) N φ n, L ũ k φ k (φ n, s) = 0 N ũ k (φ n, Lφ k ) (φ n, s) = 0 N L nk ũ k = (φ n, s), (3) where L nk denotes the matrix L nk := (φ n, Lφ k ). Solving for the linear system (3) leads to the (N + 1) coefficients ũ k of ū
9 Solving a PDE with a tau method 8 Here again χ n = φ n, but the φ n s do not satisfy the boundary condition: Bφ n (y) 0. Let (g p ) be an orthonormal basis of M + 1 < N + 1 functions on the boundary U and let us expand Bφ n (y) upon it: Bφ n (y) = M b pn g p (y) p=0 The boundary condition (2) then becomes Bu(y) = 0 N M ũ k b pk g p (y) = 0, p=0 hence the M + 1 conditions: N b pk ũ k = 0 0 p M
10 Solving a PDE with a tau method (cont d) 9 The system of linear equations for the N + 1 coefficients ũ n is then taken to be the N M first raws of the Galerkin system (3) plus the M + 1 equations above: N L nk ũ k = (φ n, s) 0 n N M 1 N b pk ũ k = 0 0 p M The solution (ũ k ) of this system gives rise to a function ū = N ũ k φ k such that Lū(x) = s(x) + M τ p φ N M+p (x) p=0
11 Solving a PDE with a pseudospectral (collocation) method 10 This time: χ n (x) = δ(x x n ), where the (x n ) constitute the collocation points. The smallness condition for the residual reads, for all n {0,..., N}, (χ n, R) = 0 (δ(x x n ), R) = 0 R(x n ) = 0 Lu(x n ) = s(x n ) N Lφ k (x n )ũ k = s(x n ) (4) The boundary condition is imposed as in the tau method. One then drops M + 1 raws in the linear system (4) and solve the system N Lφ k (x n ) ũ k = s(x n ) 0 n N M 1 N b pk ũ k = 0 0 p M
12 What choice for the trial functions φ n? 11 Periodic problem : φ n = trigonometric polynomials (Fourier series) Non-periodic problem : φ n = orthogonal polynomials
13 12 2 Legendre and Chebyshev expansions
14 Legendre and Chebyshev polynomials 13 Families of orthogonal polynomials on [ 1, 1] : Legendre polynomials: 1 1 P m (x)p n (x) dx = 2 2n + 1 δ mn Chebyshev polynomials: 1 dx T m (x)t n (x) = 1 x 2 1 π 2 (1 + δ 0n) δ mn [from Fornberg (1998)] P 0 (x) = 1, P 1 (x) = x, P 2 (x) = 3 2 x2 1 2 T 0 (x) = 1, T 1 (x) = x, T 2 (x) = 2x 2 1 Both Legendre and Chebyshev polynomials are a subclass of Jacobi polynomials
15 Properties of Chebyshev polynomials 14 Definition: cos nθ = T n (cos θ) Recurrence relation : T n+1 (x) = 2xT n (x) T n 1 (x) Eigenfunctions of the singular Sturm-Liouville problem: d dx ( 1 x 2 dt ) n = n2 dx T n(x) 1 x 2 Orthogonal family in the Hilbert space L 2 w[ 1, 1], equiped with the weight w(x) = (1 x 2 ) 1/2 : (f, g) := 1 1 f(x) g(x) w(x) dx
16 Polynomial interpolation of functions 15 Given a set of N + 1 nodes (x i ) 0 i N in [ 1, 1], the Lagrangian interpolation of a function u(x) is defined by the N-th degree polynomial: I N u(x) = N u(x i ) i=0 N ( ) x xj j=0 j i x i x j Cauchy theorem: there exists x 0 [ 1, 1] such that u(x) I N u(x) = 1 (N + 1)! u(n+1) (x 0 ) N (x x i ) i=0 Minimize u(x) I N u(x) independently of u minimize N (x x i ) i=0
17 Chebyshev interpolation of functions 16 Note that N (x x i ) is a polynomial of degree N + 1 of the type x N+1 + a N x N + i=0 (leading coefficient = 1). Characterization of Chebyshev polynomials: Among all the polynomials of degree n with leading coefficient 1, the unique polynomial which has the smallest maximum on [ 1, 1] is the n-th Chebyshev polynomial divided by 2 n 1 : T n (x)/2 n 1. = take the nodes x i to be the N + 1 zeros of the Chebyshev polynomial T N+1 (x) : N (x x i ) = 1 2 N T N+1(x) i=0 x i = cos ( ) 2i + 1 2(N + 1) π 0 i N
18 Spectral expansions : continuous (exact) coefficients 17 Case where the trial functions are orthogonal polynomials φ n in L 2 w[ 1, 1] for some weight w(x) (e.g. Legendre (w(x) = 1) or Chebyshev (w(x) = (1 x 2 ) 1/2 ) polynomials). The spectral representation of any function u is its orthogonal projection on the space of polynomials of degree N: P N u(x) = N ũ n φ n (x) n=0 where the coefficients ũ n are given by the scalar product: ũ n = 1 (φ n, φ n ) (φ n, u) with (φ n, u) := 1 1 φ n (x) u(x) w(x) dx (5) The integral (5) cannot be computed exactly...
19 Spectral expansions : discrete coefficients 18 The most precise way of numerically evaluating the integral (5) is given by Gauss integration : 1 N f(x) w(x) dx = w i f(x i ) (6) 1 where the x i s are the N + 1 zeros of the polynomial φ N+1 and the coefficients w i are N 1 the solutions of the linear system x i j w j = x i w(x) dx. j=0 Formula (6) is exact for any polynomial f(x) of degree 2N + 1 Adaptation to include the boundaries of [ 1, 1] : x 0 = 1, x 1,..., x N 1, x N = 1 Gauss-Lobatto integration : x i = zeros of the polynomial P = φ N+1 + λφ N + µφ N 1, with λ and µ such that P ( 1) = P (1) = 0. Exact for any polynomial f(x) of degree 2N 1. i=0 1
20 Spectral expansions : discrete coefficients (con t) 19 Define the discrete coefficients û n to be the Gauss-Lobatto approximations of the integrals (5) giving the ũ n s : û n := 1 (φ n, φ n ) N w i φ n (x i ) u(x i ) (7) i=0 The actual numerical representation of a function u is then the polynomial formed from the discrete coefficients: N I N u(x) := û n φ n (x), n=0 instead of the orthogonal projection P N u involving the ũ n. Note: if (φ n ) = Chebyshev polynomials, the coefficients (û n ) can be computed by means of a FFT [i.e. in N ln N operations instead of the N 2 operations of the matrix product (7)].
21 Aliasing error 20 Proposition: I N u(x) is the interpolating polynomial of u through the N + 1 nodes (x i ) 0 i N of the Gauss-Lobatto quadrature: I N u(x i ) = u(x i ) 0 i N On the contrary the orthogonal projection P N u does not necessarily pass through the points (x i ). The difference between I N u and P N u, i.e. between the coefficients û n and ũ n, is called the aliasing error. It can be seen as a contamination of û n by the high frequencies ũ k with k > N, when performing the Gauss-Lobato integration (7).
22 Illustrating the aliasing error: case of Fourier series 21 Alias of a sin( 2x) wave by a sin(6x) wave Alias of a sin( 2x) wave by a sin( 10x) wave [from Canuto et al. (1998)]
23 Convergence of Legendre and Chebyshev expansions 22 Hyp.: u sufficiently regular so that all derivatives up to some order m 1 exist. Legendre: truncation error : P N u u L 2 C m N m u (k) L 2 interpolation error : P N u u I N u u L 2 C N m 1/2V (u(m) ) C m u (k) L 2 N m 1/2 Chebyshev: truncation error : P N u u L 2 w C N m P N u u interpolation error : I N u u L 2 w C N m I N u u m u (k) L 2 w C(1 + ln N) N m m u (k) m u (k) L 2 w C N m 1/2 m u (k) L 2 w
24 Evanescent error 23 From the above decay rates, we conclude that for a C function, the error in the spectral expansion decays more rapidly than any power of 1/N. In practice, it is an exponential decay. Such a behavior is a key property of spectral methods and is called evanescent error. (Remember that for a finite difference method of order k, the error decays only as 1/N k ).
25 24 3 An example... at last!
26 A simple differential equation with boundary conditions 25 Let us consider the 1-D second-order linear (P)DE with the Dirichlet boundary conditions d 2 u dx 2 4du dx + 4u = ex + C, x [ 1, 1] (8) and where C is a constant: C = 4e/(1 + e 2 ). The exact solution of the system (8)-(9) is u( 1) = 0 and u(1) = 0 (9) u(x) = e x sinh 1 sinh 2 e2x + C 4
27 Resolution by means of a Chebyshev spectral method 26 Let us search for a numerical solution of (8)-(9) by means of the five first Chebyshev polynomials: T 0 (x), T 1 (x), T 2 (x), T 3 (x) and T 4 (x), i.e. we adopt N = 4. Let us first expand the source s(x) = e x + C onto the Chebyshev polynomials: P 4 s(x) = 4 s n T n (x) and I 4 s(x) = 4 ŝ n T n (x) n=0 n=0 with s n = 2 π(1 + δ 0n ) 1 1 dx T n (x)s(x) 1 x 2 and ŝ n = 2 π(1 + δ 0n ) 4 w i T n (x i )s(x i ) i=0 the x i s being the 5 Gauss-Lobatto quadrature points for the weight w(x) = (1 x 2 ) 1/2 : {x i } = { cos(iπ/4), 0 i 4} = { 1, 1 2, 0, } 1, 1 2
28 The source and its Chebyshev interpolant s(x) I 4 s(x) 1 y x ŝ 0 = , ŝ 1 = 1.130, ŝ 2 = , ŝ 3 = , ŝ 4 =
29 Interpolation error and aliasing error N=4 (5 Chebyshev polynomials) P 4 s(x) - s(x) (truncation error) I 4 s(x) - s(x) (interpolation error) I 4 s(x) - P 4 s(x) (aliasing error) y x ŝ n s n = , , , ,
30 Matrix of the differential operator 29 The matrices of derivative operators with respect to the Chebyshev basis (T 0, T 1, T 2, T 3, T 4 ) are d dx = d 2 dx 2 = so that the matrix of the differential operator d2 dx 2 4 d + 4 Id on the r.h.s. of Eq. (8) dx is A kl =
31 Resolution by means of a Galerkin method 30 Galerkin basis : φ 0 (x) := T 2 (x) T 0 (x) = 2x 2 2 φ 1 (x) := T 3 (x) T 1 (x) = 4x 3 4x φ 2 (x) := T 4 (x) T 0 (x) = 8x 4 8x 2 Each of the φ i satisfies the boundary conditions: φ i ( 1) = φ i (1) = 0. Note that the φ i s are not orthogonal Transformation matrix Chebyshev Galerkin: φki = such that φ i (x) = 4 φ ki T k (x). 4 2 Chebyshev coefficients and Galerkin coefficients: u(x) = ũ k T k (x) = ũ i φ i (x) The matrix φ ki relates the two sets of coefficients via the matrix product ũ = φ ũ i=0
32 Galerkin system 31 For Galerkin method, the test functions are equal to the trial functions, so that the condition of small residual writes (φ i, Lu s) = 0 3 (φ i, Lφ j ) ũ j = (φ i, s) j=0 with (φ i, Lφ j ) = = = ( φ ki T k, L φ lj T l ) = l=0 4 l=0 4 l=0 φ ki φlj (T k, 4 m=0 4 4 l=0 A ml T m ) = φ ki φlj π 2 (1 + δ 0k)A kl = π 2 φ ki φlj (T k, LT l ) l=0 φ ki φlj 4 m=0 A ml (T k, T m ) 4 (1 + δ 0k ) φ ki A kl φlj l=0
33 Resolution of the Galerkin system 32 In the above expression appears the transpose matrix [ Q ik := t (1 + δ 0k ) φ ] ki = The small residual condition amounts then to solve the following linear system in ũ = (ũ 0, ũ 1, ũ 2 ): Q A φ ũ = Q s with Q A φ = and Q s = The solution is found to be ũ 0 = , ũ 1 = , ũ 2 = The Chebyshev coefficients are obtained by taking the matrix product by φ : ũ 0 = , ũ 1 = , ũ 2 = , ũ 3 = , ũ 4 =
34 Exact solution Galerkin Comparison with the exact solution N = 4 33 y = u(x) x Exact solution: u(x) = e x sinh 1 sinh 2 e2x e 1 + e 2
35 Resolution by means of a tau method 34 Tau method : trial functions = test functions = Chebyshev polynomials T 0,..., T 4. Enforce the boundary conditions by additional equations. Since T n ( 1) = ( 1) n and T n (1) = 1, the boundary condition operator has the matrix b pk = ( The T n s being an orthogonal basis, the tau system is obtained by replacing the last two rows of the matrix A by (10): ũ 0 ũ 1 ũ 2 ũ 3 ũ 4 ) = The solution is found to be ũ 0 = , ũ 1 = , ũ 2 = , ũ 3 = , ũ 4 = ŝ 0 ŝ 1 ŝ (10)
36 Exact solution Galerkin Tau Comparison with the exact solution N = 4 35 y = u(x) x Exact solution: u(x) = e x sinh 1 sinh 2 e2x e 1 + e 2
37 Resolution by means of a pseudospectral method 36 Pseudospectral method : trial functions = Chebyshev polynomials T 0,..., T 4 and test functions = δ(x x n ). The pseudospectral system is 4 LT k (x n ) ũ k = s(x n ) 4 4 A lk T l (x n ) ũ k = s(x n ) l=0 From a matrix point of view: T A ũ = s, where / 2 0 1/ 2 1 T nl := T l (x n ) = / 2 0 1/
38 Pseudospectral system 37 To take into account the boundary conditions, replace the first row of the matrix T A by b 0k and the last row by b 1k, and end up with the system ũ 0 ũ 1 ũ 2 ũ 3 ũ 4 = 0 s(x 1 ) s(x 2 ) s(x 3 ) 0 The solution is found to be ũ 0 = , ũ 1 = , ũ 2 = , ũ 3 = , ũ 4 =
39 Comparison with the exact solution Exact solution Galerkin Tau Pseudo-spectral N = 4 38 y = u(x) x Exact solution: u(x) = e x sinh 1 sinh 2 e2x e 1 + e 2
40 Numerical solutions with N = Exact solution Galerkin Tau Pseudo-spectral y = u(x) x
41 Exponential decay of the error with N 40 0 log 10 u num -u exact oo Galerkin Tau Pseudospectral N = number of Chebyshev polynomials -1
42 Not discussed here Spectral methods for 3-D problems Time evolution Non-linearities Multi-domain spectral methods Weak formulation
43 42 4 Spectral methods in numerical relativity
44 Spectral methods developed in Meudon 43 Pioneered by Silvano Bonazzola & Jean-Alain Marck (1986). Spectral methods within spherical coordinates 1990 : 3-D wave equation 1993 : First 3-D computation of stellar collapse (Newtonian) 1994 : Accurate models of rotating stars in GR 1995 : Einstein-Maxwell solutions for magnetized stars 1996 : 3-D secular instability of rigidly rotating stars in GR
45 LORENE 44 Langage Objet pour la RElativite NumeriquE A library of C++ classes devoted to multi-domain spectral methods, with adaptive spherical coordinates : start of Lorene 1999 : Accurate models of rapidly rotating strange quark stars 1999 : Neutron star binaries on closed circular orbits (IWM approx. to GR) 2001 : Public domain (GPL), Web page: : Black hole binaries on closed circular orbits (IWM approx. to GR) 2002 : 3-D wave equation with non-reflecting boundary conditions 2002 : Maclaurin-Jacobi bifurcation point in GR
46 45 Code for producing the figures of the above illustrative example available from Lorene CVS server (directory Lorene/Codes/Spectral), see
47 Spectral methods developed in other groups 46 Cornell group: Black holes Bartnik: quasi-spherical slicing Carsten Gundlach: apparent horizon finder Jörg Frauendiener: conformal field equations Jena group: extremely precise models of rotating stars, cf. Marcus Ansorg s talk
48 Textbooks about spectral methods 47 D. Gottlieb & S.A. Orszag : Numerical analysis of spectral methods, Society for Industrial and Applied Mathematics, Philadelphia (1977) C. Canuto, M.Y. Hussaini, A. Quarteroni & T.A. Zang : Spectral methods in fluid dynamics, Springer-Verlag, Berlin (1988) B. Mercier : An introduction to the numerical analysis of spectral methods, Springer- Verlag, Berlin (1989) C. Bernardi & Y. Maday : Approximations spectrales de problmes aux limites elliptiques, Springer-Verlag, Paris (1992) B. Fornberg : A practical guide to pseudospectral methods, Cambridge University Press, Cambridge (1998) J.P. Boyd : Chebyshev and Fourier spectral methods, 2nd edition, Dover, Mineola (2001) [web page]
Spectral Methods for Numerical Relativity
Spectral Methods for Numerical Relativity Philippe Grandclement, Jérôme Novak To cite this version: Philippe Grandclement, Jérôme Novak. Spectral Methods for Numerical Relativity. This paper has bene submitted
More informationMean value theorem, Taylors Theorem, Maxima and Minima.
MA 001 Preparatory Mathematics I. Complex numbers as ordered pairs. Argand s diagram. Triangle inequality. De Moivre s Theorem. Algebra: Quadratic equations and express-ions. Permutations and Combinations.
More informationLecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10
Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T. Heath Chapter 10 Boundary Value Problems for Ordinary Differential Equations Copyright c 2001. Reproduction
More informationBANACH AND HILBERT SPACE REVIEW
BANACH AND HILBET SPACE EVIEW CHISTOPHE HEIL These notes will briefly review some basic concepts related to the theory of Banach and Hilbert spaces. We are not trying to give a complete development, but
More informationMathematics Course 111: Algebra I Part IV: Vector Spaces
Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are
More informationPOLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS
POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS N. ROBIDOUX Abstract. We show that, given a histogram with n bins possibly non-contiguous or consisting
More information3. INNER PRODUCT SPACES
. INNER PRODUCT SPACES.. Definition So far we have studied abstract vector spaces. These are a generalisation of the geometric spaces R and R. But these have more structure than just that of a vector space.
More informationIntroduction to Partial Differential Equations. John Douglas Moore
Introduction to Partial Differential Equations John Douglas Moore May 2, 2003 Preface Partial differential equations are often used to construct models of the most basic theories underlying physics and
More informationChebyshev Expansions
Chapter 3 Chebyshev Expansions The best is the cheapest. Benjamin Franklin 3.1 Introduction In Chapter, approximations were considered consisting of expansions around a specific value of the variable (finite
More information1 Completeness of a Set of Eigenfunctions. Lecturer: Naoki Saito Scribe: Alexander Sheynis/Allen Xue. May 3, 2007. 1.1 The Neumann Boundary Condition
MAT 280: Laplacian Eigenfunctions: Theory, Applications, and Computations Lecture 11: Laplacian Eigenvalue Problems for General Domains III. Completeness of a Set of Eigenfunctions and the Justification
More informationPOLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS
POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS N. ROBIDOUX Abstract. We show that, given a histogram with n bins possibly non-contiguous or consisting
More informationCITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION
No: CITY UNIVERSITY LONDON BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION ENGINEERING MATHEMATICS 2 (resit) EX2005 Date: August
More informationInner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
More informationA COMPARATIVE STUDY OF COLLOCATION METHODS FOR THE NUMERICAL SOLUTION OF DIFFERENTIAL EQUATIONS
A COMPARATIVE STUDY OF COLLOCATION METHODS FOR THE NUMERICAL SOLUTION OF DIFFERENTIAL EQUATIONS By MARGARET MODUPE KAJOTONI Submitted in fulfillment of the academic requirements for the degree of Master
More informationNumerical Analysis An Introduction
Walter Gautschi Numerical Analysis An Introduction 1997 Birkhauser Boston Basel Berlin CONTENTS PREFACE xi CHAPTER 0. PROLOGUE 1 0.1. Overview 1 0.2. Numerical analysis software 3 0.3. Textbooks and monographs
More informationOn Chebyshev interpolation of analytic functions
On Chebyshev interpolation of analytic functions Laurent Demanet Department of Mathematics Massachusetts Institute of Technology Lexing Ying Department of Mathematics University of Texas at Austin March
More informationLINEAR ALGEBRA W W L CHEN
LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008 This chapter is available free to all individuals, on understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,
More informationIntroduction to the Finite Element Method
Introduction to the Finite Element Method 09.06.2009 Outline Motivation Partial Differential Equations (PDEs) Finite Difference Method (FDM) Finite Element Method (FEM) References Motivation Figure: cross
More information1. First-order Ordinary Differential Equations
Advanced Engineering Mathematics 1. First-order ODEs 1 1. First-order Ordinary Differential Equations 1.1 Basic concept and ideas 1.2 Geometrical meaning of direction fields 1.3 Separable differential
More informationHETEROGENEOUS AGENTS AND AGGREGATE UNCERTAINTY. Daniel Harenberg daniel.harenberg@gmx.de. University of Mannheim. Econ 714, 28.11.
COMPUTING EQUILIBRIUM WITH HETEROGENEOUS AGENTS AND AGGREGATE UNCERTAINTY (BASED ON KRUEGER AND KUBLER, 2004) Daniel Harenberg daniel.harenberg@gmx.de University of Mannheim Econ 714, 28.11.06 Daniel Harenberg
More informationThe Heat Equation. Lectures INF2320 p. 1/88
The Heat Equation Lectures INF232 p. 1/88 Lectures INF232 p. 2/88 The Heat Equation We study the heat equation: u t = u xx for x (,1), t >, (1) u(,t) = u(1,t) = for t >, (2) u(x,) = f(x) for x (,1), (3)
More information1 VECTOR SPACES AND SUBSPACES
1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such
More informationSpectral Methods for Partial Differential Equations
A Mathematical Journal Vol. 6, N o 4, (1-32). December 2004. Spectral Methods for Partial Differential Equations Bruno Costa 1 ABSTRACT In this article we present the essential aspects of spectral methods
More informationAPPLIED MATHEMATICS ADVANCED LEVEL
APPLIED MATHEMATICS ADVANCED LEVEL INTRODUCTION This syllabus serves to examine candidates knowledge and skills in introductory mathematical and statistical methods, and their applications. For applications
More informationα = u v. In other words, Orthogonal Projection
Orthogonal Projection Given any nonzero vector v, it is possible to decompose an arbitrary vector u into a component that points in the direction of v and one that points in a direction orthogonal to v
More informationLectures 5-6: Taylor Series
Math 1d Instructor: Padraic Bartlett Lectures 5-: Taylor Series Weeks 5- Caltech 213 1 Taylor Polynomials and Series As we saw in week 4, power series are remarkably nice objects to work with. In particular,
More informationarxiv:gr-qc/0702038v1 7 Feb 2007
A new spectral apparent horizon finder for 3D numerical relativity arxiv:gr-qc/0702038v1 7 Feb 2007 1. Introduction Lap-Ming Lin 1,2 and Jérôme Novak 2 1 Department of Physics and Institute of Theoretical
More informationLinköping University Electronic Press
Linköping University Electronic Press Report Well-posed boundary conditions for the shallow water equations Sarmad Ghader and Jan Nordström Series: LiTH-MAT-R, 0348-960, No. 4 Available at: Linköping University
More informationAN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS
AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS Revised Edition James Epperson Mathematical Reviews BICENTENNIAL 0, 1 8 0 7 z ewiley wu 2007 r71 BICENTENNIAL WILEY-INTERSCIENCE A John Wiley & Sons, Inc.,
More informationRAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A
RAJALAKSHMI ENGINEERING COLLEGE MA 26 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS. Solve (D 2 + D 2)y = 0. 2. Solve (D 2 + 6D + 9)y = 0. PART A 3. Solve (D 4 + 4)x = 0 where D = d dt 4. Find Particular Integral:
More informationNumerical Methods for Differential Equations
Numerical Methods for Differential Equations Course objectives and preliminaries Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the Numerical Analysis
More informationInner Product Spaces and Orthogonality
Inner Product Spaces and Orthogonality week 3-4 Fall 2006 Dot product of R n The inner product or dot product of R n is a function, defined by u, v a b + a 2 b 2 + + a n b n for u a, a 2,, a n T, v b,
More informationNOV - 30211/II. 1. Let f(z) = sin z, z C. Then f(z) : 3. Let the sequence {a n } be given. (A) is bounded in the complex plane
Mathematical Sciences Paper II Time Allowed : 75 Minutes] [Maximum Marks : 100 Note : This Paper contains Fifty (50) multiple choice questions. Each question carries Two () marks. Attempt All questions.
More informationChapter 5. Banach Spaces
9 Chapter 5 Banach Spaces Many linear equations may be formulated in terms of a suitable linear operator acting on a Banach space. In this chapter, we study Banach spaces and linear operators acting on
More informationModel order reduction via Proper Orthogonal Decomposition
Model order reduction via Proper Orthogonal Decomposition Reduced Basis Summer School 2015 Martin Gubisch University of Konstanz September 17, 2015 Martin Gubisch (University of Konstanz) Model order reduction
More informationWavelet analysis. Wavelet requirements. Example signals. Stationary signal 2 Hz + 10 Hz + 20Hz. Zero mean, oscillatory (wave) Fast decay (let)
Wavelet analysis In the case of Fourier series, the orthonormal basis is generated by integral dilation of a single function e jx Every 2π-periodic square-integrable function is generated by a superposition
More informationINTEGRAL METHODS IN LOW-FREQUENCY ELECTROMAGNETICS
INTEGRAL METHODS IN LOW-FREQUENCY ELECTROMAGNETICS I. Dolezel Czech Technical University, Praha, Czech Republic P. Karban University of West Bohemia, Plzeft, Czech Republic P. Solin University of Nevada,
More informationTo the memory of David Gottlieb
Commun. Comput. Phys. doi: 10.4208/cicp.010110.010310s Vol. 9, No. 3, pp. 481-496 March 2011 The Work of David Gottlieb: A Success Story Bertil Gustafsson Division of Scientific Computing, Uppsala University,
More informationHøgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver
Høgskolen i Narvik Sivilingeniørutdanningen STE637 ELEMENTMETODER Oppgaver Klasse: 4.ID, 4.IT Ekstern Professor: Gregory A. Chechkin e-mail: chechkin@mech.math.msu.su Narvik 6 PART I Task. Consider two-point
More informationTMA4213/4215 Matematikk 4M/N Vår 2013
Norges teknisk naturvitenskapelige universitet Institutt for matematiske fag TMA43/45 Matematikk 4M/N Vår 3 Løsningsforslag Øving a) The Fourier series of the signal is f(x) =.4 cos ( 4 L x) +cos ( 5 L
More informationApplication of Fourier Transform to PDE (I) Fourier Sine Transform (application to PDEs defined on a semi-infinite domain)
Application of Fourier Transform to PDE (I) Fourier Sine Transform (application to PDEs defined on a semi-infinite domain) The Fourier Sine Transform pair are F. T. : U = 2/ u x sin x dx, denoted as U
More informationOn computer algebra-aided stability analysis of dierence schemes generated by means of Gr obner bases
On computer algebra-aided stability analysis of dierence schemes generated by means of Gr obner bases Vladimir Gerdt 1 Yuri Blinkov 2 1 Laboratory of Information Technologies Joint Institute for Nuclear
More informationVector and Matrix Norms
Chapter 1 Vector and Matrix Norms 11 Vector Spaces Let F be a field (such as the real numbers, R, or complex numbers, C) with elements called scalars A Vector Space, V, over the field F is a non-empty
More informationContrôle dynamique de méthodes d approximation
Contrôle dynamique de méthodes d approximation Fabienne Jézéquel Laboratoire d Informatique de Paris 6 ARINEWS, ENS Lyon, 7-8 mars 2005 F. Jézéquel Dynamical control of approximation methods 7-8 Mar. 2005
More informationSimilarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
More information5 Numerical Differentiation
D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives
More informationSystems of Linear Equations
Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and
More informationA QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS
A QUIK GUIDE TO THE FOMULAS OF MULTIVAIABLE ALULUS ontents 1. Analytic Geometry 2 1.1. Definition of a Vector 2 1.2. Scalar Product 2 1.3. Properties of the Scalar Product 2 1.4. Length and Unit Vectors
More informationENCOURAGING THE INTEGRATION OF COMPLEX NUMBERS IN UNDERGRADUATE ORDINARY DIFFERENTIAL EQUATIONS
Texas College Mathematics Journal Volume 6, Number 2, Pages 18 24 S applied for(xx)0000-0 Article electronically published on September 23, 2009 ENCOURAGING THE INTEGRATION OF COMPLEX NUMBERS IN UNDERGRADUATE
More informationLecture 14: Section 3.3
Lecture 14: Section 3.3 Shuanglin Shao October 23, 2013 Definition. Two nonzero vectors u and v in R n are said to be orthogonal (or perpendicular) if u v = 0. We will also agree that the zero vector in
More informationFUNDAMENTAL FINITE ELEMENT ANALYSIS AND APPLICATIONS
FUNDAMENTAL FINITE ELEMENT ANALYSIS AND APPLICATIONS With Mathematica and MATLAB Computations M. ASGHAR BHATTI WILEY JOHN WILEY & SONS, INC. CONTENTS OF THE BOOK WEB SITE PREFACE xi xiii 1 FINITE ELEMENT
More informationFUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES
FUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES CHRISTOPHER HEIL 1. Cosets and the Quotient Space Any vector space is an abelian group under the operation of vector addition. So, if you are have studied
More informationx1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.
Cross product 1 Chapter 7 Cross product We are getting ready to study integration in several variables. Until now we have been doing only differential calculus. One outcome of this study will be our ability
More informationMATH 425, PRACTICE FINAL EXAM SOLUTIONS.
MATH 45, PRACTICE FINAL EXAM SOLUTIONS. Exercise. a Is the operator L defined on smooth functions of x, y by L u := u xx + cosu linear? b Does the answer change if we replace the operator L by the operator
More informationThe one dimensional heat equation: Neumann and Robin boundary conditions
The one dimensional heat equation: Neumann and Robin boundary conditions Ryan C. Trinity University Partial Differential Equations February 28, 2012 with Neumann boundary conditions Our goal is to solve:
More informationSystems with Persistent Memory: the Observation Inequality Problems and Solutions
Chapter 6 Systems with Persistent Memory: the Observation Inequality Problems and Solutions Facts that are recalled in the problems wt) = ut) + 1 c A 1 s ] R c t s)) hws) + Ks r)wr)dr ds. 6.1) w = w +
More information1 2 3 1 1 2 x = + x 2 + x 4 1 0 1
(d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which
More informationThe Spectral Signal Processing Suite
The Spectral Signal Processing Suite Scott A. Sarra Marshall University Huntington, WV A software suite written in the Java programming language for the postprocessing of Chebyshev approximations to discontinuous
More informationINTERPOLATION. Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y).
INTERPOLATION Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y). As an example, consider defining and x 0 =0, x 1 = π 4, x
More information8.1 Examples, definitions, and basic properties
8 De Rham cohomology Last updated: May 21, 211. 8.1 Examples, definitions, and basic properties A k-form ω Ω k (M) is closed if dω =. It is exact if there is a (k 1)-form σ Ω k 1 (M) such that dσ = ω.
More informationRepresentation of functions as power series
Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions
More informationEXISTENCE AND NON-EXISTENCE RESULTS FOR A NONLINEAR HEAT EQUATION
Sixth Mississippi State Conference on Differential Equations and Computational Simulations, Electronic Journal of Differential Equations, Conference 5 (7), pp. 5 65. ISSN: 7-669. UL: http://ejde.math.txstate.edu
More informationCollege of the Holy Cross, Spring 2009 Math 373, Partial Differential Equations Midterm 1 Practice Questions
College of the Holy Cross, Spring 29 Math 373, Partial Differential Equations Midterm 1 Practice Questions 1. (a) Find a solution of u x + u y + u = xy. Hint: Try a polynomial of degree 2. Solution. Use
More information4.3 Lagrange Approximation
206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average
More informationMATH1231 Algebra, 2015 Chapter 7: Linear maps
MATH1231 Algebra, 2015 Chapter 7: Linear maps A/Prof. Daniel Chan School of Mathematics and Statistics University of New South Wales danielc@unsw.edu.au Daniel Chan (UNSW) MATH1231 Algebra 1 / 43 Chapter
More informationProblem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.
Math 312, Fall 2012 Jerry L. Kazdan Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday. In addition to the problems below, you should also know how to solve
More informationRecall that two vectors in are perpendicular or orthogonal provided that their dot
Orthogonal Complements and Projections Recall that two vectors in are perpendicular or orthogonal provided that their dot product vanishes That is, if and only if Example 1 The vectors in are orthogonal
More informationGravitational waves from neutron stars binaries: accuracy and tidal effects in the late inspiral S. Bernuzzi TPI-PAF FSU Jena / SFB-TR7
Gravitational waves from neutron stars binaries: accuracy and tidal effects in the late inspiral S. Bernuzzi TPI-PAF FSU Jena / SFB-TR7 M. Thierfelder, SB, & B.Bruegmann, PRD 84 044012 (2011) SB, MT, &
More informationMultigrid preconditioning for nonlinear (degenerate) parabolic equations with application to monument degradation
Multigrid preconditioning for nonlinear (degenerate) parabolic equations with application to monument degradation M. Donatelli 1 M. Semplice S. Serra-Capizzano 1 1 Department of Science and High Technology
More informationREVIEW EXERCISES DAVID J LOWRY
REVIEW EXERCISES DAVID J LOWRY Contents 1. Introduction 1 2. Elementary Functions 1 2.1. Factoring and Solving Quadratics 1 2.2. Polynomial Inequalities 3 2.3. Rational Functions 4 2.4. Exponentials and
More informationTaylor and Maclaurin Series
Taylor and Maclaurin Series In the preceding section we were able to find power series representations for a certain restricted class of functions. Here we investigate more general problems: Which functions
More information4.5 Linear Dependence and Linear Independence
4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then
More informationLinear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007)
MAT067 University of California, Davis Winter 2007 Linear Maps Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007) As we have discussed in the lecture on What is Linear Algebra? one of
More informationThe continuous and discrete Fourier transforms
FYSA21 Mathematical Tools in Science The continuous and discrete Fourier transforms Lennart Lindegren Lund Observatory (Department of Astronomy, Lund University) 1 The continuous Fourier transform 1.1
More informationMATHEMATICAL METHODS OF STATISTICS
MATHEMATICAL METHODS OF STATISTICS By HARALD CRAMER TROFESSOK IN THE UNIVERSITY OF STOCKHOLM Princeton PRINCETON UNIVERSITY PRESS 1946 TABLE OF CONTENTS. First Part. MATHEMATICAL INTRODUCTION. CHAPTERS
More informationZeros of Polynomial Functions
Review: Synthetic Division Find (x 2-5x - 5x 3 + x 4 ) (5 + x). Factor Theorem Solve 2x 3-5x 2 + x + 2 =0 given that 2 is a zero of f(x) = 2x 3-5x 2 + x + 2. Zeros of Polynomial Functions Introduction
More informationSOLVING LINEAR SYSTEMS
SOLVING LINEAR SYSTEMS Linear systems Ax = b occur widely in applied mathematics They occur as direct formulations of real world problems; but more often, they occur as a part of the numerical analysis
More informationMA106 Linear Algebra lecture notes
MA106 Linear Algebra lecture notes Lecturers: Martin Bright and Daan Krammer Warwick, January 2011 Contents 1 Number systems and fields 3 1.1 Axioms for number systems......................... 3 2 Vector
More informationFACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z
FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z DANIEL BIRMAJER, JUAN B GIL, AND MICHAEL WEINER Abstract We consider polynomials with integer coefficients and discuss their factorization
More informationOrthogonal Projections and Orthonormal Bases
CS 3, HANDOUT -A, 3 November 04 (adjusted on 7 November 04) Orthogonal Projections and Orthonormal Bases (continuation of Handout 07 of 6 September 04) Definition (Orthogonality, length, unit vectors).
More informationRecall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.
ORTHOGONAL MATRICES Informally, an orthogonal n n matrix is the n-dimensional analogue of the rotation matrices R θ in R 2. When does a linear transformation of R 3 (or R n ) deserve to be called a rotation?
More informationHow to Gamble If You Must
How to Gamble If You Must Kyle Siegrist Department of Mathematical Sciences University of Alabama in Huntsville Abstract In red and black, a player bets, at even stakes, on a sequence of independent games
More informationChapter 5. Methods for ordinary differential equations. 5.1 Initial-value problems
Chapter 5 Methods for ordinary differential equations 5.1 Initial-value problems Initial-value problems (IVP) are those for which the solution is entirely known at some time, say t = 0, and the question
More informationChapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation
Chapter 6 Linear Transformation 6 Intro to Linear Transformation Homework: Textbook, 6 Ex, 5, 9,, 5,, 7, 9,5, 55, 57, 6(a,b), 6; page 7- In this section, we discuss linear transformations 89 9 CHAPTER
More informationBindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8
Spaces and bases Week 3: Wednesday, Feb 8 I have two favorite vector spaces 1 : R n and the space P d of polynomials of degree at most d. For R n, we have a canonical basis: R n = span{e 1, e 2,..., e
More informationDirect Methods for Solving Linear Systems. Matrix Factorization
Direct Methods for Solving Linear Systems Matrix Factorization Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011
More informationORDINARY DIFFERENTIAL EQUATIONS
ORDINARY DIFFERENTIAL EQUATIONS GABRIEL NAGY Mathematics Department, Michigan State University, East Lansing, MI, 48824. SEPTEMBER 4, 25 Summary. This is an introduction to ordinary differential equations.
More informationChapter 20. Vector Spaces and Bases
Chapter 20. Vector Spaces and Bases In this course, we have proceeded step-by-step through low-dimensional Linear Algebra. We have looked at lines, planes, hyperplanes, and have seen that there is no limit
More informationUNIVERSITETET I OSLO
NIVERSITETET I OSLO Det matematisk-naturvitenskapelige fakultet Examination in: Trial exam Partial differential equations and Sobolev spaces I. Day of examination: November 18. 2009. Examination hours:
More information1 The 1-D Heat Equation
The 1-D Heat Equation 18.303 Linear Partial Differential Equations Matthew J. Hancock Fall 006 1 The 1-D Heat Equation 1.1 Physical derivation Reference: Guenther & Lee 1.3-1.4, Myint-U & Debnath.1 and.5
More information7. DYNAMIC LIGHT SCATTERING 7.1 First order temporal autocorrelation function.
7. DYNAMIC LIGHT SCATTERING 7. First order temporal autocorrelation function. Dynamic light scattering (DLS) studies the properties of inhomogeneous and dynamic media. A generic situation is illustrated
More informationAn Additive Neumann-Neumann Method for Mortar Finite Element for 4th Order Problems
An Additive eumann-eumann Method for Mortar Finite Element for 4th Order Problems Leszek Marcinkowski Department of Mathematics, University of Warsaw, Banacha 2, 02-097 Warszawa, Poland, Leszek.Marcinkowski@mimuw.edu.pl
More informationLet H and J be as in the above lemma. The result of the lemma shows that the integral
Let and be as in the above lemma. The result of the lemma shows that the integral ( f(x, y)dy) dx is well defined; we denote it by f(x, y)dydx. By symmetry, also the integral ( f(x, y)dx) dy is well defined;
More informationValuation of American Options
Valuation of American Options Among the seminal contributions to the mathematics of finance is the paper F. Black and M. Scholes, The pricing of options and corporate liabilities, Journal of Political
More informationFinite dimensional C -algebras
Finite dimensional C -algebras S. Sundar September 14, 2012 Throughout H, K stand for finite dimensional Hilbert spaces. 1 Spectral theorem for self-adjoint opertors Let A B(H) and let {ξ 1, ξ 2,, ξ n
More informationProperties of Legendre Polynomials
Chapter C Properties of Legendre Polynomials C Definitions The Legendre Polynomials are the everywhere regular solutions of Legendre s Equation, which are possible only if x 2 )u 2xu + mu = x 2 )u ] +
More informationLogistic Regression. Jia Li. Department of Statistics The Pennsylvania State University. Logistic Regression
Logistic Regression Department of Statistics The Pennsylvania State University Email: jiali@stat.psu.edu Logistic Regression Preserve linear classification boundaries. By the Bayes rule: Ĝ(x) = arg max
More informationSection 6.1 - Inner Products and Norms
Section 6.1 - Inner Products and Norms Definition. Let V be a vector space over F {R, C}. An inner product on V is a function that assigns, to every ordered pair of vectors x and y in V, a scalar in F,
More information