The QR decomposition is the decomposition of into where is orthogonal and is upper triangular.

We will assume that is non-negative.

Why QR?

  1. is orthogonal and conserves the 2-norm.
  2. is triangular and easy to solve.

Example of application:

  • Least-squares problem
  • Find such that .
  • We can use for this.
  • The solution satisfies .