SlideShare a Scribd company logo
Relaxation Method
Introduction
• Relaxation method is an iterative approach
solution to systems of linear equations.
• Basic idea behind this method is to improve
the solution vector successively by reducing the
largest residual at a particular iteration.
What is a residual?
• Suppose x(i) € R is an approximation to the
solution of the linear system defined by
Ax=b
• Residual vector for x(i) with respect to this system
is
R(i) =b-A x(i) in ith iteration
• The error: E(I )= x-x(i)
• R(i) = b –Ax(i) = Ax –Ax(i) = A(x –x(i)) = AE(i):
• Residual equation:
– AE(i)=R(i)
Let x(p) =( x1
(p),x2
(p) … xn
(p))T
be the solution vector obtained after pth
iteration. If Ri
(p) denotes residual,
ai1x1 + ai2x2 + … + ainxn = bi
Define by,
Ri
(p) = bi- (ai1x1 + ai2x2 + … + ainxn)
Applying relaxation method
• Transfer all the terms to the right hand side of the
equation
• Reorder the equations in a way such that largest co-
efficient in the equations appear on the diagonal
• Select the largest residual and give an increment
dx=-r(i)/aii
• Change x(i) to x(i) +dx(i) to relax R(i) that is to reduce
R(i) to zero
Example :
6x1-3x2+x3 = 11
2x1+x2-8x3 =-15
x1-7x2+x3 = 10
0= 11- 6x1 - 3x2 - x3 R1
0= 10- x1 + 7x2 - x3  R2
0= -15- 2x1 - x2 + 8x3  R3
• Start with initial guesses x1=x2=x3=0
• R1=11,
• R2=10,
• R3=-15
• Largest residual is R3
• So that dx3 = - R3 /a33
• dx3= -15/-8 = 1.875
New guesses:
x1=0
x2=0 and
x3=1.875
Continue the process until r  0
Final result would be like this
Iteration
no R1 R2 R3
Max
Ri dx(i) x1 x2 x3
0 11 10 -15 1.875 0 0 0
1 -9.125 8.125 0 9.125 1.5288 0 0 1.875
2 0.0478 6.5962 -3.0576 6.5962 -0.9423 1.5288 0 1.875
3 -2.8747 0.0001 -2.1153 -2.8747 -0.4791 1.5288 -0.9423 1.875
4 -0.0031 0.4792 -1.1571 -1.1571 0.1446 1.0497 -0.9423 1.875
5 0.1447 0.3346 0.0003 0.3346 -0.0478 1.0497 -0.9423 2.0196
6 0.2881 0.0000 0.0475 0.2881 0.0480 1.0497 -0.9901 2.0196
7 -0.0001 0.048 0.1435 0.1435 -0.0179 1.0017 -0.9901 2.0196
8 0.0178 0.0659 0.0003 - - 1.0017 -0.9901 2.0017
• At ith iteration we can see that
R1,R2 and R3 are small enough,
• So xi values in this iteration
x1 = 1.007,
x2 = -0.9901,
x3 = 2.0017
• Which are very close to the Exact solutions
x1 = 1.0
x2 = -1.0
x3 = 2.0
Convergence
• Converges slowly for large systems of equations
(large n)
Special cases
• Simple to implement
• Not useful as a stand alone solution method
• Key ingredients to multi grid methods
– Jacobi
– Gauss seidel
– red
Comparison with Other
Methods
Methods available to find solutions
 Direct
Elimination
 Gaussian elimination
 Gauss-Jordan
elimination
Decomposition
 Court's reduction
