A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Jacobi Iterative Method

Graduate Depth 81 in the knowledge graph ☐ I know this ☆ Set as goal
4topics build on this
310prerequisites beneath it
See this on the map →
Fixed Point IterationMatrix Operations→→Convergence of Iterative MethodsGauss-Seidel Method
jacobi iterative linear-systems

Core Idea

The Jacobi method solves Ax = b by iterating x(k+1) = D⁻¹(b - (L+U)x(k)), where D is A's diagonal and L, U are its lower and upper parts. Each component is updated simultaneously using values from the previous iteration. Jacobi is simple to implement and parallelize but converges slowly unless A is diagonally dominant or well-conditioned.

How It's Best Learned

Iterate 3x + y = 5, x + 2y = 5 (solution x = 1, y = 2) from (0, 0). You get (1.667, 2.5), (0.833, 1.667), (1.111, 2.083), closing in while overshooting. Then write the same equations in the other order, solving the first for x and the second for y. The iterates (5, 5), (−5, −10), (25, 20) run away, because the iteration matrix now has spectral radius √6 > 1.

Common Misconceptions

Explainer

The Jacobi method applies the fixed-point iteration idea you already know to the problem of solving a linear system Ax = b. In fixed-point iteration, you rearrange an equation into the form x = g(x) and then repeatedly apply g. The Jacobi method does exactly this for linear systems: for each equation i, solve for xᵢ in terms of the other variables: xᵢ = (bᵢ − Σⱼ≠ᵢ aᵢⱼ xⱼ) / aᵢᵢ. This gives a map g(x), and Jacobi iterates x(k+1) = g(x(k)).

The matrix formulation makes the structure transparent. Write A = D + L + U, where D is the diagonal of A, L is the strictly lower triangular part, and U is the strictly upper triangular part — all operations you know from matrix decompositions. Then Ax = b becomes Dx = b − (L + U)x, so x = D⁻¹(b − (L + U)x). The Jacobi iteration is x(k+1) = D⁻¹(b − (L + U)x(k)): invert the diagonal (trivial — just divide each component by the diagonal entry), then apply the off-diagonal parts to the old iterate. The key feature is that all components of x(k+1) are computed simultaneously using only values from x(k), never from freshly computed components of the current sweep. This "all-old" update rule is what distinguishes Jacobi from Gauss-Seidel.

Convergence depends on the spectral radius ρ of the iteration matrix D⁻¹(L + U): the iteration converges if and only if ρ < 1. A sufficient condition you can check directly from A's entries is diagonal dominance: A is diagonally dominant if |aᵢᵢ| > Σⱼ≠ᵢ |aᵢⱼ| for every row i. Intuitively, when the diagonal is large, each update is dominated by the correct term bᵢ/aᵢᵢ, and the off-diagonal corrections are small perturbations. The system "self-corrects" at each step.

Jacobi's practical advantage over direct methods like Gaussian elimination is that it never needs to form or store a factorization — you only need to multiply by A once per iteration. For large sparse systems (many zeros), this can save enormous memory and computation. The trade-off is slow convergence: each iteration reduces the error by only a factor of ρ, which may be close to 1 for nearly-singular or poorly-conditioned systems. The Gauss-Seidel method improves this by using fresh component values as soon as they are computed within a sweep, typically halving the number of iterations required for the same accuracy.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Systems of Equations — Graphing Method → Systems of Equations — Elimination Method → Systems of Three Variables → Matrices Introduction → Matrix Operations → Jacobi Iterative Method

Longest path: 82 steps · 310 total prerequisite topics

Prerequisites (2)

Leads To (2)