SlideShare a Scribd company logo
1 of 14
Download to read offline
Successive over Relaxation Method
Iterative Method (Numerical Analysis)
Khushdil Ahmad
Government College University Lahore
Department of Mathematics
December 7, 2018
Khushdil Ahmad Successive over Relaxation Method
Abstracts
In this Talk I will Discussed the following topics:
1 Formula of Successive Over Relaxation
2 Some Important
3 Proof of SOR
4 Examples
Khushdil Ahmad Successive over Relaxation Method
Formula of Successive Over Relaxation
x
(k+1)
i = x
(k)
i +
w
aii
[bi −
i−1
j=1
aij x
(k+1)
j −
n
j=1
aij x(k)
] (1)
OR
x
(k+1)
1 = x
(k)
1 + w
a11
[b1 − a11x
(k)
1 − a12x
(k)
2 − a13x
(k)
3 ]
x
(k+1)
2 = x
(k)
2 + w
a22
[b2 − a21x
(k+1)
1 − a22x
(k)
2 − a23x
(k)
3 ]
x
(k+1)
3 = x
(k)
3 + w
a33
[b3 − a31x
(k+1)
1 − a32x
(k+1)
2 − a33x
(k)
3 ]
Khushdil Ahmad Successive over Relaxation Method
Some Important Terms
Here w is the Relaxation Perimeter.
1 If w = 1 then this method will reduced to Gauss Seidal
Method.
2 If w > 1 then this method is called Over Relaxation.
3 If w <1 then this method is called under Relaxation.
4 If w Lies between 0< w <2 then the method converges
otherwise diverges.
5 We can find ”w” by the formula:
w =
2
1 − p(tj )2
(2)
and p(tj ) = D−1(L + U)
Khushdil Ahmad Successive over Relaxation Method
PROOF
We Prove this formula from Gauss Seidel Iterative Formula. As
Generalized form of Gauss Siedel is :
x
(k+1)
i = 1
aii
[bi − i−1
j=1 aij x
(k+1)
i − n
j=1 aij x(k)]
Now adding and Subtracting xk
i on both sides of equation
x
(k+1)
i = x
(k)
i +
1
aii
[bi −
i−1
j=1
aij x
(k+1)
i −
n
j=1
aij x(k)
] (3)
Replace ”1” by ”w” in equation (3) then we get
x
(k+1)
i = x
(k)
i +
w
aii
[bi −
i−1
j=1
aij x
(k+1)
i −
n
j=1
aij x(k)
] (4)
Khushdil Ahmad Successive over Relaxation Method
PROOF
Equation (4) Is the Requires equation of Successive over
Relaxation (SOR) Method
If we expand the ” ” and put the values of i = 1,2,3,. . . ,n then
we get the Equations
x
(k+1)
1 = x
(k)
1 + w
a11
[b1 − a11x
(k)
1 − a12x
(k)
2 − a13x
(k)
3 ]
x
(k+1)
2 = x
(k)
2 + w
a22
[b2 − a21x
(k+1)
1 − a22x
(k)
2 − a23x
(k)
3 ]
x
(k+1)
3 = x
(k)
3 + w
a33
[b3 − a31x
(k+1)
1 − a32x
(k+1)
2 − a33x
(k)
3 ]
Khushdil Ahmad Successive over Relaxation Method
Example 01
Question: Solve the following equations by SOR with w = 1.45
5x1 + 2x2 − x3 = 6
x1 + 6x2 − 3x3 = 4
2x1 + x2 + 4x3 = 7
Khushdil Ahmad Successive over Relaxation Method
Solution:
As Formula of SOR
x
(k+1)
1 = x
(k)
1 + w
a11
[b1 − a11x
(k)
1 − a12x
(k)
2 − a13x
(k)
3 ]
x
(k+1)
2 = x
(k)
2 + w
a22
[b2 − a21x
(k+1)
1 − a22x
(k)
2 − a23x
(k)
3 ]
x
(k+1)
3 = x
(k)
3 + w
a33
[b3 − a31x
(k+1)
1 − a32x
(k+1)
2 − a33x
(k)
3 ]
Here the Equation are in Matrix form are:


