Every time you read a text message, scroll a news feed, or stream a video, you are receiving information measured in a precise unit. That unit-and the idea that information can be measured at all-comes from a single concept called information entropy. Introduced by Claude Shannon in 1948, it answers a deceptively simple question: how much information does a message actually carry, on average? For anyone studying library and information science, understanding entropy is essential, because it explains how we quantify, transmit, and preserve information in a world that runs on data.

Table of Contents

Understanding entropy: what it is and how it is calculated

At its most basic level, entropy measures the uncertainty or unpredictability in a set of possible outcomes. The concept was borrowed from physics, where entropy in statistical thermodynamics measures disorder in a system. Shannon adapted the same mathematical idea to messages and signals, and the two formulas turn out to be formally identical.

The key insight is that information is linked to surprise. A message that tells you something you already expected carries little information. A message that tells you something surprising carries a lot. Shannon was the first person to make this relationship mathematically precise, capturing it in a formula that calculates the minimum number of bits needed to communicate a message.

Consider a coin toss. If the coin is fair, heads and tails are equally likely, and you genuinely cannot predict the result. That uncertainty is maximum for a two-outcome event. The information entropy is maximised when the probability is 0.5, which corresponds exactly to the fair coin toss. In this case the entropy works out to 1 bit. That single bit can be communicated with one symbol: 1 for heads, 0 for tails.

Now imagine a trick coin that always lands heads. There is no uncertainty at all, so the outcome carries no information. Its entropy is zero. A variable that can only take one value has zero entropy, because we already know with complete certainty what it will be. This gives us the two boundaries of entropy: it ranges from zero (complete certainty) up to a maximum value set by how many equally likely outcomes exist.

Information content of a single event

Before averaging across a whole message, we measure the information of one event. This is called self-information or surprisal. The rule is straightforward: rare events carry more information than common ones. If you toss a fair coin and it lands heads, the surprise is modest. If that same coin landed on its edge-an extremely rare event-the information content would be enormous.

Self-information is calculated as the negative logarithm of the event’s probability. A fair coin toss, with a probability of 0.5, has a surprisal value of exactly 1 bit, while a sure event has a surprisal of 0. The logarithm is what gives us a useful additive property: if two independent events occur, the information from both together is simply the sum of their individual information values. This additivity is one reason the logarithmic measure feels so natural for counting information.

The role of entropy in communication systems

Shannon did not invent entropy as an abstract puzzle. He was working at Bell Telephone Laboratories on a concrete problem: how to send messages reliably and efficiently. His model defines a communication system with three elements: a source of data, a channel, and a receiver. The fundamental problem of communication, as Shannon framed it, is for the receiver to correctly identify what the source sent, based only on the signal that arrives through the channel.

Entropy enters this model in several places. Source entropy describes how much information the source produces on average. Channel capacity describes how much information the channel can reliably carry. Noise adds uncertainty during transmission. The central principle that links them is simple but powerful: reliable communication requires the channel capacity to exceed the source entropy. If you try to push more information through a channel than it can handle, some loss becomes unavoidable.

Why probability is at the centre

Entropy depends entirely on the probability distribution of the messages a source can produce. A source that sends one symbol almost all the time has low entropy, because most of its output is predictable. A source whose symbols are spread evenly across many possibilities has high entropy, because each new symbol is hard to anticipate.

This is why letter frequency matters in real languages. In English, the letter ‘e’ appears around 12 percent of the time, while ‘z’ appears around 0.07 percent. Because letters are not uniformly distributed, English text carries only about 1 to 1.5 bits per character, far less than the roughly 4.7 bits needed if all 26 letters were equally likely. That gap between actual entropy and maximum possible entropy is called redundancy, and it is precisely what allows text to be compressed.

Shannon’s equation for entropy

Shannon expressed the average information content of a source with one elegant formula. Written for a source with possible symbols each having probability p, the entropy H is the negative sum of each probability multiplied by the logarithm of that probability:

H(X) = โˆ’ ฮฃ p(x) logโ‚‚ p(x)

Each term in the sum represents one outcome’s contribution: its probability multiplied by its self-information. Adding these contributions gives a weighted average-the expected surprise across the whole distribution. In other words, entropy is nothing more than the expected value of the self-information function for a given probability distribution.

