Let $\mathcal G(n, m)$ be a graph on $n$ vertices and $m$ edges chosen uniformly from the set of all possible such graphs. I would like to determine the distribution of the degree $d_i$ of some node $i$.
That is, I am trying to determine $$P\left[ d_i = k \right], \,\, k\in \mathbb N_0.$$ I haven't been able to write down a general formula but a few observations I've made:
- if $m=1$ then there must be either two nodes of degree $1$ or one node of degree $2$ (those are the possible ways of distributing the total degree $2m$ across the graph). There are $\sum_{k=1}^nk = n(n-1)/2$ graphs of the former category with two nodes of degree $1$, and there are $n$ graphs of the latter category with one node of degree $2$. If we write $T = n + n(n-1)/2$ for the total number of possible graphs, then we have
$$P\left[ d_i = 1 \right] = \frac{2}{n} \cdot \frac{n(n-1)}{2T} = \frac{2(n-1)}{2n + n(n-1)}$$ and $$P\left[ d_i = 2 \right] = \frac{1}{n} \cdot \frac{n}{T} = \frac{1}{T}$$
- The problem seems to get much more complicated for $m>1$
- There could be a simpler algebraic way of doing this via the adjacency matrix.
I would appreciate any help!