Lecture-1 NM
Lecture-1 NM
Class Timings
1
Syllabus
• Mathematical Preliminaries: Sequence of real numbers; limits and continuity of a function and
Intermediate Value Theorem; Mean Value Theorems for Differentiation and Integration; Taylor’s
Theorem; Order of Convergence.
• Numerical Integration and Differentiation: Rectangle rule, Trapezoidal rule, Simpson’s rule;
Composite Rules; Gaussian Rules; Difference Formulae.
• Numerical Ordinary Differential Equations: Taylor’s Method, Euler’s Method; Modified Euler’s
Methods; Runge-Kutta Methods.
2
References
1. S. D. Conte and C. de Boor, Elementary Numerical Analysis - An Algorithmic Approach
(3rd edition), McGraw-Hill, 1981.
Chapter-1
Mathematical Preliminaries
Sequences
1 1 1 1
Example: (an) = ( ); a1 = 1, a2 = , a3 = , . . . , an = . . . .
n 2 3 n
Sequences
limn→∞an = a or an → a as n → ∞
| an − a | < ϵ whenever n ≥ N.
1
Example: 1. Check whether (an) = ( ) converges?
n
1
2. Check whether (an) = ( 2 ) converges?
n
3. Check whether (an) = (n 2) converges?
Sequences
Sandwich Theorem: Let (an), (bn) and (cn) be sequences of real numbers such that
1. There exists an n0 ∈ ℕ such that every n ≥ n0, the sequences satisfy the inequalities
an ≤ bb ≤ cn and
sin n
Example: 1. Check whether (an) = ( ) converges?
n
cos n
2. Check whether (an) = ( ) converges?
n 2
Bounded Sequence: A sequence (an) is said to be a bounded sequence if there exists a real
number M such that
| an | ≤ M for every n ∈ ℕ
Note: Every bounded sequence need not converge. However, it is always possible to find
convergent subsequence.
Sequences
Monotone Sequences: A sequence (an) of real numbers is said to be
Algebra for limits of sequences: Let (an) and (an) be two sequences. Assume that limn→∞an and
limn→∞bn exists. Then
1 1
4. limn→∞ = provided limn→∞an ≠ 0
an limn→∞an
8
limx→a− f(x) = l
if we can make the values of f(x) arbitrarily close to l by taking x to be sufficiently close to a
and x less than a.
RHL: Let f be a function defined on the right side (or both sides) of a, except possibly at a
itself. Then, we say “the right-hand limit of f(x) as x approaches a, equals r” and denote
limx→a+ f(x) = r
if we can make the values of f(x) arbitrarily close to r by taking x to be sufficiently close to a
and x greater than a.
LIMIT: Let f be a function defined on the both sides of a, except possibly at a itself. Then,
we say “the limit of f(x) as x approaches a, equals L” and denote
limx→a f(x) = L
if we can make the values of f(x) arbitrarily close to L by taking x to be sufficiently close to a
and but not equal a.
NOTE: In each of the above definitions, the value of the function f at point a does not play
any role, the function f need not be defined at 9that point a.
Algebra for limits of functions: Let f and g be two functions defined on both sides of a, except
possibly at a itself. Assume that limx→a f (x) and limx→ag(x) exists. Then
1 1
4. limx→a = provided limx→ag(x) ≠ 0
g(x) limx→ag(x)
NOTE:
Direct substitution property; Polynomials, trigonometric and rational functions
Theorem 1: Let f (x) ≤ g(x) when x is an interval containing a (except possibly at a) and the limits of
f (x) and g(x) both exists as approaches a, then
Theorem 2:(Sandwich Theorem) Let f (x), g(x) and h(x) be given functions such that
limx→ag(x) = L .
10
Limit: Let f be a function defined in some open interval that contains a, except possibly at a
itself. Then we say that the limit of f(x) as x approaches a is L and we write
limx→a f(x) = L
Continuity: Let f be a function defined in some open interval that contains a. Then we say
that the continuity of f(x) as x approaches a is f(a)and we write
Or A function f(x) is
1. Continuous from left side of a if limx→a− f(x) = f(a),
Theorem: If f(x) and g(x) are continuous at a, then the functions f ± g, cg(x), fg, f /g (provided
g(a) ≠ 0), f ∘ g are all continuous.
11
Statement: Let f be continuous on the closed interval [a, b] . Let x1, x2, x3, . . . , xn
be points in [a, b] and let g1, g2 g3, . . . , gn be real numbers having same sign.
Then
n n
∑ ∑
f(xi)gi = f(ξ) gi for some ξ ∈ [a, b]
i=1 i=1
Then
n n n n n
∑ ∑ ∑ ∑ ∑
f(x*) gi = f(x*)gi ≤ f(xi)gi ≤ f(x*)gi ≤ f(x*) gi
i=1 i=1 i=1 i=1 i=1
12
Define
n
∑
g(x) = f(x) gi .
i=1
∑ ∑ ∑
g(x*) = f(x*) gi ≤ α = f(xi)gi ≤ f(x*) gi = g(x*)
i=1 i=1 i=1
That is,
n n
∑ ∑
f(ξ) gi = f(xi)gi
i=1 i=1
NOTE: Similarly you can prove for gi ≤ 0 for I=1,2,…,n. (TO DO)
13
14





Rolle’s Theorem: Let f be a function that satisfies the following three hypothesis.
3. f(a)=f(b).
Then there is a number c in the open interval (a, b) such that f ′(c) = 0.
Mean Value Theorem: Let f be a function that satisfies the following hypothesis.
f (b) − f (a)
Then there is a number c in the open interval (a, b) such that f ′(c) =
b−a
Or equivalently
∫a
f(x)dx = f(c)(b − a)
∫a ∫a
f(x)g(x)dx = f(c) g(x)dx
16
Taylor’s Theorem:
17