Department of Applied Mathematics Preliminary Examination in Numerical Analysis August, 2013

Similar documents
Numerical Analysis Preliminary Exam 10 am to 1 pm, August 20, 2018

Solutions Preliminary Examination in Numerical Analysis January, 2017

Numerical Analysis Preliminary Exam 10.00am 1.00pm, January 19, 2018

1 Solutions to selected problems

1 Solutions to selected problems

Preliminary Examination, Numerical Analysis, August 2016

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form

x n+1 = x n f(x n) f (x n ), n 0.

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

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

Examination paper for TMA4215 Numerical Mathematics

Do not turn over until you are told to do so by the Invigilator.

5. Hand in the entire exam booklet and your computer score sheet.

Scientific Computing: An Introductory Survey

Exam in TMA4215 December 7th 2012

Part IB Numerical Analysis

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Preliminary Examination in Numerical Analysis

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

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.

Interpolation. Chapter Interpolation. 7.2 Existence, Uniqueness and conditioning

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

NUMERICAL ANALYSIS STUDY GUIDE. Topic # Rootfinding

Fixed point iteration and root finding

COURSE Numerical integration of functions

LECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes).

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

. Consider the linear system dx= =! = " a b # x y! : (a) For what values of a and b do solutions oscillate (i.e., do both x(t) and y(t) pass through z

Hermite Interpolation

Math Ordinary Differential Equations

Numerical Methods for Differential Equations

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

Linear Algebra, 4th day, Thursday 7/1/04 REU Info:

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

Chapter 4: Interpolation and Approximation. October 28, 2005

CS 257: Numerical Methods

Fourth Order RK-Method

Conceptual Questions for Review

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method

Numerical Schemes from the Perspective of Consensus

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 16. f(x) dx,

Linear Algebra, part 2 Eigenvalues, eigenvectors and least squares solutions

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

Math 671: Tensor Train decomposition methods

Introductory Numerical Analysis

Contents. 6 Systems of First-Order Linear Dierential Equations. 6.1 General Theory of (First-Order) Linear Systems

Engg. Math. II (Unit-IV) Numerical Analysis

Theory, Solution Techniques and Applications of Singular Boundary Value Problems

Notes on Numerical Analysis

Interpolation and Approximation

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45

Examination paper for TMA4130 Matematikk 4N: SOLUTION

QR Decomposition. When solving an overdetermined system by projection (or a least squares solution) often the following method is used:

Lösning: Tenta Numerical Analysis för D, L. FMN011,

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

Jim Lambers MAT 772 Fall Semester Lecture 21 Notes

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability

Time-dependent variational forms

8.1 Introduction. Consider the initial value problem (IVP):

Zeroes of Transcendental and Polynomial Equations. Bisection method, Regula-falsi method and Newton-Raphson method

MA2501 Numerical Methods Spring 2015

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016

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

Homework and Computer Problems for Math*2130 (W17).

Initial value problems for ordinary differential equations

MATHEMATICAL METHODS INTERPOLATION

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

Final Examination. CS 205A: Mathematical Methods for Robotics, Vision, and Graphics (Spring 2016), Stanford University

Problem Set 9 Due: In class Tuesday, Nov. 27 Late papers will be accepted until 12:00 on Thursday (at the beginning of class).

1 Ordinary Differential Equations

Numerical Analysis: Approximation of Functions

+ i. cos(t) + 2 sin(t) + c 2.

Electromagnetic Modeling and Simulation

11.2 Basic First-order System Methods

3.3. SYSTEMS OF ODES 1. y 0 " 2y" y 0 + 2y = x1. x2 x3. x = y(t) = c 1 e t + c 2 e t + c 3 e 2t. _x = A x + f; x(0) = x 0.

Math 578: Assignment 2

Spring 2012 Introduction to numerical analysis Class notes. Laurent Demanet

Numerical Integra/on

Chapter 5.3: Series solution near an ordinary point

. (a) Express [ ] as a non-trivial linear combination of u = [ ], v = [ ] and w =[ ], if possible. Otherwise, give your comments. (b) Express +8x+9x a

2 Introduction to perturbation methods

Do not turn over until you are told to do so by the Invigilator.

Virtual University of Pakistan

Consistency and Convergence

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

! 4 4! o! +! h 4 o=0! ±= ± p i And back-substituting into the linear equations gave us the ratios of the amplitudes of oscillation:.»» = A p e i! +t»»

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