The base of the logarithm sets the unit. Using base 2 gives the answer in bits, the unit used in digital systems. Using the natural logarithm gives nats, and base 10 gives dits. Bits are the standard, because they map directly onto the binary symbols that computers and communication channels use.

A worked example with a biased coin

The formula becomes clear with numbers. For a fair coin, both outcomes have probability 0.5, so the entropy is (0.5 ร— 1 + 0.5 ร— 1) = 1 bit. Now take a biased coin where heads has probability 0.875 and tails has probability 0.125. Plugging these into the equation gives an entropy of roughly 0.544 bits. The biased coin carries less information per toss because its outcome is more predictable. The closer a distribution moves toward certainty, the lower its entropy falls.

Entropy as the limit of compression

One of Shannon’s most important results connects entropy to data compression. In his source coding theorem, he proved that entropy represents an absolute mathematical limit on how well data from a source can be losslessly compressed. You simply cannot compress data below its entropy without losing some of it.

This is not a theoretical curiosity. Modern compression formats such as ZIP and JPEG are designed around the principles of Shannon entropy, striving to approach the minimum bit count that entropy specifies. The technique is to assign short codes to frequent symbols and longer codes to rare ones, so the average code length approaches the source’s entropy. For libraries and digital archives managing enormous collections, this is the mathematical foundation behind efficient storage.

Maximising entropy for efficient communication

If entropy measures the average information per symbol, then a source that maximises its entropy is packing the most possible information into each symbol it sends. So when is entropy at its maximum?

The answer is clean: entropy is highest when every outcome is equally likely. The Shannon entropy of a discrete source reaches its maximum when its symbols follow a uniform distribution-the state of highest uncertainty. For a source with n equally likely outcomes, the maximum entropy equals logโ‚‚(n) bits. With two outcomes that is 1 bit; with four equally likely outcomes it is 2 bits; with eight it is 3 bits.

The principle of maximum entropy

This idea extends beyond communication into how we should reason under uncertainty. The principle of maximum entropy says that if nothing is known about a distribution except the class it belongs to, the distribution with the largest entropy should be chosen as the least-informative default. The motivation is that maximising entropy minimises the amount of prior assumption built into our model. We commit only to what we actually know and stay maximally uncertain about everything else.

In practical communication design, this translates into a clear goal. An efficient encoding scheme tries to make the transmitted symbols as close to uniformly distributed as possible, so that no capacity is wasted on predictability. In communication, we aim to transmit the maximum number of bits within a given period, and that means squeezing redundancy out and pushing the effective entropy of the transmitted stream toward its maximum.

Why this matters for information science

For students of library and information science, entropy is more than an equation. It underpins how search engines weigh terms, how digital repositories compress and store documents, and how networks decide how much data a link can reliably carry. Understanding that information has a measurable lower bound-and that we can never compress or transmit below it-gives a rigorous foundation for evaluating any system that creates, moves, or preserves information.

What do you think? If maximum information is carried when every outcome is equally likely, what does the high redundancy of natural human language tell us about why we communicate the way we do? And in an age of massive digital archives, where should the balance lie between compressing data to its entropy limit and keeping redundancy for safety?

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

References
  1. https://en.wikipedia.org/wiki/Entropy_(information_theory)
  2. https://www.quantamagazine.org/how-claude-shannons-concept-of-entropy-quantifies-information-20220906/
  3. https://thepalindrome.org/p/shannon-entropy-how-to-measure-information
  4. https://medium.com/@mhannan94/information-entropy-3cce2bac62a2
  5. http://www.cs.toronto.edu/~yangxu/information-theory-v3.pdf
  6. https://www.tensortonic.com/ml-math/information-theory/shannon-entropy
  7. https://www.scribd.com/document/73763776/Entropy
  8. https://rendazhang.medium.com/information-theory-series-1-entropy-and-shannon-entropy-a20a2101108e
  9. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8147137/
  10. https://en.wikipedia.org/wiki/Maximum_entropy_probability_distribution
  11. https://medium.com/@acamvproducingstudio/channel-capacity-ae7987b99cc5

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Information, Communication & Society

