Skip to main content

Chapter 35
Entropy as Information Dispersion

Probability and Statistics
Author: Mark Anthony Higgins
© Mark Anthony Higgins 11 October 2025
Revised Date: 15 June 2026
Audio Overview
Flow Algebra
flow "Entropy as Information Dispersion"

# ---------- CONCEPT ----------
# Entropy measures the dispersion of information — the uncertainty or spread within a probability field.
# It quantifies how evenly coherence is distributed across possible outcomes.
# High entropy means diffuse, balanced uncertainty; low entropy means concentrated, ordered coherence.

# ---------- STATES ----------
state InformationSystem(S):
  ProbabilityDistribution:
    description: "P = {p_i} or density p(x) — defines the weighting of possible outcomes."
  DiscreteEntropy:
    description: "H(P) = −∑ p_i log p_i — average information content of discrete outcomes."
  DifferentialEntropy:
    description: "h(p) = −∫ p(x) log p(x) dx — continuous analogue, measuring spread of density."
  JointEntropy:
    description: "H(X,Y) = −∑ p(x,y) log p(x,y) — uncertainty of a combined system."
  ConditionalEntropy:
    description: "H(X|Y) = H(X,Y) − H(Y) — residual uncertainty of X after knowing Y."
  MutualInformation:
    description: "I(X;Y) = H(X) + H(Y) − H(X,Y) — shared information between X and Y."
  KL_Divergence:
    description: "D_KL(P‖Q) = ∑ p_i log(p_i/q_i) — relative entropy between distributions (information gain)."

# ---------- PARAMETERS ----------
params:
  base: "logarithm base defines units: log₂ ⇒ bits, log_e ⇒ nats"
  normalisation: "∑ p_i = 1 or ∫ p(x) dx = 1"
  nonnegativity: "H(P) ≥ 0, D_KL(P‖Q) ≥ 0"
  closure: true

# ---------- INVARIANTS ----------
invariants:
  - "H(P) = −∑ p_i log p_i (discrete), h(p) = −∫ p(x) log p(x) dx (continuous)."
  - "H(P) maximised for uniform distribution: H_max = log n (n outcomes)."
  - "H(X,Y) = H(X) + H(Y|X) = H(Y) + H(X|Y)."
  - "I(X;Y) = H(X) − H(X|Y) = H(Y) − H(Y|X)."
  - "D_KL(P‖Q) = ∑ p_i log(p_i/q_i) ≥ 0, equality iff P=Q."
  - "Chain rule: H(X_1,…,X_n) = ∑ H(X_i|X_1,…,X_{i−1})."
  - "For independent variables: H(X,Y)=H(X)+H(Y)."
  - "Conditional entropy nonnegative: H(X|Y) ≥ 0."
  - "Mutual information symmetric: I(X;Y)=I(Y;X)."

# ---------- TRANSFORMS ----------
transforms:
  ComputeDiscreteEntropy(P):
    rule: "H(P) = −∑ p_i log p_i."
  ComputeDifferentialEntropy(p):
    rule: "h(p) = −∫ p(x) log p(x) dx."
  JointEntropy(X,Y):
    rule: "H(X,Y) = −∑ p(x,y) log p(x,y)."
  ConditionalEntropy(X|Y):
    rule: "H(X|Y)=H(X,Y)−H(Y)."
  MutualInformation(X,Y):
    rule: "I(X;Y)=H(X)+H(Y)−H(X,Y)."
  RelativeEntropy(P,Q):
    rule: "D_KL(P‖Q)=∑ p_i log(p_i/q_i)."
  NormaliseEntropy(H):
    rule: "H_norm = H / H_max — fractional uncertainty."
  ContinuousToDiscrete(p,bins):
    rule: "Approximate H(P_bin) ≈ h(p) + log(Δx)."
  EntropyFlowOverTime(P_t):
    rule: "Track H(P_t) as system evolves; ΔH/Δt measures information production or loss."

# ---------- MONITORS ----------
monitors:
  NormalisationCheck:
    measure: "∑ p_i or ∫ p(x) dx"
    target: 1
  NonnegativityCheck:
    measure: "H(P), D_KL(P‖Q)"
    condition: "≥ 0"
  UniformityMeasure:
    meaning: "Compare H(P) to H_max = log n; ratio shows dispersion fraction."
  IndependenceTest:
    meaning: "If H(X,Y)=H(X)+H(Y), variables independent."
  InformationFlowRate:
    measure: "dH/dt"
    meaning: "Rate of entropy change (information diffusion speed)."
  MutualInformationSymmetry:
    measure: "I(X;Y)−I(Y;X)"
    meaning: "Should equal 0 (symmetric measure)."

