TOPICS
Search

Jacobi Method


The Jacobi method is a method of solving a matrix equation on a matrix that has no zeros along its main diagonal (Bronshtein and Semendyayev 1997, p. 892). Each diagonal element is solved for, and an approximate value plugged in. The process is then iterated until it converges. This linear-system iteration is distinct from the Jacobi transformation used for matrix diagonalization.

The Jacobi method is easily derived by examining each of the n equations in the linear system of equations Ax=b in isolation. If, in the ith equation

 sum_(j=1)^na_(ij)x_j=b_i,
(1)

solve for the value of x_i while assuming the other entries of x remain fixed. This gives

 x_i^((k))=(b_i-sum_(j!=i)a_(ij)x_j^((k-1)))/(a_(ii)),
(2)

which is the Jacobi method.

In this method, the order in which the equations are examined is irrelevant, since the Jacobi method treats them independently. The definition of the Jacobi method can be expressed with matrices as

 x^((k))=D^(-1)(L+U)x^((k-1))+D^(-1)b,
(3)

where the matrices D, -L, and -U represent thediagonal, strictly lower triangular, and strictly upper triangular parts of A, respectively.

A weighted form of the iteration is

 x^((k+1))=x^((k))+omega_kD^(-1)(b-Ax^((k))),
(4)

where D is the diagonal matrix consisting of the diagonal of A. The scheduled relaxation Jacobi method applies a prescribed cycle of over- and under-relaxation parameters omega_k before repeating the cycle. Its gains depend on the linear system of equations and the chosen schedule, and an individual step need not reduce the error (Yang and Mittal 2014). Further acceleration combines iterates or minimizes residuals after each cycle (Kong et al. 2019).


See also

Gauss-Seidel Method, Stationary Iterative Method, Successive Overrelaxation Method, Symmetric Successive Overrelaxation Method

Portions of this entry contributed by Noel Black and Shirley Moore, adapted from Barrett et al. (1994) (author's link)

Explore with Wolfram|Alpha

References

Acton, F. S. Numerical Methods That Work, 2nd printing. Washington, DC: Math. Assoc. Amer., pp. 161-163, 1990.Barrett, R.; Berry, M.; Chan, T. F.; Demmel, J.; Donato, J.; Dongarra, J.; Eijkhout, V.; Pozo, R.; Romine, C.; and van der Vorst, H. Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods, 2nd ed. Philadelphia, PA: SIAM, 1994. https://netlib.org/linalg/html_templates/Templates.html.Bronshtein, I. N. and Semendyayev, K. A. Handbook of Mathematics, 3rd ed. New York: Springer-Verlag, p. 892, 1997.Hageman, L. and Young, D. Applied Iterative Methods. New York: Academic Press, 1981.Kong, Q.; Jing, Y.-F.; Huang, T.-Z.; and An, H.-B. "Acceleration of the Scheduled Relaxation Jacobi Method: Promising Strategies for Solving Large, Sparse Linear Systems." J. Comput. Phys. 397, 108862, 2019. https://doi.org/10.1016/j.jcp.2019.108862.Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, pp. 864-866, 1992.Varga, R. Matrix Iterative Analysis. Englewood Cliffs, NJ: Prentice-Hall, 1962.Yang, X. I. A. and Mittal, R. "Acceleration of the Jacobi Iterative Method by Factors Exceeding 100 Using Scheduled Relaxation." J. Comput. Phys. 274, 695-708, 2014. https://doi.org/10.1016/j.jcp.2014.06.010.Young, D. Iterative Solutions of Large Linear Systems. New York: Academic Press, 1971.

Referenced on Wolfram|Alpha

Jacobi Method

Cite this as:

Weisstein, Eric W., with contributions by Noel Black and Shirley Moore, adapted from Barrett et al. (1994). "Jacobi Method." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/JacobiMethod.html

Subject classifications