The Krylov subspace is . If for a polynomial of degree at most , then
so and . Conversely, this residual identity implies
Thus the converse holds whenever is invertible. More precisely, for fixed it holds for every such exactly when : the identity determines only up to an arbitrary nullspace vector. Without this qualification the singular-matrix converse is false, for example when , and .
Assume and exact arithmetic for the Lanczos algorithm. At step put
provided . The initial coefficient of is immaterial. Inductively suppose are orthonormal. Then by the choice of . For , symmetry and the preceding recurrence give , so . If , the recurrence gives , and therefore . Hence is perpendicular to every preceding basis vector. Its normalization supplies the next orthonormal vector.
Every new belongs to . The orthonormal vectors are independent, whereas that Krylov subspace has dimension at most ; they therefore form its basis. Continuing the recurrence one more step gives
In particular . If the next residual is zero, the last term is zero and the span is an invariant subspace; no undefined normalized vector is needed. If is an eigenvector, , so immediately. The algorithm terminates with the exact one-dimensional invariant subspace, rather than generating further vectors. If , the initial residual has already vanished and the normalization defining is unnecessary.
The Gauss-Seidel method updates coordinates successively using the newest available entries:
It is well-defined for every initial vector exactly when every , equivalently when the triangular matrix is invertible. Nonsingularity of alone does not ensure this. The matrix form is
If the iterates converge to , passing to the limit gives , hence . Nonsingularity identifies as the unique solution .
Now assume is a symmetric positive-definite matrix. Testing with the coordinate vector gives , so is positive definite. The form is an inner product: bilinearity and symmetry are immediate and positivity is the hypothesis. Its Cauchy-Schwarz inequality gives
proving the triangle inequality; definiteness and absolute homogeneity are immediate. Thus is the energy norm.
Subtract the iteration from the exact equation to obtain . Hence
Using the preceding iteration also gives and therefore for , as required.
Put . Expanding the two quadratic forms and using the first identity gives the exact Gauss-Seidel energy decrease identity:
Here . If , then , so . Otherwise . Thus unless the exact solution has already been reached.
A real square orthogonal matrix satisfies , so it preserves the Euclidean norm. The columns of are orthonormal, hence . The induced matrix norm therefore gives
For the left truncation, , and equality is guaranteed for arbitrary only when . Indeed, if , take , where is an omitted column of . Then but . Merely taking does not guarantee preservation for an arbitrary .
A full QR decomposition of a real matrix is , with orthogonal and upper trapezoidal; for a square matrix, is upper triangular. Fix the following sign convention for a Givens rotation: it is the identity except for its block
The block transpose times the block is because , proving orthogonality. Writing , the choice gives and . To zero the other coordinate take , giving . If , both entries are already zero and the identity suffices.
For a tridiagonal matrix, successively rotate adjacent row pairs , each time zeroing the current entry . Earlier columns remain triangular because both affected rows are already zero there. The result is upper triangular, so gives its QR decomposition. Only rotations are required; the resulting has at most two superdiagonals.
For a full square matrix, process columns . Within column , for , rotate rows to eliminate the current entry. Previously cleared columns stay clear. With in application order, , one has . This is QR decomposition by Givens rotations.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact