---
title: Incidence Matrix - Definition, Applications, and Properties
url: https://www.emergentmind.com/topics/incidence-matrix
type: topic
---

# Incidence Matrix - Definition, Applications, and Properties

An **incidence matrix** is a matrix encoding a relation between two indexed families of objects, typically vertices and edges, points and lines, regions and crossings, or hypergraph vertices and hyperedges. Its entries commonly indicate incidence by $0$ and $1$, although signed, weighted, complex, and extension-field-valued variants are also used. Depending on the underlying structure, incidence matrices support linear-algebraic analysis of rank, null spaces, eigenvalues, singular values, Smith normal forms, graph Laplacians, configurations, designs, matroids, and combinatorial enumeration.

## 1. Basic definitions and conventions

For an ordinary undirected graph $H$ with vertex set $V(H)$ and edge set $E(H)$, the unsigned vertex–edge incidence matrix is
\[
M(H)=(m_x(y)),\qquad x\in V(H),\ y\in E(H),
\]
where
\[
m_x(y)=
\begin{cases}
1,&\text{if edge }y\text{ is incident with vertex }x,\\
0,&\text{otherwise}.
\end{cases}
\]
Rows correspond to vertices and columns to edges. An edge joining two distinct vertices contributes two $1$'s to its column. This convention is distinct from the oriented incidence matrix, in which an edge receives entries $+1$ and $-1$ at its endpoints.

For a hypergraph $H=(V(H),E(H))$, the vertex–edge incidence matrix is the $|V(H)|\times |E(H)|$ matrix
\[
I_H=(i_{ve}),\qquad
i_{ve}=
\begin{cases}
1,&v\in e,\\
0,&v\notin e.
\end{cases}
\]
The transpose is the edge–vertex incidence matrix
\[
B_H=I_H^{\mathsf T}.
\]
Thus
\[
(B_Hx)(e)=\sum_{v\in e}x(v),
\]
so vectors in $\ker B_H$ assign weights to vertices whose sum is zero on every hyperedge. Conversely,
\[
(I_H\alpha)(v)=\sum_{e\ni v}\alpha(e),
\]
so vectors in $\ker I_H$ encode dependencies among hyperedges [2409.16055].

Incidence matrices are generally defined only up to permutations of rows and columns. In a point–line structure, relabeling points and lines replaces a matrix $C$ by
\[
S_1CS_2,
\]
where $S_1$ and $S_2$ are permutation matrices. This differs from adjacency matrices, for which relabeling a single vertex set produces $S^{-1}AS$.

The terminology also includes matrices whose entries are not binary. In oriented hypergraphs, an incidence may carry a sign, and the matrix entry is the signed sum of all incidences joining a vertex $v$ to an edge $e$:
\[
(\mathbf H_G)_{v,e}
=
\sum_{\substack{i\in I\\ \varsigma(i)=v,\ \omega(i)=e}}\sigma(i),
\qquad \sigma(i)\in\{+1,-1\}.
\]
Multiple incidences and signed cancellation can therefore produce arbitrary integer entries [1910.02305]. In mixed graphs, orientation is instead encoded by complex phases, producing incidence entries in $\{0,1,\beta,\overline\beta\}$ [2205.05375].

## 2. Incidence matrices of configurations and designs

A configuration of type $n_\kappa$ is a linear incidence structure with $n$ points, $n$ lines, every point incident with exactly $\kappa$ lines, every line incident with exactly $\kappa$ points, and no two distinct points lying on more than one common line. After labeling points $p_1,\ldots,p_n$ and lines $\ell_1,\ldots,\ell_n$, its incidence matrix is
\[
C=(c_{ij}),\qquad
c_{ij}=
\begin{cases}
1,&p_i\text{ is incident with }\ell_j,\\
0,&\text{otherwise}.
\end{cases}
\]
Every row and column therefore has sum $\kappa$.

The linearity condition is equivalent to $J_2$-freeness: $C$ contains no $2\times2$ all-one submatrix. Such a submatrix would mean that two points lie on two common lines. Consequently, a square $(0,1)$-matrix is an incidence matrix of an $n_\kappa$ configuration if and only if it is $J_2$-free and all its row and column sums equal $\kappa$ [1002.1032].

