[Math] Minimum distance of the linear code $\{0,1\}$

coding-theorylinear algebra

Let $H$ be a check matrix for a linear code $C$. Then the minimum distance
of $C$ is $d \in \mathbb N$ such that there exists a set of $d$, but no set of $d-1$, linearly dependent columns in $H$.

1) Am I right to surmise from the above thorem that $C$ has minimum distance $1$ iff. $H$ contains a column of zeros?

2) Consider the linear code $\{0,1\}$ whose minimum distance is clearly $1$. Its check matrix $H$ is the $0$x$1$ zero matrix, so $H$ has $0$ linearly dependent columns. This contradicts the above theorem, doesn't it?

Best Answer

Your observation in (1) looks correct. The empty set is never linearly dependent, and a set with one vector can only be linearly dependent if that vector is zero.

For (2), while a $0 \times 1$ matrix has zero rows, it does have one column. In this case, the one column is the zero vector (of the zero-dimensional vector space), and so your $H$ does have a zero column.

Related Question