TOPICS
Search

Boolean Matrix Multiplication


Boolean matrix multiplication is an operation on (0,1)-matrices. For an m×n matrix A and an n×p matrix B, the Boolean product has size m×p. Its entry in row i and column j is 1 if some index k satisfies A_(ik)=B_(kj)=1, and is 0 otherwise. Equivalently, replace each positive entry of the ordinary matrix product by 1. For example, the Boolean product of the row (1,1) and its transpose is 1.

A Boolean power of the adjacency matrix of a simple graph indicates which pairs of vertices are joined by a walk of the given length.


See also

Adjacency Matrix, Boolean Algebra, Matrix Product

Explore with Wolfram|Alpha

Cite this as:

Weisstein, Eric W. "Boolean Matrix Multiplication." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BooleanMatrixMultiplication.html

Subject classifications