ArticleslgStudy

science

Information content

Information content is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Information content rather than just read about it. In short: In information theory, the information content, self-information, surprisal, or Shannon information is a basic quantity derived from the probability of a particular event occurring from a random variable. It can be thought of as an alternative way of expressing probability, much like odds or log-odds, but which has particular mathematical advantages in the setting of information theory.

Key takeaways

  • Information content belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Information content to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Information content from memory before moving on to harder problems.

Reference excerpt

In information theory, the information content, self-information, surprisal, or Shannon information is a basic quantity derived from the probability of a particular event occurring from a random variable. It can be thought of as an alternative way of expressing probability, much like odds or log-odds, but which has particular mathematical advantages in the setting of information theory. The Shannon information can be interpreted as quantifying the level of "surprise" of a particular outcome. As it is such a basic quantity, it also appears in several other settings, such as the length of a message needed to transmit the event given an optimal source coding of the random variable. The Shannon information is closely related to entropy, which is the expected value of the self-information of a random variable, quantifying how surprising the random variable is "on average". This is the average amount of self-information an observer would expect to gain about a random variable when measuring it. The information content can be expressed in various units of information, of which the most common is the "bit" (more formally called the shannon), as explained below. The term 'perplexity' has been used in language modelling to quantify the uncertainty inherent in a set of prospective events.

Definition Claude Shannon's definition of self-information was chosen to meet several axioms:

An event with probability 100% is perfectly unsurprising and yields no information. The less probable an event is, the more surprising it is and the more information it yields. If two independent events are measured separately, the total amount of information is the sum of the self-informations of the individual events. The detailed derivation is below, but it can be shown that there is a unique function of probability that meets these three axioms, up to a multiplicative scaling factor. Broadly, given a real number b>1 and an event x with probability P, the information content is defined as the negative log probability:I(x):=−logb[Pr⁡(x)]=−logb(P).The base b corresponds to the scaling factor above. Different choices of b correspond to different units of information: when b=2, the unit is the shannon (symbol Sh), often called a 'bit'; when b=e, the unit is the natural unit of information (symbol nat); and when b=10, the unit is the hartley (symbol Hart). Formally, given a discrete random variable X with probability mass function pX(x), the self-information of measuring X as outcome x is defined as:IX(x):=−log⁡[pX(x)]=log⁡(1pX(x)).The use of the notation IX(x) for self-information above is not universal. Since the notation I(X;Y) is also often used for the related quantity of mutual information, many authors use a lowercase hX(x) for self-entropy instead, mirroring the use of the capital H(X) for the entropy.

Properties

Monotonically decreasing function of probability For a given probability space, the measurement of rarer events are intuitively more "surprising", and yield more information content than more "common" events. Thus, self-information is a strictly decreasing monotonic function of the probability, or sometimes called an "antitonic" function. While standard probabilities are represented by real numbers in the interval [0,1], self-information values are non-negative extended real numbers in the interval [0,∞]. Specifically:

An event with probability Pr⁡(x)=1 (a certain event) has an information content of I(x)=−logb(1)=0. Its occurrence is perfectly unsurprising and reveals no new information. An event with probability Pr⁡(x)=0 (an impossible event) has an information content of I(x)=−logb(0), which is undefined but is taken to be ∞ by convention. This reflects that observing an event believed to be impossible would be infinitely surprising. This monotonic relationship is fundamental to the use of information content as a measure of uncertainty. For example, learning that a one-in-a-million lottery ticket won provides far more information than learning it lost (See also Lottery mathematics.) This also establishes an intuitive connection to concepts like statistical dispersion; events that are far from the mean or typical outcome (and thus have low probability in many common distributions) have high self-information.

Relationship to log-odds The Shannon information is closely related to the log-odds. The log-odds of an event x, with probability p(x), is defined as the logarithm of the odds, p(x)1−p(x). This can be expressed as a difference of two information content values:log-odds(x)= logb(p(x)1−p(x))= logb(p(x))−logb(1−p(x))= I(¬x) − I(x),where ¬x denotes the event not x. This expression can be interpreted as the amount of information gained (or surprise) from learning the event did not occur, minus the information gained from learning it did occur. This connection is particularly relevant in statistical modeling where log-odds are the core of the logit function and logistic regression.

Additivity of independent events The information content of two independent events is the sum of each event's information content. This property is known as additivity in mathematics. Consider two independent random variables X and Y with probability mass functions pX(x) and pY(y). The joint probability of observing the outcome (x,y) is given by the product of the individual probabilities due to independence:pX,Y(x,y)=Pr⁡(X=x,Y=y)=pX(x) pY(y)The information content of this joint event is:IX,Y(x,y)= −logb[pX,Y(x,y)]= −logb[pX(x) pY(y)]= −logb[pX(x)] − logb[pY(y)] = IX(x) + IY(y),This additivity makes information content a more mathematically convenient measure than probability in many applications, such as in coding theory where the amount of information needed to describe a sequence of independent symbols is the sum of the information needed for each symbol. The corresponding property for likelihoods is that the log-likelihood of independent events is the sum of the log-likelihoods of each event. Interpreting log-likelihood as "support" or negative surprisal (the degree to which an event supports a given model: a model is supported by an event to the extent that the event is unsurprising, given the model), this states that independent events add support: the information that the two events together provide for statistical inference is the sum of their independent information.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Information content

Start with the simplest possible case. Write down what Information content claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Information content before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Information content ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Information content

In research
Information content appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Information content in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Information content is common in secondary-school and first-year university syllabi. It links to neighbouring topics Entropy and information, Information theory, so understanding it makes those chapters shorter.
In everyday life
Look for Information content outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Information content” →

How to study Information content in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Information content means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Information content out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Information content in simple terms?

In information theory, the information content, self-information, surprisal, or Shannon information is a basic quantity derived from the probability of a particular event occurring from a random variable. It can be thought of as an alternative way of expressing probability, much like odds or log-od…

Why does Information content matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Information content?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Information content.

Tags

  • Entropy and information
  • Information theory

Keep exploring