Bartels–Stewart algorithm
In numerical linear algebra, the Bartels–Stewart algorithm is used to numerically solve the Sylvester matrix equation AX - XB = C .[src] Developed by R.H.[src] Bartels and G.W.[src] Stewart in 1971, it was the first numerically stable method that could be systematically applied to solve such equations.[src] The algorithm works by using the real Schur decompositions of A and B to transform AX - XB = C into a triangular system that can then be solved using forward or backward substitution.[src] In 1979, G.[src] Golub, C.[src] Van Loan and S.[src] Nash introduced an improved version of the algorithm, known as the Hessenberg–Schur algorithm.[src] It remains a standard approach for solving Sylvester equations when X is of small to moderate size.[src]
In numerical linear algebra, the Bartels–Stewart algorithm is used to numerically solve the Sylvester matrix equation AX - XB = C .[src] Developed by R.H.[src] Bartels and G.W.[src] Stewart in 1971, it was the first numerically stable method that could be systematically applied to solve such equations.[src] The algorithm works by using the real Schur decompositions of A and B to transform AX - XB = C into a triangular system that can then be solved using forward or backward substitution.[src] In 1979, G.[src] Golub, C.[src] Van Loan and S.[src] Nash introduced an improved version of the algorithm, known as the Hessenberg–Schur algorithm.[src] It remains a standard approach for solving Sylvester equations when X is of small to moderate size.[src] Let X, C \in \mathbb{R}^{m \times n} , and assume that the eigenvalues of A are distinct from the eigenvalues of B .[src] Then, the matrix equation AX - XB = C has a unique solution.[src] The Bartels–Stewart algorithm computes X by applying the following steps: 1.Compute the real Schur decompositions R = U^TAU, S = V^TB^TV.[src] The matrices R and S are block-upper triangular matrices, with diagonal blocks of size 1 \times 1 or 2 \times 2 .[src] 2.[src] Set F = U^TCV.[src] 3.[src] Solve the simplified system RY - YS^T = F , where Y = U^TXV .[src] This can be done using forward substitution on the blocks.[src] Specifically, if s_{k-1, k} = 0 , then (R - s_{kk}I)y_k = f_{k} + \sum_{j = k+1}^n s_{kj}y_j, where y_k is the k th column of Y .[src] When s_{k-1, k} \neq 0 , columns [ y_{k-1} \mid y_{k}] should be concatenated and solved for simultaneously.[src] 4.[src] Set X = UYV^T.[src] In the special case where B=-A^T and C is symmetric, the solution X will also be symmetric.[src] This symmetry can be exploited so that Y is found more efficiently in step 3 of the algorithm.[src] The Hessenberg–Schur algorithm replaces the decomposition R = U^TAU in step 1 with the decomposition H = Q^TAQ , where H is an upper-Hessenberg matrix.[src] This leads to a system of the form HY - YS^T = F that can be solved using forward substitution.[src] The advantage of this approach is that H = Q^TAQ can be found using Householder reflections at a cost of (5/3)m^3 flops, compared to the 10m^3 flops required to compute the real Schur decomposition of A .[src] For large systems, the \mathcal{O}(m^3 + n^3) cost of the Bartels–Stewart algorithm can be prohibitive.[src] When A and B are sparse or structured, so that linear solves and matrix vector multiplies involving them are efficient, iterative algorithms can potentially perform better.[src] These include projection-based methods, which use Krylov subspace iterations, methods based on the alternating direction implicit (ADI) iteration, and hybridizations that involve both projection and ADI.[src] Iterative methods can also be used to directly construct low rank approximations to X when solving AX-XB = C .[src]
42 sentences · 42 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Bartels–Stewart algorithm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/bartels-stewart-algorithm. Accessed 27 November 2026.
Chicago
"Bartels–Stewart algorithm." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/bartels-stewart-algorithm.
APA
encyclopegia.org. (2025). Bartels–Stewart algorithm. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/bartels-stewart-algorithm
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON