OneStopGate.Com
OnestopGate   OnestopGate
   Thursday, May 9, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Mathematics » Numerical Analysis » Linear Equations » Jacobi and Gauss-Seidel Iteration

Jacobi and Gauss-Seidel Iteration

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

Jacobi and Gauss-Seidel Iteration

Jacobi and Gauss-Seidel Iteration

     

Background

    Iterative schemes require time to achieve sufficient accuracy and are reserved for large systems of equations where there are a majority of zero elements in the matrix. Often times the algorithms are taylor-made to take advantage of the special structure such as band matrices.  Practical uses include applications in circuit analysis, boundary value problems and partial differential equations.
    
    Iteration is a popular technique finding roots of equations.  Generalization of fixed point iteration can be applied to systems of linear equations to produce accurate results.  The method Jacobi iteration is attributed to Carl Jacobi (1804-1851) and Gauss-Seidel iteration is attributed to  Johann Carl Friedrich Gauss (1777-1855) and Philipp Ludwig von Seidel (1821-1896).

 

    Consider that the n�n square matrix A is split into three parts, the main diagonal D, below diagonal L and above diagonal U.  We have  A = D - L - U.

[Graphics:Images/GaussSeidelMod_gr_1.gif] =

[Graphics:Images/GaussSeidelMod_gr_2.gif]-[Graphics:Images/GaussSeidelMod_gr_3.gif]-[Graphics:Images/GaussSeidelMod_gr_4.gif]  

 

Definition (Diagonally Dominant).  The matrix  [Graphics:Images/GaussSeidelMod_gr_5.gif]  is strictly diagonally dominant if

        [Graphics:Images/GaussSeidelMod_gr_6.gif][Graphics:Images/GaussSeidelMod_gr_7.gif][Graphics:Images/GaussSeidelMod_gr_8.gif][Graphics:Images/GaussSeidelMod_gr_9.gif][Graphics:Images/GaussSeidelMod_gr_10.gif]   for   [Graphics:Images/GaussSeidelMod_gr_11.gif].  

 

Theorem ( Jacobi Iteration ).  The solution to the linear system  [Graphics:Images/GaussSeidelMod_gr_12.gif]  can be obtained starting with  [Graphics:Images/GaussSeidelMod_gr_13.gif], and using iteration scheme
    
        [Graphics:Images/GaussSeidelMod_gr_14.gif]  
where  

        [Graphics:Images/GaussSeidelMod_gr_15.gif]  and  [Graphics:Images/GaussSeidelMod_gr_16.gif].  

If  [Graphics:Images/GaussSeidelMod_gr_17.gif] is carefully chosen a sequence [Graphics:Images/GaussSeidelMod_gr_18.gif] is generated which converges to the solution  P,  i.e.  [Graphics:Images/GaussSeidelMod_gr_19.gif].  
A sufficient condition for the method to be applicable is that A is strictly diagonally dominant or diagonally dominant and irreducible.  

 

Theorem ( Gauss-Seidel Iteration ).  The solution to the linear system  [Graphics:Images/GaussSeidelMod_gr_20.gif]  can be obtained starting with  [Graphics:Images/GaussSeidelMod_gr_21.gif], and using iteration scheme
    
        [Graphics:Images/GaussSeidelMod_gr_22.gif]  
where  

        [Graphics:Images/GaussSeidelMod_gr_23.gif]  and  [Graphics:Images/GaussSeidelMod_gr_24.gif].  

If  [Graphics:Images/GaussSeidelMod_gr_25.gif] is carefully chosen a sequence [Graphics:Images/GaussSeidelMod_gr_26.gif] is generated which converges to the solution  P,  i.e.  [Graphics:Images/GaussSeidelMod_gr_27.gif].  
A sufficient condition for the method to be applicable is that A is strictly diagonally dominant or diagonally dominant and irreducible.

 

Mathematica Subroutine (Jacobi Iteration).

[Graphics:Images/GaussSeidelMod_gr_28.gif]

Mathematica Subroutine (Gauss-Seidel Iteration).

[Graphics:Images/GaussSeidelMod_gr_29.gif]

 

Warning.  

    Iteration does not always converge.  A sufficient condition for iteration to Jacobi iteration to converge is that A is strictly diagonally  dominant. The following subroutine will check to see if a matrix is strictly diagonally dominant.  It should be used before any call to Jacobi iteration or Gauss-Seidel iteration is made.  There exists a counter-example for which Jacobi iteration converges and Gauss-Seidel iteration does not converge.  The "true" sufficient condition for Jacobi iteration to converge is that the "spectral radius" of   [Graphics:Images/GaussSeidelMod_gr_221.gif]  is less than 1, where  [Graphics:Images/GaussSeidelMod_gr_222.gif] is the diagonal of  [Graphics:Images/GaussSeidelMod_gr_223.gif].  That is, the magnitude of the largest eigenvalue of M must be less than 1.  This condition seems harsh because numerical computation of eigenvalues is an advanced topic compared to solution of a linear system.  

[Graphics:Images/GaussSeidelMod_gr_224.gif]

 

More efficient subroutines

    A tolerance can be supplied to either the Jacobi or Gauss-Seidel method which will permit it to exit the loop if convergence has been achieved.  

 

Mathematica Subroutine (Jacobi Iteration).

[Graphics:Images/GaussSeidelMod_gr_243.gif]

Mathematica Subroutine (Gauss-Seidel Iteration).

[Graphics:Images/GaussSeidelMod_gr_244.gif]

 

Subroutines using matrix commands

    In the Jacobi subroutine we can use fix point iteration as suggested by the theory.  

Mathematica Subroutine (Jacobi Iteration).

[Graphics:Images/GaussSeidelMod_gr_296.gif]



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari