Logo/
Haroune Messtefai

Shared by Haroune Messtefai

Log in

Make a lecture like this from your own PDF

Drop a PDF, slides or notes here. You'll sign up, then yours starts.

0:00 / 6:15

0:00 / 6:15Introduction to Information Theory
Information Theory & Coding — Chapter 1: Information Measure...
Haroune Messtefai

Shared by Haroune Messtefai

Summary

Information is an abstract concept that must be embedded into physical signals to be stored or transmitted. The fundamental goal of an Information Transmission System (ITS) is to move data from a source to a destination as faithfully as possible. This process involves a tension between two primary techniques: source coding, which removes redundancy to compress data, and channel coding, which adds extra bits to detect and correct transmission errors.

To quantify information, one must understand that an event carries more information if it is more surprising or uncertain. A certain event provides zero information, while a rare event provides a great deal. This concept is measured by Shannon Entropy, which calculates the average amount of information produced by a source. Entropy represents both the uncertainty and the disorder of a system; it reaches its maximum when all possible symbols are equally likely.

An ITS follows a specific workflow to balance efficiency and reliability. The transmitter compresses the data and then adds redundancy before converting the signal for transmission. The receiver then reverses these steps. The performance of these systems is evaluated using the Bit Error Rate, which measures the probability of data corruption. Ultimately, observing the output of a channel reduces the uncertainty regarding the original input, which is the primary objective of communication.

Full transcript

0:00So what actually IS information? The word comes from ancient Greek — "eidos" meaning idea, and "morphe" meaning shape or form. It's the shape of the mind. And here's the thing: information is completely abstract. You can't hold it in your hand. To store it or send it anywhere, you have to embed it into something physical — a voltage on a wire, a current through a circuit, an electromagnetic wave through the air. That physical form is what we call a signal. The signal is the vehicle, and information is the passenger.

0:35Information is everywhere around us — text messages, streaming video, phone calls, satellite images. But here's a question that took decades to answer: how do you measure information itself? What's the unit of a message? This is Chapter One of Information Theory and Coding, and we're starting with the most fundamental idea of all — how to quantify information and build a system that transmits it faithfully. We'll answer three big questions: how to represent information with the lowest possible cost — that's source coding or compression; what's the maximum rate you can push through a channel — that's channel capacity; and how to protect information against errors — that's channel coding.

1:23Here's the fundamental tension in communication. Source coding removes redundancy to compress data — think of shrinking a photo from 24 megabytes down to 2. It can be lossless, where you recover every bit, or lossy, where you accept some degradation for much smaller file sizes. Channel coding does the exact opposite: it adds redundancy. For every few bits of actual data, you add extra check bits that let the receiver detect and even correct errors. So source coding makes messages smaller and more efficient, while channel coding makes them bigger and more robust. Both are essential.

2:04An Information Transmission System — or ITS — is what makes this whole thing work. On the transmitter side, we start with a source of information. A source encoder removes any redundant data — that's compression. Then a channel encoder does the opposite: it deliberately adds redundancy so we can detect and fix errors. The modulator converts these digital bits into a physical signal for the channel. On the other end, the receiver does everything in reverse: demodulation, channel decoding, source decoding, and finally the destination gets the message. The whole system is judged by how faithfully the output matches the input. For digital systems, the key measure is the Bit Error Rate — the probability that any single bit arrives wrong.

2:57Now, since the quantity of information for each individual message is a random variable, we need its average value — and that's called Shannon Entropy. It's the average amount of information a source produces, and it's given by H of X equals the expected value of h of x, which equals the sum over all symbols of p of x_i times log base 2 of 1 over p of x_i. Entropy measures uncertainty — the more uncertain the outcome, the higher the entropy. It also measures disorder. A source that always sends the same symbol has zero entropy — no surprise, no information. A source that picks randomly among many symbols has high entropy.

3:43So how do you actually measure information? Here's the key insight: the more surprising an event, the more information it carries. If I tell you the sun rose this morning — that's certain, it gives you zero new information. But if I tell you it snowed in the Sahara desert — that's extremely rare, so it carries a lot of information. Mathematically, we define the quantity of information as h of x equals log base 2 of 1 over p of x, or equivalently, negative log base 2 of p of x. The unit is bits per message. When p of x equals 1 — a certain event — h of x is zero. And for independent events, the information adds up: h of x and y equals h of x plus h of y.

4:34Let's look at the simplest possible case — a binary source with just two symbols. If the probability of symbol one is p, then the probability of symbol two is 1 minus p. The entropy is negative p log p minus 1 minus p log of 1 minus p. When p is 0 or 1, the entropy is zero — there's no uncertainty, the outcome is guaranteed. But when p equals 0.5, the entropy reaches its maximum of 1 bit per message. That's the point of maximum uncertainty — both outcomes are equally likely. This binary entropy curve is one of the most important shapes in information theory.

5:20Entropy reaches its maximum when all symbols are equally likely. This maximum value is called the decision quantity, D of X, and it equals log base 2 of M, where M is the number of symbols. The difference between this maximum and the actual entropy is called redundancy. Absolute redundancy is D of X minus H of X. Relative redundancy is 1 minus H of X over D of X. And source efficiency is the ratio H of X over D of X — how close the source is to its maximum possible information output.

5:59Now let's look at what happens when we have two random variables — like the input and output of a channel. The joint entropy H of X and Y measures the total uncertainty of the pair. It's the double sum over all combinations of x and y of the joint probability times log of the joint probability. The conditional entropy H of X given Y measures the remaining uncertainty about X after we've observed Y. Here's the key relationship: the joint entropy equals the entropy of X plus the conditional entropy of Y given X. And crucially, H of X given Y is always less than or equal to H of X — observing the output always reduces our uncertainty about the input. That's the whole point of communication.

Ask AI about this video

Answers cite the source. Free account, no credit card.