Ordinary Differential Equations

QUANTUM MECHANICS I PHYS 516. Solutions to Problem Set # 5

Runge-Kutta and Collocation Methods Florian Landis

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

Applied Numerical Analysis

Multistep Methods for IVPs. t 0 < t < T

Numerical Methods for Differential Equations

NUMERICAL METHODS FOR ENGINEERING APPLICATION

A vector from the origin to H, V could be expressed using:

Transcription:

Department of Applied Mathematics Preliminary Examination in Numerical Analysis August, 013 August 8, 013 Solutions: 1 Root Finding (a) Let the root be x = α We subtract α from both sides of x n+1 = x n f(xn) f (x n) and write x n α = ε n to obtain ε n+1 = ε n f(α+εn) f (α+ε = ε n) n f(α)+εnf (α)+o(ε n) f (α)+o(ε n) Using f(α) = 0, the RHS simplies to ε n ( ε n + O(ε n) ) = O(ε n) (b) Let the update in the iteration step be x n+1 x n = x n We want to achieve 0 = f(x n + x n ) = f(x n ) + x n f (x n ) + 1 ( x n) f (x n ) + (1) Ignoring the last term and then solving for x n gives the standard Newton iteration: x n = f(xn) f (x Since this is a very good approximation to the ideal x n) n, substituting this into the last term of (1) is much better than ignoring it Doing this and then solving equation (1) again for x n gives the desired formula Numerical quadrature (a) On each subinterval, the interpolation error in the trapezoidal approximation can (by the error formula for polynomial interpolation, in case of a linear function) be estimated by f(x) p 1 (x) (x x k)(x x k+1 )! f (ξ) = O(h ) (since both x x k and x x k+1 are of size O(h)) Over an interval length of b a, the integration error can then be no more than (b a) O(h ), which still is O(h ) (b) In the expansion e cos x = k=0 a k cos kx, the trapezoidal rule is exact for the rst (constant) term and then gives the correct (zero) value for all further cosine modes until we reach the rst mode (following the constant one) that takes the value one at all the node points This mode gives the erroneous result of π a n, which will dominate the total π error With n = 6, the error will thus be approximately 6 1 6! = π/1150 3 10 4 1