(Cholesky's reduction)
 Iterative
 Jacobi's method
 Gauss-Seidel method
 Relaxation method
Advantages and Disadvantages
 Relaxation method is the core part of linear algebra.
 This method provide preconditions for new methods.
 Easily adoptable to computers.
 Can solve more than 100s of linear equations
simultaneously.
 Slower progress than the competing methods
Solve:
6x - 3y + z = 11
2x + y - 8z = -15
x - 7y + z = 10
Gaussian
Elimination
Gauss-
Jordan
Elimination
Courts
Reduction
Relaxation
method
X 1 1 1 1.0017
Y -1 -1 -1 -0 9901
Z 2 2 2 2.0017
Relaxation method is the best
method for :
 Relaxation method is highly used for image
processing .
 This method has been developed for analysis of
hydraulic structures .
 Solving linear equations relating to the radiosity
problem.
 Relaxation methods are iterative methods for solving
systems of equations, including nonlinear systems.
 Relaxation method used with other numerical
methods in mono-tropic programs.
Completed Researches
Why relaxation methods?
• Direct methods are robust.
• Direct methods are less computational costly.
But
• They require high memory access.
• Slow in convergence.
Evolution of relaxation methods
• Gauss Siedel Iteration
 Gauss’s letter to Gerling
 Era of electronic computing
•Work of David Young
 Notions - “Consistent Ordering” and “Property A”
 Convergence of the methods
• Ostrowski (1937)
 Relevant properties for M-Matrices
• Theorem of Stein – Rosenburg (1948)
 Asymptotic rates
• Concept of Irreducibility
 Grid oriented matrices
•Concept of Cyclic Matrices
 Convergence theory of SOR methods
•Varga’s Contribution
 Generalization of Young’s results
 Matrix Iterative Analysis (1962)
 Notions – Regular Splittings
 Theories -Stieltjes and M-Matrices
 Semi Iterative Methods
Richard Varga
• 1960s and 1970s
 Chaotic Relaxations
 Chazan , Miranker , Miellou , Robert
• Multigrid Methods
 Krylov subspace method
 Use of Eugene values
References
Rao, K.S., Year. Numerical Methods for Scientists and
Engineers. 2nd ed. Delhi: Prentice-Hall of India.
Yousef Sadd and , Henk A. van der Vorst, Iterative Solution of
Linear Systems in the 20th Century [pdf]. Available at: <www-
users.cs.umn.edu/~saad/PDF/umsi-99-152.pdf> Accessed [12th
July 2012]
Relaxation Methods for Iterative Solution to Linear Systems of
Equations Gerald Recktenwald Portland State University
Mechanical Engineering Department
Scientic Computing II Relaxation MethodsMichael Bader
Summer term 2012
Working scenario
Demonstration

More Related Content

What's hot

A brief introduction to finite difference method
A brief introduction to finite difference methodA brief introduction to finite difference method
A brief introduction to finite difference method
Prateek Jha
 
Euler and runge kutta method
Euler and runge kutta methodEuler and runge kutta method
Euler and runge kutta method
ch macharaverriyya naidu
 
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHODINVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
reach2arkaELECTRICAL
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
Dr. Nirav Vyas
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
reach2arkaELECTRICAL
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...
vaibhav tailor
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
Abu Kaisar
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
Meet Nayak
 
Gauss Quadrature Formula
Gauss Quadrature FormulaGauss Quadrature Formula
Gauss Quadrature Formula
Maitree Patel
 
Linear Systems Gauss Seidel
Linear Systems   Gauss SeidelLinear Systems   Gauss Seidel
Linear Systems Gauss SeidelEric Davishahl
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iteration
Isaac Yowetu
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
Meet Patel
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
krishnapriya R
 
Numerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen valuesNumerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen values
Dr. Nirav Vyas
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
Northwestern University
 
Numerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsNumerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential Equations
Meenakshisundaram N
 

What's hot (20)

Gauss sediel
Gauss sedielGauss sediel
Gauss sediel
 
A brief introduction to finite difference method
A brief introduction to finite difference methodA brief introduction to finite difference method
A brief introduction to finite difference method
 
Es272 ch4b
Es272 ch4bEs272 ch4b
Es272 ch4b
 
Euler and runge kutta method
Euler and runge kutta methodEuler and runge kutta method
Euler and runge kutta method
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Numerical method
Numerical methodNumerical method
Numerical method
 
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHODINVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Gauss Quadrature Formula
Gauss Quadrature FormulaGauss Quadrature Formula
Gauss Quadrature Formula
 
Linear Systems Gauss Seidel
Linear Systems   Gauss SeidelLinear Systems   Gauss Seidel
Linear Systems Gauss Seidel
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iteration
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
Numerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen valuesNumerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen values
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
 
Numerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsNumerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential Equations
 

Similar to Relaxation method

Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...
Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...
Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...
Yandex
 
Wiener Filter Hardware Realization
Wiener Filter Hardware RealizationWiener Filter Hardware Realization
Wiener Filter Hardware Realization
Sayan Chaudhuri
 
UNIT I_5.pdf
UNIT I_5.pdfUNIT I_5.pdf
UNIT I_5.pdf
Muthukumar P
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
Ratul Alahy
 
document(1).pdf
document(1).pdfdocument(1).pdf
document(1).pdf
MohamedBalbaa8
 
Least square method
Least square methodLeast square method
Least square methodSomya Bagai
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
Fabian Pedregosa
 
Sparsenet
SparsenetSparsenet
Sparsenet
ndronen
 
machine learning.pptx
machine learning.pptxmachine learning.pptx
machine learning.pptx
AbdusSadik
 
Cs36565569
Cs36565569Cs36565569
Cs36565569
IJERA Editor
 
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy NumberSolving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
IJERA Editor
 
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy NumberSolving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
IJERA Editor
 
18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt
BAGARAGAZAROMUALD2
 
CI_L01_Optimization.pdf
CI_L01_Optimization.pdfCI_L01_Optimization.pdf
CI_L01_Optimization.pdf
SantiagoGarridoBulln
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
Dr. Bilal Siddiqui, C.Eng., MIMechE, FRAeS
 
08-Regression.pptx
08-Regression.pptx08-Regression.pptx
08-Regression.pptx
Shree Shree
 
Deconvolution
DeconvolutionDeconvolution
Deconvolution
gregthom992
 
Linear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialLinear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorial
Jia-Bin Huang
 
Curve fitting
Curve fitting Curve fitting
Curve fitting
shopnohinami
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
Yasser Ahmed
 

Similar to Relaxation method (20)

Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...
Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...
Subgradient Methods for Huge-Scale Optimization Problems - Юрий Нестеров, Cat...
 
Wiener Filter Hardware Realization
Wiener Filter Hardware RealizationWiener Filter Hardware Realization
Wiener Filter Hardware Realization
 
UNIT I_5.pdf
UNIT I_5.pdfUNIT I_5.pdf
UNIT I_5.pdf
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
 
document(1).pdf
document(1).pdfdocument(1).pdf
document(1).pdf
 
Least square method
Least square methodLeast square method
Least square method
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
Sparsenet
SparsenetSparsenet
Sparsenet
 
machine learning.pptx
machine learning.pptxmachine learning.pptx
machine learning.pptx
 
Cs36565569
Cs36565569Cs36565569
Cs36565569
 
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy NumberSolving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
 
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy NumberSolving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
Solving Fuzzy Maximal Flow Problem Using Octagonal Fuzzy Number
 
18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt
 
CI_L01_Optimization.pdf
CI_L01_Optimization.pdfCI_L01_Optimization.pdf
CI_L01_Optimization.pdf
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
08-Regression.pptx
08-Regression.pptx08-Regression.pptx
08-Regression.pptx
 
Deconvolution
DeconvolutionDeconvolution
Deconvolution
 
Linear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialLinear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorial
 
Curve fitting
Curve fitting Curve fitting
Curve fitting
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
 

More from Parinda Rajapaksha

Android development
Android developmentAndroid development
Android development
Parinda Rajapaksha
 
Realm mobile database
Realm mobile databaseRealm mobile database
Realm mobile database
Parinda Rajapaksha
 
Identifying adverse drug reactions by analyzing twitter messages
Identifying adverse drug reactions by analyzing twitter messagesIdentifying adverse drug reactions by analyzing twitter messages
Identifying adverse drug reactions by analyzing twitter messages
Parinda Rajapaksha
 
Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)
Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)
Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)
Parinda Rajapaksha
 
