You've navigated the predictable horrors of algorithmic control and the random assaults of stochastic processes. Now, let's get to the heart of communication in this chaotic digital age: how do we measure information itself? This is where Information Theory begins, and its first key concept is Entropy.
In Information Theory, entropy is a measure of the uncertainty or randomness of a random variable. Think of it as quantifying how "surprising" the outcome of an event is. If an event is highly predictable (like the sun rising), its outcome carries very little information, and its entropy is low. If an event is highly unpredictable (like the outcome of a fair coin flip), its outcome carries more information, and its entropy is high.
For your digital existence, entropy can be applied to things like:
Let's visualize the probability distribution of a simple random variable (like the outcome of rolling a biased die) and calculate its entropy.
Let $X$ be a discrete random variable with possible outcomes $\{x_1, x_2, \dots, x_n\}$. For example, the outcome of rolling a die ($X \in \{1, 2, 3, 4, 5, 6\}$).
For each outcome $x_i$, we need its probability, $P(X=x_i)$, denoted as $p_i$. The sum of all probabilities must equal 1: $\sum_{i=1}^{n} p_i = 1$.
Example: For a fair six-sided die, $p_i = 1/6$ for all $i$. For a biased die, the probabilities might be different (e.g., rolling a 6 is more likely).
The visualization shows a bar chart representing the probabilities of different outcomes for a hypothetical biased variable.
The Entropy of a discrete random variable $X$, denoted $H(X)$, is calculated using the following formula:
$H(X) = -\sum_{i=1}^{n} p_i \log_b(p_i)$
Where:
We typically use base 2, so entropy is in bits. The formula can be interpreted as the average amount of information gained by observing the outcome of the random variable. A higher entropy means more uncertainty and thus more information per outcome.
Algorithms aim to reduce the entropy of your behavior by making your actions more predictable. By feeding you similar content, they reduce the "surprise" of your next click, effectively lowering the entropy of your digital path.