Skip to main content

Laplace: 2x2 grid 3000/2000/500

Short answer

Using standard five-point Laplace formula and Gauss-Seidal iteration, converged interior values are: u1=1958.3333, u2=1541.6667, u3=1291.6667, u4=708.3333.

Calculate the value of u(x, y) satisfying the Laplace equation ∇²u = 0 at the interior points of the square region with boundary conditions shown in figure below. [Figure: square region with interior points u1 (top-left), u2 (top-right), u3 (bottom-left), u4 (bottom-right). Top boundary: 3000, 3000, 3000 (left to right). Left boundary top to bottom: 3000, 2000, 2000, 1000. Right boundary: 500 (next to u2 row), 0 (next to u4 row), 0 (bottom). Bottom boundary: 500, 0.]

Interior points: u₁ (top-left), u₂ (top-right), u₃ (bottom-left), u₄ (bottom-right). For Laplace's equation ∇²u = 0 on a square mesh, each interior value equals the mean of its four neighbours (standard five-point formula):

u(i,j) = ¼[u(i−1,j) + u(i+1,j) + u(i,j−1) + u(i,j+1)]

Reading the figure: top 3000, 3000 (above u₁, u₂); left 2000, 2000 (beside u₁, u₃); right 500, 0 (beside u₂, u₄); bottom 500, 0 (below u₃, u₄). Corner values are not used.

Equations

u₁ = ¼(5000 + u₂ + u₃)
u₂ = ¼(3500 + u₁ + u₄)
u₃ = ¼(2500 + u₁ + u₄)
u₄ = ¼(0 + u₂ + u₃)

Iteration (Gauss–Seidel / Liebmann)

Initial value 1375 for every unknown (close to the mean of the boundary values); each new value is used at once in the next equation.

iterationu₁u₂u₃u₄
01375.00001375.00001375.00001375.0000
11937.50001703.12501453.1250789.0625
22039.06251582.03121332.0312728.5156
31978.51561551.75781301.7578713.3789
41963.37891544.18951294.1895709.5947
51959.59471542.29741292.2974708.6487
61958.64871541.82431291.8243708.4122
71958.41221541.70611291.7061708.3530
81958.35301541.67651291.6765708.3383
91958.33831541.66911291.6691708.3346
101958.33461541.66731291.6673708.3336
……………
131958.33341541.66671291.6667708.3333
141958.33331541.66671291.6667708.3333

Converged to 4 decimals after 14 iterations.

Direct solution of the equations (check)

u₁ = 1958.3333
u₂ = 1541.6667
u₃ = 1291.6667
u₄ = 708.3333

Answer: u₁ = 1958.3333, u₂ = 1541.6667, u₃ = 1291.6667, u₄ = 708.3333

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 7 questions →