1 Data, Information and Knowledge – Intellectual Assets

  1. Value and Importance of Information
  2. Data, Information and Knowledge
  3. Libraries and Data, Information, and Knowledge
  4. Comparative Study of Data, Information, and Knowledge

2 Data – Definition, Types, Nature, Properties and Scope

  1. Meaning of Data
  2. Types of Data
  3. Nature and Properties of Data
  4. Scope of Data

3 Information, Definion, Types, Nature, Properties and Scope

  1. Information: Nature
  2. Information: Definitions and Concepts
  3. Information: Types
  4. Information: Properties
  5. Information Studies: Scope

4 Knowledge- Definition, Types, Nature, Properties and Scope

  1. Knowledge: Definition
  2. Knowledge: Nature, Characteristics/Properties
  3. Knowledge: Types and Scope
  4. Formation of Knowledge
  5. Origin and Growth Pattern of Disciplines
  6. Mapping of the Structure of Subjects
  7. Sociology of Knowledge
  8. Knowledge Utilisation

5 Information, Communication Process, Media and Diffusion

  1. Information
  2. Communication: Concept and Genesis
  3. Types of Communication
  4. Communication Process
  5. Information Diffusion
  6. Models of Information Diffusion Process
  7. Information System for Diffusion
  8. Gatekeeping of Technical Information

6 Generation of Information Modes and Forms

  1. Information
  2. Generation of Information
  3. Modes of Information Generation
  4. Forms of Information
  5. Impact of Information Technology on Information Generation

7 Information Theory- Measure and Contents Evaluation

  1. Approaches to Information Theory
  2. Information Basics
  3. Information Measure
  4. Information Entropy
  5. Information Communication
  6. Semantic Information Theory

8 Digital Information

  1. Nature of Digital Information
  2. Digital Fundamentals
  3. Digital Text
  4. Digitising Documents
  5. Analog to Digital Conversion
  6. Digital Audio
  7. Digital Video
  8. Digital Formats
  9. Legality of Digital Documents

9 Social Implications of Information

  1. Information /Knowledge as Social Wealth
  2. Dynamics of Change in Societies
  3. Impact of Information/Knowledge on Different Sectors
  4. Impact of IT on Libraries, Information Systems and Services and their Societal Implications
  5. Indian Society

10 Information as an Economic Resource

  1. Substance of Economics
  2. Information Economics
  3. Micro-Economics of Information
  4. Information Economy
  5. Knowledge Economy
  6. Indian Economy
  7. Economics of Information Systems and Services
  8. Relevance of Information and Knowledge Economics to Library and Information Studies

11 Information Policies- National and International

  1. Information Policy
  2. Restricted Meaning of Information
  3. Wider Meaning of Information
  4. Meaning of Policy
  5. National Information Policy: Aspects and Issues
  6. National Information Policy: India
  7. Information Policy: Efforts at International Level

12 Information Infrastructure- National and Global

  1. Information Society
  2. NEIS Goals
  3. Societal Impact
  4. Information Management Functions
  5. Infrastructure Overview: GII and NII
  6. Key Issues in GII
  7. Management of GII
  8. Network Access
  9. Home Networks
  10. Office Networks
  11. Corporate Networks
  12. GII Applications
  13. Security Issues

13 Information Society

  1. Information Society Concept: Evolution
  2. Economic Structure and Information Society
  3. Impact of Information Society on Information Profession
  4. Information Society: Developing Countries
  5. Information Society and Public Policy

14 Knowledge Society

  1. Social Transformation
  2. Features of a Knowledge Society
  3. Knowledge Economy
  4. Impact on a Few Sectors
  5. Digital Divide

15 Knowledge Management- Concepts and Tools

  1. Data, Information and Knowledge
  2. Knowledge Management (KM)
  3. Knowledge Management Systems
  4. Knowledge Products
  5. Data Mining and Text Mining

16 Knowledge Profession

  1. Knowledge Profession
  2. Normative Principles of Knowledge Resources Management and Services
  3. Emerging Knowledge-Based Environment
  4. ICTs Application Areas
  5. Knowledge Professional and Knowledge Management
  6. Knowledge Products
  7. Library and Information Science Professional as Knowledge Professional
  8. Preparing Knowledge Workers of the New Millennium