I worked out by hand the formulas for the iterates of the 2x2 QR algorithm. Note that the square roots needed to compute Q and R disappear when the iterate RQ is computed. The following c++ program shows the iteration process. The starting symmetric matrix used was {{1,1},{1,2}}, which has eigenvalues (3 +/- sqrt(5))/2. For a matrix this small the eigenvalues are easily computed by hand. /* *** C++ program for 2x2 QR eigenvalues *** */ #include int main(int argc, char** argv) { double a00 = 1.0; double a11 = 2.0; double a01 = 1.0; char* sp = " "; double d, b00, b11, b01; for (int i = 0; i < 25; i++) { cout<