In: Advanced Math
Explain how you can use QR factorization to solve the following problem
Find x1 and x2 that minimize ||Ax1 − b1||^2 + ||Ax2 − b2||^2.
The problem data are the m× n matrix A,
and the m-vectors b1 and b2. The matrix A has linearly independent
columns.