Utente:Facquis/Sandbox/Matrice di incidenza

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca

Nella teoria dei grafi una matrice di incidenza è una matrice binaria che mostra le relazioni tra due classi di oggetti appartenenti a due insiemi incidenti. La matrice di incidenza è diversa dalla matrice delle adiacenze che determina solo la relazione tra i vertici di un grafo. Definite la prima classe di oggetti e la seconda allora la metrice di incidenza è costituita da un numero di righe pari agli elementi di e un numero di colonne pari a quelli di . L'elemento presente alla riga e alla colonna ha valore se i due elementi sono in relazione tra loro (incidenti) altrimenti. Le matrici di incidenza però possono essere costruite anche in modo diverso.

Teoria dei grafi[modifica | modifica wikitesto]

Grafo non orientato[modifica | modifica wikitesto]

An undirected graph.

La matrice di incidenza di un grafo non orientato è costituita da è il numero di vertici e il numero dei lati.

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.

Grafo monodirezionale[modifica | modifica wikitesto]

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.

Grafi bidirezionali[modifica | modifica wikitesto]

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.

Multigrafi[modifica | modifica wikitesto]

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.

Grafi a nodi pesati[modifica | modifica wikitesto]

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
=

Ipergrafi[modifica | modifica wikitesto]

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[modifica | modifica wikitesto]

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[modifica | modifica wikitesto]

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[modifica | modifica wikitesto]

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[modifica | modifica wikitesto]

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[modifica | modifica wikitesto]

References[modifica | modifica wikitesto]

  1. ^ H.S.M. Coxeter, Regular Polytopes, Dover, 1973, pp. 166-167.
  2. ^ Herbert John Ryser, Combinatorial Mathematics, The Mathematical Association of America, 1963.

Further reading[modifica | modifica wikitesto]

  • Reinhard Diestel, Graph Theory, vol. 173, Springer-Verlag, 2005.
  • Jonathan L Gross, Jay Yellen, Graph Theory and its applications, second edition, 2006 (p 97, Incidence Matrices for undirected graphs; p 98, incidence matrices for digraphs)

External links[modifica | modifica wikitesto]

  • (EN) Eric W. Weisstein, Facquis/Sandbox/Matrice di incidenza, in MathWorld, Wolfram Research.