I am a computer scientist and we typically use Jacobi method to iteratively solve very large linear system of equations (a lot of these turn out to be graph algorithms where vertex values need to be iteratively computed and edges represent dependencies). I am trying to explore whether Gauss-Seidel can be used instead of Jacobi and, to my surprise, on a graph containing several cycles the PageRank algorithm ($pr_i^k = 0.15 + 0.85 \times \sum_{j \in in\_neighbors(i)} pr_j^{k-1}$) gives the exact same result for Gauss-Seidel and Jacobi techniques.
Are there any mathematical properties about the linear equations that allow us to know whether Gauss-Seidel and Jacobi will give the same result?