Backward error 2026-10-18
A backward error measures a perturbation of the input data for which the computed result is an exact solution of the perturbed problem. Specify which data may change and which norm measures the perturbation. For a linear system , holding fixed gives , the negative linear-system residual. The corresponding forward error also depends on the condition number.
Backward error of an approximate eigenpair Created 2026-09-24 Updated 2026-11-05
Let be an eigenpair residual, with . Among unrestricted matrix perturbations , the smallest spectral norm making an exact eigenpair of is .
Indeed, exactness requires , so the induced matrix norm inequality gives . Equality is attained by the rank-one matrixwhere is conjugate transpose. Its spectral norm is . For real data, use ordinary transpose instead.
This is an unstructured backward error: requiring to preserve a symmetric matrix structure or a sparsity pattern is an additional constraint. A small backward error also need not give a comparably small eigenvalue error for a nonnormal matrix.
Backward stability 2026-10-24
A numerical algorithm is backward stable when its computed output is the exact output for input data perturbed by an amount comparable to the arithmetic's round-off error. The allowed input perturbations and their norm must be specified. A bound on backward error gives a forward error bound only after accounting for the problem's condition number. For example, a singular value decomposition with orthonormal computed outer factors is backward stable in the spectral norm if , with machine precision and a modest dimension-dependent constant .
Past exam of the numerical linear algebra course of the University of Oxford 2025 1 b iii Solution 2026-10-25
An error of order in a squared singular value can become an error of order after taking its square root. To keep nonsingular as required, take andThen , and the computed eigendecomposition has exactly the permitted backward error:Nevertheless the second computed singular value has errorBy the singular value perturbation bound, every product with these computed singular values and exactly orthonormal outer factors has spectral norm error at least this large. In particular, even the favorable choice giveswhich has no uniform bound in big O notation. Therefore backward stability for the eigendecomposition of the Gram matrix does not imply backward stability for the singular value decomposition.
There is a related loss of orthonormality in the raw formula: evaluating exactly for these perturbed factors gives , whose second column has length tending to zero. Its product with equals , but its diagonal factors are consequently not a singular value decomposition. The paper's idealized orthonormality assumption lets us isolate the unavoidable singular value error even if this additional problem is repaired.
Past exam of the numerical linear algebra course of the University of Oxford 2025 1 b ii Solution 2026-10-25
Let . Interpret the diagonal of as nonnegative computed singular values and sort them consistently. If signed diagonal entries are used instead, take their absolute values and absorb signs into the orthonormal columns. Because the two outer factors have the stated orthonormality, these sorted numbers are exactly .
For completeness, the singular value perturbation bound follows from the Eckart-Young-Mirsky theorem. If is the truncated singular value decomposition of a matrix , the triangle inequality givesExchange and to get . Applying this to and the given backward error provesThus backward stability of the singular value decomposition gives an absolute forward error bound for every singular value, even a very small one.
Past exam of the numerical linear algebra course of the University of Oxford 2025 1 b iv Solution 2026-10-25
No uniform absolute error bound of order follows. Take the Jordan blockHere and . The exact eigenvalues of are both zero, whereasThese are admissible outputs under a backward error guarantee of size , yet their forward errors are . This is the square-root splitting of a defective double eigenvalue. More generally, eigenvalue sensitivity depends on the matrix; backward stability alone does not control it. The singular value perturbation bound used in part (ii) has no equally uniform counterpart for the eigenvalues of arbitrary nonsymmetric matrices.
The linear-system residual is computable without knowing . The forward error is the actual difference from the desired solution. For an invertible matrix,Keeping fixed, the approximate vector exactly solves with . Thus, for , is the relative backward error when only the right-hand side may change. For a vector norm and its induced operator norm,A small relative linear-system residual ensures a small relative forward error when the condition number is moderate; an ill-conditioned matrix can amplify it. The bound follows directly from and .[ref]
2.8 Conditioning of linear systems. Fundamentals of Numerical Computation by Tobin A. Driscoll and others; §2.8.1, Theorem 2.8.1, equation (2.8.6), right-hand-side perturbation bound applied with Δb = −r
For the Jacobi iteration for a three-variable tridiagonal system, the first linear-system residual is , while the first forward error is . In the Euclidean norm, the relative forward error is and the relative linear-system residual is . Its spectral condition number of a positive-definite matrix is , so the bound is about . The bound is a guarantee, not an equality. In floating-point arithmetic, recompute the linear-system residual from the current vector when checking termination; a small update alone need not certify a small forward error.