The product
\[
CC^{\rm T}
\]
records point intersections. Its diagonal entries are $\kappa$, while for $i\neq j$ its entries are $1$ when $p_i$ and $p_j$ lie on a common line and $0$ otherwise. This converts incidence information into a point–point relation.

For projective spaces, incidence matrices frequently form designs. The point–hyperplane incidence matrix of $\mathrm{PG}(n,q)$ is an $N\times N$ matrix, where
\[
N=\frac{q^{n+1}-1}{q-1},
\]
and its $(P,H)$ entry is $1$ precisely when $P\subseteq H$. Any two distinct points lie on
\[
q^{n-2}+q^{n-3}+\cdots+q+1
\]
hyperplanes, making the structure a symmetric $2$-design. For odd prime powers $q$, its binary rank is
\[
\operatorname{rank}_{\mathbb F_2}(A)=
\begin{cases}
q^n+q^{n-1}+\cdots+q+1,&n\text{ odd},\\
q^n+q^{n-1}+\cdots+q,&n\text{ even}.
\end{cases}
\]
Thus the rank is $N$ for odd $n$ and $N-1$ for even $n$ [1303.3385].

The plane–line incidence matrix of $\mathrm{PG}(3,q)$ has rows indexed by lines and columns indexed by planes. It has
\[
\beta_{3,q}=(q^2+1)(q^2+q+1)
\]
rows and
\[
\theta_{3,q}=q^3+q^2+q+1
\]
columns. Each line lies in $q+1$ planes, and each plane contains $q^2+q+1$ lines. The point–line incidence matrix similarly gives a
\[
2-(q^3+q^2+q+1,q+1,1)
\]
design [2104.12254].

## 3. Matrix products, graphs, and spectral structures

For an ordinary graph, the unsigned incidence matrix satisfies
\[
I(G)I(G)^{\mathsf T}=Q(G)=D(G)+A(G),
\]
where $Q(G)$ is the signless Laplacian. The product counts common incident edges: diagonal entries give vertex degrees, while off-diagonal entries indicate adjacency.

A degree-normalized variant is the Randić incidence matrix
\[
I_R(G)=D(G)^{-1/2}I(G),
\]
with entries
\[
(I_R(G))_{ij}=
\begin{cases}
d_i^{-1/2},&v_i\text{ is incident to }e_j,\\
0,&\text{otherwise}.
\end{cases}
\]
It satisfies
\[
I_R(G)I_R(G)^{\mathsf T}
=
I_n+R(G)
=
D(G)^{-1/2}Q(G)D(G)^{-1/2},
\]
so its Gram matrix is the normalized signless Laplacian [1405.7498].

The singular values of $I_R(G)$ define the Randić incidence energy
\[
\operatorname{IRE}(G)=\sum_i\sigma_i(G).
\]
For a graph of order $n$ with no isolated vertices,
\[
\operatorname{IRE}(G)\geq\sqrt n,
\]
with equality if and only if $G\cong K_2$, and
\[
\operatorname{IRE}(G)\leq \sqrt2+\sqrt{(n-1)(n-2)},
\]
with equality if and only if $G\cong K_n$. For bipartite graphs,
\[
\operatorname{IRE}(G)\leq n-2+\sqrt2,
\]
with equality precisely for complete bipartite graphs. Consequently, the star $K_{1,n-1}$ is the unique tree maximizing Randić incidence energy.

Incidence matrices also generate adjacency and Laplacian matrices in oriented hypergraphs. If $\mathbf H_G$ is the signed incidence matrix, then
\[
\mathbf L_G=\mathbf H_G\mathbf H_G^{\mathsf T}
=\mathbf D_G-\mathbf A_G.
\]
The diagonal terms arise from backsteps, while off-diagonal terms are signed sums over pairs of incidences sharing an edge [1910.02305].

