MATH20602 Numerical Analysis 1
|
|
- Justina Sherman
- 5 years ago
- Views:
Transcription
1 M\cr NA Manchester Numerical Analysis MATH20602 Numerical Analysis 1 Martin Lotz School of Mathematics The University of Manchester Manchester, February 1, 2016
2 Outline General Course Information Introduction to Numerical Analysis Prerequisites from Calculus
3 Outline General Course Information Introduction to Numerical Analysis Prerequisites from Calculus
4 Organisation The course website can be found under 1 / 27
5 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). 1 / 27
6 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). Problems are divided in Part A and Part B. 1 / 27
7 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). Problems are divided in Part A and Part B. Part A comes with advance solutions and should be attempted at home. Part B will be worked on in tutorials. 1 / 27
8 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). Problems are divided in Part A and Part B. Part A comes with advance solutions and should be attempted at home. Part B will be worked on in tutorials. All the material presented in the lecture will be made available online as the course progresses. 1 / 27
9 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). Problems are divided in Part A and Part B. Part A comes with advance solutions and should be attempted at home. Part B will be worked on in tutorials. All the material presented in the lecture will be made available online as the course progresses. Lecture notes will appear on the website towards the end of each week. 1 / 27
10 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). Problems are divided in Part A and Part B. Part A comes with advance solutions and should be attempted at home. Part B will be worked on in tutorials. All the material presented in the lecture will be made available online as the course progresses. Lecture notes will appear on the website towards the end of each week. Lecture podcasts are available on Blackboard. 1 / 27
11 Organisation The course website can be found under Tutorials start on Thursday, February 4 (not tutorials today). Problems are divided in Part A and Part B. Part A comes with advance solutions and should be attempted at home. Part B will be worked on in tutorials. All the material presented in the lecture will be made available online as the course progresses. Lecture notes will appear on the website towards the end of each week. Lecture podcasts are available on Blackboard. Contact: martin.lotz@manchester.ac.uk 1 / 27
12 Example classes Example classes are there to deepen the understanding of the course material. 2 / 27
13 Example classes Example classes are there to deepen the understanding of the course material. Problems sheets should ideally be looked at before the example class. 2 / 27
14 Example classes Example classes are there to deepen the understanding of the course material. Problems sheets should ideally be looked at before the example class. In the example classes, you will be given some time to work on the problems, you should ask questions if some parts are not clear, you will get feedback on your attempts at the problems, we will go through a selection of problems and their solutions. 2 / 27
15 Example classes Example classes are there to deepen the understanding of the course material. Problems sheets should ideally be looked at before the example class. In the example classes, you will be given some time to work on the problems, you should ask questions if some parts are not clear, you will get feedback on your attempts at the problems, we will go through a selection of problems and their solutions. Eman Almoalim and Mante Zemaityte will help in the tutorials. 2 / 27
16 Important dates Reserve these dates: Wed, March 9: Revision class for midterm test Mon, March 14: Midterm (coursework) test (1 hour) Last class of term: Revision for final exam Date of final exam will be announced when available! 3 / 27
17 MATLAB 4 / 27
18 MATLAB Matlab, or an equivalent system, is an indispensable tool for this course. 4 / 27
19 MATLAB Matlab, or an equivalent system, is an indispensable tool for this course. Availability: On campus computers Student version available at low cost 4 / 27
20 MATLAB Matlab, or an equivalent system, is an indispensable tool for this course. Availability: On campus computers Student version available at low cost The course page contains links to Matlab documentation 4 / 27
21 MATLAB Matlab, or an equivalent system, is an indispensable tool for this course. Availability: On campus computers Student version available at low cost The course page contains links to Matlab documentation Alternatives: Python, Julia 4 / 27
22 MATLAB Matlab, or an equivalent system, is an indispensable tool for this course. Availability: On campus computers Student version available at low cost The course page contains links to Matlab documentation Alternatives: Python, Julia An easy to parse introduction to Matlab is available here: 4 / 27
23 Course Structure The lecture consists of the following parts 5 / 27
24 Course Structure The lecture consists of the following parts 1 Introduction and foundations (Lectures 1-2) 5 / 27
25 Course Structure The lecture consists of the following parts 1 Introduction and foundations (Lectures 1-2) 2 Interpolation and Numerical Integration (Lectures 3-9) 5 / 27
26 Course Structure The lecture consists of the following parts 1 Introduction and foundations (Lectures 1-2) 2 Interpolation and Numerical Integration (Lectures 3-9) 3 Numerical Linear Algebra (Lectures 10-15) 5 / 27
27 Course Structure The lecture consists of the following parts 1 Introduction and foundations (Lectures 1-2) 2 Interpolation and Numerical Integration (Lectures 3-9) 3 Numerical Linear Algebra (Lectures 10-15) 4 Nonlinear Equations (Lectures 16-19) 5 / 27
28 Learning Outcomes After the lecture you should have 6 / 27
29 Learning Outcomes After the lecture you should have practical knowledge of a range of iterative techniques for solving linear and nonlinear systems of equations, theoretical knowledge of their convergence properties; 6 / 27
30 Learning Outcomes After the lecture you should have practical knowledge of a range of iterative techniques for solving linear and nonlinear systems of equations, theoretical knowledge of their convergence properties; an appreciation of the problems of numerical computation, in particular how small changes in the data affect the solutions and experience with key examples arising in the solution of differential equations; 6 / 27
31 Learning Outcomes After the lecture you should have practical knowledge of a range of iterative techniques for solving linear and nonlinear systems of equations, theoretical knowledge of their convergence properties; an appreciation of the problems of numerical computation, in particular how small changes in the data affect the solutions and experience with key examples arising in the solution of differential equations; practical knowledge of polynomial interpolation and numerical integration, its numerical implementation and theoretical knowledge of associated approximation properties; 6 / 27
32 Learning Outcomes After the lecture you should have practical knowledge of a range of iterative techniques for solving linear and nonlinear systems of equations, theoretical knowledge of their convergence properties; an appreciation of the problems of numerical computation, in particular how small changes in the data affect the solutions and experience with key examples arising in the solution of differential equations; practical knowledge of polynomial interpolation and numerical integration, its numerical implementation and theoretical knowledge of associated approximation properties; acquired numerical problem solving skills that can be applied to problems from the whole range of applied mathematics. 6 / 27
33 Outline General Course Information Introduction to Numerical Analysis Prerequisites from Calculus
34 What is Numerical Analysis? Numerical analysis is the study of algorithms for solving problems of continuous mathematics. Nick Trefethen, The definition of numerical analysis (1992) 7 / 27
35 What is Numerical Analysis? Numerical analysis is the study of algorithms for solving problems of continuous mathematics. Nick Trefethen, The definition of numerical analysis (1992) An algorithm is a sequence of instructions designed to solve a computational problem. 7 / 27
36 What is Numerical Analysis? Numerical analysis is the study of algorithms for solving problems of continuous mathematics. Nick Trefethen, The definition of numerical analysis (1992) An algorithm is a sequence of instructions designed to solve a computational problem. Continuous mathematics refers to problems involving the real or complex numbers: computing integrals, solving differential equations, approximating functions based on data samples, or solving large systems of linear and nonlinear equations. 7 / 27
37 A simple numerical problem Approximate 2 by computing a sequence x n+1 = x n x n for every n 0, starting with a guess x 0. 8 / 27
38 A simple numerical problem Approximate 2 by computing a sequence x n+1 = x n x n for every n 0, starting with a guess x 0. f x ) ( 0. 5 x+1/x ) ; x = 2 ; f o r i = 1 : 5 x = f ( x ) end Matlab code Back in the day ( 3800 years ago) 8 / 27
39 A simple numerical problem Approximate 2 by computing a sequence x n+1 = x n x n for every n 0, starting with a guess x 0. f x ) ( 0. 5 x+1/x ) ; x = 2 ; f o r i = 1 : 5 x = f ( x ) end / 27
40 A simple numerical problem Approximate 2 by computing a sequence x n+1 = x n x n for every n 0, starting with a guess x 0. f x ) ( 0. 5 x+1/x ) ; x = 2 ; f o r i = 1 : 5 x = f ( x ) end In the lecture we will prove that sequence of numbers generated converges to 2, and determine how fast. 9 / 27
41 Top Ten Algorithms 1 Monte Carlo method or Metropolis algorithm, devised by John von Neumann, Stanislaw Ulam, and Nicholas Metropolis; 2 simplex method of linear programming, developed by George Dantzig; 3 Krylov Subspace Iteration method, developed by Magnus Hestenes, Eduard Stiefel, and Cornelius Lanczos; 4 Householder matrix decomposition, developed by Alston Householder; 5 Fortran compiler, developed by a team lead by John Backus; 6 QR algorithm for eigenvalue calculation, developed by J Francis; 7 Quicksort algorithm, developed by Anthony Hoare; 8 Fast Fourier Transform, developed by James Cooley and John Tukey; 9 Integer Relation Detection Algorithm, developed by Helaman Ferguson and Rodney Forcade; 10 fast Multipole algorithm, developed by Leslie Greengard and Vladimir Rokhlin; (List assembled by Dongarra and Sullivan) 10 / 27
42 The Challenges of Numerical Analysis A particular challenge for Numerical Analysis is the fact that computers are finite devices. 11 / 27
43 The Challenges of Numerical Analysis A particular challenge for Numerical Analysis is the fact that computers are finite devices. Most numerical problems can t be solved in a finite amount of time. 11 / 27
44 The Challenges of Numerical Analysis A particular challenge for Numerical Analysis is the fact that computers are finite devices. Most numerical problems can t be solved in a finite amount of time. Most real numbers can t be represented in a finite amount of space. 11 / 27
45 The Challenges of Numerical Analysis A particular challenge for Numerical Analysis is the fact that computers are finite devices. Most numerical problems can t be solved in a finite amount of time. Most real numbers can t be represented in a finite amount of space. Since none of the numbers which we take out from logarithmic and trigonometric tables admit of absolute precision, but are all to a certain extent approximate only, the results of all calculations performed by the aid of these numbers can only be approximately true. - C.F. Gauss (1809) 11 / 27
46 The E word An unfortunate fact in numerical computation is that we have accept the presence of errors. The are many types of errors to consider / 27
47 The E word An unfortunate fact in numerical computation is that we have accept the presence of errors. The are many types of errors to consider... Modelling errors; 12 / 27
48 The E word An unfortunate fact in numerical computation is that we have accept the presence of errors. The are many types of errors to consider... Modelling errors; Measurement errors; 12 / 27
49 The E word An unfortunate fact in numerical computation is that we have accept the presence of errors. The are many types of errors to consider... Modelling errors; Measurement errors; Rounding errors (most numbers cannot be stored exactly to computer precision); 12 / 27
50 The E word An unfortunate fact in numerical computation is that we have accept the presence of errors. The are many types of errors to consider... Modelling errors; Measurement errors; Rounding errors (most numbers cannot be stored exactly to computer precision); Truncation or approximation errors. 12 / 27
51 The E word An unfortunate fact in numerical computation is that we have accept the presence of errors. The are many types of errors to consider... Modelling errors; Measurement errors; Rounding errors (most numbers cannot be stored exactly to computer precision); Truncation or approximation errors / 27
52 The E word A further source of error... photocopiers! 13 / 27
53 The E word A further source of error... photocopiers! Scan on a Xerox Workcentre More information can be found on Prof. Nick Higham s blog. 13 / 27
54 Types of errors 14 / 27
55 Types of errors Modelling and measurement errors fall outside the scope of numerical analysis, but we need to be aware of their presence! 14 / 27
56 Types of errors Modelling and measurement errors fall outside the scope of numerical analysis, but we need to be aware of their presence! Rounding errors arise due to the fact that computers operate with limited storage space, and results of calculations are always rounded to the neares representable number (see floating point numbers). 14 / 27
57 Types of errors Modelling and measurement errors fall outside the scope of numerical analysis, but we need to be aware of their presence! Rounding errors arise due to the fact that computers operate with limited storage space, and results of calculations are always rounded to the neares representable number (see floating point numbers). Truncation errors arise when replacing functions or equations with an approximations. For example, the Taylor approximation of a function gives f(x) f(x 0 ) + f (x 0 )(x x 0 ) f (x 0 )(x x 0 ) f (n) (x 0 ) (x x 0 ) n. n! 14 / 27
58 Types of errors Modelling and measurement errors fall outside the scope of numerical analysis, but we need to be aware of their presence! Rounding errors arise due to the fact that computers operate with limited storage space, and results of calculations are always rounded to the neares representable number (see floating point numbers). Truncation errors arise when replacing functions or equations with an approximations. For example, the Taylor approximation of a function gives f(x) f(x 0 ) + f (x 0 )(x x 0 ) f (x 0 )(x x 0 ) f (n) (x 0 ) (x x 0 ) n. n! Errors can accumulate! 14 / 27
59 Measuring errors In order to quantify errors in our solutions we need to define a measure for the error If ˆx is an approximation to a quantity x then the absolute error is defined by x ˆx 15 / 27
60 Measuring errors In order to quantify errors in our solutions we need to define a measure for the error If ˆx is an approximation to a quantity x then the absolute error is defined by x ˆx The relative error is defined by ˆx x x, x 0 15 / 27
61 Relative errors Example Relative vs absolute measures An error of 1cm makes a big difference for small objects, but is not considered an error at all on a cosmic scale. 16 / 27
62 Significant Digits When doing calculations by hand, we will be using the concept of significant figures. 17 / 27
63 Significant Digits When doing calculations by hand, we will be using the concept of significant figures. Starting with the first non-zero digit on the left, count all the figures on the right of it, including trailing zeros if they are to the right of the decimal point. 17 / 27
64 Significant Digits When doing calculations by hand, we will be using the concept of significant figures. Starting with the first non-zero digit on the left, count all the figures on the right of it, including trailing zeros if they are to the right of the decimal point , and all have 5 significant figures. 17 / 27
65 Significant Digits When doing calculations by hand, we will be using the concept of significant figures. Starting with the first non-zero digit on the left, count all the figures on the right of it, including trailing zeros if they are to the right of the decimal point , and all have 5 significant figures. Concept can be made more precise using the normalised scientific notation. 17 / 27
66 Significant Digits When doing calculations by hand, we will be using the concept of significant figures. Starting with the first non-zero digit on the left, count all the figures on the right of it, including trailing zeros if they are to the right of the decimal point , and all have 5 significant figures. Concept can be made more precise using the normalised scientific notation. An approximation ˆx of a number x is correct to n significant figures, if both number round to the same number to k significant digits. 17 / 27
67 Floating Point Arithmetic 18 / 27
68 Floating Point Arithmetic On a computer, numbers are stored as a bounded sequence of bits, or 0 and 1 digits, usually using 32 bits (single precision) or 64 bits (double precision) per number. 18 / 27
69 Floating Point Arithmetic On a computer, numbers are stored as a bounded sequence of bits, or 0 and 1 digits, usually using 32 bits (single precision) or 64 bits (double precision) per number. In double precision, a number is represented as x = ±f 2 e, where f is a number in [0, 1], represented using 52 bits, e is an exponent, represented using 11 bits. The remaining bit is used as a sign. 18 / 27
70 Floating Point Arithmetic On a computer, numbers are stored as a bounded sequence of bits, or 0 and 1 digits, usually using 32 bits (single precision) or 64 bits (double precision) per number. In double precision, a number is represented as x = ±f 2 e, where f is a number in [0, 1], represented using 52 bits, e is an exponent, represented using 11 bits. The remaining bit is used as a sign. The largest representable number is of the order ±10 308, the smallest of the order / 27
71 Floating Point Arithmetic On a computer, numbers are stored as a bounded sequence of bits, or 0 and 1 digits, usually using 32 bits (single precision) or 64 bits (double precision) per number. In double precision, a number is represented as x = ±f 2 e, where f is a number in [0, 1], represented using 52 bits, e is an exponent, represented using 11 bits. The remaining bit is used as a sign. The largest representable number is of the order ±10 308, the smallest of the order Floating point numbers form a finite subset of the real numbers and are not uniformly spaced! 18 / 27
72 Big O notation Our measure of running time of an algorithm is the number of arithmetic operations needed to perform a calculation. 19 / 27
73 Big O notation Our measure of running time of an algorithm is the number of arithmetic operations needed to perform a calculation. Running time is measured as a function of a parameter n that describes the problem. 19 / 27
74 Big O notation Our measure of running time of an algorithm is the number of arithmetic operations needed to perform a calculation. Running time is measured as a function of a parameter n that describes the problem. We are usually more interested in the order of magnitude than exact operation count. 19 / 27
75 Big O notation Our measure of running time of an algorithm is the number of arithmetic operations needed to perform a calculation. Running time is measured as a function of a parameter n that describes the problem. We are usually more interested in the order of magnitude than exact operation count. We normally don t care if an algorithm uses 0.5n 2 or 20n 2 operations, but will consider a difference between n log(n) or n 4 operation significant. 19 / 27
76 Big O notation Our measure of running time of an algorithm is the number of arithmetic operations needed to perform a calculation. Running time is measured as a function of a parameter n that describes the problem. We are usually more interested in the order of magnitude than exact operation count. We normally don t care if an algorithm uses 0.5n 2 or 20n 2 operations, but will consider a difference between n log(n) or n 4 operation significant. Given function f(n) and g(n), we say that f(n) O(g(n)) or f(n) = O(g(n)), if there exists C > 0 and n 0, such that for n n 0 we have f(n) < C g(n). 19 / 27
77 Big O notation Our measure of running time of an algorithm is the number of arithmetic operations needed to perform a calculation. Running time is measured as a function of a parameter n that describes the problem. We are usually more interested in the order of magnitude than exact operation count. We normally don t care if an algorithm uses 0.5n 2 or 20n 2 operations, but will consider a difference between n log(n) or n 4 operation significant. Given function f(n) and g(n), we say that f(n) O(g(n)) or f(n) = O(g(n)), if there exists C > 0 and n 0, such that for n n 0 we have f(n) < C g(n). Examples: n log(n) = O(n 2 ), n n O(n 3 ). 19 / 27
78 Numerical Analysis and Manchester: The Baby The world s first stored-program computer, the Small Scale Experimental Machine (SSEM), also called The Baby, was developed at Manchester University in (Picture credit: MOSI) 20 / 27
79 Numerical Analysis and Manchester: Alan Turing Alan Turing not only developed the mathematical foundations of programming, he also did pioneering work in numerical analysis by introducing the concept of Condition Number. 21 / 27
80 Outline General Course Information Introduction to Numerical Analysis Prerequisites from Calculus
81 Intermediate Value Theorem Let f be continuous on [a, b]. Then f is bounded on [a, b] and if y satisfies inf f(x) y sup f(x), x [a,b] x [a,b] then there exists ξ [a, b] such that f(ξ) = y. In particular, the infimum and supremum are achieved. 22 / 27
82 Taylor s Theorem Let f be a function on [a, b], such that n derivatives of f exist and are continuous on [a, b]. Assume further that f (n) is differentiable on (a, b). Let x, x 0 be in [a, b]. Then there exists ξ (a, b) such that f(x) = f(x 0 ) + f (x 0 )(x x 0 ) f (x 0 )(x x 0 ) f (n) (x 0 ) (x x 0 ) n + f (n+1) (ξ) n! (n + 1)! (x x 0) n+1 23 / 27
83 Taylor Expansion: Example 4 sin(x) = x x3 3! + x5 5! Taylor expansion of sin(x). 24 / 27
84 Mean Value Theorem A special case is the Mean Value Theorem: Let f be continuous on [a, b] and differentiable on (a, b). Then there exists a number ξ (a, b) such that This can also be written as f(x) = f(x 0 ) + f (ξ)(x x 0 ). f (ξ) = f(x) f(x 0) x x / 27
85 Rolle s Theorem Yet another special case is Rolle s Theorem: If you end up at the same height at which you started, then the path wasn t all up or all down. Let f be continuous on [a, b] and differentiable on (a, b), and such that f(a) = f(b). Then there exists a number ξ (a, b) such that f (ξ) = / 27
86 Outlook Next class: 27 / 27
87 Outlook Next class: How to avoid rounding errors by clever algorithm design; 27 / 27
88 Outlook Next class: How to avoid rounding errors by clever algorithm design; Horner s method, fast evaluation of polynomials; 27 / 27
89 Outlook Next class: How to avoid rounding errors by clever algorithm design; Horner s method, fast evaluation of polynomials; Introduction to the Interpolation Problem. 27 / 27
MATH20602 Numerical Analysis 1
M\cr NA Manchester Numerical Analysis MATH20602 Numerical Analysis 1 Martin Lotz School of Mathematics The University of Manchester Manchester, January 27, 2014 Outline General Course Information Introduction
More informationHOW TO DEVELOP A TOP- TEN ALGORITHM IN THE 21ST CENTURY
HOW TO DEVELOP A TOP- TEN ALGORITHM IN THE 21ST CENTURY Alex Townsend Cornell University (A talk for fun. Audience participation encouraged.) DONGARRA S TOP10 LIST FROM 20TH CENTURY 1946: The Metropolis
More informationChapter 1 Mathematical Preliminaries and Error Analysis
Numerical Analysis (Math 3313) 2019-2018 Chapter 1 Mathematical Preliminaries and Error Analysis Intended learning outcomes: Upon successful completion of this chapter, a student will be able to (1) list
More informationThe Best of the 20th Century: Editors Name Top 10 Algorithms
from SIAM News, Volume, Number The Best of the 0th Century: Editors Name Top 0 Algorithms By Barry A. Cipra Algos is the Greek word for pain. Algor is Latin, to be cold. Neither is the root for algorithm,
More information1 What is numerical analysis and scientific computing?
Mathematical preliminaries 1 What is numerical analysis and scientific computing? Numerical analysis is the study of algorithms that use numerical approximation (as opposed to general symbolic manipulations)
More informationMidterm Review. Igor Yanovsky (Math 151A TA)
Midterm Review Igor Yanovsky (Math 5A TA) Root-Finding Methods Rootfinding methods are designed to find a zero of a function f, that is, to find a value of x such that f(x) =0 Bisection Method To apply
More informationFast Multipole Methods: Fundamentals & Applications. Ramani Duraiswami Nail A. Gumerov
Fast Multipole Methods: Fundamentals & Applications Ramani Duraiswami Nail A. Gumerov Week 1. Introduction. What are multipole methods and what is this course about. Problems from physics, mathematics,
More informationMonte Carlo Methods. Part I: Introduction
Monte Carlo Methods Part I: Introduction Spring Semester 2013/14 Department of Applied Mathematics, University of Crete Instructor: Harmandaris Vagelis, email: vagelis@tem.uoc.gr Course web page: http://www.tem.uoc.gr/~vagelis/courses/em385/
More informationIntroduction, basic but important concepts
Introduction, basic but important concepts Felix Kubler 1 1 DBF, University of Zurich and Swiss Finance Institute October 7, 2017 Felix Kubler Comp.Econ. Gerzensee, Ch1 October 7, 2017 1 / 31 Economics
More informationNUMERICAL ANALYSIS I. MARTIN LOTZ School of Mathematics The University of Manchester. May 2016
NUMERICAL ANALYSIS I by MARTIN LOTZ School of Mathematics The University of Manchester May 06 Contents Contents ii Week. Computational Complexity....................... Accuracy...............................
More informationMATH36061 Convex Optimization
M\cr NA Manchester Numerical Analysis MATH36061 Convex Optimization Martin Lotz School of Mathematics The University of Manchester Manchester, September 26, 2017 Outline General information What is optimization?
More informationINTRODUCTION, FOUNDATIONS
1 INTRODUCTION, FOUNDATIONS ELM1222 Numerical Analysis Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999 2 Today s lecture Information
More informationIntroduction to Numerical Analysis
Introduction to Numerical Analysis S. Baskar and S. Sivaji Ganesh Department of Mathematics Indian Institute of Technology Bombay Powai, Mumbai 400 076. Introduction to Numerical Analysis Lecture Notes
More informationCME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 0
CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 0 GENE H GOLUB 1 What is Numerical Analysis? In the 1973 edition of the Webster s New Collegiate Dictionary, numerical analysis is defined to be the
More informationMA 580; Numerical Analysis I
MA 580; Numerical Analysis I C. T. Kelley NC State University tim kelley@ncsu.edu Version of October 23, 2016 NCSU, Fall 2016 c C. T. Kelley, I. C. F. Ipsen, 2016 MA 580, Fall 2016 1 / 43 Contents 1 Introduction
More informationChapter 1 Mathematical Preliminaries and Error Analysis
Chapter 1 Mathematical Preliminaries and Error Analysis Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 128A Numerical Analysis Limits and Continuity
More informationNumerical Methods - Preliminaries
Numerical Methods - Preliminaries Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Preliminaries 2013 1 / 58 Table of Contents 1 Introduction to Numerical Methods Numerical
More informationCHAPTER 11. A Revision. 1. The Computers and Numbers therein
CHAPTER A Revision. The Computers and Numbers therein Traditional computer science begins with a finite alphabet. By stringing elements of the alphabet one after another, one obtains strings. A set of
More information1 Backward and Forward Error
Math 515 Fall, 2008 Brief Notes on Conditioning, Stability and Finite Precision Arithmetic Most books on numerical analysis, numerical linear algebra, and matrix computations have a lot of material covering
More informationA Crash Course on Fast Multipole Method (FMM)
A Crash Course on Fast Multipole Method (FMM) Hanliang Guo Kanso Biodynamical System Lab, 2018 April What is FMM? A fast algorithm to study N body interactions (Gravitational, Coulombic interactions )
More informationPrerequisite: Qualification by assessment process or completion of Mathematics 1050 or one year of high school algebra with a grade of "C" or higher.
Reviewed by: D. Jones Reviewed by: B. Jean Reviewed by: M. Martinez Text update: Spring 2017 Date reviewed: February 2014 C&GE Approved: March 10, 2014 Board Approved: April 9, 2014 Mathematics (MATH)
More informationElements of Floating-point Arithmetic
Elements of Floating-point Arithmetic Sanzheng Qiao Department of Computing and Software McMaster University July, 2012 Outline 1 Floating-point Numbers Representations IEEE Floating-point Standards Underflow
More informationApplied Mathematics 205. Unit 0: Overview of Scientific Computing. Lecturer: Dr. David Knezevic
Applied Mathematics 205 Unit 0: Overview of Scientific Computing Lecturer: Dr. David Knezevic Scientific Computing Computation is now recognized as the third pillar of science (along with theory and experiment)
More informationNumerical Methods. King Saud University
Numerical Methods King Saud University Aims In this lecture, we will... Introduce the topic of numerical methods Consider the Error analysis and sources of errors Introduction A numerical method which
More informationComputer Arithmetic. MATH 375 Numerical Analysis. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Computer Arithmetic
Computer Arithmetic MATH 375 Numerical Analysis J. Robert Buchanan Department of Mathematics Fall 2013 Machine Numbers When performing arithmetic on a computer (laptop, desktop, mainframe, cell phone,
More informationLecture 1 Numerical methods: principles, algorithms and applications: an introduction
Lecture 1 Numerical methods: principles, algorithms and applications: an introduction Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical
More information1 Number Systems and Errors 1
Contents 1 Number Systems and Errors 1 1.1 Introduction................................ 1 1.2 Number Representation and Base of Numbers............. 1 1.2.1 Normalized Floating-point Representation...........
More informationCan You Count on Your Computer?
Can You Count on Your Computer? Professor Nick Higham School of Mathematics University of Manchester higham@ma.man.ac.uk http://www.ma.man.ac.uk/~higham/ p. 1/33 p. 2/33 Counting to Six I asked my computer
More informationThe University of Jordan
The University of Jordan Faculty: Pharmacy Department: Pharmaceutical Sciences Program: Pharmacy and PharmD Academic Year/ Semester: 014-015 second semester Pharmaceutical Analytical Chemistry (10101)
More informationHybrid Analog-Digital Solution of Nonlinear Partial Differential Equations
Hybrid Analog-Digital Solution of Nonlinear Partial Differential Equations Yipeng Huang, Ning Guo, Kyle Mandli, Mingoo Seok, Yannis Tsividis, Simha Sethumadhavan Columbia University Hybrid Analog-Digital
More informationSection 2.5 : The Completeness Axiom in R
Section 2.5 : The Completeness Axiom in R The rational numbers and real numbers are closely related. The set Q of rational numbers is countable and the set R of real numbers is not, and in this sense there
More informationNumerical Analysis and Computing
Numerical Analysis and Computing Lecture Notes #02 Calculus Review; Computer Artihmetic and Finite Precision; and Convergence; Joe Mahaffy, mahaffy@math.sdsu.edu Department of Mathematics Dynamical Systems
More informationIntroduction CSE 541
Introduction CSE 541 1 Numerical methods Solving scientific/engineering problems using computers. Root finding, Chapter 3 Polynomial Interpolation, Chapter 4 Differentiation, Chapter 4 Integration, Chapters
More informationRadnor High School Course Syllabus Advanced Placement Calculus BC 0460
Radnor High School Modified April 24, 2012 Course Syllabus Advanced Placement Calculus BC 0460 Credits: 1 Grades: 11, 12 Weighted: Yes Prerequisite: Recommended by Department Length: Year Format: Meets
More informationMA3025 Course Prerequisites
MA3025 Course Prerequisites MA 3025 (4-1) MA3025 (4-1) Logic and Discrete Mathematics: Provides a rigorous foundation in logic and elementary discrete mathematics. Topics from logic include modeling English
More informationNotes for Chapter 1 of. Scientific Computing with Case Studies
Notes for Chapter 1 of Scientific Computing with Case Studies Dianne P. O Leary SIAM Press, 2008 Mathematical modeling Computer arithmetic Errors 1999-2008 Dianne P. O'Leary 1 Arithmetic and Error What
More information5. Hand in the entire exam booklet and your computer score sheet.
WINTER 2016 MATH*2130 Final Exam Last name: (PRINT) First name: Student #: Instructor: M. R. Garvie 19 April, 2016 INSTRUCTIONS: 1. This is a closed book examination, but a calculator is allowed. The test
More informationElements of Floating-point Arithmetic
Elements of Floating-point Arithmetic Sanzheng Qiao Department of Computing and Software McMaster University July, 2012 Outline 1 Floating-point Numbers Representations IEEE Floating-point Standards Underflow
More informationJustify all your answers and write down all important steps. Unsupported answers will be disregarded.
Numerical Analysis FMN011 10058 The exam lasts 4 hours and has 13 questions. A minimum of 35 points out of the total 70 are required to get a passing grade. These points will be added to those you obtained
More informationArithmetic and Error. How does error arise? How does error arise? Notes for Part 1 of CMSC 460
Notes for Part 1 of CMSC 460 Dianne P. O Leary Preliminaries: Mathematical modeling Computer arithmetic Errors 1999-2006 Dianne P. O'Leary 1 Arithmetic and Error What we need to know about error: -- how
More informationIntermediate Algebra
Intermediate Algebra COURSE OUTLINE FOR MATH 0312 (REVISED JULY 29, 2015) Catalog Description: Topics include factoring techniques, radicals, algebraic fractions, absolute values, complex numbers, graphing
More informationASSIGNMENT BOOKLET. Numerical Analysis (MTE-10) (Valid from 1 st July, 2011 to 31 st March, 2012)
ASSIGNMENT BOOKLET MTE-0 Numerical Analysis (MTE-0) (Valid from st July, 0 to st March, 0) It is compulsory to submit the assignment before filling in the exam form. School of Sciences Indira Gandhi National
More informationECE 204 Numerical Methods for Computer Engineers MIDTERM EXAMINATION /8:00-9:30
ECE 204 Numerical Methods for Computer Engineers MIDTERM EXAMINATION 2007-10-23/8:00-9:30 The examination is out of 67 marks. Instructions: No aides. Write your name and student ID number on each booklet.
More informationChapter 1: Introduction and mathematical preliminaries
Chapter 1: Introduction and mathematical preliminaries Evy Kersalé September 26, 2011 Motivation Most of the mathematical problems you have encountered so far can be solved analytically. However, in real-life,
More informationNumerical Analysis Preliminary Exam 10 am to 1 pm, August 20, 2018
Numerical Analysis Preliminary Exam 1 am to 1 pm, August 2, 218 Instructions. You have three hours to complete this exam. Submit solutions to four (and no more) of the following six problems. Please start
More information1 Lecture 8: Interpolating polynomials.
1 Lecture 8: Interpolating polynomials. 1.1 Horner s method Before turning to the main idea of this part of the course, we consider how to evaluate a polynomial. Recall that a polynomial is an expression
More informationCourse Outcome Summary
Course Information: Description: Instruction Level: 9-12 Total Credits: 2 Prerequisites: Textbooks: Course Algebra I Algebra is a symbolic extension of arithmetic and allows you to solve more complex problems
More informationIntroduction to Applied Linear Algebra with MATLAB
Sigam Series in Applied Mathematics Volume 7 Rizwan Butt Introduction to Applied Linear Algebra with MATLAB Heldermann Verlag Contents Number Systems and Errors 1 1.1 Introduction 1 1.2 Number Representation
More informationMAT01A1. Numbers, Inequalities and Absolute Values. (Appendix A)
MAT01A1 Numbers, Inequalities and Absolute Values (Appendix A) Dr Craig 7 February 2018 Leftovers from yesterday: lim n i=1 3 = lim n n 3 = lim n n n 3 i ) 2 ] + 1 n[( n ( n i 2 n n + 2 i=1 i=1 3 = lim
More informationMathematics, Advanced Level MATH 080 Adult Education/Adult Upgrading Program. Course Outline
Mathematics, Advanced Level MATH 080 Adult Education/Adult Upgrading Program Course Outline COURSE IMPLEMENTATION DATE: Pre 1998 OUTLINE EFFECTIVE DATE: May 2017 COURSE OUTLINE REVIEW DATE: January 2022
More informationTHE SECANT METHOD. q(x) = a 0 + a 1 x. with
THE SECANT METHOD Newton s method was based on using the line tangent to the curve of y = f (x), with the point of tangency (x 0, f (x 0 )). When x 0 α, the graph of the tangent line is approximately the
More informationCourse Content (visit for details)
Instructor: Dr. Alexander Krantsberg Email: akrantsberg@nvcc.edu Phone: 703-845-6548 Office: Bisdorf, Room AA-354 Class Time: Tuesdays, Thursdays 4:30 PM - 7:15 PM. Classroom: Bisdorf, AA 355 Office hours:
More informationAP Calculus Summer Packet
AP Calculus Summer Packet Going into AP Calculus, there are certain skills that have been taught to you over the previous tears that we assume you have. If you do not have these skills, you will find that
More informationMAT 460: Numerical Analysis I. James V. Lambers
MAT 460: Numerical Analysis I James V. Lambers January 31, 2013 2 Contents 1 Mathematical Preliminaries and Error Analysis 7 1.1 Introduction............................ 7 1.1.1 Error Analysis......................
More informationAlgebra 2 Syllabus. Certificated Teacher: Date: Desired Results
Algebra 2 Syllabus Certificated Teacher: Date: 2012-13 Desired Results Course Title/Grade Level: Algebra 2 A and B Credit: one semester (.5) x two semesters (1) Estimate of hours per week engaged in learning
More informationFloating Point Number Systems. Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le
Floating Point Number Systems Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le 1 Overview Real number system Examples Absolute and relative errors Floating point numbers Roundoff
More informationEAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science
EAD 115 Numerical Solution of Engineering and Scientific Problems David M. Rocke Department of Applied Science Computer Representation of Numbers Counting numbers (unsigned integers) are the numbers 0,
More informationHow do computers represent numbers?
How do computers represent numbers? Tips & Tricks Week 1 Topics in Scientific Computing QMUL Semester A 2017/18 1/10 What does digital mean? The term DIGITAL refers to any device that operates on discrete
More informationMath 411 Preliminaries
Math 411 Preliminaries Provide a list of preliminary vocabulary and concepts Preliminary Basic Netwon s method, Taylor series expansion (for single and multiple variables), Eigenvalue, Eigenvector, Vector
More informationMath 113 (Calculus 2) Exam 4
Math 3 (Calculus ) Exam 4 November 0 November, 009 Sections 0, 3 7 Name Student ID Section Instructor In some cases a series may be seen to converge or diverge for more than one reason. For such problems
More informationModesto Junior College Course Outline of Record MATH 70
Modesto Junior College Course Outline of Record MATH 70 I. OVERVIEW The following information will appear in the 2009-2010 catalog MATH 70 Elementary Algebra 5 Units Equivalent to a first-year high school
More informationChapter 1 Error Analysis
Chapter 1 Error Analysis Several sources of errors are important for numerical data processing: Experimental uncertainty: Input data from an experiment have a limited precision. Instead of the vector of
More informationMathematics (MAT) MAT 051 Pre-Algebra. 4 Hours. Prerequisites: None. 4 hours weekly (4-0)
Mathematics (MAT) MAT 051 Pre-Algebra 4 Hours Prerequisites: None 4 hours weekly (4-0) MAT 051 is designed as a review of the basic operations of arithmetic and an introduction to algebra. The student
More informationLecture 6, Sci. Comp. for DPhil Students
Lecture 6, Sci. Comp. for DPhil Students Nick Trefethen, Thursday 1.11.18 Today II.3 QR factorization II.4 Computation of the QR factorization II.5 Linear least-squares Handouts Quiz 4 Householder s 4-page
More informationModesto Junior College Course Outline of Record MATH 90
Modesto Junior College Course Outline of Record MATH 90 I. OVERVIEW The following information will appear in the 2009-2010 catalog MATH 90 Intermediate Algebra 5 Units Equivalent to second year high school
More informationNumerical Methods and Modeling in Biomedical Engineering
Numerical Methods and Modeling in Biomedical Engineering Instructor : Dr Vivi Andasari Office : 44 Cummington St, Room 329 Office hours : By appointment (andasari@bu.edu) Lecture materials are available
More informationApplied Numerical Analysis (AE2220-I) R. Klees and R.P. Dwight
Applied Numerical Analysis (AE0-I) R. Klees and R.P. Dwight February 018 Contents 1 Preliminaries: Motivation, Computer arithmetic, Taylor series 1 1.1 Numerical Analysis Motivation..........................
More informationINSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad
Course Title Course Code INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 CIVIL ENGINEERING COURSE DESCRIPTION MATHEMATICS-II A30006 Course Structure Lectures Tutorials
More informationMath 200 A and B: Linear Algebra Spring Term 2007 Course Description
Math 200 A and B: Linear Algebra Spring Term 2007 Course Description February 25, 2007 Instructor: John Schmitt Warner 311, Ext. 5952 jschmitt@middlebury.edu Office Hours: Monday, Wednesday 11am-12pm,
More informationIntroduction to Scientific Computing
(Lecture 2: Machine precision and condition number) B. Rosić, T.Moshagen Institute of Scientific Computing General information :) 13 homeworks (HW) Work in groups of 2 or 3 people Each HW brings maximally
More informationB553 Lecture 1: Calculus Review
B553 Lecture 1: Calculus Review Kris Hauser January 10, 2012 This course requires a familiarity with basic calculus, some multivariate calculus, linear algebra, and some basic notions of metric topology.
More information11.10a Taylor and Maclaurin Series
11.10a 1 11.10a Taylor and Maclaurin Series Let y = f(x) be a differentiable function at x = a. In first semester calculus we saw that (1) f(x) f(a)+f (a)(x a), for all x near a The right-hand side of
More informationAn Introduction to Differential Algebra
An Introduction to Differential Algebra Alexander Wittig1, P. Di Lizia, R. Armellin, et al. 1 ESA Advanced Concepts Team (TEC-SF) SRL, Milan Dinamica Outline 1 Overview Five Views of Differential Algebra
More informationWeek 12: Optimisation and Course Review.
Week 12: Optimisation and Course Review. MA161/MA1161: Semester 1 Calculus. Prof. Götz Pfeiffer School of Mathematics, Statistics and Applied Mathematics NUI Galway November 21-22, 2016 Assignments. Problem
More informationLINEAR ALGEBRA: M340L EE, 54300, Fall 2017
LINEAR ALGEBRA: M340L EE, 54300, Fall 2017 TTh 3:30 5:00pm Room: EER 1.516 Click for printable PDF Version Click for Very Basic Matlab Pre requisite M427J Instructor: John E Gilbert E mail: gilbert@math.utexas.edu
More informationINTRODUCTION TO COMPUTATIONAL MATHEMATICS
INTRODUCTION TO COMPUTATIONAL MATHEMATICS Course Notes for CM 271 / AMATH 341 / CS 371 Fall 2007 Instructor: Prof. Justin Wan School of Computer Science University of Waterloo Course notes by Prof. Hans
More informationImportant Dates. Non-instructional days. No classes. College offices closed.
Instructor: Dr. Alexander Krantsberg Email: akrantsberg@nvcc.edu Phone: 703-845-6548 Office: Bisdorf, Room AA 352 Class Time: Mondays and Wednesdays 12:30 PM - 1:45 PM. Classroom: Bisdorf / AA 354 Office
More informationA. Incorrect! Check your algebra when you solved for volume. B. Incorrect! Check your algebra when you solved for volume.
AP Chemistry - Problem Drill 03: Basic Math for Chemistry No. 1 of 10 1. Unlike math problems, chemistry calculations have two key elements to consider in any number units and significant figures. Solve
More informationMAT01A1. Numbers, Inequalities and Absolute Values. (Appendix A)
MAT01A1 Numbers, Inequalities and Absolute Values (Appendix A) Dr Craig 8 February 2017 Leftovers from yesterday: lim n i=1 3 = lim n n 3 = lim n n n 3 i ) 2 ] + 1 n[( n ( n i 2 n n + 2 i=1 i=1 3 = lim
More informationTu: 9/3/13 Math 471, Fall 2013, Section 001 Lecture 1
Tu: 9/3/13 Math 71, Fall 2013, Section 001 Lecture 1 1 Course intro Notes : Take attendance. Instructor introduction. Handout : Course description. Note the exam days (and don t be absent). Bookmark the
More informationACM 106a: Lecture 1 Agenda
1 ACM 106a: Lecture 1 Agenda Introduction to numerical linear algebra Common problems First examples Inexact computation What is this course about? 2 Typical numerical linear algebra problems Systems of
More informationElementary Numerical Mathematics
Lecture on Elementary Numerical Mathematics Winter Term 2017/18 Prof. Dr. Gerhard Wellein Department for Computer Science HPC Services, Regionales Rechenzentrum Erlangen (RRZE) Organization Lecture (4
More informationCourse Information Course Overview Study Skills Background Material. Introduction. CS 205A: Mathematical Methods for Robotics, Vision, and Graphics
Introduction CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Doug James CS 205A: Mathematical Methods Introduction 1 / 16 Instructor Prof. Doug James Office: Gates 363 Telephone: (650)
More informationALGEBRA+NUMBER THEORY +COMBINATORICS
ALGEBRA+NUMBER THEORY +COMBINATORICS COMP 321 McGill University These slides are mainly compiled from the following resources. - Professor Jaehyun Park slides CS 97SI - Top-coder tutorials. - Programming
More informationSupport for UCL Mathematics offer holders with the Sixth Term Examination Paper
1 Support for UCL Mathematics offer holders with the Sixth Term Examination Paper The Sixth Term Examination Paper (STEP) examination tests advanced mathematical thinking and problem solving. The examination
More information2.29 Numerical Fluid Mechanics Fall 2011 Lecture 2
2.29 Numerical Fluid Mechanics Fall 2011 Lecture 2 REVIEW Lecture 1 1. Syllabus, Goals and Objectives 2. Introduction to CFD 3. From mathematical models to numerical simulations (1D Sphere in 1D flow)
More informationBinary floating point
Binary floating point Notes for 2017-02-03 Why do we study conditioning of problems? One reason is that we may have input data contaminated by noise, resulting in a bad solution even if the intermediate
More informationLecture Note 18: Duality
MATH 5330: Computational Methods of Linear Algebra 1 The Dual Problems Lecture Note 18: Duality Xianyi Zeng Department of Mathematical Sciences, UTEP The concept duality, just like accuracy and stability,
More informationMAT01B1: the Mean Value Theorem
MAT01B1: the Mean Value Theorem Dr Craig 21 August 2017 My details: acraig@uj.ac.za Consulting hours: Monday 14h40 15h25 Thursday 09h40 11h15 Friday (this week): 11h20 12h30 14h00 16h00 Office C-Ring 508
More informationMath 471. Numerical methods Introduction
Math 471. Numerical methods Introduction Section 1.1 1.4 of Bradie 1.1 Algorithms Here is an analogy between Numerical Methods and Gastronomy: Calculus, Lin Alg., Diff. eq. Ingredients Algorithm Recipe
More informationWe say that the function f obtains a maximum value provided that there. We say that the function f obtains a minimum value provided that there
Math 311 W08 Day 10 Section 3.2 Extreme Value Theorem (It s EXTREME!) 1. Definition: For a function f: D R we define the image of the function to be the set f(d) = {y y = f(x) for some x in D} We say that
More informationprinting Three areas: solid calculus, particularly calculus of several
Math 5610 printing 5600 5610 Notes of 8/21/18 Quick Review of some Prerequisites Three areas: solid calculus, particularly calculus of several variables. linear algebra Programming (Coding) The term project
More informationLinear algebra and differential equations (Math 54): Lecture 10
Linear algebra and differential equations (Math 54): Lecture 10 Vivek Shende February 24, 2016 Hello and welcome to class! As you may have observed, your usual professor isn t here today. He ll be back
More informationMTH 167 Pre Calculus I (Spring 2015) 3 credits. Department of Mathematics at Cleveland State University
MTH 167 Pre Calculus I (Spring 2015) 3 credits Department of Mathematics at Cleveland State University Section 1 - MWF 12:25pm 1:15pm MC 304 or RT 403. Prof. Feister ALEKS course code: PHMDL-HHXJJ Financial
More informationJim Lambers MAT 610 Summer Session Lecture 2 Notes
Jim Lambers MAT 610 Summer Session 2009-10 Lecture 2 Notes These notes correspond to Sections 2.2-2.4 in the text. Vector Norms Given vectors x and y of length one, which are simply scalars x and y, the
More informationElementary Algebra Basic Operations With Polynomials Worksheet
Elementary Algebra Basic Operations With Polynomials Worksheet Subjects include Algebra, Geometry, Calculus, Pre-Algebra, Basic Math, 100% free calculus worksheet, students must find Taylor and Maclaurin
More informationCourse Descriptions. Mathematics LA 848, (406)
Course Descriptions Mathematics LA 848, (406) 657-2228 M 065 Prealgebra [formerly M 061 Basic Mathematics] 3 cr. Covers pre-algebra concepts involving terminology, fractions, decimals, percent, ratio and
More informationTwo hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45
Two hours MATH20602 To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER NUMERICAL ANALYSIS 1 29 May 2015 9:45 11:45 Answer THREE of the FOUR questions. If more
More information1 Extrapolation: A Hint of Things to Come
Notes for 2017-03-24 1 Extrapolation: A Hint of Things to Come Stationary iterations are simple. Methods like Jacobi or Gauss-Seidel are easy to program, and it s (relatively) easy to analyze their convergence.
More informationDifferentiation and Integration
Differentiation and Integration (Lectures on Numerical Analysis for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 12, 2018 1 University of Pennsylvania 2 Boston College Motivation
More information