5 2 −1
1 6 −3
2 1 4




x1
x2
x3

 =


6
4
7


and 

a11 a12 a13
a21 a22 a23
a31 a32 a33

 =


5 2 −1
1 6 −3
2 1 4


Khushdil Ahmad Successive over Relaxation Method
Solution:
Here
a11 = 5, a12 = 2, a13 = −1. a21 = 1, a22 = 6, a23 = −3. a31 =
2, a32 = 1, a33 = 4.b1 = 6, b2 = 4 and b3 = 7.
For Initial Estimate
Take x0
1 = x0
2 = x0
3 = 0
First Iteration
Put k=0 and w = 1.45 in General Formula’s of SOR,
∗1 For x1
1
x
(1)
1 = x
(0)
1 + w
a11
[b1 − a11x
(0)
1 − a12x
(0)
2 − a13x
(0)
3 ]
By Putting Values
x
(1)
1 = 0 + 1.45
5 [6 − 5(0) − 2(0) − (−1)(0)]
x
(1)
1 = 1.74
Khushdil Ahmad Successive over Relaxation Method
Solution:
∗2 For x
(1)
2
x
(1)
2 = x
(0)
2 + w
a22
[b2 − a21x
(1)
1 − a22x
(0)
2 − a23x
(0)
3 ]
By Putting Values
x
(1)
2 = 0 + 1.45
6 [4 − 1(1.74) − 6(0) − (−3)(0)]
x
(1)
2 = 0.5462
∗3 For x
(1)
3
x
(1)
3 = x
(0)
3 + w
a33
[b3 − a31x
(1)
1 − a32x
(1)
2 − a33x
(0)
3 ]
By Putting Values
x
(1)
3 = 0 + 1.45
4 [7 − 2(1.74) − 1(0.5462) − (4)(0)]
x
(1)
3 = 1.0780
Khushdil Ahmad Successive over Relaxation Method
Solution:
Second Iteration
Put k=1 , and w = 1.45 in General Formula’s of SOR, and
x
(1)
1 = 1.74, x
(1)
2 = 0.5462 x
(1)
3 = 1.0780
∗1 For x2
1
x
(2)
1 = x
(1)
1 + w
a11
[b1 − a11x
(1)
1 − a12x
(1)
2 − a13x
(1)
3 ]
By Putting Values
x
(2)
1 = 1.74 + 1.45
5 [6 − 5(1.74) − 2(0.5462) − (−1)(1.0780)]
x
(2)
1 = 0.9528
∗2 For x
(2)
2
x
(2)
2 = x
(1)
2 + w
a22
[b2 − a21x
(2)
1 − a22x
(1)
2 − a23x
(1)
3 ]
By Putting Values
x
(2)
2 = 0.5462+ 1.45
6 [4−1(0.9528)−6(0.5426)−(−3)(1.0780)]
Khushdil Ahmad Successive over Relaxation Method
Solution:
x
(2)
2 = 1.7519
∗3 For x
(2)
3
x
(2)
3 = x
(1)
3 + w
a33
[b3 − a31x
(2)
1 − a32x
(3)
2 − a33x
(1)
3 ]
By Putting Values
x
(2)
3 = 1.0780 + 1.45
4 [7 − 2(0.9528) − 1(1.7519) − 4(1.0780)]
x
(2)
3 = 0.7266
Khushdil Ahmad Successive over Relaxation Method
Solution:
Similarly
iteration No (k) x
(k)
1 x
(k)
2 x
(k)
3
3 0.5064 0.5827 1.6322
4 1.6475 1.6710 0.8707
What happen when we change the value of w?
If we change the value of w towards ”2” then answer will converge
quickly than of near to ”1” and if w = 1 then it reduces to Gauss
Siedel Method and if we put w < 1 then it will take more time to
get the better approximation.
If w > ”2” then the Method will diverges.
Khushdil Ahmad Successive over Relaxation Method
Thank You
THANK YOU
Khushdil Ahmad Successive over Relaxation Method

