Documente Academic
Documente Profesional
Documente Cultură
NUMERICAL METHODS
Table of Contents:
1. Introduction
2. Linear Algebraic Equation
3. Non Linear Equation
4. Interpolation and Extrapolation (Curve
Fitting)
5. Numerical Integration
6. The Numerical Solution of Ordinary
Differential Equation
7. Application
2
NUMERICAL METHODS
1. Introduction
WHAT ARE NUMERICAL METHODS
Numerical methods are a class of methods for
solving a wide variety of mathematical problems
This class of methods in unusual in that only
arithmetic operations and logics are employed
The methods came to age with the introduction of
the electronic digital computers
NUMERICAL METHODS
1. Introduction
NUMERICAL METHODS
Introduction
Solutions of a set of Linear Equations
Direct Solution (Gaussian Elimination,
Pivoting)
Basic Matrix Terminology and Operations
Matrix Representation and Formal Solution of a
set of Linear Equations
Gauss Elimination and Gauss-Jordan
Elimination
Matrix Inversion by Gauss-Jordan Elimination
Ill-Conditioned Matrices and Sets of Equations
Vector:
Identity or Unit matrix
1
0
0
0
1
0
0
0
0
0
0
Symmetric matrix :
ij
= a
ji
Triangular matrix :
Upper triangular matrix
Lower triangular matrix
7
=>
sij = aij
(A + B) + C = A + (B + C)
A+B=B+A;
A, B have the same n * m
n
Multiplication:
P = AB
=>
k=1
A = AT
Orthogonal:
AT = A-1
Determinant:
The determinant of a matrix A is a scalar
quantity, denoted as Det (A) or |A|;
The determinant of a 1 * 1 matrix is the
number within the matrix itself;
To each element of a matrix with higher
dimensions, aij, we assign a number called its
minor, denoted as Mij;
10
Properties of determinant:
Det = 0, if all elements of any row and
column equal to zero;
Value of determinant unchanged if any
2 rows (or columns) are interchanged
(Sign changes);
Det (AT) = Det (A);
If all elements in row (or column) are
multiplied by scalar k, then
determinant multiplied by k;
If 2 rows (or columns) are equal or
proportional, the determinant will be
equal to zero; and
Etc.
11
x2 =
r2
x3 =
r3
x4 =
r4
CX = R
12
Cramers Rule:
det Ck
Ci1 Ci2
Cik-1 ri Cik+1
Cin
Ck =
2.
2.
C1n
x1
C21 C22
C2n
Cm1 Cm2
Cmn
r1
x2
= r2
Assume |C| = 0
xm =
C12/ C11
CX = R
rm
C1n/ C11
x1
= r1/ C11
x2 =
15
2.
Cij
x1
x2
=
xm r
=1 rm
=xm-1
r+
2 Cm-1,n xm =
rm-1
xm = xm-1
rm = rm-1 - Cm-1,n
xm
Etc.
2.
x1
x2
1
x3
1
x4
r1
x1 =
r1
= r
x22 = r2
= r3x3 = r3
x44 = r4
= r
17
2.
a2
b2
c2
a3
1
0
x 1 = r1
x2 =
r2
b 3 c3
x3 =
r3
a 4 b4
x4 =
r4
c1/b1
[b2- a2c1/b1]
0
c2
0
0
x1
x2
= r1/b1
=
r2- a2r1/b1
a3
b3 c3
x3
r3
a4
x4
r4
b4
18
2.
0
1
a2r1/b1)/[
0
[ ]
0
[ ]
c2 / [ ]
x2
= ( r 2-
c 3/ [ ]
x3
)/
x4
)/
19
Pivoting
Pivoting
Row Operation for pivoting
3
6
9
6
2
1
1
4
3 =
1
4
3
6 2
1
3
6
9
Shift column for pivoting
9
x3
10 4
x2
x1
change place
21
Pivoting
Solve the following set of equations with
Gauss- Jordan Elimination:
a) without maximization
b) With maximization
4 3 -1 x16
7 -2 3 x2= 9
5 -18 13x33
Solution