14.2: Properties of Graphs
- Page ID
- 83469
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Properties of vertices and edges
an edge which connects a vertex to itself
edges which connect the same vertices
no loops or parallel edges
connected by an edge
share a common vertex
a pair of a vertex and edge where the edge connects the vertex either to itself or another vertex of the graph
a vertex that is incident with no edges
the number of times that the vertex is incident with an edge of the graph
degree of vertex \(v\)
In a simple graph, the degree of each vertex is equal to the number of incident edges. However, in a non-simple graph, a loop is incident to its vertex twice, and we count that in the degree:
\begin{equation*} \text{deg} v = \# \{\text{ edges that are incident to } v \text{ but not loops at } v\} + 2 \cdot \# \{\text{ loops at } v\}. \end{equation*}
The graph of Example 14.1.2 has the following properties.
- It is a simple graph.
- Each pair of vertices is adjacent.
- Each pair of edges is adjacent but not parallel.
- There are no loops.
- Each vertex is incident to two non-loop edges, so each vertex has degree \(2\text{.}\)
The graph of Example 14.1.3 has the following properties.
- It is not a simple graph.
- There are three parallel edges connecting \(v_1\) and \(v_2\text{.}\)
- There are two loops at vertex \(v_3\) (and these are also parallel edges).
- The parallel edges between \(v_1\) and \(v_2\) are adjacent, as are the two loops at \(v_3\text{.}\)
- Vertices \(v_1\) and \(v_2\) are adjacent, and vertex \(v_3\) is adjacent to itself.
- Vertices \(v_1\) and \(v_2\) are incident to the three edges running between them, and vertex \(v_3\) is incident to its two loops.
- Vertex \(v_4\) is isolated
- For degrees we have
\begin{align*} \text{deg} v_1 & = \text{deg} v_2 = 3, & \text{deg} v_3 & = 4, & \text{deg} v_4 & = 0\text{.} \end{align*}
The number of edges in a graph is an important measure both of how “connected” the graph is, as well as how much “redundancy” the graph contains.
the number of edges in the graph \(G = (V,E)\)
Suppose \(G = (V,E)\) is a graph with vertex set \(V = \{ v_1, v_2, \ldots , v_n \}\text{.}\) Then,
\begin{equation*} \text{deg} v_1 + \text{deg} v_2 + \ldots \text{deg} v_n = 2\vert E \vert. \end{equation*}
- Proof Idea.
-
If an edge \(e\) is a loop at vertex \(v_i\text{,}\) then it contributes \(2\) to \(\text{deg} v_i\text{.}\) Otherwise, if edge \(e\) connects vertices \(v_i\) and \(v_j\) (\(v_i \neq v_j\)), then it contributes \(1\) to each of \(\text{deg} v_i\) and \(\text{deg} v_j\text{.}\) In every case, each edge contributes exactly \(2\) to the sum of the vertex degrees.
In every graph, the number of vertices of odd degree is even.
- Proof Idea.
-
Otherwise, the sum of the degrees of all vertices would be odd, which contradicts the theorem above.
An odd fellow throws an odd party and invites an even number of other equally-odd people. Each odd person at the party is friends with an odd number of other odd people at the party. Is this odd party even possible?
Solution
Create a simple graph with the people at the party as vertices, where two vertices are connected by a single edge if and only if the two people are friends. As each person has an odd number of friends at the party, the degree of each vertex is odd. But the number of party attendees is also odd, since there are an even number of invitees, plus the host himself. So we have an odd number of vertices each with odd degree, which the corollary above says is not possible.
Subgraphs
a graph that is a part of a larger graph
graph \(G'\) is a subgraph of graph \(G\)
Without a diagram, how can we tell if a graph \(G' = (V',E')\) is a subgraph of another graph \(G = (V,E)\text{?}\) First, each vertex of \(G'\) should also be a vertex of \(G\text{,}\) so that \(V' \subseteq V\text{.}\) And also, each edge of \(G'\) should also appear as an edge in \(G\text{.}\) (Though we shouldn't just write \(E' \subseteq E\text{,}\) and not only because \(E'\) and \(E\) are actually sets — see Activity 14.5.2.)
Just as \(\emptyset \subseteq A\) and \(A \subseteq A\) for every set \(A\text{,}\) we consider \((\emptyset,\emptyset) \preceq G\) and \(G \preceq G\) for every graph \(G\text{.}\)
Determine all possible subgraphs of the graph in Example 14.1.2.
Solution
First, every graph contains the empty graph as a subgraph. Next, a nonempty subgraph of this particular graph can contain one, two, or all three vertices. We can write out all nonempty possibilities in a general way based on the number of vertices in the subgraph. In each graph below we require the vertex indices \(i, j, k\) to all be distinct and to satisfy \(1 \le i,j,k \le 3\text{.}\)
There are \(3\) subgraphs of each of the first three types in Figure \(\PageIndex{1}\). There are also \(3\) subgraphs of the fourth and fifth types. Therefore, including the empty graph, there are \(18\) subgraphs of this example graph.
Complete graphs
a graph in which every pair of distinct vertices is connected by exactly one edge
- Complete graphs are simple.
- For each \(n \ge 0\text{,}\) there is a unique complete graph \(K_n = (V,E)\) with \(\vert V \vert = n\text{.}\)
- If \(n \ge 1\text{,}\) then every vertex in \(K_n\) has degree \(n-1\text{.}\)
- Every simple graph with \(n\) or fewer vertices is a subgraph of \(K_n\text{.}\)
Draw the complete graphs \(K_4\) and \(K_5\text{.}\)
Is there a complete graph \(K_0\text{?}\)