QR Decomposition
Let be a matrix then
Exists orthogonal matrix and upper triangular matrix such that
If then
Thin QR is
where
has orthonormal columns and same size as
and has the bottom rows beingFull QR is
where is square orthogonal
Proof for Square Matrix
Let be the first column of then
Exists such that
where
Hence
where is a general entry
Similarly for there exists such that
Hence
with in Block Form
Repeating this for the steps then
where is upper triangular
As product of orthogonal matrices are orthogonal then is orthogonal
Hence