# ---------- EQUATIONS ----------
equations:
  - "H(P) = −\\sum_i p_i \\log p_i"
  - "h(p) = −\\int p(x) \\log p(x)\\,dx"
  - "H(X,Y) = −\\sum_{x,y} p(x,y)\\log p(x,y)"
  - "H(X|Y) = H(X,Y) − H(Y)"
  - "I(X;Y) = H(X) + H(Y) − H(X,Y)"
  - "D_{KL}(P‖Q) = \\sum_i p_i \\log \\frac{p_i}{q_i}"
  - "H_{\\text{max}} = \\log n,\\; H_{\\text{norm}} = H / H_{\\text{max}}"
  - "\\text{If independent: } H(X,Y)=H(X)+H(Y)"
  - "\\text{If deterministic: } H(X)=0"
  - "\\frac{dH}{dt} = −\\int \\dot{p}(x,t)\\log p(x,t)\\,dx"

# ---------- NOTES ----------
notes:
  - "Entropy measures how evenly coherence is distributed — it is the uncertainty embedded in a probability field."
  - "Low entropy implies structured coherence (few dominant outcomes); high entropy implies diffuse uncertainty (balanced weighting)."
  - "Mutual information measures overlap of coherence between two systems — shared predictability or dependence."
  - "KL divergence quantifies the informational distance between distributions — how much one flow of probability must shift to become another."
  - "Entropy grows when coherence spreads (diffusion of uncertainty), and decreases when information concentrates (order or structure forms)."
  - "In thermodynamic analogy, entropy corresponds to the energy of disorder; in Flow Algebra, it quantifies the spatial dispersion of coherence across possible states."
  - "Entropy dynamics describe the geometry of learning and loss — how knowledge, uncertainty, and balance evolve in probabilistic flow."
Explanatory Notes

Entropy measures how information spreads through uncertainty.
It is the quantitative language of dispersion — how evenly or unevenly coherence is distributed across possible outcomes.
Where probability describes how much weight each outcome holds, entropy describes how widely that weight is shared.

It is the balance between order and unpredictability: between structured certainty and fluid possibility.

For a discrete probability distribution P={pi}P = \{p_i\}, entropy is defined as

\[ H(P) = -\sum_i p_i \log p_i \]

Each term −log⁡pi-\log p_i represents the information content of outcome ii: how surprising it would be to observe it.
Likely events carry little information (low surprise), while unlikely events carry more.
The expectation of this quantity — weighted by probability — gives the average uncertainty of the system.

Entropy is maximised when all outcomes are equally probable:

\[ H_{\max} = \log n \]

for nn equally likely states.
In this case, the system has no preferred direction, no dominant outcome — coherence is evenly spread across all possibilities.

Entropy is minimised when all probability is concentrated in one state, pi=1p_i = 1, for which H=0H = 0.
There is no uncertainty, no dispersion, and thus no informational freedom.

In the continuous case, entropy generalises to the differential entropy

\[ h(p) = -\int p(x)\,\log p(x)\,dx \]

which measures the spread of a probability density p(x)p(x).
Unlike the discrete case, differential entropy can shift under re-scaling of coordinates, reminding us that in continuous domains, entropy depends on the level of resolution — it describes relative dispersion, not absolute information.

Entropy can also describe joint, conditional, and mutual relationships between random variables:

\[ H(X, Y) = -\sum_{x, y} p(x, y)\,\log p(x, y) \]

\[ H(X \mid Y) = H(X, Y) - H(Y) \]

\[ I(X; Y) = H(X) + H(Y) - H(X, Y) \]

Here, mutual information I(X;Y)I(X;Y) measures the shared coherence between two systems — the overlap between their uncertainties.

If XX and YY are independent, I(X;Y)=0I(X;Y) = 0; their uncertainties are separate, non-interacting flows.

If they are perfectly dependent, I(X;Y)=H(X)=H(Y)I(X;Y) = H(X) = H(Y); one fully determines the other.

Closely related is the Kullback–Leibler divergence,

\[ D_{\mathrm{KL}}(P \,\|\, Q) = \sum_i p_i \log \frac{p_i}{q_i} \]

which measures the informational distance between two distributions.
It quantifies how much one probability field must change to become another —
how many bits of rebalancing are needed to align two different states of coherence.
It is the asymmetry of information flow: zero when P=QP = Q, positive when the two differ.

Entropy and its relatives form the geometry of information — the structural relationships between knowledge, uncertainty, and order.
They provide a quantitative lens through which we can measure how much freedom a system contains, how much structure it has lost or gained, and how tightly it holds to its patterns.

Entropy increases as uncertainty diffuses; it decreases as information concentrates or constraints tighten.
In this way, it bridges thermodynamics, statistics, and inference — a universal measure of distributional balance.

In Flow Algebra, entropy represents information dispersion — the spread of coherence across possibility space.
It captures how knowledge distributes through uncertainty, how fields of probability flatten or sharpen with time, and how balance emerges from variation.

Where probability measures weight, entropy measures form: the structure of that weight across all outcomes.
Together, they define the dynamics of informational flow — how coherence expands, contracts, and equilibrates within the universe of the possible.

Entropy is not chaos.

It is freedom under constraint, the quiet equilibrium between order and uncertainty —
the measure of how a system both contains and releases information,
how coherence diffuses yet remains whole.

Related Chapters
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