The problem comes from the $18.06$ Linear Algebra by MIT Open Courseware.
I am very confused. According to the definition, 
Matrix A -> QR means that A has independent columns. BUT it is obviously that the matrix B is singular in the problem. But it can be diagnoalized with 3 independent eigenvectors. How could that happen? Could you explain ?
Thanks!

