Min number dependent columns in a matrix

In summary, the conversation is discussing ways to determine the minimum number of dependent columns in a matrix with binary entries, specifically for matrices of the form (I|A). The suggested method of row reduction does not work, and the problem is difficult and has been researched extensively. The problem is related to finding the most zeroes in a nontrivial null vector and is easier when the matrix is a parity check matrix. However, even for smaller matrices, the process of determining the minimum distance can be time-consuming.
  • #1
gonzo
277
0
Is there some easy way to determine the minimum number of dependent columns in a matrix? Assume the matrix entries are binary for convenience.

Let's say I have an m x n, m>n matrix in the form (I | A) So that I is nxn, and A is m-n x n. This obviously depends on A.

So is there some easy method for figuring this out by maniuplating A, or is there just a lot of trial and error?
 
Physics news on Phys.org
  • #2
Row reduction. Look it up.
 
  • #3
Doesn't work. That only gives you the maximum number of independent rows, which is totally different.
 
  • #4
Just to demonstrate more clearly why rank probably won't be too useful... consider the following matrices are all rank 3:

[tex]\left(\begin{array}{cccc}
1 & -1 & 0 & 0 \\
0 & 1 & -1 & 0 \\
0 & 0 & 1 & -1 \\
-1 & 0 & 0 & 1
\end{array}\right)[/tex]

[tex]\left(\begin{array}{cccc}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 1 & 0
\end{array}\right)[/tex]

[tex]\left(\begin{array}{cccc}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 1 \\
0 & 0 & 0 & 0
\end{array}\right)[/tex]

but the minimum number of rows you need to form a dependent set is 4, 2, and 1 respectively. (4, 1, and 2 if you want a dependent set of columns)
 
  • #5
Oh sorry, I wasn't even paying attention.
 
Last edited:
  • #6
Yes, I've convinced myself that this is a hard problem in general.

Notice, gonzo, that the problem of finding "the minimum number of dependent columns" is the same as the problem of finding "the most zeroes a nontrivial (right) null vector can have".

If you really want the exact answer, then only approach I can think of at the moment is to compute the intersection of the null space with the various subspaces that have exactly 1 nonzero coordinate, and then with those that have exactly 2 nonzero coordinates, and so forth.
 
  • #7
Yeah, it seems likely to be an very hard problem that gets out of hand fast with big matrices.

I've done a bit more research on this and it seems an active and important area of research, with some people coming up with probablistic algorithms to try and reduce the time for certain classes of matrices.

I feel much better about having trouble with this initially.

By the way, for anyone interested, this number is the minimum distance for the linear code that this matrix is a parity check matrix for.
 
  • #8
Ah, that I know is hard! Being a parity check matrix makes the problem a little easier, though: it makes it possible to exhaust through all the null vectors, and allows you to represent the problem as a graph.
 
  • #9
Yeah, but even for 15 bits, trying to do it by hand on a test for example can take a lot of time. Like being given the parity check matrix for a [15,5] code and tryingto determine the distance. I had initially hoped for something easier then just trying every combination from the bottom up. Wishful thinking.
 

FAQ: Min number dependent columns in a matrix

What is the minimum number of dependent columns in a matrix?

The minimum number of dependent columns in a matrix is zero, meaning that all columns are linearly independent. This occurs when each column contains unique values and there are no linear relationships between them.

How can you determine the number of dependent columns in a matrix?

The number of dependent columns in a matrix can be determined by performing row operations and reducing the matrix to its row echelon form. The number of zero rows in the row echelon form corresponds to the number of dependent columns in the original matrix.

Why is it important to know the minimum number of dependent columns in a matrix?

Knowing the minimum number of dependent columns in a matrix can help in many mathematical and scientific applications. It can be used to determine the rank of a matrix, which is useful in solving systems of equations and in understanding the behavior of linear transformations.

Can a matrix have more than one set of dependent columns?

Yes, it is possible for a matrix to have more than one set of dependent columns. This occurs when there are multiple linearly independent subsets of columns within the matrix. The number of dependent columns will still be equal to the number of zero rows in the row echelon form.

How does the number of dependent columns affect the invertibility of a matrix?

A matrix with dependent columns is not invertible, as it does not have a unique solution. In order for a matrix to be invertible, it must have linearly independent columns. Therefore, the minimum number of dependent columns in a matrix is zero for it to be invertible.

Back
Top