Bidiagonal matrix
Template:Short description In mathematics, a bidiagonal matrix is a banded matrix with non-zero entries along the main diagonal and either the diagonal above or the diagonal below. This means there are exactly two non-zero diagonals in the matrix.
When the diagonal above the main diagonal has the non-zero entries the matrix is upper bidiagonal. When the diagonal below the main diagonal has the non-zero entries the matrix is lower bidiagonal.
For example, the following matrix is upper bidiagonal: <math display="block">\begin{pmatrix} 1 & 4 & 0 & 0 \\ 0 & 4 & 1 & 0 \\ 0 & 0 & 3 & 4 \\ 0 & 0 & 0 & 3 \\ \end{pmatrix}</math>
and the following matrix is lower bidiagonal:
<math display="block">\begin{pmatrix} 1 & 0 & 0 & 0 \\ 2 & 4 & 0 & 0 \\ 0 & 3 & 3 & 0 \\ 0 & 0 & 4 & 3 \\ \end{pmatrix}.</math>
The eigenvalues of a bidiagonal matrix (of either type) are given by the entries of the diagonal.
For a square bidiagonal matrix B, the determinant is simply the product of its diagonal elements:
<math>\det(B) = \prod_{i=1}^{n} b_{ii}</math>
Additionally, the inverse of a nonsingular upper bidiagonal matrix B is an upper triangular matrix whose entries can be computed explicitly without solving full systems of linear equations.
Usage
One variant of the QR algorithm starts with reducing a general matrix into a bidiagonal one,[1] and the singular value decomposition (SVD) uses this method as well.
Singular Value Decomposition
Reducing a matrix to bidiagonal form is a standard first step in the Golub-Kahan algorithm for computing the SVD. Because Householder reflections or Given rotations can reduce a dense <math>m\times n</math> matrix to an equivalent bidiagonal matrix in <math>\mathcal{O}(m\times n^2)</math> operations, working with the bidiagonal structure drastically reduces the computational cost of subsequent iterative SVD and QR steps.[2]
High Relative Accuracy in Ill-Conditioned Systems
For general dense matrices, standard numerical algorithms compute singular values with an absolute error bound proportional to the largest singular value. If the matrix is ill-conditioned, this can result in a total loss of precision for the smallest singular values.[3]
Because of this, specialized algorithms such as the zero-shift bidiagonal QR algorithm or the differential qd (dqd) algorithm developed by James Demmel and William Kahan can compute all the singular values of a bidiagonal matrix to high relative accuracy, regardless of the matrix's condition number.[4]
See also
- List of matrices
- Singular value decomposition
- Lanczos algorithm
- LAPACK
- Hessenberg form — The Hessenberg form is similar, but has more non-zero diagonal lines than 2.
References
Template:Refend Template:Reflist
External links
- High performance algorithms for reduction to condensed (Hessenberg, tridiagonal, bidiagonal) form
Template:Matrix-stub
Template:Compu-prog-stub
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }} Accessed: 2010-12-11. (Archived by WebCite at)
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite journal