More Related Content

What's hot

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
 
Gauss Elimination Method With Partial Pivoting
Gauss Elimination Method With Partial PivotingGauss Elimination Method With Partial Pivoting
Gauss Elimination Method With Partial PivotingSM. Aurnob
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equationsDiler4
 
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
 
Matlab solved problems
Matlab solved problemsMatlab solved problems
Matlab solved problemsMake Mannan
 
stirling method maths
stirling method mathsstirling method maths
stirling method mathsharsh kothari
 
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of MatricesGram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of MatricesIsaac Yowetu
 
Solving linear equation system
Solving linear equation   systemSolving linear equation   system
Solving linear equation systemsulaiman_karim
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodMeet Nayak
 
Runge-Kutta methods with examples
Runge-Kutta methods with examplesRunge-Kutta methods with examples
Runge-Kutta methods with examplesSajjad Hossain
 
Integration in the complex plane
Integration in the complex planeIntegration in the complex plane
Integration in the complex planeAmit Amola
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equationsreach2arkaELECTRICAL
 
Lu decomposition
Lu decompositionLu decomposition
Lu decompositiongilandio
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun Gehlot
 
power series & radius of convergence
power series & radius of convergencepower series & radius of convergence
power series & radius of convergencejigar sable
 

What's hot (20)

Relaxation method
Relaxation methodRelaxation method
Relaxation method
 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Galerkin method
Galerkin methodGalerkin method
Galerkin 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...
 
Duality
DualityDuality
Duality
 
Gauss Elimination Method With Partial Pivoting
Gauss Elimination Method With Partial PivotingGauss Elimination Method With Partial Pivoting
Gauss Elimination Method With Partial Pivoting
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
Matlab solved problems
Matlab solved problemsMatlab solved problems
Matlab solved problems
 
stirling method maths
stirling method mathsstirling method maths
stirling method maths
 
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of MatricesGram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
 
Solving linear equation system
Solving linear equation   systemSolving linear equation   system
Solving linear equation system
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Runge-Kutta methods with examples
Runge-Kutta methods with examplesRunge-Kutta methods with examples
Runge-Kutta methods with examples
 
Integration in the complex plane
Integration in the complex planeIntegration in the complex plane
Integration in the complex plane
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equations
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
power series & radius of convergence
power series & radius of convergencepower series & radius of convergence
power series & radius of convergence
 

Similar to SOR Method Explained

Presentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptxPresentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptxMunawarAhmad22
 
Class-10-Mathematics-Chapter-1-CBSE-NCERT.ppsx
Class-10-Mathematics-Chapter-1-CBSE-NCERT.ppsxClass-10-Mathematics-Chapter-1-CBSE-NCERT.ppsx
Class-10-Mathematics-Chapter-1-CBSE-NCERT.ppsxSoftcare Solution
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manualzuxigytix
 
Consider the following polynomials
Consider the following polynomialsConsider the following polynomials
Consider the following polynomialsTutorMate33
 
Presentation on quadratic equation
Presentation on quadratic equationPresentation on quadratic equation
Presentation on quadratic equationSurajKumar1560
 
Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)KarunaGupta1982
 
Algebra Revision.ppt
Algebra Revision.pptAlgebra Revision.ppt
Algebra Revision.pptAaronChi5
 
Maths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfMaths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfAnuBajpai5
 
Integration with limits
Integration with limitsIntegration with limits
Integration with limitsShaun Wilson
 
math1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdfmath1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdfHebaEng
 
rational equation transformable to quadratic equation.pptx
rational equation transformable to quadratic equation.pptxrational equation transformable to quadratic equation.pptx
rational equation transformable to quadratic equation.pptxRizaCatli2
 
