文章目录
- 1. Mathematical Preliminaries
- 1.1 Concept introduction
- 1.1.1 Equivalent description
- 1.1.2 Main Contents
- 1.1.3 Reason for learning
- 1.1.4 Book content
- 1.1.5 Steps for solving
- 1.2 Calculus Review
- 1.2.1 Limit of a Function
- 1.2.2 Continuous of a Function
- 1.2.3 Limit of a Sequence
- 1.2.4 Derivative of a Function
- 1.2.5 Mean Value Theorem
- 1.2.6 Extreme Value Theorem
- 1.2.7 Riemann Integral
- 1.2.8 Weighted Mean Value Theorem for the Integral(Importent)
- 1.2.9 Generalized Rolle's Theorem
- 1.2.10 Intermediate Value Theorem
- 1.2.11 Taylor's Theorem
- 1.3 Roundoff Errors in Computer
- 1.4 Algorithms and Convergence
1. Mathematical Preliminaries
1.1 Concept introduction
1.1.1 Equivalent description
- Numerical analysis
- Numerical Methods or Computational Methods
- Numerical Mathematics
- Numerical Computing
- Scientific Computing
1.1.2 Main Contents
- Methods using computer to solve mathematical problems in science and engineering, which mostly are continuous.
- design and analysis of algorithms for different mathematical problems.
- Theory and Application of Numerical Approximation Techniques.
1.1.3 Reason for learning
With the fast development of PC techniques, many mathematical problems arising in the science and engineering, such as derivatives (导数)、integrals (积分)、nonlinearities (非线性)、Linear Algebra problems (线性代数问题)、differential equations (微分方程) is possible to be solved.
Deals continuous quantities with numerical approximate techniques and considers effects of approximations, such as error (误差), convergence (收敛), uniqueness (唯一性), existence (存在性).
Assessment on algorithm: efficiency, reliability, accuracy, etc.
1.1.4 Book content
- Approximation Methods for solving equation(s)
- Polynomial (多项式) and interpolation approximation (插值逼近)
- Numerical Differentiation and Integration
- Numerical methods for ODE and PDE
- Eigenvalues and Eigenvectors
1.1.5 Steps for solving
- Mathematical modeling, usually equations (方程).
- Design algorithms to solve these equations.
- Implement algorithms in computer software and run.
- Represent the computed results in forms or graphical visualization.
- Interpret and validate (解释和验证) the computed results.
summary: MAIRI
1.2 Calculus Review
1.2.1 Limit of a Function
Definition
Let be a function defined on a set X of real numbers. Then has the limit L at , written as
if, given any real number , there exists a real number such that
whenever and .
1.2.2 Continuous of a Function
Condition
Let be a function defined on a set X of real numbers and .
Theorem
Then is continuous at if
Extended Theorem
The function is continuous on the set X if it is continuous at each number in X.
Definition of
Let denote the set of all functions that are continuous on the set X.
1.2.3 Limit of a Sequence
Difinition
Let be an infinite sequence of real or complex number. The sequence converges to a number (Limit) if, for any $\varepsilon >0 $, there exists a positive integer , such that implies
whenever .
Extended Theorem(Obviously)
If is a function defined on a set of real numbers and , then the following statements are equivalent:
- f is continuous at
- if is any sequence in X converging to , then .
1.2.4 Derivative of a Function
Definition
If is a function defined in an open interval (开区间) containing , the is differentiable at , if
exists.
Remark
The number $f’(x_0) $ is called the derivative of at .
denote the set of all functions that have continuous derivatives on .
Especially $C^\infty(X) $ denote the set of all functions that have derivatives of all orders on X.
Extended Theorem
If the function is differentiable at , the is continuous at .
Rolle’s Theorem(罗尔定理)
Suppose and is differentiable on .
If , then a number in exists with .
1.2.5 Mean Value Theorem
Suppose and is differentiable on , then a number in exists with
1.2.6 Extreme Value Theorem
If , then exist with for each .
If, in addition, is differentiable on , then the numbers and (Extreme Value) occur either at the endpoints of or where is zero.
1.2.7 Riemann Integral
Definition
The Riemann Integral of a function on an interval is the following limit, provided it exits:
where the numbers satisfy , and where for each and is an arbitrarily chosen in the interval .
Remark
Especially, if we choose and , then in this case
1.2.8 Weighted Mean Value Theorem for the Integral(Importent)
Definition
If , the Riemann Integral of exists on the , and does not change sign on , then there exists a number in with
Remark
When , this theorem give the average value of the function over the interval .
1.2.9 Generalized Rolle’s Theorem
Definition
Suppose is times differentiable on . If is zero at the distinct numbers in the , then a number in the exists with
Simple Provement
Applying Rolle’s theorem n times, leaving two zero points in the end.
1.2.10 Intermediate Value Theorem
If and is any number between and , then there exists a number in for which .
1.2.11 Taylor’s Theorem
Suppose , that exists on , and . For every there exists a number between and with , where
and
1.3 Roundoff Errors in Computer
1.3.1 Roundoff Error
Binary Floating Arithmetic Standard 754-1985
Format: single, double, or extended precision
Representation: sign(s-1) + characteristic(c-11) + mantissa(f-52)
form:
Example
Underflow
Number less than , cause to zero.
Overflow
Number greater than , cause to halt.
Normalized decimal floating-point form
where , and for each .
Numbers of this form are called k-digit decimal machine numbers.
The left digits can be treated by chopping (截断) or rounding(舍入)methods.
1.3.2 Measurement of Error
Absolute and Relative Error
If is an approximation to , the absolute error is |p-p^*|, and the relative error is , provided that .
Approximate to significant digit
The number is said to approximate to significant digit if is the largest nonnegative integer for which
1.3.3 Growth of Error
Prerequisite variables
: an initial error
: the magnitude of an error after subsequent operations.
Linear Growth
If , where is a constant independent of .
Exponential Growth
If , for some .
1.3.4 Propagation of Error
: the approximate value of .
: the error of .
Addition
Multiplication
Division
1.4 Algorithms and Convergence
1.4.1 Basic Definitions
Algorithm
an algorithm is a procedure that describes, in an unambiguous or clear manner, a finite sequence of steps to be performed in a specified order.
Key Techniques for Algorithm
looping and condition-control method
Description
pseudo-code (伪代码) method.
1.4.2 Some Important Concepts
Stable
An algorithm is said to be stable imply that small changes in the initial data can produce correspondingly small changes in final results.
Conditionally Stable
Algorithm is stable only for certain choices of initial data.
1.4.3 Rate of Convergence
Definition
Suppose that
and
If a positive constant exists with
for sufficient small , then we write
Example
Using Taylor formula with sufficient small , we have
since
so
1.4.4 Well-Posed or Ill-posed Problem
Definition
A mathematical Problem is said to be well-posed if a solution
- exists,
- is unique,
- depends continuously on problem data.
Otherwise, problem is ill-posed.
Remarks
- Generally, the image of a function is continuous and the solution for exists and is unique.
- Even if problem is well posed, solution may still be sensitive to input data. (Data changes a little, result changes a lot)
- Computational algorithm should not make sensitivity worse.
1.4.5 Approximation of Solution
-
True value usually unknown, so we estimate or bound error rather than compute it exactly.
-
Relative error often has taken relative to approximate value, rather than the (unknown) true value.