Is it possible to have a graph with vertices of degrees: 1, 1, 2, 3, 3? How do we tackle such questions?
Graph of given degree sequence
0
$\begingroup$
graph-theory
-
0"How do we tackle such questions?" Trial and error, mostly. As long as the sequence obeys the handshaking lemma, there's not much else to do, I think. – 2017-02-20
-
0This might help : https://en.wikipedia.org/wiki/Degree_(graph_theory)#Degree_sequence – 2017-02-20
-
1@maverick This should answer your question : http://mathworld.wolfram.com/GraphicSequence.html – 2017-02-20
3 Answers
2
We're not completely empty handed.
Sanity checks:
If a sequence has a number greater than $n-1$, where $n$ is the number of coordinates (vertices), then it cannot be constructed (as there's not enough vertices to form the neighbors).
If a sequence sums to an odd number, it would violate the Handshaking Lemma, and can't be constructed.
If there's a lot of vertices of degree $1$, and two or more vertices of high degree, sometimes this can make it impossible (if we were to attempt to create one, we'd end up with too many vertices of degree $2$ or more).
Proving existence:
- We can check if such a graph exists using the Erdős-Gallai Theorem.
Construct example:
- We can construct an example of such a graph using the Havel-Hakimi Algorithm.
Construct all non-isomorphic examples:
- I tend to just use
geng(which comes with Nauty), with the command linegeng n e:ewhere $n$ is the number of vertices (in this case 5) and $e$ is the number of edges (in this case $\tfrac{1}{2}(1+1+2+3+3)=5$). Afterwards, I filter out the ones which don't have the degree sequence using a GAP script.
In this example, there is a unique graph (with vertices marked with their degree):