1.2 algebraic expressions t
1.2 algebraic expressions t1.2 algebraic expressions t
1.2 algebraic expressions tmath260
 
The Fundamental Solution of an Extension to a Generalized Laplace Equation
The Fundamental Solution of an Extension to a Generalized Laplace EquationThe Fundamental Solution of an Extension to a Generalized Laplace Equation
The Fundamental Solution of an Extension to a Generalized Laplace EquationJohnathan Gray
 
Prerna Jee Advanced 2013 maths- Paper 2
Prerna Jee Advanced 2013 maths- Paper 2Prerna Jee Advanced 2013 maths- Paper 2
Prerna Jee Advanced 2013 maths- Paper 2askiitians
 
Solving Equations Transformable to Quadratic Equation Including Rational Alge...
Solving Equations Transformable to Quadratic Equation Including Rational Alge...Solving Equations Transformable to Quadratic Equation Including Rational Alge...
Solving Equations Transformable to Quadratic Equation Including Rational Alge...Cipriano De Leon
 
algebra lesson notes (best).pdf
algebra lesson notes (best).pdfalgebra lesson notes (best).pdf
algebra lesson notes (best).pdfCyprianObota
 

Similar to SOR Method Explained (20)

Presentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptxPresentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptx
 
Class-10-Mathematics-Chapter-1-CBSE-NCERT.ppsx
Class-10-Mathematics-Chapter-1-CBSE-NCERT.ppsxClass-10-Mathematics-Chapter-1-CBSE-NCERT.ppsx
Class-10-Mathematics-Chapter-1-CBSE-NCERT.ppsx
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manual
 
Consider the following polynomials
Consider the following polynomialsConsider the following polynomials
Consider the following polynomials
 
Presentation on quadratic equation
Presentation on quadratic equationPresentation on quadratic equation
Presentation on quadratic equation
 
Sample question paper 2 with solution
Sample question paper 2 with solutionSample question paper 2 with solution
Sample question paper 2 with solution
 
F2 t2 squares, square roots, cubes &amp; cube roots
F2 t2   squares, square roots, cubes &amp; cube rootsF2 t2   squares, square roots, cubes &amp; cube roots
F2 t2 squares, square roots, cubes &amp; cube roots
 
Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)Assignment of class 12 (chapters 2 to 9)
Assignment of class 12 (chapters 2 to 9)
 
Algebra Revision.ppt
Algebra Revision.pptAlgebra Revision.ppt
Algebra Revision.ppt
 
Maths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdfMaths-MS_Term2 (1).pdf
Maths-MS_Term2 (1).pdf
 
Integration with limits
Integration with limitsIntegration with limits
Integration with limits
 
math1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdfmath1مرحلة اولى -compressed.pdf
math1مرحلة اولى -compressed.pdf
 
rational equation transformable to quadratic equation.pptx
rational equation transformable to quadratic equation.pptxrational equation transformable to quadratic equation.pptx
rational equation transformable to quadratic equation.pptx
 
1.2 algebraic expressions t
1.2 algebraic expressions t1.2 algebraic expressions t
1.2 algebraic expressions t
 
The Fundamental Solution of an Extension to a Generalized Laplace Equation
The Fundamental Solution of an Extension to a Generalized Laplace EquationThe Fundamental Solution of an Extension to a Generalized Laplace Equation
The Fundamental Solution of an Extension to a Generalized Laplace Equation
 
State feedback example
State feedback exampleState feedback example
State feedback example
 
Appendex
AppendexAppendex
Appendex
 
Prerna Jee Advanced 2013 maths- Paper 2
Prerna Jee Advanced 2013 maths- Paper 2Prerna Jee Advanced 2013 maths- Paper 2
Prerna Jee Advanced 2013 maths- Paper 2
 
Solving Equations Transformable to Quadratic Equation Including Rational Alge...
Solving Equations Transformable to Quadratic Equation Including Rational Alge...Solving Equations Transformable to Quadratic Equation Including Rational Alge...
Solving Equations Transformable to Quadratic Equation Including Rational Alge...
 
