Hubbry Logo
Incidence matrixIncidence matrixMain
Open search
Incidence matrix
Community hub
Incidence matrix
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Incidence matrix
Incidence matrix
from Wikipedia

In mathematics, an incidence matrix is a logical matrix that shows the relationship between two classes of objects, usually called an incidence relation. If the first class is X and the second is Y, the matrix has one row for each element of X and one column for each mapping from X to Y. The entry in row x and column y is 1 if the vertex x is part of (called incident in this context) the mapping that corresponds to y, and 0 if it is not. There are variations; see below.

Graph theory

[edit]

Incidence matrix is a common graph representation in graph theory. It is different to an adjacency matrix, which encodes the relation of vertex-vertex pairs.

Undirected and directed graphs

[edit]
An undirected graph.

In graph theory an undirected graph has two kinds of incidence matrices: unoriented and oriented.

The unoriented incidence matrix (or simply incidence matrix) of an undirected graph is a matrix B, where n and m are the numbers of vertices and edges respectively, such that

For example, the incidence matrix of the undirected graph shown on the right is a matrix consisting of 4 rows (corresponding to the four vertices, 1–4) and 4 columns (corresponding to the four edges, ):

e1 e2 e3 e4
1 1 1 1 0
2 1 0 0 0
3 0 1 0 1
4 0 0 1 1
=

If we look at the incidence matrix, we see that the sum of each column is equal to 2. This is because each edge has a vertex connected to each end.

The incidence matrix of a directed graph is a matrix B where n and m are the number of vertices and edges respectively, such that

(Many authors use the opposite sign convention.)

The oriented incidence matrix of an undirected graph is the incidence matrix, in the sense of directed graphs, of any orientation of the graph. That is, in the column of edge e, there is one 1 in the row corresponding to one vertex of e and one −1 in the row corresponding to the other vertex of e, and all other rows have 0. The oriented incidence matrix is unique up to negation of any of the columns, since negating the entries of a column corresponds to reversing the orientation of an edge.

The unoriented incidence matrix of a graph G is related to the adjacency matrix of its line graph L(G) by the following theorem:

where A(L(G)) is the adjacency matrix of the line graph of G, B(G) is the incidence matrix, and Im is the identity matrix of dimension m.

The discrete Laplacian (or Kirchhoff matrix) is obtained from the oriented incidence matrix B(G) by the formula

The integral cycle space of a graph is equal to the null space of its oriented incidence matrix, viewed as a matrix over the integers or real or complex numbers. The binary cycle space is the null space of its oriented or unoriented incidence matrix, viewed as a matrix over the two-element field.

Signed and bidirected graphs

[edit]

The incidence matrix of a signed graph is a generalization of the oriented incidence matrix. It is the incidence matrix of any bidirected graph that orients the given signed graph. The column of a positive edge has a 1 in the row corresponding to one endpoint and a −1 in the row corresponding to the other endpoint, just like an edge in an ordinary (unsigned) graph. The column of a negative edge has either a 1 or a −1 in both rows. The line graph and Kirchhoff matrix properties generalize to signed graphs.

Multigraphs

[edit]

The definitions of incidence matrix apply to graphs with loops and multiple edges. The column of an oriented incidence matrix that corresponds to a loop is all zero, unless the graph is signed and the loop is negative; then the column is all zero except for ±2 in the row of its incident vertex.

Weighted graphs

[edit]
A weighted undirected graph

A weighted graph can be represented using the weight of the edge in place of a 1. For example, the incidence matrix of the graph to the right is:

e1 e2 e3 e4
1 2 1 5 0
2 2 0 0 0
3 0 1 0 6
4 0 0 5 6
=

Hypergraphs

[edit]

Because the edges of ordinary graphs can only have two vertices (one at each end), the column of an incidence matrix for graphs can only have two non-zero entries. By contrast, a hypergraph can have multiple vertices assigned to one edge; thus, a general matrix of non-negative integers describes a hypergraph.

Incidence structures

[edit]

The incidence matrix of an incidence structure C is a p × q matrix B (or its transpose), where p and q are the number of points and lines respectively, such that Bi,j = 1 if the point pi and line Lj are incident and 0 otherwise. In this case, the incidence matrix is also a biadjacency matrix of the Levi graph of the structure. As there is a hypergraph for every Levi graph, and vice versa, the incidence matrix of an incidence structure describes a hypergraph.

Finite geometries

[edit]

