Implementasi Metode Jacobi dan Gauss-Seidel pada Penyelesaian Sistem Persamaan Linear: Analisis Konvergensi dan Efisiensi Komputasi menggunakan Python
DOI:
https://doi.org/10.55123/insologi.v5i3.8776Keywords:
Gauss-Seidel, Jacobi, Numerical Computation, Iterative Methods, Python, Systems of Linear EquationAbstract
Systems of linear equations are fundamental problems in numerical computation and are widely used in engineering, physics, economics, and computer science. Solving large systems of linear equations requires efficient numerical methods, particularly when the coefficient matrix is sparse or diagonally dominant. This study aims to compare the performance of the Jacobi and Gauss-Seidel methods in solving diagonally dominant systems of linear equations using Python. The experiments were conducted on three matrix sizes, namely 3×3, 5×5, and 10×10. The evaluation focused on the number of iterations, final error, Root Mean Square Error, computation time, and speedup. The implementation was carried out using Python 3.12 with the NumPy and Matplotlib libraries. The results show that both methods can produce numerical solutions close to the reference solution. However, the Gauss-Seidel method demonstrates better performance in all test scenarios. In the 10×10 matrix test, the Gauss-Seidel method reached convergence in 20 iterations, while the Jacobi method required 32 iterations. This indicates a 37.50% reduction in the number of iterations. The average speedup of Gauss-Seidel over Jacobi reached 1.85 times. These findings indicate that the Gauss-Seidel method is more efficient for solving diagonally dominant systems of linear equations in a Python-based computing environment.
Downloads
References
Agina, P. C., & Echezona, N. G. (2022). Comparative analysis of the Gauss-Seidel and Jacobi methods for solving linear systems. ResearchGate. https://www.researchgate.net/publication/360933343_COMPARATIVE_ANALYSIS_OF_THE_GAUSS-SEIDEL_AND_JACOBI_METHODS_FOR_SOLVING_LINEAR_SYSTEMS
Alomair, A. M., Shah, F. A., Ahmed, K., & Waseem, M. (2024). Generalized and novel iterative scheme for best approximate solution of large and sparse augmented linear systems. Heliyon, 10, e35694. https://drive.google.com/file/d/1TgCXwJ3d_CB4xUG_iKsoinehXyeJw41a/view?usp=drivesdk
Ardhani, D. C., Solikah, N. H., & Wibowo, A. (2025). Pemanfaatan Python dalam penyelesaian SPL dengan metode iterasi Jacobi dan Gauss-Seidel. J-PiMat: Jurnal Pendidikan Matematika, 7(1), 1685-1694. https://jurnal.stkippersada.ac.id/jurnal/index.php/jpimat/article/download/4665/pdf
Argyros, I. K. (2022). The Theory and Applications of Iteration Methods (2nd ed.). CRC Press. https://drive.google.com/file/d/1sU7l-A-nqda1jQ-3webSShlPSTVzew-a/view?usp=drivesdk
Chapra, S. C., & Canale, R. P. (2021). Numerical methods for engineers (8th ed.). McGraw-Hill Education. https://id.scribd.com/document/985418247/Numerical-Methods-for-Engineers-8th-Edition-Chapra-PDF
Gupta, A., Sharma, P., & Singh, R. (2023). Comparative analysis of iterative methods for solving sparse linear systems. International Journal of Computational Mathematics, 100(7), 1489–1504. https://drive.google.com/file/d/14vgFraj4RfRDTbNVGncwI_DdKFESEy6c/view?usp=drivesdk
Hasanah, A. (2025). Perbandingan metode Gauss-Seidel, metode Newton-Raphson, dan metode Broyden dalam penyelesaian sistem persamaan nonlinier. https://drive.google.com/file/d/1U7Qu7JxTpLiz4X3tr1EuBM-ZYE63FcL2/view?usp=drivesdk
Hernandez, J., Morales, P., & Castillo, R. (2021). Convergence behavior of classical iterative methods for linear algebraic systems. Computers & Mathematics with Applications, 88, 34–46. https://scispace.com/journals/computers-mathematics-with-applications-1354r9ia
Ihsan, H., Wahyuni, M. S., & Waode, Y. S. (2024). Penerapan metode iterasi Jacobi dan Gauss–Seidel dalam menyelesaikan sistem persamaan linear kompleks. Journal of Mathematics, Computations and Statistics, 7(2), 112–121. https://drive.google.com/file/d/1gVD4Mlnbu0fEqGvdATcm3_q0fKmUWmd7/view?usp=drivesdk
Kalyani, M. N., Kooshkghazi, M. N., & Reichel, L. (2025). Block iterative methods for solving multilinear systems. Numerical Algorithms, 98(1), 67–84. https://drive.google.com/file/d/1M-Cc6ABofH3L0GInxC6jlmnVJsSfsZRa/view?usp=drivesdk
Kealoha, D., Rojas, F., & Li, X. (2024). Modeling and simulation of traffic on I-485 via linear systems and iterative methods. arXiv preprint, arXiv:2408.06511. https://doi.org/10.48550/arXiv.2408.06511
Kovač, M., Tadić, S., Krstić, M., & Veljović, M. (2023). A methodology for planning city logistics concepts based on city-dry port micro-consolidation centres. Mathematics, 11(15), 3347. https://www.mdpi.com/2227-7390/11/15/3347
Küçük, A. Z., Köse, B., & Karaca, B. (2025). Iterative solutions for certain complex coefficient linear systems: Jacobi and Gauss–Seidel methods. Kuantum Teknolojileri ve Enformatik Araştırmaları Dergisi, 4(1), 15–24. https://drive.google.com/file/d/11VUc4atOVvIM8le-iS7ED0Gl0W3Su-Mv/view?usp=drivesdk
Novati, P., Tagliaferro, F., & Zennaro, M. (2024). A general class of iterative splitting methods for solving linear systems. arXiv preprint, arXiv:2404.06800. https://doi.org/10.48550/arXiv.2404.06800
Rahayu, P. I., Hidayatullah, M., & Hijrah, M. (2023). Implementation Vector Autoregressive (VAR) on rice production and rice productivity data in Indonesia. Matematika, Statiska dan Komputasi, 19(3), 580-592. https://journal.unhas.ac.id/index.php/jmsk/article/view/24881
Saad, Y. (2023). Iterative methods for sparse linear systems (3rd ed.). Society for Industrial and Applied Mathematics (SIAM). https://drive.google.com/file/d/1oCLoJ2q8JFfWFYzw1fNP0HmPaCWhRnNd/view?usp=drivesdk
Safitri, N., Saliha, P., Syamsudin, S., Irawansyah, M. P., Dzaky, M., & Jarti, N. (2026). Analisis performa metode Jacobi dan Gauss-Seidel pada sistem persamaan linear berdimensi besar. Jurnal Sains Informatika Terapan, 5(2). https://doi.org/10.62357/jsit.v5i2.1168
Saucedo-Mora, L., & Irastorza-Valera, L. (2025). General form of the Gauss-Seidel equation to linearly approximate the Moore-Penrose pseudoinverse in random non-square systems and high order tensors. arXiv preprint, arXiv:2503.22273. https://doi.org/10.48550/arXiv.2503.22273
Shen, D., Chen, L., & Liang, H. (2023). Fast converging Gauss–Seidel iterative algorithm for massive MIMO systems. Applied Sciences, 13(7), 4218. https://drive.google.com/file/d/16BSN9KhDjVcqp6wCeU_bPsjRBT49JdeK/view?usp=drivesdk
Sukarna, S., Abdy, M., & Rahmat, R. (2020). Perbandingan metode iterasi Jacobi dan metode iterasi Gauss-Seidel dalam menyelesaikan sistem persamaan linear fuzzy. Journal of Mathematics Computations and Statistics, 2(1). https://www.researchgate.net/publication/347070591_Perbandingan_Metode_Iterasi_Jacobi_dan_Metode_Iterasi_Gauss-Seidel_dalam_Menyelesaikan_Sistem_Persamaan_Linear_Fuzzy
Suli, E., & Mayers, D. F. (2022). An introduction to numerical analysis (2nd ed.). Cambridge University Press. https://drive.google.com/file/d/1HJak8HJKzw15O-5RH80XD8ICz01Fw6DO/view?usp=drivesdk
Syata, I., Suriadi, N. P., & Halim, H. N. (2023). Nilai Konsentrasi Unsur Paracetamol dan Kafein yang Membentuk Sistem Persamaan Taklinear dengan Metode Broyden. Jurnal Matematika dan Statistika serta Aplikasinya, 11(1). https://doi.org/10.24252/msa.v11i1.37744
Vojinovic, M., Markovic, S., & Jovanovic, N. (2025). A parallel iterative hybrid Gauss–Jacobi–Seidel method for solving linear systems. Journal of Computational and Applied Mathematics, 451, 116032. https://www.sciencedirect.com/science/article/abs/pii/S0377042725001426
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Yuegilion Pranayama Purba, Victor Asido Elyakim P

This work is licensed under a Creative Commons Attribution 4.0 International License.
Hak cipta pada setiap artikel adalah milik penulis.
Penulis mengakui bahwa INSOLOGI (Jurnal Sains dan Teknologi) sebagai publisher yang mempublikasikan pertama kali dengan lisensi Creative Commons Attribution 4.0 International License.
Penulis dapat memasukan tulisan secara terpisah, mengatur distribusi non-ekskulif dari naskah yang telah terbit di jurnal ini kedalam versi yang lain, seperti: dikirim ke respository institusi penulis, publikasi kedalam buku, dan lain-lain. Dengan mengakui bahwa naskah telah terbit pertama kali pada INSOLOGI (Jurnal Sains dan Teknologi).
