For a hypergraph incidence matrix $B$, the incidence graph has adjacency matrix
\[
A_{G_H}=
\begin{bmatrix}
0&B\\
B^{\mathsf T}&0
\end{bmatrix}.
\]
Its square is
\[
A_{G_H}^2=
\begin{bmatrix}
BB^{\mathsf T}&0\\
0&B^{\mathsf T}B
\end{bmatrix}.
\]
The nonzero eigenvalues of $A_{G_H}$ are therefore $\pm\sigma$, where $\sigma$ ranges over the nonzero singular values of $B$. Moreover,
\[
\ker A_{G_H}
=
(\ker B^{\mathsf T})\oplus(\ker B),
\]
and
\[
\operatorname{nullity}(A_{G_H})
=
|V(H)|+|E(H)|-2\operatorname{rank}(B)
\]
[2212.02103].

For mixed graphs, the ordinary identity
\[
B^{\mathsf T}B=A(L(G))+2I
\]
is generalized by using a Hermitian adjacency matrix and a complex phase-valued incidence matrix. With
\[
\gamma=e^{2\pi i/3},
\]
the $\gamma$-incidence matrix satisfies
\[
BB^\ast=H^\gamma(D)+D
\]
and
\[
B^\ast B=H^\gamma(L_\gamma(D))+2I,
\]
where $L_\gamma(D)$ is a suitably oriented mixed line graph [2205.05375].

## 4. Rank, null spaces, and dependencies

For an edge–vertex incidence matrix $B_H$, the null space has the direct interpretation
\[
x\in\ker B_H
\iff
\sum_{v\in e}x(v)=0
\quad\text{for every }e\in E(H).
\]
A nonzero vector supported on $U\subseteq V(H)$ is therefore equivalent to a linear dependence among the columns indexed by $U$.

For the transpose, a vector $y\in\ker B_H^{\mathsf T}$ satisfies
\[
\sum_{e\ni v}y(e)=0
\quad\text{for every }v\in V(H),
\]
and represents a dependence among rows. Rank–nullity gives
\[
\dim\ker B_H=|V(H)|-\operatorname{rank}(B_H),
\]
\[
\dim\ker B_H^{\mathsf T}=|E(H)|-\operatorname{rank}(B_H)
\]
when the matrix orientation is chosen accordingly.

A prominent source of null vectors is a unit: a maximal collection of vertices having identical stars,
\[
E_u(H)=E_v(H).
\]
If $W$ is a unit, then all corresponding incidence columns are identical, and every vector supported on $W$ whose coefficients sum to zero lies in the null space:
\[
S_W=
\left\{
x:\operatorname{supp}(x)\subseteq W,\ 
\sum_{v\in W}x(v)=0
\right\}.
\]
Its dimension is $|W|-1$. Unit contraction identifies each unit with a single vertex. The rank is preserved:
\[
\operatorname{rank}B_H
=
\operatorname{rank}B_{H/R_u(H)},
\]
and the nullity decomposes as
\[
\dim\ker B_H
=
\dim\ker B_{H/R_u(H)}
+
|V(H)|-|\mathcal U(H)|
\]
[2409.16055].

Equal partitions provide another source of dependencies. If disjoint vertex sets $U,V$ satisfy
\[
|e\cap U|=|e\cap V|
\qquad\text{for every }e\in E(H),
\]
then
\[
B_H(\chi_U-\chi_V)=0.
\]
The dual condition for disjoint edge collections $E,F$ is
\[
|E_v(H)\cap E|
=
|E_v(H)\cap F|
\qquad\text{for every }v\in V(H),
\]
which gives
\[
I_H(\chi_E-\chi_F)=0.
\]

Cyclic structures also force rank deficiency. In the $k$-uniform cycle $C_n^k$, whose edges are
\[
e_i=\{i,i+1,\ldots,i+k-1\},
\]
a nontrivial root of unity $\omega$ produces a null vector
\[
x_\omega(i)=\omega^i
\]
whenever $\omega$ has suitable order. If $r=\gcd(k,n)$, then
\[
\operatorname{rank}B_{C_n^k}\leq n-r+1.
\]
The same null vectors extend by zero to any hypergraph containing the cycle as an induced subhypergraph [2409.16055].

