Example: bachelor of science

LECTURES IN BASIC COMPUTATIONAL NUMERICAL ANALYSIS

J. M. McDonoughUniversity of Kentucky Lexington, KY 40506E-mail: = x [J( )] (x )(m)(m+1)(m)(m) 1D f = 0if fi+1i 12hy = (y,t) LECTURES IN BASIC COMPUTATIONALNUMERICAL ANALYSIS LECTURES IN BASIC COMPUTATIONALNUMERICAL ANALYSISLECTURES IN BASICCOMPUTATIONALNUMERICAL ANALYSISJ. M. McDonoughDepartments of Mechanical Engineering and MathematicsUniversity of Kentuckyc 1984, 1990, 1995, 2001, 2004, 2007 Contents1 NUMERICAL Linear Some BASIC Facts from Linear Algebra .. Solution of Linear Systems .. NUMERICAL solution of linear systems: direct elimination .. NUMERICAL solution of linear systems: iterative methods .. Summary of methods for solving linear systems.

1.1. SOME BASIC FACTS FROM LINEAR ALGEBRA 3 Theorem 1.1 (Cauchy–Schwarz) Let S be an inner-product space with inner product h· ,·i and norm k· k2. If v,w ∈ S, then hv,wi ≤ kvk2 kwk2. (1.5) We have thus far introduced the 2-norm, the infinity norm and the inner product for spaces of finite-dimensional vectors.

Tags:

  Analysis, Basics, Numerical, Numerical analysis

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of LECTURES IN BASIC COMPUTATIONAL NUMERICAL ANALYSIS

1 J. M. McDonoughUniversity of Kentucky Lexington, KY 40506E-mail: = x [J( )] (x )(m)(m+1)(m)(m) 1D f = 0if fi+1i 12hy = (y,t) LECTURES IN BASIC COMPUTATIONALNUMERICAL ANALYSIS LECTURES IN BASIC COMPUTATIONALNUMERICAL ANALYSISLECTURES IN BASICCOMPUTATIONALNUMERICAL ANALYSISJ. M. McDonoughDepartments of Mechanical Engineering and MathematicsUniversity of Kentuckyc 1984, 1990, 1995, 2001, 2004, 2007 Contents1 NUMERICAL Linear Some BASIC Facts from Linear Algebra .. Solution of Linear Systems .. NUMERICAL solution of linear systems: direct elimination .. NUMERICAL solution of linear systems: iterative methods .. Summary of methods for solving linear systems.

2 The Algebraic Eigenvalue Problem .. The power method .. Inverse iteration with Rayleigh quotient shifts .. The QR algorithm .. Summary of methods for the algebraic eigenvalue problem .. Summary .. 322 Solution of Nonlinear Fixed-Point Methods for Single Nonlinear Equations .. BASIC fixed-point iteration .. Newton iteration .. Modifications to Newton s Method .. The secant method .. The method of false position .. Newton s Method for Systems of Equations .. Derivation of Newton s Method for Systems .. Pseudo-language algorithm for Newton s method for systems .. Summary .. 433 Approximation Approximation of Functions .. The method of least squares.

3 Lagrange interpolation polynomials .. Cubic spline interpolation .. Extraplotation .. NUMERICAL Quadrature .. BASIC Newton Cotes quadrature formulas .. Gauss Legendre quadrature .. Evaluation of multiple integrals .. Finite-Difference Approximations .. BASIC concepts .. Use of Taylor series .. Partial derivatives and derivatives of higher order .. Differentiation of interpolation polynomials .. Richardson Extrapolation Revisited .. COMPUTATIONAL Test for Grid Function Convergence .. Summary .. 764 NUMERICAL Solution of Initial-Value Problems .. Mathematical Background .. BASIC Single-Step Methods .. Runge Kutta Methods .. Multi-Step and Predictor-Corrector, Methods.

4 Solution of Stiff Equations .. Boundary-Value Problems for ODEs .. Mathematical Background .. Shooting Methods .. Finite-Difference Methods .. Singular and Nonlinear Boundary-Value Problems .. Coordinate Singularities .. Iterative Methods for Nonlinear BVPs .. The Galerkin Procedure .. Summary .. 1185 NUMERICAL Solution of Mathematical Introduction .. Classification of Linear PDEs .. BASIC Concept of Well Posedness .. Overview of Discretization Methods for PDEs .. Parabolic Equations .. Explicit Euler Method for the Heat Equation .. Backward-Euler Method for the Heat Equation .. Second-Order Approximations to the Heat Equation .. Peaceman Rachford Alternating-Direction-Implicit Scheme.

