The Bradley-Terry model assigns comparison probability to each observed edge. Up to factors independent of the parameters, its likelihood function is
The comparison graph is a path graph, hence a tree. After fixing , its edge ratios are unconstrained positive coordinates: every collection determines uniquely .
For a convenient strict-concavity calculation, use the edge log-ratios in a Bradley-Terry comparison tree . The log-likelihood separates as
Each derivative is , where is the logistic function of , and each second derivative is . Because , there is a unique finite global maximum at
Converting back gives the Bradley-Terry maximum-likelihood estimate on a path:
Equivalently, recurse backwards using . All estimates are finite and positive. The sample size changes the curvature of the likelihood but not this maximizer; absence of comparison cycles is what permits every empirical edge proportion to be fitted simultaneously.
The symmetric group has elements, not the printed order . For the identity and the adjacent transpositions have probabilities , so the specified transition matrix is normalized. Its stationary distribution is uniform and it satisfies detailed balance, since each transposition is its own inverse. Adjacent transpositions generate the symmetric group, making this an irreducible Markov chain; the positive holding probability makes it an aperiodic Markov chain.
For a fixed label , right multiplication swaps positions, so is the label's position. Under the uniform distribution on a finite set it is uniform on . Therefore
For each generator , the squared change is one if the label occupies either of the two positions, and zero otherwise. Its stationary expected value is , giving
Thus the tagged-label Rayleigh quotient for adjacent transpositions gives the corrected bound
The printed factor six cannot be obtained: the hint's variance of a uniform distribution is wrong. Directly, . Bounded convergence in distribution of does imply convergence of its first two moments, hence convergence of its variance, but the limit is .
More strongly, the claimed asymptotic bound itself is false for this kernel. The Aldous spectral gap theorem states that the interchange process on a finite connected weighted graph has the same spectral gap as the single-label random walk with identical edge rates; see Theorem 1.1 and its proof. Here is that interchange process generator on a path graph with edge rates . For the tagged-label generator, direct substitution of gives eigenvalues , , including the reflecting endpoint equations. These distinct eigenvalues exhaust the tagged-label function space. Consequently the theorem yields
which exceeds asymptotically. This use of a substantial external theorem is only to certify the printed claim's failure; the corrected factor-twelve upper bound above follows directly from the requested test function and the variational formula.
Let , and for put
Each edge cutset separates from . Adjacent vertices have graph distances from differing by at most one. Hence an edge can cross at most one of these level boundaries, so the edge cutsets are pairwise edge-disjoint. Write ; then .
The Nash-Williams inequality for unit conductances gives
where the middle inequality is the Cauchy-Schwarz inequality. One can also derive the first inequality directly: every unit flow has signed net flux one through each , so its energy of a flow on that cut is at least ; sum over the disjoint cuts and use the Thomson principle.
Combining with the commute time identity yields
The case is trivial. A path graph, with its endpoints, attains equality.
On the symmetric group , this Markov chain chooses uniformly from the identity and the adjacent transpositions, and multiplies on the right. Its stationary distribution is the uniform distribution on a finite set, because the generators are self-inverse. A fixed label's position is a lumped Markov chain on a path graph with off-diagonal transition probabilities to existing neighbours.
For the random adjacent transposition shuffle with , the generator is the interchange process on a path graph with each edge rate . The Aldous spectral gap theorem reduces its spectral gap to that of the single-label random walk. The eigenfunctions , for , have generator eigenvalues ; direct substitution verifies both the interior and endpoint equations. Consequently .
Step number 2026-10-20
A positive integer whose adjacent decimal numerical digits differ by exactly 1. Its digits form a walk on the path graph , with a nonzero starting digit. Counting pandigital numbers of this type can use digit dynamic programming with the final digit and a bit mask of visited digits as the state.
For , choose independent random variables, each with the uniform distribution on a finite set , and decode their values as a Prüfer sequence. Every sequence has probability , and the bijection gives each labelled tree the same probability. This produces a uniform spanning tree of the complete graph without repeatedly proposing sets of edges and rejecting those that fail to be trees. It supplies random inputs for testing implementations of breadth-first search and a tractable model of random connections. [ref]
This distribution is uniform over fixed-label trees, rather than over unlabelled trees. With four labels, the star graph shape has probability and the path graph shape has probability . Also, for a fixed label , the Prüfer degree formula gives
Here the binomial distribution counts the independent code positions equal to . The expected value agrees with the average vertex degree from the degree-sum formula. Individual labels have the same distribution by symmetry, though their vertex degrees are constrained together by their fixed sum. When , simply return the single isolated vertex.
Weighted graph Laplacian Created 2026-09-28 Updated 2026-10-20
For a finite undirected graph without self-loops, give each edge a symmetric nonnegative weight . In the weighted graph, set for an edge and zero otherwise, and with all other entries zero. The Weighted graph Laplacian is
Each edge appears once in the quadratic form. For the path graph with weights and ,
The Weighted graph Laplacian is still a positive semidefinite matrix. Its kernel consists of vectors constant on each connected component of a graph after zero-weight edges are removed: an edge of weight zero imposes no constraint. In an electrical network, taking the weights to be electrical conductances makes the total power dissipated by Joule heating when gives the voltages at the vertices. This physical interpretation explains why stronger connections penalize disagreement more heavily.[ref]