What is the condition number of a rectangular matrix and how can it be finite?

Click For Summary
The discussion centers on the condition number of a rectangular matrix, which is defined as cond(M) = s1/sk, where k is the minimum of the matrix dimensions. While a rectangular matrix is typically not invertible and should have an infinite condition number, numerical roundoff errors in software like MATLAB can yield a finite value. This occurs because the last singular value may be very small but not exactly zero, prompting some programs to allow users to set a threshold for zero. Additionally, if a rectangular matrix has more rows than columns and is full rank, it will not have a zero singular value, while the opposite configuration will. A reference recommended for further understanding is Gilbert Strang's "Linear Algebra."
Niles
Messages
1,834
Reaction score
0

Homework Statement


Hi

If we have a matrix M, we can always make a singular value decomposition. If the matrix has full column rank (= is invertible), then the singular values are all nonzero, otherwise they are not all nonzero.

Now, we can also associate a condition number to a matrix given by

cond(M) = s1/sk

where k is min(m, n) (where M is a m times n matrix). If M is rectangular, then it is not invertible, so the condition number should be infinite.

Now, when I find the condition number of a rectangular matrix in MatLAB, it gives me a (large) number, which is finite. How can that be?
 
Physics news on Phys.org
The reason is numerical roundoff error. If you repeat the exercise with random values in the matrix, the last singular value will sometimes be zero but very very small most of the time. For this reason some commerical programs allow the user to specific a threshold for what is considered zero.

Also, I think the statement about rectangular matrices needs to be clarifed. If the matrix has more rows than columns and is full rank it won't have a zero singular value. If the number of rows is less than the number of columns it will have a zero singular value.
 
Last edited:
Do you know a good reference on SVD? I didn't know the last part you stated, becaus it isn't in my book.
 
Niles said:
Do you know a good reference on SVD? I didn't know the last part you stated, becaus it isn't in my book.

Not really, but the following link (see page 3) shows an example of a rectangular matrix with all non zero singular values.

http://www.farinhansford.com/books/pla/material/pseudo.pdf
 
Last edited by a moderator:
Niles said:
Do you know a good reference on SVD? I didn't know the last part you stated, becaus it isn't in my book.

Gilbert Strang, Linear Algebra.
I learned a ton from it.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
988
  • · Replies 3 ·
Replies
3
Views
893
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K