Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Big Idea

Linear systems Ax=bA\mathbf{x} = \mathbf{b} are fundamental to scientific computing. The QR factorization provides a numerically stable way to solve these systems and handles least squares problems elegantly where other methods fail.

We begin by reviewing the linear algebra prerequisites (norms, inner products) and introducing triangular systems, which are cheap to solve. This motivates matrix factorizations: we decompose AA into simpler factors and solve the resulting triangular systems. The chapter focuses on the QR factorization A=QRA = QR, built from orthogonal matrices, which is numerically stable and extends naturally to rectangular (overdetermined) systems and least squares problems.

Learning Outcomes

After completing this chapter, you should be able to:

Linear algebra prerequisites.

Errors and conditioning.

Factorisations and how to use them.

Optional: least squares.