The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment
Parinda Rajapaksha
 
Scientific methods in computer science
Scientific methods in computer scienceScientific methods in computer science
Scientific methods in computer science
Parinda Rajapaksha
 
Gift 4 life v 1.1 (Blood Camp Management System)
Gift 4 life v 1.1 (Blood Camp Management System)Gift 4 life v 1.1 (Blood Camp Management System)
Gift 4 life v 1.1 (Blood Camp Management System)
Parinda Rajapaksha
 
Ceylon tobacco company (ctc)
Ceylon tobacco company (ctc)Ceylon tobacco company (ctc)
Ceylon tobacco company (ctc)
Parinda Rajapaksha
 

More from Parinda Rajapaksha (8)

Android development
Android developmentAndroid development
Android development
 
Realm mobile database
Realm mobile databaseRealm mobile database
Realm mobile database
 
Identifying adverse drug reactions by analyzing twitter messages
Identifying adverse drug reactions by analyzing twitter messagesIdentifying adverse drug reactions by analyzing twitter messages
Identifying adverse drug reactions by analyzing twitter messages
 
Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)
Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)
Analysis of Feature Selection Algorithms (Branch & Bound and Beam search)
 
The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment
 
Scientific methods in computer science
Scientific methods in computer scienceScientific methods in computer science
Scientific methods in computer science
 