For configurations, $J_2$-freeness is the combinatorial counterpart of the absence of $4$-cycles in the associated incidence bipartite graph. In the generalized Hoffman–Singleton setting, symmetry, zero diagonal, and $J_2$-freeness are necessary but not sufficient for membership in a nontrivial matrix cycle [1002.1032].

## 5. Inverses, generalized inverses, and arithmetic structure

The invertibility of an incidence matrix depends strongly on the coefficient field and on whether the matrix is signed or unsigned. For a connected unicyclic graph, the unsigned vertex–edge incidence matrix is square. It is invertible if and only if the unique cycle is odd. If the cycle is even, the graph is bipartite and the matrix has rank $n-1$; its Moore–Penrose inverse is nevertheless available through a distance-based formula [2201.02580].

For signed graphs, the incidence matrix $N$ satisfies
\[
L(\Gamma)=NN^{\mathsf T},
\]
where $L(\Gamma)$ is the signed Laplacian. For a connected signed graph,
\[
\operatorname{rank}(N)=
\begin{cases}
n-1,&\Gamma\text{ balanced},\\
n,&\Gamma\text{ unbalanced}.
\end{cases}
\]
In the balanced case,
\[
NN^\dagger=I_n-\frac1nS,
\]
where $S$ is the signed path-sign matrix. In the unbalanced case,
\[
NN^\dagger=I_n.
\]

The Moore–Penrose inverse has spanning-subgraph expansions. Balanced graphs are governed by spanning trees:
\[
(N^\dagger)_{ij}
=
\frac1{\tau(\Gamma)}
\sum_{\substack{T\text{ spanning tree}\\e_i\in T}}
(N_T^\dagger)_{ij}.
\]
Unbalanced graphs are governed by spanning signed $TU$-subgraphs, whose components are trees or unbalanced unicyclic graphs. If $c(H)$ is the number of unbalanced unicyclic components, then the weighting is $4^{c(H)}$:
\[
(N^\dagger)_{ij}
=
\frac{
\displaystyle
\sum_{\substack{H\in TU_n(\Gamma)\\e_i\in H}}
4^{c(H)}(N_H^\dagger)_{ij}
}{
\displaystyle
\sum_{H\in TU_n(\Gamma)}4^{c(H)}
}.
\]
The Laplacian pseudoinverse follows from
\[
L^\dagger=(N^\dagger)^{\mathsf T}N^\dagger
\]
[2311.02792].

Incidence matrices arising from finite geometry can possess substantially finer arithmetic invariants than rank. For the skew-line graph of $\mathrm{PG}(3,q)$, the incidence matrix $A$ is strongly regular with eigenvalues
\[
q,\qquad -q^2,\qquad q^4,
\]
with multiplicities
\[
q^4+q^2,\qquad q^3+q^2+q,\qquad 1.
\]
Its determinant is
\[
|\det(A)|=q^{q^4+2q^3+3q^2+2q+4}.
\]
If $q=p^t$, every elementary divisor is a power of $p$. The complete $p$-primary Smith data are determined by multiplicities $e_i$ satisfying
\[
e_i=e_{3t-i}\qquad(0\leq i<t),
\]
with vanishing in specified exponent intervals and explicit formulas for the remaining multiplicities [1103.0062].

For the incidence matrix $A_{t,r}$ of the complete bipartite graph $K_{t,r}$, integer kernel vectors are precisely $t\times r$ integer matrices with all row and column sums zero:
\[
\ker_{\mathbb Z}(A_{t,r})
=
\left\{
x\in\mathbb Z^{t\times r}:
\text{all row and column sums of }x\text{ vanish}
\right\}.
\]
The matrix is also a Lawrence lifting and a design matrix for two-way contingency-table margins. Its Graver complexity satisfies, for $4\leq t\leq r$,
\[
g(A_{t,r})
\geq
(t-1)^{r-t}
\left(
b_t+\frac1{t-2}
\right)
-\frac1{t-2},
\]
where
\[
b_t=(t-2)!
\left(
15+\sum_{i=1}^{t-4}\frac{i+4}{(i+2)!}
\right).
\]
For fixed $t\geq4$, this is exponential in $r$ [1102.4674].

