Section Solutions for Chapter 12
Solutions to Exercise 12.1.6
Base case: \(\displaystyle n=1\text{.}\) Let \(\displaystyle G\) be a digraph with no loops or multiarcs, and with only one vertex \(\displaystyle v_1\text{.}\) Then there are no arcs in \(\displaystyle G\text{,}\) so \(\displaystyle |A(G)|=0=d^+_G(v_1)=d^-_G(v_1)\text{.}\) So the desired conclusion is true when \(\displaystyle n=1\text{.}\)
Inductive step: Assume that \(\displaystyle n\ge 1\text{,}\) the formula holds for every digraph with \(\displaystyle n\) vertices that has no loops or multiarcs, and \(\displaystyle G\) is a digraph with \(\displaystyle n + 1\) vertices that has no loops or multiarcs.
Pick an arbitrary vertex \(\displaystyle u\) of \(\displaystyle G\text{.}\) Let
\(\displaystyle N^+\) be the set of outneighbours of \(\displaystyle u\text{,}\) and \(\displaystyle N^-\) the set of inneighbours of \(\displaystyle u\text{,}\)
\(\displaystyle s = |N^+|= d^+_G(u)\) be the number of arcs that begin at \(\displaystyle u\text{,}\)
\(\displaystyle t = |N^-|= d^-_G(u)\) be the number of arcs that end at \(\displaystyle u\text{,}\) and
\(\displaystyle G'\) be the digraph obtained from \(\displaystyle G\) by deleting \(\displaystyle u\) and its \(\displaystyle s+t\) incident arcs.
Note that:
\(\displaystyle V(G') = V(G) \smallsetminus \{u\}\text{,}\) so \(\displaystyle G'\) has \(\displaystyle n\) vertices.
\(\displaystyle |A(G')| = |A(G)| - s-t\text{.}\)
For \(\displaystyle v \in V(G') \smallsetminus N^-\text{,}\) we have \(\displaystyle d^+_{G'}(v) = d^+_G(v)\) (because the outneighbours of \(\displaystyle v\) in \(\displaystyle G'\) are exactly the same as the outneighbours of \(\displaystyle v\) in \(\displaystyle G\)).
For \(\displaystyle v \in N^-\text{,}\) we have \(\displaystyle d^+_{G'}(v) = d^+_G(v) - 1\) (because \(\displaystyle u\) is counted as an outneighbour of \(\displaystyle v\) in \(\displaystyle G\text{,}\) but it is not in \(\displaystyle G'\) so it cannot be counted as an outneighbour in \(\displaystyle G'\)).
Similar statements hold with \(\displaystyle N^-\) replaced by \(\displaystyle N^+\text{.}\)
Hence
\(\displaystyle a\) has outvalency \(\displaystyle 2\) and invalency \(\displaystyle 1\text{;}\)
\(\displaystyle b\) has outvalency \(\displaystyle 2\) and invalency \(\displaystyle 2\text{;}\)
\(\displaystyle c\) has outvalency \(\displaystyle 1\) and invalency \(\displaystyle 2\text{;}\)
\(\displaystyle d\) has outvalency \(\displaystyle 2\) and invalency \(\displaystyle 2\text{;}\)
\(\displaystyle e\) has outvalency \(\displaystyle 1\) and invalency \(\displaystyle 1\text{.}\)
Solutions to Exercise 12.2.6
Solutions to Exercise 12.3.10
There are many paths of length 3. One example is \(\displaystyle (a,b,c,h)\text{.}\)
\(\displaystyle (b,c,f,b)\) is a cycle of length \(\displaystyle 3\text{.}\)
\(\displaystyle (a,b,c,b)\) is neither a path nor a cycle. It is not a path because the vertices are not all distinct. (Namely, the vertex \(\displaystyle b\) occurs twice.) It is not a cycle, because the first vertex (namely, \(\displaystyle a\)) is not the same as the final vertex (namely, \(\displaystyle b\)).