The degree <math>k</math> of a node is the number of edges connected to it. Closely related to the density of a network is the average degree, <math>\langle k\rangle = \tfrac{2E}{N}</math> (or, in the case of directed graphs, <math>\langle k\rangle = \tfrac{E}{N}</math>, the former factor of 2 arising from each edge in an undirected graph contributing to the degree of two distinct vertices). In the [[Erdős–Rényi model | ER random graph model]] (<math>G(N,p)</math>) we can compute the expected value of <math>\langle k \rangle </math> (equal to the expected value of <math>k</math> of an arbitrary vertex): a random vertex has <math>N-1</math> other vertices in the network available, and with probability <math>p</math>, connects to each. Thus, <math>\mathbb{E}[\langle k \rangle]=\mathbb{E}[k]= p(N-1)</math>. | The degree <math>k</math> of a node is the number of edges connected to it. Closely related to the density of a network is the average degree, <math>\langle k\rangle = \tfrac{2E}{N}</math> (or, in the case of directed graphs, <math>\langle k\rangle = \tfrac{E}{N}</math>, the former factor of 2 arising from each edge in an undirected graph contributing to the degree of two distinct vertices). In the [[Erdős–Rényi model | ER random graph model]] (<math>G(N,p)</math>) we can compute the expected value of <math>\langle k \rangle </math> (equal to the expected value of <math>k</math> of an arbitrary vertex): a random vertex has <math>N-1</math> other vertices in the network available, and with probability <math>p</math>, connects to each. Thus, <math>\mathbb{E}[\langle k \rangle]=\mathbb{E}[k]= p(N-1)</math>. |