Jacobi Iterative Linear Solver
Solve a small square linear system by Jacobi iteration from the zero vector.
Processing stays in your browser. Finite iterations can stop before convergence and absolute residual tolerance depends on units. Jacobi and Gauss–Seidel need suitable matrices; conjugate gradients explicitly requires numerical positive definiteness.
How to use the jacobi iterative linear solver
Review square coefficient matrix json, right-hand vector json, iterations, tolerance using the supplied example. Replace it with your own input, choose Calculate, and compare the result with the worked example and method below. Edits clear the previous result; copy or download after review.
How the tool works
Solve a small square linear system by Jacobi iteration from the zero vector. Every update uses the preceding complete iterate and convergence is tested with an absolute residual norm.
Worked example
View the example inputs
- Square coefficient matrix JSON
- [[4,1],[1,3]]
- Right-hand vector JSON
- [1,2]
- Iterations
- 100
- Tolerance
- 1e-08
The example system has solution [1/11,7/11], approximately [0.090909,0.636364].
Good to know
Finite iterations can stop before convergence and absolute residual tolerance depends on units. Jacobi and Gauss–Seidel need suitable matrices; conjugate gradients explicitly requires numerical positive definiteness.
Sources and implementation notes
Implemented by DevBricks Technologies. Method notes updated . References describe the underlying format, method or API. Local processing runs on your device. Any public provider queries are described above and start when you run the lookup.
Check definitions, units and boundary cases
Write the problem in the notation requested by the tool. Check angle units, matrix dimensions, coordinate conventions and whether a value must be an integer. Use a small case with a known answer before entering a larger expression or dataset. A numerical approximation and an exact symbolic result have different meanings, so read the method before interpreting displayed precision.
Inputs and settings explained
- Square coefficient matrix JSON
- Supply the JSON shape named by this label. Preserve property names and value types in the example, then replace the demonstration data. Objects, arrays and newline-delimited records are different formats; use the one requested rather than enclosing arbitrary text in braces.
See the demonstration value
[[4,1],[1,3]]
- Right-hand vector JSON
- Supply the JSON shape named by this label. Preserve property names and value types in the example, then replace the demonstration data. Objects, arrays and newline-delimited records are different formats; use the one requested rather than enclosing arbitrary text in braces.
See the demonstration value
[1,2]
- Iterations
- Enter a numeric value for iterations, using the units and bounds indicated by the label and method notes. The demonstration uses 100. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
100
- Tolerance
- Enter a numeric value for tolerance, using the units and bounds indicated by the label and method notes. The demonstration uses 1e-08. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
1e-08
How to review the result
Substitute the result into the original problem when possible. For a matrix operation, verify dimensions; for a root, inspect the residual; for a conversion, check the reverse operation where supported. Watch for division by zero, invalid domains and values too large for the chosen representation. A solver can accurately solve the supplied model while the model itself leaves out a condition that matters to your real task.
- Confirm signs, units, input order and supported numerical ranges.
- Compare with a small known example and inspect any residual or convergence information.
- Keep the original expression and method with the result so it can be reproduced.
Common questions about this workflow
Do more decimal places mean a more accurate answer?
Displayed digits are limited by the numerical method and input precision. Rounding, floating-point representation and ill-conditioned problems can affect results. Use the stated method and a residual or independent check when precision matters.
What should I do if the solver rejects my input?
Check the mathematical domain and explicit size limits first. Reduce the problem to a known case and restore one feature at a time. Do not change a mathematical condition just to force the tool to return a number.
Built by DevBricks Technologies. Found an unexpected result in Jacobi Iterative Linear Solver? Report a reproducible example with the tool URL, settings and a small sample that contains no private information.