WBMT2049-T2/WI2032TH - Numerical Analysis For ODE's
WBMT2049-T2/WI2032TH - Numerical Analysis For ODE's
WBMT2049-T2/WI2032TH - Numerical Analysis For ODE's
Lecture 2
mathematical preliminaries
Lecture 2 1 / 23
Landau’s big-O order symbol
Lecture 2 2 / 23
Uses of big-O notation
Lecture 2 3 / 23
Definition: O-symbol
Let f and g be given functions. Then,
Lecture 2 4 / 23
Big-O notation: example
Take any 0 < r < ∞. For all ϵ ∈ [−r , r ], it holds that |ϵ| ≤ r and
Lecture 2 5 / 23
Computations with O symbol
Lecture 2 6 / 23
Computations with O symbol: example
Lecture 2 7 / 23
Concepts and theorems from analysis
Lecture 2 8 / 23
Jacques Hadamard (1865–1963)
Lecture 2 9 / 23
Not all well-posed problems are equally good.
Lecture 2 10 / 23
Definition: modulus of a complex number
Let z ∈ C, i.e., z = a + ib, a, b ∈ R. Then,
p
|z| = |a + ib| = a2 + b 2 .
zz = |z|2 = a2 + b 2 .
Lecture 2 11 / 23
Leopold Kronecker (1823–1891)
Examples:
Z π
π
sin(mϕ) sin(nϕ) dϕ = δm,n (1 − δn,0 )
0 2
n
X Xn
ai,j δj,k = ai,k , in particular, ai,j δj,i = ai,i
j=1 j=1
Lecture 2 12 / 23
Definition: eigenvalues and eigenvectors
Let A ∈ Cm×m be any matrix and I ∈ Rm×m - the identity matrix. Then,
the eigenvalues λ1 , λ2 , . . . , λm of A satisfy:
det(A − λI ) = 0,
and
Avi = λi vi ,
Lecture 2 13 / 23
Eigen-decomposition
With A ∈ Rn×n , let V = [v1 , . . . , vn ] ∈ Rn×n be the matrix with the
eigenvectors vi as columns, and Λ = diag(λi , . . . , λn ) ∈ Rn×n - the
diagonal matrix with the eigenvalues λi on its diagonal. Then,
Avi = λi vi ⇔ AV = V Λ.
A = V ΛV −1 ,
V −1 AV = Λ
In general, even if all entries [A]i,j of A are real, i.e., A ∈ Rn×n , the
eigenvalues λi of A can be complex.
Lecture 2 14 / 23
Eigen-decomposition of symmetric matrices
V T AV = Λ, with V T V = I .
Lecture 2 15 / 23
Triangle inequalities
For any x, y ∈ R:
|x + y | ≤ |x| + |y |,
Z b Z b
f (x) dx ≤ |f (x)| dx
a a
|f (x) − g (x)| = |f (x) − v (x) + v (x) − g (x)| ≤ |f (x) − v (x)| + |v (x) − g (x)|
Lecture 2 16 / 23
Definition: sets of continuous functions
The set of all continuous functions on the interval [a, b] is denoted as
C [a, b]. The set of all functions whose p-th derivative is continuous on
[a, b] is denoted as C p [a, b].
Lecture 2 17 / 23
Theorem: intermediate value
Let f ∈ C [a, b] and f (a) ̸= f (b). For any number F between f (a) and
f (b) there exists a number c ∈ (a, b) such that f (c) = F .
f (x1 ) + f (x2 )
2
It is clear that the number F = (f (x1 ) + f (x2 ))/2 is between f (x1 ) and f (x2 ).
Hence, from the Intermediate Value Theorem, there is a point ξ such that
f (x1 ) + f (x2 )
= f (ξ)
2
Lecture 2 18 / 23
Michel Rolle (1652–1719)
Theorem (Rolle):
Let f ∈ C [a, b] and f (x) is differentiable on (a, b). If f (a) = f (b), then
there exists a number c ∈ (a, b) such that f ′ (c) = 0.
Lecture 2 19 / 23
Theorem: mean value
Let f ∈ C [a, b] and f (x) is differentiable on (a, b). Then, there exists a
number c ∈ (a, b) such that
f (b) − f (a)
f ′ (c) =
b−a
Lecture 2 20 / 23
Karl Weierstrass (1815–1897)
Lecture 2 21 / 23
Brook Taylor (1685–1731)
where
f ′′ (c) f (n) (c)
Pn (x) = f (c) + f ′ (c)(x − c) + (x − c) + · · · + (x − c)n
2! n!
is the Taylor polynomial and
f (n+1) (ξ)
Rn (x) = (x − c)n+1
(n + 1)!
is the remainder.
Lecture 2 22 / 23
Taylor series
We shall often deal with the values of f (x) in neighboring points f (x − 2h),
f (x − h), f (x + h), f (x + 2h), etc. These can be related to f and its derivatives
at x via the Taylor series. We use the Taylor polynomial with c = x and with
x + h, x − h, etc., instead of x, so that x − c becomes x + h − x = h or
x − h − x = −h, etc.
Lecture 2 23 / 23