Network Models: Preferential Attachment, BA, and Erdős–Rényi
Complex Systems · 3/8 · Series index · Notation
Scale-Free Networks and Preferential Attachment: Deriving the Distribution from the Mechanism
We use for the number of nodes, for the total number of edges, and for the number of edges introduced by each new node in the BA model.
What Does a Network Represent, and What Does Scale-Free Mean?
A network represents a system through nodes (vertices) and edges (links). Whether the model is appropriate depends first on how these are defined. The Internet can be represented by computers or routers linked by communication connections; the WWW by web pages linked by directed hyperlinks; and a citation network by papers linked by directed citations. Other examples are power stations/substations and transmission lines in a power grid, people and friendships in a friendship network, metabolites and reactions in a metabolic network, neurons and synapses in a neural network, and species and predation relations in a food web. Direction, weight, and the level of detail used to define nodes depend on the question.
Degree and the Degree Distribution
In a simple undirected graph, the degree of node is its number of neighbors. If a node is selected uniformly at random, the probability that its degree is is
Here is the number of nodes whose degree is exactly . For a directed graph, in-degree and out-degree distributions must be considered separately. The defining feature of a scale-free network is an approximately power-law tail in its degree distribution; a visually tangled drawing is not sufficient:
For discrete degrees, is a probability mass function; it is a probability density only in the continuous approximation. is the complementary cumulative distribution function (CCDF), whereas the ordinary CDF is . Do not label a decreasing power-law tail as the ordinary CDF.
What the Exponent Means
A power-law tail makes high-degree nodes more common than an exponential or Poisson tail does. Such high-degree nodes are called hubs. Power-law scale-free behavior does not generally require ; the range is important because the second moment diverges in an ideal distribution with no upper cutoff. The condition is if and only if ; at equality, the divergence is typically logarithmic. Thus, for , the mean is finite while the variance is infinite; is the boundary for the second moment. Real finite networks have a maximum degree, and their finite-sample moments are finite.
Example: interpreting exponents. A degree distribution with has a finite second moment under an ideal pure power-law model. A distribution with lies at the boundary. An exponent above three does not rule out a power law, and a power-law fit to one network does not establish that all real networks are strictly scale-free.
Counting Nodes and Edges
For a graph with 8 nodes and 10 edges, including one isolated node, the degrees must sum to . This provides a consistency check on an edge count. In a drawing, a crossing without a node marker does not create a node, and arrows used only as labels are not edges.
The BA Model: Growth and Preferential Attachment
Start with a seed network containing nodes and edges. At each step, add one node and connect it to existing nodes:
Growth continually introduces new nodes. Preferential attachment makes existing nodes with higher degree more likely to receive new edges. The seed must give a nonzero denominator and contain enough existing nodes; normally is required. Distinguishing the initial edge count from the initial node count avoids ambiguity.
Continuous Approximation: A Complete Derivation of Exponent 3
Derivation outline: preferential attachment growth of an individual node's degree the relation between birth time and degree the degree distribution across the network.
Step 1: Write the Expected Growth Rate
Each step supplies new edges that can attach to existing nodes. The mean-field approximation for a large network is therefore
Hence,
Here is the time at which node enters the network. The factor in the denominator comes from each undirected edge contributing to the total degree. The factor comes from adding edges per step. Both factors are essential.
Step 2: Separate Variables and Apply the Initial Condition
This gives
At a fixed observation time, earlier nodes have higher expected degrees; the expected degree of a given node grows as . Random realizations fluctuate, so the statement that older nodes have larger degrees on average does not mean that every pair of nodes must be ordered strictly by age. If the seed's edges are retained in the calculation, the same continuous equation gives , which approaches the expression above at large times.
Step 3: Obtain the CDF and CCDF from Birth Times
Select a node uniformly at a large observation time . One node is born at each step, and the fraction of seed nodes tends to zero. Neglecting those seed nodes, is approximately uniform on , with density . For ,
The inequality reverses because decreases as birth time increases. Birth times are uniformly distributed; degrees are not.
Step 4: Differentiate
Substituting gives
The tail parameter here does not make the BA degree distribution a Gaussian stable distribution: the BA second moment remains at the logarithmically divergent power-law boundary. The exponent is independent of ; changing changes the minimum degree, mean degree, and prefactor. The continuous approximation satisfies and has mean degree . Do not use this density as an exact discrete probability at small integer degrees.
The Master Equation: Discrete Degrees and the Birth Boundary Condition
The continuous approximation reveals the exponent conveniently; the master equation also gives the prefactor of the discrete degree probabilities. Let denote the probability that a node born at has degree at time . In the large-time approximation, that node increases its degree by one in the next step with probability , giving
The first term is inflow from degree after receiving an edge; the second retains nodes that already had degree and receive no edge. For , this is the standard large-network master-equation approximation. Choosing different targets without replacement in a finite network must not be described as an exact collection of independent Bernoulli trials.
Counting Nodes Makes the Birth Term Explicit
Let be the expected number of nodes with degree . Then
Here when and is otherwise. The last term accounts for one new node of degree at every step. Suppose a stationary degree fraction exists, so that . The left-hand side is then , not : the network's total number of nodes is still growing.
Rearranging gives the unified equation
The Boundary at and the Recurrence for
Each new node has minimum degree , so the stationary fraction satisfies . A finite set of seed nodes does not affect the limiting fractions. Thus,
Multiplying the recurrence terms and canceling common factors yields
This is the asymptotic discrete degree distribution of the standard BA model, again with tail exponent . Replacing by is an asymptotic approximation for , not an identity valid at every .
Normalization Checks and the Discrete Tail Probability
Use the identity
The terms telescope, giving . For an integer threshold , they also give
The continuous prefactor differs from the discrete prefactor because the two calculations use different levels of approximation. Their exponents, mean degrees, and large-degree behavior are consistent.
Testing the Mechanism and Comparing with Erdős–Rényi Networks
Why Are Both Mechanisms Needed?
Removing preferential attachment while retaining growth produces a rapidly decaying degree distribution. Removing growth and keeping a fixed node set also fails to maintain the BA model's growing power-law state. This explains how the two ingredients work together in the BA model; it does not establish that every power law must come from BA. A static graph can also be constructed directly with a specified power-law degree distribution.
A useful calculation is to choose the targets of new edges uniformly among existing nodes. Then , giving . Combining this with uniformly distributed birth times gives the approximate tail probability , demonstrating that growth alone does not automatically produce a power law. Preferential attachment can be investigated empirically by measuring whether the probability of receiving new links increases with existing degree, for example in citation or collaboration networks.
Definition of the ER Model
In , fix nodes and connect each pair of distinct nodes independently by an undirected edge with probability . There are no self-loops or parallel edges. Since there are possible edges,
The quantity is the expected number of edges; the realized edge count is random. A single node has potential neighbors, so
Here is the theoretical mean-degree parameter; the realized mean degree of a particular graph is still .
The Poisson Limit for a Large Sparse Network
Let , taking while holding fixed. For a fixed ,
Substitution into the binomial probability gives
In particular, the probability of an isolated node is , so the expected number of isolated nodes is approximately . This rare-event limit is not the central limit theorem. If is also large, a Poisson distribution can be further approximated by . More generally, a binomial distribution admits a normal approximation when both and are sufficiently large. The sparse limit with fixed does not by itself make the degree distribution normal.
The Main Differences Between ER and BA
ER fixes the node set and assigns independent, identically distributed edge indicators. Degrees concentrate around and their tail decays rapidly. BA continually adds nodes, makes attachment depend on existing degree, has , and produces with more prominent high-degree nodes. ER graphs can still contain nodes whose degree exceeds the mean. Relative degree homogeneity does not mean that the maximum degree equals the mean.
Typical Scale-Free Network Problems: Calculations, Derivations, and Checks
Example 1: Growth of an Individual Node
In a BA model with , a node enters at . Find its expected degree at .
To estimate the time needed to reach degree , solve , which gives . This is a mean-field time scale; the time at which an individual random node actually reaches that degree fluctuates.
Example 2: A Continuous Density Is Not an Exact Discrete Probability
For , the boundary condition and recurrence give
In a network with approximately nodes, the expected stationary number of nodes with degree exactly is about . The fraction with degree at least is
The expected count is therefore about . The continuous approximation gives ; it captures the scaling law and need not match the discrete result at a relatively small integer threshold.
Example 3: ER Network Parameters
Take :
Since is small, approximate an individual node's degree by . For example,
Here is the number of isolated nodes. The value is an expectation; a realized count must be a nonnegative integer.
Example 4: Reading an Exponent from a Plot
If the degree probability has slope on a log–log plot, then , and the CCDF should have slope approximately . If a CCDF instead has slope , then , consistent with the standard BA exponent. This exponent alone does not prove that the generating mechanism is BA.
The Shortest Complete Derivation Answer
A complete continuous derivation should include , , , , , uniformly distributed birth times, , and . A complete master-equation derivation should include inflow, outflow, the birth term, stationary fractions represented by , the boundary value , the recurrence, and cancellation of its product.
Common Mistakes
-
describes the attachment tendency of one new edge; gives the approximate expected degree increase per time step.
-
A "stationary degree distribution" means the fractions stop changing. It does not mean that the node count or individual degrees stop growing.
-
is the degree-probability exponent, whereas is the tail-probability exponent. For BA, .
-
Distinguish the continuous approximation from the discrete result and state which one you are using.
-
fixes an edge probability. The ER model fixes the edge count instead, so its edge indicators must not be assumed independent.
← Scale-free distributions · Series index · Network fundamentals →