An important example is a finite geometry. For instance, in a finite plane, X is the set of points and Y is the set of lines. In a finite geometry of higher dimension, X could be the set of points and Y could be the set of subspaces of dimension one less than the dimension of the entire space (hyperplanes); or, more generally, X could be the set of all subspaces of one dimension d and Y the set of all subspaces of another dimension e, with incidence defined as containment.

Polytopes

[edit]

In a similar manner, the relationship between cells whose dimensions differ by one in a polytope, can be represented by an incidence matrix.[1]

Block designs

[edit]

Another example is a block design. Here X is a finite set of "points" and Y is a class of subsets of X, called "blocks", subject to rules that depend on the type of design. The incidence matrix is an important tool in the theory of block designs. For instance, it can be used to prove Fisher's inequality, a fundamental theorem of balanced incomplete 2-designs (BIBDs), that the number of blocks is at least the number of points.[2] Considering the blocks as a system of sets, the permanent of the incidence matrix is the number of systems of distinct representatives (SDRs).

See also

[edit]

References

[edit]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In , an incidence matrix is a that shows the relationship between two classes of objects, with rows corresponding to one class and columns to the other, where the entry is 1 if an element of the first class is incident to an element of the second class, and 0 otherwise. It generalizes to various incidence structures beyond graphs, such as in combinatorial designs and finite geometries. In , it is a (0,1)-matrix that encodes the incidences between the vertices and edges of a graph, with one row for each vertex and one column for each edge. This representation, first introduced by in 1847 for analyzing electrical networks, provides a compact for studying properties of graphs and other structures. For undirected graphs, each column of the incidence matrix sums to 2, reflecting that every edge connects exactly two vertices, while self-loops would yield a column sum of 1 or adjusted entries. In directed graphs, the matrix is typically signed: entries are -1 for the initial vertex of an edge, +1 for the terminal vertex, and 0 otherwise, resulting in column sums of 0 (assuming no self-loops). An alternative convention, common in network flow and contexts, transposes the matrix so that rows correspond to edges and columns to vertices, facilitating computations like Kirchhoff's laws where the matrix relates potentials across nodes to edge differences. Key properties include its sparsity (most entries are zero) and connections to other matrices: for instance, in graphs, the adjacency matrix of the line graph can be derived as L=CTC2IL = C^T C - 2I, where CC is the incidence matrix and II is the identity. The matrix also extends to higher-dimensional structures like polytopes, where it captures face-lattice incidences. Applications span (modeling currents and voltages via Kirchhoff's rules), analysis for reliability and vulnerability in cyber-physical systems, and combinatorial designs such as projective planes.

Fundamentals

Definition

An incidence matrix is a combinatorial tool that encodes the incidence relation between two finite sets of objects, typically denoted as XX and YY. Given sets X={x1,,xm}X = \{x_1, \dots, x_m\} and Y={y1,,yn}Y = \{y_1, \dots, y_n\}, along with a binary relation IX×YI \subseteq X \times Y where (xi,yj)I(x_i, y_j) \in I signifies that element xix_i is incident to element yjy_j, the incidence matrix MM is defined as an m×nm \times n matrix with entries in {0,1}\{0,1\}, such that Mi,j=1M_{i,j} = 1 if (xi,yj)I(x_i, y_j) \in I and Mi,j=0M_{i,j} = 0 otherwise. This structure captures the relational data in a rectangular array, facilitating algebraic and combinatorial analysis. More generally, the entries of MM may belong to the non-negative integers to account for multiplicities in the incidence relation, such as in contexts or weighted structures. The incidence matrix can be interpreted as the biadjacency matrix of the G=(XY,E)G = (X \cup Y, E), where the partite sets are XX and YY, and the edge set EE consists of pairs {xi,yj}\{x_i, y_j\} for each incidence (xi,yj)I(x_i, y_j) \in I. For a simple example, consider sets X={x1,x2}X = \{x_1, x_2\} and Y={y1,y2}Y = \{y_1, y_2\} with incidences (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2). The corresponding incidence matrix is (1001).\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}. Variations of the incidence matrix arise depending on the nature of the incidences. In unoriented settings, such as undirected relations, the matrix remains a (0,1)-matrix reflecting symmetric or neutral incidences. In oriented cases, like directed graphs or signed structures, entries may be signed integers (e.g., +1 for outgoing or positive direction, -1 for incoming or negative, and 0 otherwise) to encode directional information.

Historical development

