Gauss-Seidel Method

Introduction

Gauss-Seidel Method एक important iterative method है जिसका उपयोग linear system of equations को solve करने के लिए किया जाता है। यह method Gauss-Jacobi Method का improved version माना जाता है।

इस method में solution एक ही step में नहीं मिलता, बल्कि बार-बार iterations के माध्यम से धीरे-धीरे accurate value प्राप्त की जाती है। इसकी खास बात यह है कि इसमें नई calculated value को तुरंत अगले calculation में use किया जाता है, जिससे convergence तेजी से होता है।

यह method numerical computation और programming implementation में बहुत उपयोगी है, खासकर जब system बड़ा हो।

Basic Idea

मान लो system है:a1x+b1y+c1z=d1a_1x + b_1y + c_1z = d_1a2x+b2y+c2z=d2a_2x + b_2y + c_2z = d_2

a3x+b3y+c3z=d3a_3x + b_3y + c_3z = d_3

👉 इसे iterative form में लिखते हैं:x=d1b1yc1za1x = \frac{d_1 – b_1y – c_1z}{a_1}

y=d2a2xc2zb2y = \frac{d_2 – a_2x – c_2z}{b_2}

z=d3a3xb3yc3z = \frac{d_3 – a_3x – b_3y}{c_3}


Gauss-Seidel का Main Difference

  • Jacobi में: सभी नई values old values से निकलती हैं
  • Seidel में:
    • पहले xx निकालते हैं
    • फिर उसी new xx को use करके yy निकालते हैं
    • फिर new x,yx, y से zz निकालते हैं

👉 इसलिए यह method faster converge करता है

Important Condition (Convergence)

  • system diagonally dominant होना चाहिए
  • तभी method सही result देगा

Numerical Example (Step-by-Step)

Solve the system:10x+y+z=1210x + y + z = 12

2x+10y+z=132x + 10y + z = 13

2x+2y+10z=142x + 2y + 10z = 14

Step 1: Iterative form

x=12yz10x = \frac{12 – y – z}{10}

y=132xz10y = \frac{13 – 2x – z}{10}

z=142x2y10z = \frac{14 – 2x – 2y}{10}

Step 2: Initial Guess

x0=0,y0=0,z0=0x_0 = 0,\quad y_0 = 0,\quad z_0 = 0

Step 3: First Iteration

पहले xx:x1=120010=1.2x_1 = \frac{12 – 0 – 0}{10} = 1.2

अब yy (new xx use होगा):

y1=132(1.2)010=10.610=1.06y_1 = \frac{13 – 2(1.2) – 0}{10} = \frac{10.6}{10} = 1.06

अब zzz (new x,yx, y use होंगे):

z1=142(1.2)2(1.06)10=142.42.1210=9.4810=0.948z_1 = \frac{14 – 2(1.2) – 2(1.06)}{10} = \frac{14 – 2.4 – 2.12}{10} = \frac{9.48}{10} = 0.948

Step 4: Second Iteration

अब updated values use करेंगे:x2=121.060.94810=0.9992x_2 = \frac{12 – 1.06 – 0.948}{10} = 0.9992

y2=132(0.9992)0.94810=1.0054y_2 = \frac{13 – 2(0.9992) – 0.948}{10} = 1.0054

z2=142(0.9992)2(1.0054)10=0.9990z_2 = \frac{14 – 2(0.9992) – 2(1.0054)}{10} = 0.9990

Observation

  • values बहुत जल्दी stabilize हो रही हैं
  • solution तेजी से converge कर रहा है

Approx solution:x1,y1,z1x \approx 1,\quad y \approx 1,\quad z \approx 1

Explanation

  • हर step में updated values use की गई
  • इसलिए error जल्दी कम हुआ
  • यही Gauss-Seidel की सबसे बड़ी strength है

Important Points

  • Jacobi से faster convergence
  • updated values तुरंत use होती हैं
  • diagonally dominant system जरूरी है
  • programming में efficient है

Conclusion

Gauss-Seidel Method एक powerful iterative technique है जो:

  • जल्दी accurate solution देता है
  • large systems के लिए suitable है
  • numerical analysis में widely used है

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top