3 Interpolation/Approximation (a) p n (x) = n k=0 L k(x) f k, where L k (x) = (x x 0) (x x k 1 ) (x x k+1 ) (x x n) (x k x 0 ) (x k x k 1 )(x k x k+1 ) (x k x n) (b) Suppose there are two dierent polynomials p n (x) and q n (x) that both take the values f k at node locations x k, k = 0, 1,, n The dierence p n (x) q n (x) is again a polynomial of degree n but with n+1 zeros, showing that it must be identically zero, in conict with the assumption that p n (x) and q n (x) were dierent (c) Each of the following three approaches will show that, for n + 1 nodes, the polynomial degree will be n + 1 (i) Direct solution of linear system: Let the Hermite polynomial be H n+1 (x) = a 0 + a 1 x + a x + + a n+1 x n+1 Imposing all the n + requirements gives a square (n+) (n+) linear system of the following structure for the coecients: 1 x 0 x 0 x 3 0 1 x 1 x 1 x 3 1 0 1 x 0 3x 0 0 1 x 1 3x 1 a 0 a 1 a n+1 = f 0 f n f 0 f n (ii) (iii) Based on Lagrange interpolation: With L k (x) denoting the Legendre kernel, the polynomials h i (x) = (x x i )L i (x) and h i (x) = [1 L i (x i)(x x i )] L i (x) will have { the properties that h i (x j) = h i (x j ) = 0, 0 i, j n and h i (x j ) = h i (x 0 i j j) = The Hermite interpolation polynomial is then given by 1 i = j H(x) = n i=0 h i(x) f i + n h i=0 i (x) f i Based on Newton interpolation: One can generalize the standard divided difference layout for Newton's interpolation method by duplicating each node information (location and function value) and in the next column insert the derivative information Following that, one proceeds as usual In case of just two nodes, the divided dierence tables for regular interpolation and for Hermite interpolation will take the forms: x 0 f 0 x 1 f 1 vs x 0 f 0 f 0 x 0 f 0 x 1 f 1 f 1 x 1 f 1, where the entries marked by dots are completed in the regular manner In either case, the interpolation polynomial would be created from the resulting numbers in the top right diagonal This Hermite extension works by the principle that each node can be seen as the limit of two nodes coming together, with function values approaching each other in just the right way that the derivative information becomes obeyed

4 Linear algebra (a) Since A is an antisymmetric matrix, its eigenvalues are purely imaginary, or zero Since it is a matrix with real entries, the roots of the characteristic polynomial come in pairs (if they are complex-valued) For odd-sized matrix these two conditions force at least one of the eigenvalues to be zero (b) For even-sized matrix the product of a pair of complex-valued eigenvalues is always positive and the conclusion follows (c) For non-zero eigenvalues the limit matrix will have a block-diagonal structure with twoby-two block size 5 ODEs (a) A general multistep method with s steps to solve { y = f(t, y) is of the form a m y n+m = h y(0) = y 0 b m f(t n+m, y n+m ), n = 0, 1,,, where a s = 1 For the test problem consider solutions to the recurrence a m y n+m = λh y = λy y(0) = y 0, b m y n+m, n = 0, 1,, The region of absolute stability of a method is a domain λh D C such that the solution of the corresponding linear recurrence is bounded The method is stable if zero belongs to the region of absolute stability Replacing all computed values y n by the values of the solution y(t n ) and using the ODE to evaluate local error, we dene the order of the method as p 1 (if it exists) such that a m y(t + mh) h b m y (t + mh) = O(h p+1 ) as h 0 In fact, for a multistep method, one can nd the order by taking y to be a polynomial and nding the largest degree for which a m y(t + mh) h b m y (t + mh) = 0 The method is consistent if its order p 1 These easily veried algebraic properties of the method, namely its consistency and stability, imply its convergence (a property which otherwise requires a fairly lengthy derivation) 3

(b) For an explicit multistep method, the equation for the roots of the characteristic polynomial has the form φ(u) = u s + lower order terms = 0 6 PDEs Since the polynomial can be written in terms of its roots as φ(u) = (u u 1 ) (u u ) (u u s ), and in the region of absolute stability all roots u k 1, we conclude that, in that region, all coecients of the polynomial φ are bounded (independently of λh) However, if the region of absolute stability is unbounded, then some of the coecients of φ will become arbitrarily large since they exhibit linear dependence on λh Lax-Wendro method is second order in both space and time variables To see that, we write u n+1 j h t u n j = c un j+1 un j 1 h x + 1 c h t u n j+1 un j + un j 1 h x and consider We have ψ(t, x) = u(t + h t, x) u(t, x) + c u(t, x + h x) u(t, x h x ) h t h x 1 u(t, x + h x ) u(t, x) + u(t, x h x ) c h t h x u(t + h t, x) u(t, x) h t = u t + 1 u tth t + O(h t ) u(t, x + h x ) u(t, x h x ) h x = u x (t, x) + O(h x) and obtain u(t, x + h x ) u(t, x) + u(t, x h x ) h x = u xx (t, x) + O(h x) ψ(t, x) = u t + 1 u tth t + cu x (t, x) 1 c u xx (t, x)h t + O(h t ) + O(h x) From the equation, we have u x = 1 c u t and u xx = 1 c u tt, so that ψ(t, x) = u t + 1 u tth t u t 1 u tth t + O(h t ) + O(h x) = O(h t ) + O(h x) For stability analysis, we write the scheme as u n+1 j = Au n j+1 Bu n j + Cu n j 1, 4

where A = 1 (cµ) 1 cµ, B = (cµ) 1 and C = 1 (cµ) + 1 cµ Using { e ijkhx} N 1 j=0 as an eigenvector (with index k = 0, N 1), we compute Ae i(j+1)khx Be ijkhx + Ce i(j 1)khx = e ijkhx ( Ae ikhx B + Ce ikhx ) ] = e [1 ijkhx (cµ) + (cµ) cos (kh x ) icµ sin (kh x ) Computing the absolute value of the eigenvalue λ k = 1 (cµ) +(cµ) cos (kh x ) icµ sin (kh x ), we have [ λ k = 1 (cµ) + (cµ) cos (kh x )] + (cµ) sin (kh x ) [ = 1 (cµ) sin (kh x )] + (cµ) sin (kh x ) Setting a = (cµ), a > 0 and x = sin (kh x ), 0 x 1, as a function of x we have (1 ax) + ax = 1 ax + a x The condition a 1 implies that 1 ax + a x 1 Thus, we obtain stability under the CFL condition cµ 1 or h t /h x 1/c 5