Skip to main content

Laplace: 2x2 grid 100/200/50

Short answer

Apply the five-point Laplace formula u=(sum of four neighbours)/4 and iterate by Gauss-Seidel. The interior values converge to u1=120.8333, u2=79.1667, u3=104.1667, and u4=45.8333.

Find the values of u(x, y) satisfying the Laplace equation ∇²u = 0, at the pivotal points of the square region with boundary conditions as shown below. [Figure: square region with interior points u1 (top-left), u2 (top-right), u3 (bottom-left), u4 (bottom-right). Top boundary: 100 (corner, left), 100, 100, 100 (corner, right). Left boundary from top to bottom: 100 (corner), 200, 200, 100 (corner). Right boundary from top to bottom: 100 (corner), 50, 0, 0 (corner). Bottom boundary left to right: 100 (corner), 50, 0, 0 (corner).]

Label the 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, the boundary values touching each point are: u₁: top 100, left 200; u₂: top 100, right 50; u₃: left 200, bottom 50; u₄: right 0, bottom 0. Corner values are not used by the five-point formula.

Equations

u₁ = ¼(300 + u₂ + u₃)
u₂ = ¼(150 + u₁ + u₄)
u₃ = ¼(250 + u₁ + u₄)
u₄ = ¼(0 + u₂ + u₃)

Iteration (Gauss–Seidel / Liebmann)

Initial value 88 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₄
088.000088.000088.000088.0000
1119.000089.2500114.250050.8750
2125.875081.6875106.687547.0938
3122.093879.7969104.796946.1484
4121.148479.3242104.324245.9121
5120.912179.2061104.206145.8530
6120.853079.1765104.176545.8383
7120.838379.1691104.169145.8346
8120.834679.1673104.167345.8336
9120.833679.1668104.166845.8334
10120.833479.1667104.166745.8334
11120.833479.1667104.166745.8333
12120.833379.1667104.166745.8333

Converged to 4 decimals after 12 iterations.

Direct solution of the equations (check)

u₁ = 120.8333
u₂ = 79.1667
u₃ = 104.1667
u₄ = 45.8333

Answer: u₁ = 120.8333, u₂ = 79.1667, u₃ = 104.1667, u₄ = 45.8333

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 7 questions →