Return to Applet
In this applet we illustrate the Jacobi iterative method for approximating the
solution to a system of linear equations. We apply the Jacobi method to
the Laplace finite difference equation

with boundary conditions given by


The Laplace difference equation is equivalent to the discrete mean value
property
Umn=.25*(Um-1,n+Um,n-1+Um+1,n+Um,n+1)
which states that the solution value at (m,n) is the average of the solution
values at the four compass-point neighbor grid points.
The mean value property motivates a method for solving the system of
difference equations. Let us make an initial guess of the interior solution
values of

We have chosen the initial guess on the interior to be the average of
the boundary values. Next, successively apply the discrete mean value property
with the aim of improving our initial guess.
The Jacobi iterative method applied to this problem calls for
successive estimates of Umni to be computed from

iterating on i until the maximal residual value given by the maximum over
m,n = 1,2,...,50 of

is less than some user prescribed tolerance.
Dave Zachmann
4/1/1999