Numerical Analysis Lecture12.

Slides:



Advertisements
Similar presentations
Numerical Solution of Linear Equations
Advertisements

Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
Chapter: 3c System of Linear Equations
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
Special Matrices and Gauss-Siedel
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 19 Solution of Linear System of Equations - Iterative Methods.
Special Matrices and Gauss-Siedel
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Computer Engineering Majors Authors: Autar Kaw
9/7/ Gauss-Siedel Method Chemical Engineering Majors Authors: Autar Kaw Transforming.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 111.
ΑΡΙΘΜΗΤΙΚΕΣ ΜΕΘΟΔΟΙ ΜΟΝΤΕΛΟΠΟΙΗΣΗΣ 4. Αριθμητική Επίλυση Συστημάτων Γραμμικών Εξισώσεων Gaussian elimination Gauss - Jordan 1.
10/17/ Gauss-Siedel Method Industrial Engineering Majors Authors: Autar Kaw
Chapter 3 Solution of Algebraic Equations 1 ChE 401: Computational Techniques for Chemical Engineers Fall 2009/2010 DRAFT SLIDES.
10/26/ Gauss-Siedel Method Civil Engineering Majors Authors: Autar Kaw Transforming.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Elliptic PDEs and the Finite Difference Method
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3- Chapter 12 Iterative Methods.
Numerical Methods.
Linear Systems – Iterative methods
Meeting 19 System of Linear Equations. Linear Equations A solution of a linear equation in n variables is a sequence of n real numbers s 1, s 2,..., s.
1 Section 5.3 Linear Systems of Equations. 2 THREE EQUATIONS WITH THREE VARIABLES Consider the linear system of three equations below with three unknowns.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Mechanical Engineering Majors Authors: Autar Kaw
2/26/ Gauss-Siedel Method Electrical Engineering Majors Authors: Autar Kaw
Linear Systems Numerical Methods. 2 Jacobi Iterative Method Choose an initial guess (i.e. all zeros) and Iterate until the equality is satisfied. No guarantee.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
3/6/ Gauss-Siedel Method Major: All Engineering Majors Author: دکتر ابوالفضل رنجبر نوعی
Lecture 9 Numerical Analysis. Solution of Linear System of Equations Chapter 3.
Numerical Methods. Introduction Prof. S. M. Lutful Kabir, BRAC University2  One of the most popular techniques for solving simultaneous linear equations.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Numerical Methods. Prof. S. M. Lutful Kabir, BRAC University2  One of the most popular techniques for solving simultaneous linear equations is the Gaussian.
Linear Equations in Linear Algebra
Chapter 4 Systems of Linear Equations; Matrices
Ch. 7 – Matrices and Systems of Equations
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Chapter: 3c System of Linear Equations
Spring Dr. Jehad Al Dallal
5 Systems of Linear Equations and Matrices
Numerical Analysis Lecture 25.
Solving Systems of Linear Equations: Iterative Methods
بسم الله الرحمن الرحيم.
Gauss-Siedel Method.
Linear Differential Equations
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Iterative Methods Good for sparse matrices Jacobi Iteration
Chapter 10: Solving Linear Systems of Equations
Chapter 6 Direct Methods for Solving Linear Systems
Chapter 1 Systems of Linear Equations and Matrices
Autar Kaw Benjamin Rigsby
Numerical Analysis Lecture 45.
Metode Eliminasi Pertemuan – 4, 5, 6 Mata Kuliah : Analisis Numerik
Numerical Analysis Lecture 16.
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
Systems of Linear Equations
Numerical Analysis Lecture14.
Numerical Analysis Lecture13.
Numerical Analysis Lecture10.
Systems of Linear Equations
Linear Equations in Linear Algebra
Numerical Analysis Lecture11.
Linear Algebra Lecture 16.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Numerical Analysis Lecture 24.
Multiply by 5/40 and sum with 2nd row
Pivoting, Perturbation Analysis, Scaling and Equilibration
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

Numerical Analysis Lecture12

Chapter 3

Solution of Linear System of Equations and Matrix Inversion

Introduction Gaussian Elimination Gauss-Jordon Elimination Crout’s Reduction Jacobi’s Gauss- Seidal Iteration Relaxation Matrix Inversion

Jacobi’s Method

This is an iterative method, where initial approximate solution to a given system of equations is assumed and is improved towards the exact solution in an iterative way.

Let us consider

In this method, we assume that the coefficient matrix [A] is strictly diagonally dominant, that is, in each row of [A] the modulus of the diagonal element exceeds the sum of the off-diagonal elements.

We also assume that the diagonal element do not vanish We also assume that the diagonal element do not vanish. If any diagonal element vanishes, the equations can always be rearranged to satisfy this condition.

Now the above system of equations can be written as

This second approximation is substituted into the right-hand side of Equations and obtain the third approximation and so on.

This process is repeated and (r+1)th approximation is calculated

Briefly, we can rewrite these Equations as

It is also known as method of simultaneous displacements, since no element of is used in this iteration until every element is computed.

A sufficient condition for convergence of the iterative solution to the exact solution is When this condition (diagonal dominance) is true, Jacobi’s method converges

Gauss–Seidel Iteration Method

It is another well-known iterative method for solving a system of linear equations of the form

In Jacobi’s method, the (r + 1)th approximation to the above system is given by Equations

Here we can observe that no element of. replaces Here we can observe that no element of replaces entirely for the next cycle of computation.

In Gauss-Seidel method, the corresponding elements of In Gauss-Seidel method, the corresponding elements of replaces those of as soon as they become available.

Hence, it is called the method of successive displacements Hence, it is called the method of successive displacements. For illustration consider

In Gauss-Seidel iteration, the (r + 1)th approximation or iteration is computed from:

Thus, the general procedure can be written in the following compact form for all and

To describe system in the first equation, we substitute the r-th approximation into the right-hand side and denote the result by In the second equation, we substitute and denote the result by

In the third equation, we substitute and denote the result by and so on. This process is continued till we arrive at the desired result. For illustration, we consider the following example :

Example Find the solution of the following system of equations using Gauss-Seidel method and perform the first five iterations:

Solution The given system of equations can be rewritten as

Taking on the right-hand side of the first equation of the system , we get Taking and the current value of we get from the 2nd equation of the system

Further, we take x4 = 0 and the current value of x1 we obtain from the third equation of the system

Now, using the current values of x2 and x3 the fourth equation of system gives

The Gauss-Seidel iterations for the given set of equations can be written as

Now, by Gauss-Seidel procedure, the 2nd and subsequent approximations can be obtained and the sequence of the first five approximations are tabulated as below:

Variables Iteration number r x1 x2 x3 x4 1 0.5 0.625 0.375 2 0.75 0.8125 0.5625 0.59375 3 0.84375 0.85938 0.60938 0.61719 4 0.86719 0.87110 0.62110 0.62305 5 0.87305 0.87402 0.62402 0.62451

Numerical Analysis Lecture12