Two-spin quenched and annealed free energies 2026-10-18
Choose two Ising spins with Hamiltonian , where independently takes or with equal prior probabilities and . This original finite example has no geometrical frustration and no phase transition. Its four spin assignments give . ThereforeThe concave function puts . For this two-value case the claim is just , obtained by squaring . Thus no formal continuation of replicas is needed to see the distinction.
In the annealed disorder ensemble, the stronger bond has probability , approaching one at low temperature. A quenched disorder collection instead retains one half at each coupling. As , and : averaging samples and allowing the material variables to equilibrate describe different physics.
Two-state ion-channel gating Created 2026-10-14 Updated 2026-10-14
Two-state ion-channel gating models an individual gate as a random switch between closed and open states. Write for its open probability; this is the in the header equation. An individual gate's state is always closed or open, rather than partly open. A population of identical gates can have a fraction open near , and averaging repeated identically prepared trials estimates the same probability. A finite population's observed fraction fluctuates. See Purves and colleagues, Neuroscience, 2nd edition (2001): Ion Channels Underlying Action Potentials for single-channel steps and their population averages.
At fixed membrane potential , let constant rates govern closed-to-open and open-to-closed transitions respectively, in . This is a two-state continuous-time Markov chain. Over a short interval , an initially closed gate opens with probability , and an initially open gate closes with probability . Gain minus loss gives the deterministic ordinary differential equation for the probability:Here is the fixed-voltage limiting open probability, and is a time constant. The ratio of the rates fixes the limit, while their sum fixes the speed. With initial probability ,For a short derivation, subtract : the deviation obeys , yielding the exponential function. After one time constant, of the initial deviation remains. The solution stays between and , so it remains a valid probability. The rate and time constant formulations are described in Gerstner and colleagues, Neuronal Dynamics, §2.2.2: transition rates and channel kinetics.
For a worked toy condition A, choose and . Then , , andIn a separately prepared condition B, choose , and the same . Now , , and . Condition B approaches a higher limit more quickly. These are two stipulated constant-rate conditions with held fixed in each experiment, not an empirical function relating rates to voltage or a sequential switch between conditions. The initial need not be the limiting probability at the newly imposed voltage.
Two-state ion-channel gating: two constant-rate relaxation conditions
. Original computed probability curves, both starting at . Dashed lines show the limiting open probabilities and ; dotted lines mark time constants and . The dot marks condition A at , where . Smooth curves represent open probability or population averages, not an individual gate's random state trace or an ionic electric current. Details.In the Hodgkin-Huxley model, the rates depend on membrane potential: and . Its is the limit for voltage held at that . During an action potential, changing changes the rates and gates feed back onto through ionic electric currents; substituting the present voltage into the constant-rate solution does not solve that coupled system. Gating describes availability of a conducting pathway. Even an open ion channel carries zero net ionic electric current at its reversal potential.
The useful bridge is from abrupt random molecular events to a smooth population prediction. A channel requiring several independent permissive gates in an ion channel has an open probability equal to their product; this can make channel availability much smaller than each gate's availability. The Hodgkin-Huxley model uses and for sodium and potassium electrical conductances, respectively.
Two-toss sample space 2026-10-14
Model two fair independent coin tosses, recording their order. Here denotes heads and tails, andThe power set includes every question expressible as a subset of these four outcomes. The mass comes from the fairness and independence assumptions. These are exact model probabilities, rather than measured toss frequencies.
Let be the event that the first toss is heads and the event that the second toss is heads. ThenThe union means “at least one head,” while the intersection means “both heads.” Their probabilities are and . Counting the union through the inclusion-exclusion principle gives ; alternatively its complement of an event is , of probability .
Four ordered outcomes and the event of at least one head
. Rows record the first toss and columns the second. Each cell has probability under fair independent tosses. The highlighted union includes , , and ; the overlap contains only . Details.On the same sample space, assigning masses to would still make each toss fair: . But , so the tosses would be dependent. The event of at least one head would have probability . Changing the probability measure changes the answer even when the sample space and the single-toss probabilities stay the same.
Two-turn renewal game 2026-10-20
Suppose each independent turn makes the current player win with probability , lose with probability , or pass with probability , with and . The players have identical turn rules and alternate after a pass. Before the first pair of turns finishes, the starting player wins with probability . Passing twice returns to the initial state with probability . First-step analysis therefore gives , proving the formula. The geometric series of repeated restarts converges because ; infinite play has probability zero. For , nobody ever wins, so that excluded case has no eventual winning probability summing to one.
Inside a rooted -ary subtree of a degree- regular tree, pair each cell root with one distinguished child. Keep reinfection inside each pair, suppress infection back into its parent cell, and allow each child cell to be activated only once. Offspring counts of different cells are independent and identically distributed, so cell genealogies form a Galton-Watson process. A cell root has outgoing child-cell edges and its paired vertex has . Starting at the root, the probabilities to send an arrow along one specified outgoing edge from these two vertices before internal extinction are respectivelyThey follow by first-step equations on the three nonempty pair states. The offspring mean is , andContinuity makes at some strictly smaller positive rate. The branching-process extinction criterion then gives positive survival probability for the suppressed process, hence for the original contact process.
Type (information theory) Created 2026-09-24 Updated 2026-10-14
A type summarizes a string by how often each symbol occurs. Fix a finite alphabet of cardinality and a positive length . For a string , its empirical distribution is the probability mass functionThe empirical distribution forgets order. The strings and both assign probability to each binary symbol; assigns to zero and to one. Thus a long string can have a short summary even though that summary does not reconstruct the original order.
For independent and identically distributed symbols, this loss of order has a useful consequence: all strings with the same empirical distribution have the same probability. The method of types uses this symmetry to turn questions about exponentially many strings into counting questions about relatively few frequency profiles.[ref]
The Method of Types by Imre Csiszár. §I, printed p. 2505: partition by empirical distribution and equiprobability under a memoryless model
Typical-set concentration for a biased coin 2026-10-14
The count has binomial distribution with mean and variance . The information content per symbol is an affine function of , so its variance isChebyshev's inequality therefore gives the finite-sample lower boundThe bound is often loose, but it proves that every fixed positive tolerance eventually captures nearly all the probability. Direct summation of the binomial distribution's probability masses gives . A finite sample does not need to have a nearly full typical set: the 40-symbol example above captures only about .
Longer biased-coin messages concentrate in typical sets with controlled size
. The left plot compares exact typical set probabilities with the lower bound from Chebyshev's inequality. The right shows and its finite-sample bounds. The tolerance stays fixed; the curve is not asserted to converge to exactly . All points are exact finite-model calculations. Details. Typical-set indexing example 2026-10-14
The typical sequence theorem turns a probability concentration into a coding construction. Assign one binary number index to each weakly typical sequence, plus a reserved index for every word outside the set. The decoder recovers every typical word exactly; the reserved index has one predetermined output. The block code usesbits and has reconstruction-error probability at most .
For this example and , needs 34 bits but permits error up to about . At , 570 bits suffice and the error bound is about . These are existence calculations for an explicitly enumerated collection, rather than claims about an efficient practical encoder. The reduction comes from protecting the whole high-probability collection, rather than just its single most likely member.
A bound tending to zero with one factor's Gowers U3 norm, uniformly over all finite abelian groups, is false. On , choose a random independent sign at each point. A cube with eight distinct vertices has sign product of expectation zero. The probability of a collision among its vertices is at most , since each equality of distinct vertices imposes a nonzero linear equation in the increments. Thus some sign function has . But the four-term arithmetic progression is , so choosing factors gives correlation identically one. As , the norm tends to zero. Bounded torsion, as in cyclic groups, avoids this obstruction.
Uncorrelated random variables Created 2026-09-24 Updated 2026-10-14
Uniform convergence in probability 2026-10-06
Uniform convergence in probability means that the supremum of the absolute discrepancy on the entire index set tends to zero in probability. It controls evaluation at random indices in that set, unlike pointwise convergence in probability. On a fixed compact index set it is a special case of uniform convergence on compacts in probability.
For , the maximum of on occurs at . If one parameter is one, the maximum is attained at the corresponding endpoint; if both are one, is constant. Let . Accept an independent uniform distribution proposal when another uniform draw is at most . The accepted probability density function is the beta distribution, and acceptance probability is .
Uniform labelled tree generation 2026-10-14
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]
https://sites.math.rutgers.edu/~zeilberg/Combo20/hw.html. Doron Zeilberger, Rutgers Math 454 (2020), Lecture 23: generate random labelled trees by sampling and inverting Prüfer codes
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 givesHere 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.
Uniform order statistic Created 2026-09-28 Updated 2026-10-14
For independent and identically distributed random variables with the continuous uniform distribution on , the th order statistic has Beta distributionIts probability density function, mean, and variance areThe probability density function is zero outside ; values assigned to its endpoints do not change any probability. Peter Kempthorne's MIT lecture notes derive the uniform order statistic law and these moments. [ref]
https://ocw.mit.edu/courses/18-443-statistics-for-applications-spring-2015/06daf6d78e7eb0465d6bb53e8f96b2ff_MIT18_443S15_LEC11.pdf. Peter Kempthorne, MIT 18.443, Lecture 11, slides 12–14
.For , the minimum, sample median, and sample maximum correspond to . Their probability density functions are , , and , respectively. The sample median therefore has Beta distribution , mean , and variance . Its cumulative distribution function isFor instance, . The mean of the minimum is , and the mean of the sample maximum is . The fixed observed sample median in the order statistic example is one possible outcome; is the average over repeated statistical samples from this uniform distribution.
Each curve has area one. The extreme order statistics favor the ends, while the sample median favors the center. The endpoint density height is legitimate: the probability density function gives area per unit length, rather than point probability. In particular, a continuous uniform distribution has zero probability of producing an endpoint.
For a short proof, the binomial distribution counting identity under order statistic gives . Taking its derivative cancels consecutive terms, leaving the displayed probability density function. Recognize its normalizing factorial coefficient as that of the Beta distribution, then substitute , into the Beta distribution mean and variance formulas. Although the original observations are independent, their order statistics generally are dependent; see the positive covariance of two uniform order statistics.
Uniform prior Created 2026-10-05 Updated 2026-10-14
A uniform prior on a finite-volume parameter region assigns constant probability density there and zero outside. On it is , giving a beta distribution posterior after binomial distribution data. Uniformity depends on the coordinate: a nonlinear reparametrization introduces a Jacobian and generally does not preserve a uniform density.
If independent edges of a locally finite graph receive fair orientations, exploring outward from a root tests each fresh reached-to-unreached boundary edge with success probability . Deferred decisions give exactly the exploration law of the root cluster in bond percolation of density . Thus the two reachable graph vertex sets have the same distribution. An infinite out-cluster contains an infinite simple directed ray by the König infinity lemma. Geometrically biased orientations do not generally give the same uniform edge-success law.
Uniform random permutation 2026-10-14
A uniform random permutation of distinct objects gives each of the permutations the same probability. Restricting the order to any fixed subset gives a uniform ordering on that subset. Relative ranks encode such a permutation bijectively by independent choices of an insertion position.
On a connected locally finite recurrent graph, root Wilson's algorithm at a fixed graph vertex and process a countable enumeration of the graph vertices. Every walk hits the existing tree almost surely, since it contains . Each attached graph path is finite, and the union is a connected acyclic spanning subgraph. Its law is the infinite uniform spanning tree.
It is also the common free and wired finite-volume limit of a sequence along every graph exhaustion. For a finite edge set, run a finite initial segment of the chosen enumeration containing all its endpoints. Its membership is then permanently decided, because later attachments have new internal graph vertices. Only finitely many finite random-walk trajectories were used, and their graph vertices and graph neighbours fit inside all sufficiently large exhaustion sets. Coupling then gives convergence of those finite-dimensional edge laws for both boundary conventions. Finite Wilson's algorithm is root/order independent, so the limiting law is too. There is no uniform counting measure on all infinite spanning trees; the definition is this limiting probability law.
Unitary dilation of a measurement instrument 2026-10-14
For Kraus operators satisfying , the map is an isometry. Implement it by a unitary operator on the system and a quantum ancilla, initially in an extra unused state . Projecting the output quantum ancilla onto gives joint unnormalized state . The outcome probability is , and the conditional system state is divided by this probability. The unused level can be merged into the first orthogonal projection without changing any outcome on the prepared state, giving a complete projective measurement with exactly the original outcome labels.
// Target: quantum-theory.bigb
Unitary time evolution Created 2026-09-24 Updated 2026-10-18
For a closed quantum system, unitary time evolution changes a quantum state through a unitary operator, preserving norms and inner products. For a time-independent self-adjoint Hamiltonian operator , choose the initial time as zero:Here is the reduced Planck constant. The same acts on every initial quantum state; it depends on the Hamiltonian operator and elapsed time, rather than the chosen preparation.[ref]
The self-adjointness of makes the exponential a unitary operator. In finite dimension, conjugating its matrix exponential givesThe two exponents commute because both are multiples of . Hence, for any two initial vectors,This short proof explains why normalization survives, why orthogonality of initial vectors survives, and why the transition probability between two states evolved by the same is unchanged. It does not require that a fixed measurement in quantum mechanics have time-independent probabilities: its measurement basis need not move with the quantum states.
For an unbounded self-adjoint operator, define the exponential through the spectral theorem, rather than assuming that its power series acts on every vector. It is a unitary operator on the entire Hilbert space; the strong Schrödinger equation holds for initial vectors in the operator domain . For a density operator, unitary time evolution reads . It preserves eigenvalues and purity of a density operator, but can change its entries in a fixed basis.
The useful distinction is between conserving total probability and conserving each measurement's probabilities. A fixed energy spectrum supplies different ticking rates for different probability amplitudes. Their relative quantum phases can move the Bloch vector and create quantum interference even while every energy eigenstate population stays fixed. Qubit precession under a constant Hamiltonian makes this visible; Ramsey interferometry converts the accumulated relative quantum phase into a population difference that a simple readout can detect.




