Incidence matrix: Difference between revisions

From Graph
(Created page with "==Definition== ===For a finite undirected graph=== Suppose <math>G</math> is a finite undirected graph. Let <math>m</math> be the size of the edge set <...")
 
No edit summary
Line 1: Line 1:
==Definition==
==Definition==


===For a finite undirected graph===
===Unoriented incidence matrix for a finite undirected graph===


Suppose <math>G</math> is a [[finite graph|finite]] [[undirected graph]]. Let <math>m</math> be the size of the edge set <math>E(G)</math> and <math>n</math> be the size of the vertex set <math>V(G)</math>. The '''incidence matrix''', also called the '''unoriented incidence matrix''', of <math>G</math> is a <math>m \times n</math> matrix defined as follows: The <math>(i,j)^{th}</math> entry of the matrix is defined to be:
Suppose <math>G</math> is a [[finite graph|finite]] [[undirected graph]]. Let <math>m</math> be the size of the edge set <math>E(G)</math> and <math>n</math> be the size of the vertex set <math>V(G)</math>. Denote by <math>e : \{ 1,2,\dots,m \} \to E(G)</math> and <math>v: \{1,2,\dots,n \} \to V(G)</math> bijections that label the edge set and vertex set respectively. The '''incidence matrix''', also called the '''unoriented incidence matrix''', of <math>G</math> with respect to these labelings is a <math>m \times n</math> matrix defined as follows: The <math>(i,j)^{th}</math> entry of the matrix is defined to be:


* 1 if vertex <math>j</math> is incident on (i.e., equals one of the endpoints of) edge <math>i</math>
* 1 if vertex <math>j</math> is incident on (i.e., equals one of the endpoints of) edge <math>i</math>
* 0 if vertex <math>j</math> is not incident on (i.e., does not equal one of the endpoints of) edge <math>i</math>.
* 0 if vertex <math>j</math> is not incident on (i.e., does not equal one of the endpoints of) edge <math>i</math>.


===For a finite directed graph===
Note that the incidence matrix depends on the choice of the bijections <math>e</math> and <math>v</math>, but the dependence is well-understood: changing the bijection on the edge set corresponds to left multiplication by a permutation matrix (permuting the rows) whereas changing the bijection on the vertex set corresponds to right multiplication by a permutation matrix (permuting the columns).
 
===Oriented incidence matrix for a finite directed graph===


Suppose <math>G</math> is a [[finite graph|finite]] [[directed graph]]. Let <math>m</math> be the size of the edge set <math>E(G)</math> and <math>n</math> be the size of the vertex set <math>V(G)</math>. The '''incidence matrix''', also called the '''oriented incidence matrix''', of <math>G</math> is a <math>m \times n</math> matrix defined as follows: The <math>(i,j)^{th}</math> entry of the matrix is defined to be:
Suppose <math>G</math> is a [[finite graph|finite]] [[directed graph]]. Let <math>m</math> be the size of the edge set <math>E(G)</math> and <math>n</math> be the size of the vertex set <math>V(G)</math>. The '''incidence matrix''', also called the '''oriented incidence matrix''', of <math>G</math> is a <math>m \times n</math> matrix defined as follows: The <math>(i,j)^{th}</math> entry of the matrix is defined to be:
Line 16: Line 18:
* 0 if vertex <math>j</math> is not incident on (i.e., does not equal one of the endpoints of) edge <math>i</math>.
* 0 if vertex <math>j</math> is not incident on (i.e., does not equal one of the endpoints of) edge <math>i</math>.


===Oriented incidence matrix for a finite undirected graph===
For a finite undirected graph, an oriented incidence matrix is defined as a matrix that arises as an oriented incidence matrix for some directed graph that has the same edge set as the undirected graph. Note that such an oriented incidence matrix is non-unique (Even after we fix the ordering of the vertices and the ordering of the edges), because it depends on the choice of orientation for each edge. The oriented incidence matrix is useful because the product of its [[matrix transpose]] with it is well-defined and equals the [[Laplacian matrix]] of the graph.
==Attributes of the incidence matrix==
==Attributes of the incidence matrix==



Revision as of 21:04, 25 May 2014

Definition

Unoriented incidence matrix for a finite undirected graph

Suppose is a finite undirected graph. Let be the size of the edge set and be the size of the vertex set . Denote by and bijections that label the edge set and vertex set respectively. The incidence matrix, also called the unoriented incidence matrix, of with respect to these labelings is a matrix defined as follows: The entry of the matrix is defined to be:

  • 1 if vertex is incident on (i.e., equals one of the endpoints of) edge
  • 0 if vertex is not incident on (i.e., does not equal one of the endpoints of) edge .

Note that the incidence matrix depends on the choice of the bijections and , but the dependence is well-understood: changing the bijection on the edge set corresponds to left multiplication by a permutation matrix (permuting the rows) whereas changing the bijection on the vertex set corresponds to right multiplication by a permutation matrix (permuting the columns).

Oriented incidence matrix for a finite directed graph

Suppose is a finite directed graph. Let be the size of the edge set and be the size of the vertex set . The incidence matrix, also called the oriented incidence matrix, of is a matrix defined as follows: The entry of the matrix is defined to be:

  • 1 if vertex is the target vertex of edge
  • -1 if vertex is the source vertex of edge
  • 0 if vertex is not incident on (i.e., does not equal one of the endpoints of) edge .

Oriented incidence matrix for a finite undirected graph

For a finite undirected graph, an oriented incidence matrix is defined as a matrix that arises as an oriented incidence matrix for some directed graph that has the same edge set as the undirected graph. Note that such an oriented incidence matrix is non-unique (Even after we fix the ordering of the vertices and the ordering of the edges), because it depends on the choice of orientation for each edge. The oriented incidence matrix is useful because the product of its matrix transpose with it is well-defined and equals the Laplacian matrix of the graph.

Attributes of the incidence matrix

Attribute Value for unoriented incidence matrix of a finite simple undirected graph Explanation Value for oriented incidence matrix of a finite simple directed graph Explanation
Set of entry values 0 and 1 Obvious from the definition.
Note that for a matrix with a nonzero number of rows and columns, there exists at least one 1, and the only case that there are no 0s arises when the matrix is the graph with two vertices and one edge joining them.
0, 1, and -1 Obvious from the definition.
Note that for a matrix with a nonzero number of rows and columns, there exists at least one 1 and at least one -1, and the only case that there are no 0s arises when the matrix is the graph with two vertices and one directed edge between them.
Row sum 2 Two 1s in each row, corresponding to the vertices at the endpoints of the edge. The remaining entries are equal to 0.
Note that relaxing the condition of simplicity will make this false.
0 One -1 and one 1 in each row, the remaining entries are 0.