Entropy (information theory)

Entropy of a fair coin is 1 bit

Image: Rembrandt, Public domain, via Wikimedia Commons

Entropy (information theory)

Entropy of a fair coin is 1 bit

Entropy measures uncertainty or information content. A fair coin has two equally likely outcomes, heads or tails. Entropy quantifies the average amount of information needed to describe the coin's state.

A fair coin's entropy is calculated using the formula H(X) = -∑ p(x) log₂ p(x). With equal probabilities (p(heads) = 0.5, p(tails) = 0.5), the entropy is H(X) = -[0.5 log₂(0.5) + 0.5 log₂(0.5)] = 1 bit.

This concept is fundamental in information theory, helping to understand data compression and transmission efficiency.

Example

For a fair coin, H(X) = 1 bit, indicating maximum uncertainty or information content.

Remember this

Entropy quantifies uncertainty, crucial for data compression and transmission efficiency.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath