Re: Tell whether a matrix is full rank using a calculator



On Aug 14, 12:58 pm, isabelle...@xxxxxxxxxxx wrote:
Hello all,

I would like to be able to tell if a (say 5*5) matrix is full rank by
using my graphic calculator.

My calculator does not have a built in function that computes the
rank. Is there another way to know whether a matrix is full rank? Say
by looking at the eigenvalues (my calculator will compute the
eigenvalues), or some other method....

I greatly appreciate your input

If arithmetic were exact, then the absence of zero
among the eigenvalues would be equivalent to full
rank.

To deal with inexact arithmetic/rounding errors,
one needs to set some sort of threshold for the
notion of eigenvalues reported as so near to zero
that the matrix should be considered singular
(not full rank). Ordinarily we normalize by
using the ratio of the smallest eigenvalue to
the largest one in absolute value, and asking
whether this ratio is below some small multiple
of epsilon (machine precision).

I suppose the choice of what multiple to use
depends on how conservative you wish to be in
calling a matrix singular when in fact it is
only nearly singular.

In a richer setting (than a graphing calculator)
one might use a QR factorization to squeeze out
the best rounding error behavior.

regards, chip

.



Relevant Pages

  • Re: Tell whether a matrix is full rank using a calculator
    ... I would like to be able to tell if a matrix is full rank by ... using my graphic calculator. ... My calculator does not have a built in function that computes the ... eigenvalues), or some other method.... ...
    (sci.math)
  • Tell whether a matrix is full rank using a calculator
    ... I would like to be able to tell if a matrix is full rank by ... using my graphic calculator. ... My calculator does not have a built in function that computes the ... eigenvalues), or some other method.... ...
    (sci.math)
  • Re: Matrix rank code
    ... Complete the matrix into a square one by adding zero rows or columns. ... Find its eigenvalues. ... The rank will be equal to the number of nonzero ...
    (sci.math)
  • Re: Distribution of two consecutive eigenvalues spacing in a wishard
    ... Wishard Distribution. ... the spacing distribution of two consecutive ... eigenvalues. ... If it has rank 1, there is only one nonzero eigenvalue. ...
    (sci.math)
  • Re: Linear regression in NumPy
    ... "This function returns the least-squares solution of an overdetermined ... cutoff for the range of singular values. ... squared residuals, ... rank of the matrix a, and the singular values of a in descending ...
    (comp.lang.python)