The concept of the incidence matrix was first introduced by in 1847 for analyzing electrical networks, where it encoded the connections between nodes (vertices) and branches (edges) in what is now recognized as . This application provided an early algebraic framework for studying network properties, particularly in physics and engineering. Subsequent developments in the late extended the idea to . introduced tabular representations—essentially incidence matrices—of simplicial complexes in his seminal papers on Analysis Situs (1895–1904), where he employed them to define boundary relations and compute topological invariants such as Betti numbers. These matrices, denoted as tables TqT_q with entries εqij\varepsilon_q^{ij} (where +1+1 or 1-1 indicated oriented incidences and 0 otherwise), encoded the combinatorial structure of polyhedra, enabling the study of homology groups through linear relations like aqijεqijaq1ja_q^i \equiv \sum_j \varepsilon_q^{ij} a_{q-1}^j. Poincaré's approach laid the groundwork for using matrix-based methods to analyze the connectivity and holes in topological spaces, marking a systematic application in . In the early , incidence matrices found adoption in , particularly through Dénes Kőnig's comprehensive textbook Theorie der endlichen und unendlichen Graphen (1936). Kőnig utilized incidence matrices to represent bipartite graphs, applying them to problems in such as bipartite matching and vertex covers. His work demonstrated how these matrices could model edge-vertex incidences to prove key results like the equality of maximum matching size and minimum in bipartite graphs, bridging with linear algebraic techniques. This application extended Poincaré's topological ideas to discrete structures, influencing subsequent developments in matching theory. Post-World War II advancements generalized incidence matrices to broader incidence structures in theory. In the and 1950s, R.C. Bose and collaborators developed these matrices for analyzing block designs and finite geometries, notably in Bose's 1947 paper on symmetrical factorial designs, which included constructions related to projective planes. These matrices captured point-block incidences, facilitating the study of balanced incomplete block designs and their symmetries, with applications to statistical experimentation and . Bose's contributions emphasized the matrices' role in verifying design properties like resolvability and . From the onward, incidence matrices saw modern extensions in matroid theory, building on Hassler Whitney's earlier abstraction of linear dependence () but gaining momentum through subsequent works linking them to linear algebra over GF(2). Whitney's framework treated graphic matroids via cycle spaces derived from incidence matrices modulo 2, unifying dependence in graphs and vector spaces. Later developments in the , including by researchers like , formalized binary matroids where incidence matrices over GF(2) represented circuit structures, enabling algorithmic and structural theorems in . This era solidified incidence matrices as a versatile tool across , graphs, and designs.

Properties

Algebraic properties

The incidence matrix MM of a graph GG with nn vertices and cc connected components has rank ncn - c over the real numbers when using the oriented version, where each column corresponding to an edge has entries +1+1 and 1-1 at the incident vertices (with arbitrary orientation) and 0 elsewhere. For the unoriented (0,1)-incidence matrix, the rank over the reals is nbn - b, where bb is the number of bipartite connected components; thus, for a connected non-bipartite graph, the rank is nn, while for a connected , it is n1n - 1. Over the finite field , the rank of the (unoriented) incidence matrix is at most n1n - 1, with equality the graph is connected. The kernel of the incidence matrix MM (viewed as a from edge space to vertex space) consists of the cycle space of the graph over the reals, with nullity equal to the of the cycle space, E(nc)|E| - (n - c) for a graph with E|E| edges. The image of MM (or equivalently, the row space of MM) spans the cut space, which has equal to the rank of MM. Over GF(2), the kernel corresponds to the binary cycle space, comprising even-degree subgraphs (Eulerian subgraphs mod 2), and is used in computations of mod-2 homology for graphs. For the oriented incidence matrix MM, the product MMTM M^T is the LL, with diagonal entries equal to the vertex degrees and off-diagonal entries 1-1 if the vertices are adjacent and 0 otherwise. For the unoriented incidence matrix, MMTM M^T has diagonal entries equal to the degrees of the vertices and off-diagonal entries equal to the number of shared incident edges between pairs of vertices (1 for adjacent vertices in simple graphs); thus, MMT=D+AM M^T = D + A, where DD is the and AA is the . The eigenvalues of MMTM M^T (or the Laplacian) are nonnegative and bounded above by twice the maximum degree of the graph. Over GF(2), the unoriented incidence matrix serves as the boundary operator in the chain complex for the graph, facilitating homology computations where the kernel captures mod-2 cycles and the captures mod-2 cuts (bond space as the row space). As an example, consider the on 3 vertices (with edges connecting vertices 1-2 and 2-3). The unoriented incidence matrix is M=(101101),M = \begin{pmatrix} 1 & 0 \\ 1 & 1 \\ 0 & 1 \end{pmatrix},
Add your contribution
Related Hubs
User Avatar
No comments yet.