Numerical Methods: Click To Edit Master Title Style
Numerical Methods: Click To Edit Master Title Style
Numerical Methods
Prepared By:
C A R L O S , A d e l l e Lyn d R .
PA N G A N I B A N , E r r i n M .
S A N T O S , J a n V i n c e n t P.
1
Gauss – Jordan Reduction Method
Click to edit Master title style
o A method of solving a linear system of
equation. This is done by transforming the
system's augmented matrix into reduced
row-echelon form by means of row EXAMPLE
operation.
STEPS:
1. Form the augmented matrix
corresponding to the system of linear
equations.
2. Transform the augmented matrix to the
matrix in reduced row echelon form via
elementary row operations.
3. Solve the linear system corresponding to
the matrix in reduced row echelon form.
The solution(s) are also for the system of
linear equations in step 1. 2 2
SOLUTION
Click to edit Master title style
3 3
Gaussian Elimination
Click to edit Method
Master title style
o also known as forward elimination
o is a method of solving a linear EXAMPLE
system (consisting of equations
in unknowns) by bringing the augmented
matrix
(augmented
matrix of the
equation)
4 4
SOLUTION
1.Click
Interchange 1st and 2nd equtaion 4. Add -1 times the 2nd eq. to
to edit Master title style the 3rd eq.
6 6
INVERSE MATRIX
Click to edit
SOLUTION (2x2Master
Matrix) title styleTo check:
*REMEMBER:
A × A-1 = A-1 × A = I
INVERSE MATRIX
Click to edit Master title style
STEP/S (3x3 matrix): EXAMPLE (3x3 matrix)
8 8
INVERSE MATRIX
SOLUTION (3X3 MATRIX)
Click to edit Master title style
1. Matrix of Minors 3. Adjugate (also called Adjoint)
9 9
INVERSE MATRIX
LClick
U Decomposition Method
to edit Master title style
EXAMPLE (2x2 MATRIX)
10 10
L U Decomposition Method
SOLUTION (2x2 Matrix)
Click to edit Master title style
1. R2−4/3R1→ R2 Therefore LU Decomposition of A is,
2. R2+4/3R1→R2
11
L U Decomposition Method
SOLUTION (3x3 Matrix)
1.Click to edit Master
R2−4R1→R2 title style
Therefore LU Decomposition of A is,
2. R3−7R1→R3
3. R3−2R2→R3 to obtain U
Now our corresponding
lower triangle matrix L is
going to have 1’s along its
main diagonal.
12 12
L U Decomposition Method
Bisection Method
o Click to editmethod
a numerical Masterintitle style to
Mathematics
find a root of a given function.
o an algorithm that approximates the
location of an x – intercept (a root) of a EXAMPLE)
continuous function.
• Using the Bisection Method, find
STEPS: the three approximations of the
1. Verify the Bisection Method can be used. root of . Determine the
2. Find the first approximation to the root maximum error possible in using
and its associated error. each approximation.
3. Use the midpoint to find a smaller interval
so we can improve our approximation.
4. Find the second approximation and its
associated error.
5. Find the next interval.
6. Find the third approximation and its
associated error. 13 13
Bisection Method
SOLUTION
3. Use the midpoint to find a smaller interval so we
Click to edit Master title style
1. Verify the Bisection Method can be used.
can improve our approximation.
14 14
Bisection Method
SOLUTION
Click to edit Master title style
5. Find the next interval.
Final Answer
15
Bisection Method
Secant Method
Click
The to edit
secant Master
method title stylefor
is a technique finding
the root of a scalar-valued function f(x) of a
single variable x when no information about EXAMPLE
the derivative exists. It is similar in many ways to To demonstrate this rate of
the false-position method, but trades the convergence, we will take
possibility of non-convergence for faster the quadratic polynomial
convergence. with a simple root at 0: p(x)
= x2 + x. Starting with the
points x0 = 1 and x1 = 0.5,
we get the sequence of
approximations
16 16
SOLUTION
Click to edit…
Approximations Master title style
1.0
5.0e-1
2.0e-1
5.8824e-2
9.3458e-3
5.1467e-4
4.7630e-6
2.4501e-9
1.1670e-14
2.8592e-23
3.3367e-37
9.5402e-60
3.1832e-96
3.0369e-155
9.6672e-251 17 17
Newton-raphson Method
Click to edit Master title style
o is a root-finding algorithm that uses
the
first few terms of the Taylor Series of a
EXAMPLE
function in the vicinity of a
suspected root.
o also known as Newton’s Iteration.
Let us find an approximation
to to ten decimal places.
18 18
2
SOLUTION
Click to edit Master title
1
style
It is quite remarkable
that the results stabilize
for more than ten
decimal places after
only 5 iterations! 19 19
Interpolation Method
Click to edit Master title style
o Interpolation is the process of using points with known values or sample
points to estimate values at other unknown points.
o It can be used to predict unknown values for any geographic point
data, such as elevation, rainfall, chemical concentrations, noise levels,
and so on.
TYPES OF INTERPOLATION
1. Linear interpolation is the simplest method of
getting values at positions in between the data
points. The points are simply joined by straight
line segments.
21 21
Click to edit
Divided Difference
Master title style
22 22
Click to edit Master title style
Defining
And taking the derivative
Gives the identity
23 23
Divided Difference
Click to
Least Square
edit Master
Approximation
title style
The point cloud is given by n
points with coordinates {xi,yi}. The aim is
to estimate â and 𝑏 where y(x)= âx+𝑏
will fit the point cloud as mush as
possible. We want to minimize for each
point xi the difference between yi and
y(xi), ie. we want to minimize
24 24
Click to edit Master title style
The matrix form of the system is given by: The system is now given by:
Let’s define A, B, 𝑥ො
25 25
Where:
f(x) is the integrand
a= lower limit of integration
b= upper limit of integration
26 26
Basis of Trapezoidal Rule
Click Trapezoidal
to edit Master title style
Rule is based on the
Newton-Cotes Formula that states if one
can approximate the integrand as an nth
order polynomial Trapezoidal Rule assumes n=1, that
is, the area under the linear
where polynomial,
and
27 27
Trapezoidal Rule
Click to edit
Derivation ofMaster
the Trapezoidal
title style Rule
28 28
Click to edit
Simpson’s 1/3Master
Rule title style
29 29
Click to edit Master title style
3030
31 31
32 32
33 33
Click toasedit
defined Master title style
Thus,
can be expressed in matrix
notation as
34 34
35 35
36 36
37 37
Click to edit Master title style
Formula:
Example:
3838
Euler’s Method
Click to editApproximate
Successive Master title (Picard's
style Iterative Method)
39 39
Click to edit Master title style
Example
40 40
Successive Approximate
Click to edit
Taylor’s Theorem
Master title style
41 41
Click to edit Master
Runge–Kutta methodstitle style
42 42
Click to edit Master title style
43 43
Runge–Kutta methods