algebra lesson notes (best).pdf
algebra lesson notes (best).pdfalgebra lesson notes (best).pdf
algebra lesson notes (best).pdf
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

SOR Method Explained

  • 1. Successive over Relaxation Method Iterative Method (Numerical Analysis) Khushdil Ahmad Government College University Lahore Department of Mathematics December 7, 2018 Khushdil Ahmad Successive over Relaxation Method
  • 2. Abstracts In this Talk I will Discussed the following topics: 1 Formula of Successive Over Relaxation 2 Some Important 3 Proof of SOR 4 Examples Khushdil Ahmad Successive over Relaxation Method
  • 3. Formula of Successive Over Relaxation x (k+1) i = x (k) i + w aii [bi − i−1 j=1 aij x (k+1) j − n j=1 aij x(k) ] (1) OR x (k+1) 1 = x (k) 1 + w a11 [b1 − a11x (k) 1 − a12x (k) 2 − a13x (k) 3 ] x (k+1) 2 = x (k) 2 + w a22 [b2 − a21x (k+1) 1 − a22x (k) 2 − a23x (k) 3 ] x (k+1) 3 = x (k) 3 + w a33 [b3 − a31x (k+1) 1 − a32x (k+1) 2 − a33x (k) 3 ] Khushdil Ahmad Successive over Relaxation Method
  • 4. Some Important Terms Here w is the Relaxation Perimeter. 1 If w = 1 then this method will reduced to Gauss Seidal Method. 2 If w > 1 then this method is called Over Relaxation. 3 If w <1 then this method is called under Relaxation. 4 If w Lies between 0< w <2 then the method converges otherwise diverges. 5 We can find ”w” by the formula: w = 2 1 − p(tj )2 (2) and p(tj ) = D−1(L + U) Khushdil Ahmad Successive over Relaxation Method
  • 5. PROOF We Prove this formula from Gauss Seidel Iterative Formula. As Generalized form of Gauss Siedel is : x (k+1) i = 1 aii [bi − i−1 j=1 aij x (k+1) i − n j=1 aij x(k)] Now adding and Subtracting xk i on both sides of equation x (k+1) i = x (k) i + 1 aii [bi − i−1 j=1 aij x (k+1) i − n j=1 aij x(k) ] (3) Replace ”1” by ”w” in equation (3) then we get x (k+1) i = x (k) i + w aii [bi − i−1 j=1 aij x (k+1) i − n j=1 aij x(k) ] (4) Khushdil Ahmad Successive over Relaxation Method
  • 6. PROOF Equation (4) Is the Requires equation of Successive over Relaxation (SOR) Method If we expand the ” ” and put the values of i = 1,2,3,. . . ,n then we get the Equations x (k+1) 1 = x (k) 1 + w a11 [b1 − a11x (k) 1 − a12x (k) 2 − a13x (k) 3 ] x (k+1) 2 = x (k) 2 + w a22 [b2 − a21x (k+1) 1 − a22x (k) 2 − a23x (k) 3 ] x (k+1) 3 = x (k) 3 + w a33 [b3 − a31x (k+1) 1 − a32x (k+1) 2 − a33x (k) 3 ] Khushdil Ahmad Successive over Relaxation Method
  • 7. Example 01 Question: Solve the following equations by SOR with w = 1.45 5x1 + 2x2 − x3 = 6 x1 + 6x2 − 3x3 = 4 2x1 + x2 + 4x3 = 7 Khushdil Ahmad Successive over Relaxation Method
  • 8. Solution: As Formula of SOR x (k+1) 1 = x (k) 1 + w a11 [b1 − a11x (k) 1 − a12x (k) 2 − a13x (k) 3 ] x (k+1) 2 = x (k) 2 + w a22 [b2 − a21x (k+1) 1 − a22x (k) 2 − a23x (k) 3 ] x (k+1) 3 = x (k) 3 + w a33 [b3 − a31x (k+1) 1 − a32x (k+1) 2 − a33x (k) 3 ] Here the Equation are in Matrix form are:   5 2 −1 1 6 −3 2 1 4     x1 x2 x3   =   6 4 7   and   a11 a12 a13 a21 a22 a23 a31 a32 a33   =   5 2 −1 1 6 −3 2 1 4   Khushdil Ahmad Successive over Relaxation Method
  • 9. Solution: Here a11 = 5, a12 = 2, a13 = −1. a21 = 1, a22 = 6, a23 = −3. a31 = 2, a32 = 1, a33 = 4.b1 = 6, b2 = 4 and b3 = 7. For Initial Estimate Take x0 1 = x0 2 = x0 3 = 0 First Iteration Put k=0 and w = 1.45 in General Formula’s of SOR, ∗1 For x1 1 x (1) 1 = x (0) 1 + w a11 [b1 − a11x (0) 1 − a12x (0) 2 − a13x (0) 3 ] By Putting Values x (1) 1 = 0 + 1.45 5 [6 − 5(0) − 2(0) − (−1)(0)] x (1) 1 = 1.74 Khushdil Ahmad Successive over Relaxation Method
  • 10. Solution: ∗2 For x (1) 2 x (1) 2 = x (0) 2 + w a22 [b2 − a21x (1) 1 − a22x (0) 2 − a23x (0) 3 ] By Putting Values x (1) 2 = 0 + 1.45 6 [4 − 1(1.74) − 6(0) − (−3)(0)] x (1) 2 = 0.5462 ∗3 For x (1) 3 x (1) 3 = x (0) 3 + w a33 [b3 − a31x (1) 1 − a32x (1) 2 − a33x (0) 3 ] By Putting Values x (1) 3 = 0 + 1.45 4 [7 − 2(1.74) − 1(0.5462) − (4)(0)] x (1) 3 = 1.0780 Khushdil Ahmad Successive over Relaxation Method
  • 11. Solution: Second Iteration Put k=1 , and w = 1.45 in General Formula’s of SOR, and x (1) 1 = 1.74, x (1) 2 = 0.5462 x (1) 3 = 1.0780 ∗1 For x2 1 x (2) 1 = x (1) 1 + w a11 [b1 − a11x (1) 1 − a12x (1) 2 − a13x (1) 3 ] By Putting Values x (2) 1 = 1.74 + 1.45 5 [6 − 5(1.74) − 2(0.5462) − (−1)(1.0780)] x (2) 1 = 0.9528 ∗2 For x (2) 2 x (2) 2 = x (1) 2 + w a22 [b2 − a21x (2) 1 − a22x (1) 2 − a23x (1) 3 ] By Putting Values x (2) 2 = 0.5462+ 1.45 6 [4−1(0.9528)−6(0.5426)−(−3)(1.0780)] Khushdil Ahmad Successive over Relaxation Method
  • 12. Solution: x (2) 2 = 1.7519 ∗3 For x (2) 3 x (2) 3 = x (1) 3 + w a33 [b3 − a31x (2) 1 − a32x (3) 2 − a33x (1) 3 ] By Putting Values x (2) 3 = 1.0780 + 1.45 4 [7 − 2(0.9528) − 1(1.7519) − 4(1.0780)] x (2) 3 = 0.7266 Khushdil Ahmad Successive over Relaxation Method
  • 13. Solution: Similarly iteration No (k) x (k) 1 x (k) 2 x (k) 3 3 0.5064 0.5827 1.6322 4 1.6475 1.6710 0.8707 What happen when we change the value of w? If we change the value of w towards ”2” then answer will converge quickly than of near to ”1” and if w = 1 then it reduces to Gauss Siedel Method and if we put w < 1 then it will take more time to get the better approximation. If w > ”2” then the Method will diverges. Khushdil Ahmad Successive over Relaxation Method
  • 14. Thank You THANK YOU Khushdil Ahmad Successive over Relaxation Method