## 6. Extensions and specialized constructions

Incidence matrices appear in several settings in which the underlying objects are not ordinary vertices and edges.

For link diagrams, regions and crossings define a $(c+2)\times c$ matrix $M(D)$ over $\mathbb Z_2$:
\[
m_{ij}=
\begin{cases}
1,&\text{if crossing }P_j\text{ lies on the boundary of region }R_i,\\
0,&\text{otherwise}.
\end{cases}
\]
Rows encode region crossing changes, while columns encode crossings. A signed planar graph represents an $n$-component link diagram if and only if
\[
\operatorname{rank}_{\mathbb Z_2}M(D)=c-n+1.
\]
Equivalently,
\[
n=c-\operatorname{rank}_{\mathbb Z_2}M(D)+1.
\]
Thus the rank deficiency is exactly $n-1$ [1101.1129].

In symbolic dynamics, the incidence matrix of a substitution $\sigma$ is
\[
M_{i,j}=|\sigma(j)|_i,
\]
the number of occurrences of letter $i$ in $\sigma(j)$. If $l(w)$ is the abelianization vector of a word, then
\[
l(\sigma(w))=M\,l(w),
\qquad
l(\sigma^n(w))=M^n l(w).
\]
For a primitive Pisot-type matrix, the expanding Perron–Frobenius eigenspace and contracting space determine the projection used to construct Rauzy fractals. Different substitutions can have the same incidence matrix, so the matrix determines abelianized growth while not determining letter order, prefix data, or the detailed topology of the resulting fractal [1301.7316].

In incidence algebras, an incidence matrix may instead mean an upper-triangular matrix indexed by comparable elements of a finite poset. For a locally finite poset $Q$, convolution is
\[
(FG)(x,y)=\sum_{x\leq z\leq y}F(x,z)G(z,y),
\]
which is ordinary matrix multiplication after choosing a linear extension. For words and permutations, the generalized Pascal matrix has entries counting subwords or permutation patterns. If $H$ records cover relations with occurrence multiplicities, then
\[
P=\exp(H).
\]
This places subword counting and permutation-pattern counting within an incidence-algebra framework [1502.03065].

A $q$-ary graph replaces ordinary vertices by one-dimensional subspaces and edges by selected two-dimensional subspaces of $\mathbb F_q^m$. Its incidence matrix is an $m\times|\mathcal E|$ matrix over $\mathbb F_{q^m}$ whose columns are orthogonal to
\[
\mathbf u=[1,\alpha,\alpha^2,\ldots,\alpha^{m-1}]^{\mathsf T}
\]
and whose rank-support is the corresponding two-dimensional edge. Every column consequently has rank weight $2$. The resulting matrix represents a $q$-matroid, with rank function
\[
r(X)=\operatorname{rk}(GY^{\mathsf T})
\]
for an $\mathbb F_q$-subspace $X$ represented by the row space of $Y$ [2508.19964].

The term “incidence matrix” is also used for matrix incidence rings associated with finite posets. Given a partial order $\preceq$ on $\{1,\ldots,n\}$, the incidence ring is
\[
\mathcal A_n(\preceq,\mathcal R)
=
\{A\in M_n(\mathcal R):(A)_{ij}=0\text{ whenever }i\not\preceq j\}.
\]
Here the incidence relation determines permitted matrix positions rather than vertex–edge membership. Over finite coefficient rings, generation counts depend on the number $\rho$ of allowed positions and the number $c$ of covering pairs; over $\mathbb R$ and $\mathbb C$, two randomly chosen matrices generate the incidence algebra with probability one [2509.00252].

Across these settings, the common principle is that an incidence matrix is a linear encoding of a combinatorial or geometric relation. Its dimensions identify the two object classes, its entries record local incidence data, and its algebraic properties reflect structural features such as regularity, linearity, symmetry, connectivity, dependence, polarity, orientation, or closure.

Source: https://www.emergentmind.com/topics/incidence-matrix