Science:Math Exam Resources/Courses/MATH307/December 2008/Question 04/Solution 1
To begin with, we note that the columns of A are already orthogonal,
So we can simply put the normalized columns of A into the matrix Q:
As a last step, we calculate R = QTA to find
(Note that the question asks for the QR decomposition, not a QR decomposition. This is the unique QR decomposition of A such that Q has orthonormal columns and R is square upper triangular with positive diagonal entries.)