Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Glossary

Every defined term in this course, A–Z.

The unit of information from using base-2 logarithms — one bit is the information in a single fair coin flip.

channel capacity

Read the section →

The largest number of bits per use a channel can carry reliably, found by choosing the best possible input distribution.

The specific string of symbols a source code assigns to one outcome.

concave function

Read the section →

A function whose chord between any two points lies on or below the curve.

conditional entropy

Read the section →

How much uncertainty about X remains, on average, once Y is known.

convex function

Read the section →

A function whose chord between any two points lies on or above the curve.

cross-entropy

Read the section →

The average number of bits it costs to code outcomes drawn from the true distribution P, using a code built for a different distribution Q.

differential entropy

Read the section →

The continuous-variable analogue of entropy — unlike ordinary entropy it can be negative, since it isn't literally a count of bits.

The average self-information of a random variable — how uncertain its outcome is, in bits, before it's revealed.

Hamming distance

Read the section →

The number of positions where two equal-length bit-strings disagree.

Huffman coding

Read the section →

An algorithm that builds the shortest possible prefix code for a source, by repeatedly merging the two least-probable symbols.

Jensen's inequality

Read the section →

For a convex function g, E[g(X)] is at least g(E[X]); the inequality reverses for concave g.

joint entropy

Read the section →

The entropy of a pair of random variables treated as one combined outcome.

Kraft inequality

Read the section →

The exact condition on a set of proposed codeword lengths that tells you whether a prefix code with those lengths can actually exist.

Markov chain

Read the section →

A random process where the next state depends only on the current state, not on how it was reached.

mutual information

Read the section →

How many bits learning one variable's value tells you about another — the shared information between them.

prefix code

Read the section →

A code where no codeword is the beginning of another, so a decoder always knows the instant a codeword is complete.

rate-distortion function

Read the section →

The fewest bits per source symbol needed to reconstruct it within a given amount of allowed error (distortion).

relative entropy

Read the section →

A measure of how different one probability distribution is from another, never negative and zero only when they match.

self-information

Read the section →

How surprising a single outcome is, in bits — rarer outcomes carry more.

stationary distribution

Read the section →

The long-run probability split across states that a Markov chain settles into, unchanged by one more step.

transition matrix

Read the section →

A table of probabilities for moving from each state to each other state in one step of a Markov chain.

typical set

Read the section →

The (relatively small) set of length-n sequences a source is overwhelmingly likely to actually produce, each occurring with probability close to 2^{-nH(X)}.