5 Elliptic Equations .. Successive Overrelaxation .. The Alternating-Direction-Implicit Scheme .. Hyperbolic Equations .. The Wave Equation .. First-Order Hyperbolic Equations and Systems .. Summary .. 159 References160 List of Sparse, band matrix .. Compactly-banded matrices: (a) tridiagonal, (b) pentadiagonal .. Graphical ANALYSIS of fixed-point iteration: the convergent case .. Graphical ANALYSIS of fixed-point iteration: the divergent case .. Geometry of Newton s method .. Newton s method applied toF(x) = tanhx.. Geometry of the secant method .. Geometry of regula falsi .. Least-squares curve fitting of experimental data .. Linear interpolation off(x, y):R2 R1.

6 Ill-behavior of high-order Lagrange polynomials .. Discontinuity of 1stderivative in local linear interpolation .. Geometry of Trapezoidal Rule .. Grid-point Indexing onhand 2hGrids .. Region of absolute stability for Euler s method appliedtou = u.. Forward-Euler solutions tou = u, <0 .. Comparison of round-off and truncation error .. Geometry of Runge Kutta methods .. Solution of a stiff system .. Region of absolute stability for backward-Euler method.. Geometric representation of the shooting method .. Finite-Difference grid for the interval [0,1] .. Matrix structure of discrete equations approximating ( ) .. Methods for spatial discretization of partial differential equations; (a) finite differ-ence, (b) finite element and (c) spectral.

7 Mesh star for forward-Euler method applied to heat equation .. Matrix structure for 2-D Crank Nicolson method.. Implementation of Peaceman Rachford ADI.. Matrix structure of centered discretization of Poisson/Dirichlet problem.. Analytical domain of dependence for the point (x, t).. NUMERICAL domain of dependence of the grid point (m, n+ 1).. Difference approximation satisfying CFL condition.. 156iiiChapter 1 NUMERICAL Linear AlgebraFrom a practical standpoint NUMERICAL linear algebra is without a doubt the single most importanttopic in NUMERICAL ANALYSIS . Nearly all other problems ultimately can be reduced to problems innumerical linear algebra; , solution of systems of ordinary differential equation initial valueproblems by implicit methods, solution of boundary value problems for ordinary and partial dif-ferential equations by any discrete approximation method,construction of splines, and solution ofsystems of nonlinear algebraic equations represent just a few of the applications of NUMERICAL linearalgebra.

8 Because of this prevalence of NUMERICAL linear algebra, we begin our treatment of basicnumerical methods with this topic, and note that this is somewhat this chapter we begin with discussion of some BASIC notations and definitions which will beof importance throughout these lectires, but especially soin the present chapter. Then we considerthe two main problems encountered in NUMERICAL linear algebra:i) solution of linear systems ofequations, andii) the algebraic eigenvalue problem. Much attention will be given to the first ofthese because of its wide applicability; all of the examplescited above involve this class of second, although very important, occurs less frequently, and we will provide only a Some BASIC Facts from Linear AlgebraBefore beginning our treatment of NUMERICAL solution of linear systems we will review a few im-portant facts from linear algebra, itself.

9 We typically think of linear algebra as being associatedwith vectors and matrices in some finite-dimensional , in fact, most of our ideas extendquite naturally to the infinite-dimensional spaces frequently encountered in the study of partialdifferential begin with the BASIC notion oflinearitywhich is crucial to much of mathematical a vector space defined on the real numbersR(or the complex numbersC), and letLbe an operator (or transformation) whose domain isS. Suppose for anyu, v Sanda, b R(orC) we haveL(au+bv) =aLu+bLv.( )ThenLis said to be a linear of linear operators includeM Nmatrices, differential operators and integral is generally important to be able to distinguish linear and nonlinear operators because prob-lems involving only the former can often be solved without recourse to iterative procedures.

10 This12 CHAPTER 1. NUMERICAL LINEAR ALGEBRAis seldom true for nonlinear problems, with the consequencethat corresponding algorithms mustbe more elaborate. This will become apparent as we of the most fundamental properties of any object, be it mathematical or physical, is itssize. Of course, in NUMERICAL ANALYSIS we are always concerned with the size of the error in anyparticular NUMERICAL approximation, or COMPUTATIONAL procedure. There is a general mathematicalobject, called thenorm, by which we can assign a number corresponding to the size of variousmathematical a (finite- or infinite-dimensional) vector space, and letk kdenote themappingS R+ {0}with the following properties:i)kvk 0, v Swithkvk= 0iffv 0,ii)kavk=|a| kvk, v S,a R,iii)kv+wk kvk+kwk v, w kis called a normfor that we can takeSto be a space of vectors, functions or even operators, and theaboveproperties apply.


Related search queries