Gift 4 life v 1.1 (Blood Camp Management System)
Gift 4 life v 1.1 (Blood Camp Management System)Gift 4 life v 1.1 (Blood Camp Management System)
Gift 4 life v 1.1 (Blood Camp Management System)
 
Ceylon tobacco company (ctc)
Ceylon tobacco company (ctc)Ceylon tobacco company (ctc)
Ceylon tobacco company (ctc)
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 

Relaxation method

  • 2. Introduction • Relaxation method is an iterative approach solution to systems of linear equations. • Basic idea behind this method is to improve the solution vector successively by reducing the largest residual at a particular iteration.
  • 3. What is a residual? • Suppose x(i) € R is an approximation to the solution of the linear system defined by Ax=b • Residual vector for x(i) with respect to this system is R(i) =b-A x(i) in ith iteration
  • 4. • The error: E(I )= x-x(i) • R(i) = b –Ax(i) = Ax –Ax(i) = A(x –x(i)) = AE(i): • Residual equation: – AE(i)=R(i)
  • 5. Let x(p) =( x1 (p),x2 (p) … xn (p))T be the solution vector obtained after pth iteration. If Ri (p) denotes residual, ai1x1 + ai2x2 + … + ainxn = bi Define by, Ri (p) = bi- (ai1x1 + ai2x2 + … + ainxn)
  • 6. Applying relaxation method • Transfer all the terms to the right hand side of the equation • Reorder the equations in a way such that largest co- efficient in the equations appear on the diagonal • Select the largest residual and give an increment dx=-r(i)/aii • Change x(i) to x(i) +dx(i) to relax R(i) that is to reduce R(i) to zero
  • 7. Example : 6x1-3x2+x3 = 11 2x1+x2-8x3 =-15 x1-7x2+x3 = 10 0= 11- 6x1 - 3x2 - x3 R1 0= 10- x1 + 7x2 - x3  R2 0= -15- 2x1 - x2 + 8x3  R3
  • 8. • Start with initial guesses x1=x2=x3=0 • R1=11, • R2=10, • R3=-15 • Largest residual is R3 • So that dx3 = - R3 /a33 • dx3= -15/-8 = 1.875
  • 10. Final result would be like this Iteration no R1 R2 R3 Max Ri dx(i) x1 x2 x3 0 11 10 -15 1.875 0 0 0 1 -9.125 8.125 0 9.125 1.5288 0 0 1.875 2 0.0478 6.5962 -3.0576 6.5962 -0.9423 1.5288 0 1.875 3 -2.8747 0.0001 -2.1153 -2.8747 -0.4791 1.5288 -0.9423 1.875 4 -0.0031 0.4792 -1.1571 -1.1571 0.1446 1.0497 -0.9423 1.875 5 0.1447 0.3346 0.0003 0.3346 -0.0478 1.0497 -0.9423 2.0196 6 0.2881 0.0000 0.0475 0.2881 0.0480 1.0497 -0.9901 2.0196 7 -0.0001 0.048 0.1435 0.1435 -0.0179 1.0017 -0.9901 2.0196 8 0.0178 0.0659 0.0003 - - 1.0017 -0.9901 2.0017
  • 11. • At ith iteration we can see that R1,R2 and R3 are small enough, • So xi values in this iteration x1 = 1.007, x2 = -0.9901, x3 = 2.0017 • Which are very close to the Exact solutions x1 = 1.0 x2 = -1.0 x3 = 2.0
  • 12. Convergence • Converges slowly for large systems of equations (large n)
  • 13. Special cases • Simple to implement • Not useful as a stand alone solution method • Key ingredients to multi grid methods – Jacobi – Gauss seidel – red
  • 15. Methods available to find solutions  Direct Elimination  Gaussian elimination  Gauss-Jordan elimination Decomposition  Court's reduction (Cholesky's reduction)  Iterative  Jacobi's method  Gauss-Seidel method  Relaxation method
  • 16. Advantages and Disadvantages  Relaxation method is the core part of linear algebra.  This method provide preconditions for new methods.  Easily adoptable to computers.  Can solve more than 100s of linear equations simultaneously.  Slower progress than the competing methods
  • 17. Solve: 6x - 3y + z = 11 2x + y - 8z = -15 x - 7y + z = 10 Gaussian Elimination Gauss- Jordan Elimination Courts Reduction Relaxation method X 1 1 1 1.0017 Y -1 -1 -1 -0 9901 Z 2 2 2 2.0017
  • 18. Relaxation method is the best method for :  Relaxation method is highly used for image processing .  This method has been developed for analysis of hydraulic structures .  Solving linear equations relating to the radiosity problem.  Relaxation methods are iterative methods for solving systems of equations, including nonlinear systems.  Relaxation method used with other numerical methods in mono-tropic programs.
  • 20. Why relaxation methods? • Direct methods are robust. • Direct methods are less computational costly. But • They require high memory access. • Slow in convergence.
  • 21. Evolution of relaxation methods • Gauss Siedel Iteration  Gauss’s letter to Gerling  Era of electronic computing
  • 22. •Work of David Young  Notions - “Consistent Ordering” and “Property A”  Convergence of the methods • Ostrowski (1937)  Relevant properties for M-Matrices • Theorem of Stein – Rosenburg (1948)  Asymptotic rates • Concept of Irreducibility  Grid oriented matrices
  • 23. •Concept of Cyclic Matrices  Convergence theory of SOR methods •Varga’s Contribution  Generalization of Young’s results  Matrix Iterative Analysis (1962)  Notions – Regular Splittings  Theories -Stieltjes and M-Matrices  Semi Iterative Methods Richard Varga
  • 24. • 1960s and 1970s  Chaotic Relaxations  Chazan , Miranker , Miellou , Robert • Multigrid Methods  Krylov subspace method  Use of Eugene values
  • 25. References Rao, K.S., Year. Numerical Methods for Scientists and Engineers. 2nd ed. Delhi: Prentice-Hall of India. Yousef Sadd and , Henk A. van der Vorst, Iterative Solution of Linear Systems in the 20th Century [pdf]. Available at: <www- users.cs.umn.edu/~saad/PDF/umsi-99-152.pdf> Accessed [12th July 2012] Relaxation Methods for Iterative Solution to Linear Systems of Equations Gerald Recktenwald Portland State University Mechanical Engineering Department Scientic Computing II Relaxation MethodsMichael Bader Summer term 2012