View on GitHub

Bolander-Linear-Algebra-Library

Repository containing homework assignments and software for Math 5610: Computational Linear Algebra and Solution of Systems of Equations

Homework 8 Task 8: Calculating the Condition Number

Task: Look for internet sites that estimate the condition number of a matrix. Document the sites and as usual cite the web pages used in your explanation of the information found.

What is the Condition Number?

The condition number of a matrix reflects the sensitivity of the solution to changes in the right-hand side vector[1]. In other words, given a system of equations such that Ax = b, the condition number of A affects how sensitive x is to changes in b. The condition number is defined as

[2]

Since estimating the inverse of a matrix can be very expensive (and difficult if the condition number is high!), this definition is rarely useful in computational linear algebra. Instead, other methods are used to estimate the condition number.

Methods for Estimating the Condition Number

One way to find the condition number of a least squares problem is to perform a QR factorization. In this case, the condition number has an analytical solution relating to the R factor of the factorization[3]. Additional methods include finding the eigenvalues of a matrix and using them to help determine the condition number. One such approach uses a quasi Monte Carlo method to do so[4]. Ultimately, there are many ways to come up with an estimate of the condition number, though actually inverting the matrix is generally not an efficient way to do so.

Source 1

Source 2

Source 3

Source 4