Math 2.0

Linear and multilinear algebra; matrix theory Definition

Boolean matrix

Builds on MatrixBinary relationComposition of relations

Definition

Let m,n≥1m, n \ge 1 be integers. A Boolean matrix of size m×nm \times n is an m×nm \times n matrix A=(aij)A = (a_{ij}) with every entry aij∈{0,1}a_{ij} \in \set{0, 1}. Let AA be a Boolean matrix of size m×nm \times n and BB one of size n×pn \times p. Their Boolean product A⊙BA \odot B is the m×pm \times p Boolean matrix with entries (A⊙B)ik=max⁡1≤j≤nmin⁡(aij,bjk),(A \odot B)_{ik} = \max_{1 \le j \le n} \min(a_{ij}, b_{jk}), that is, (A⊙B)ik=1(A \odot B)_{ik} = 1 exactly when there is some jj with aij=bjk=1a_{ij} = b_{jk} = 1.

Remarks

Equivalently, the entries are computed in the Boolean semiring {0,1}\set{0, 1} with 1+1=11 + 1 = 1. For finite sets X={x1,…,xm}X = \set{x_1, \ldots, x_m} and Y={y1,…,yn}Y = \set{y_1, \ldots, y_n}, a relation R⊆X×YR \subseteq X \times Y has the Boolean matrix with aij=1a_{ij} = 1 exactly when (xi,yj)∈R(x_i, y_j) \in R. If S⊆Y×ZS \subseteq Y \times Z has matrix BB, then the composite relation "first RR, then SS" has matrix A⊙BA \odot B. Example: for A=(1101)A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}, A⊙A=AA \odot A = A, since the entry (1,2)(1,2) is max⁡(min⁡(1,1),min⁡(1,1))=1\max(\min(1,1), \min(1,1)) = 1 and the entry (2,1)(2,1) is max⁡(min⁡(0,1),min⁡(1,0))=0\max(\min(0,1), \min(1,0)) = 0; the ordinary product would give the entry 22 at (1,2)(1,2). Non-example: (1201)\begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix} is not a Boolean matrix, because the entry 22 is not in {0,1}\set{0, 1}.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Binary relation concept
  2. Composition of relations concept
  3. Matrix concept
  4. Boolean matrix definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Logical_matrix
About this page
TagHC3BQBQECH
URIm2://HC3BQBQECH
Kinddefinition
WritingW0 stub
MSC15B34, 05C50
DefinesBoolean matrix
UsesMatrix, Binary relation, Composition of relations
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.