Graphs and Subgraphs

Simple Graphs

We will first define the most fundamental of graphs, a simple graph:

Definition: A Simple Graph $G$ is an ordered pair $G = (V, E) = (V(G), E(G))$ where $V$ is a non-empty set containing information regarding the Vertices of $G$, and $E$ is a set $E \subseteq [ V ]^2$ containing the information on the Edges in $G$.

We will graphically denote a vertex with a little dot or some shape, while we will denote edges with a line connecting two vertices. Note that these edges do not need to be straight like the conventional geometric interpretation of an edge. For example, the following graphs are simple graphs.

Screen%20Shot%202014-04-10%20at%203.36.51%20PM.png

Multigraphs

Definition: A Multigraph is a graph $G$ that contains either multiple edges or loops.

We consider a multiple edge to be to lines from a vertex $x$ to a vertex $y$. One the other hand, we consider a loop to be an edge that wraps around back to itself.

Screen%20Shot%202014-04-10%20at%203.38.00%20PM.png

The following graphs are multigraphs:

Screen%20Shot%202014-04-10%20at%203.39.46%20PM.png

Digraphs (Directed Graphs)

Definition: A Digraph is a graph $D$ that contains directed edges (also called arcs) instead of regular edges.

We note that a directed edge (or arc) contains some sort of direction from one vertex to another:

Screen%20Shot%202014-04-10%20at%203.40.23%20PM.png

The following graphs are digraphs:

Screen%20Shot%202014-04-10%20at%203.41.56%20PM.png

Subgraphs

Definition: A Subgraph $S$ of a graph $G$ is a graph whose vertex set $V(S)$ is a subset of the vertex set $V(G)$, that is $V(S) \subseteq V(G)$, and whose edge set $E(S)$ is a subset of the edge set $E(G)$, that is $E(S) \subseteq E(G)$.

Essentially, a subgraph is a graph within a larger graph. For example, the following graph $S$ is a subgraph of $G$:

Screen%20Shot%202014-04-10%20at%203.48.01%20PM.png
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License