Binary matrix

From Wikipedia, the free encyclopedia

In mathematics, particularly matrix theory, a binary matrix or (0,1)-matrix is a matrix in which each entry is either zero or one. For example:

\begin{pmatrix}
0 & 1\\
1 & 0\\
\end{pmatrix} is a 2 × 2 binary matrix.

Frequently operations on binary matrices are defined in terms of modular arithmetic mod 2 — that is, the elements are treated as elements of the Galois field GF(2) = \mathbb{Z}_2. They arise in a variety of representations and have a number of more restricted special forms.

The number of m×n binary matrices is equal to 2mn, and is thus finite.

[edit] Examples

Examples of binary matrices are numerous: