Put and . Since is a function of , the chain rule for information entropy and part (c) give
Part (a), applied to the nonnegative integer-valued random variable , yields
The logarithm inequality implies . Thus
Part (c) also gives , so monotonicity of the logarithm lets us replace by . Rearranging proves
Monotonicity of the ordered probabilities gives , so . Consequently
Given , the source symbol can take at most values. The maximum entropy distribution on a finite set is uniform, hence
Averaging this conditional entropy inequality proves
Order the symbols so that . For each , there are exactly binary strings of length , while precisely the indices
satisfy . Assign those symbols bijectively to the strings of length . The resulting map is an injective function and hence a one-to-one source code, with . Assigning shorter available words to more probable symbols also shows that this is an optimal one-to-one binary code.
For , let be the geometric distribution
If is the law of , Gibbs inequality gives
Therefore
For , the nonnegative random variable is zero almost surely and both sides vanish. This proves that the maximum entropy distribution on the nonnegative integers with fixed expected value is geometric.
Let and define the exponentially tilted probability mass function
For this choice every ratio equals , so equality holds in the Jensen inequality used in part (d). Hence
and is the maximizer. This is the finite-alphabet Gibbs variational principle for relative entropy.
Writing for the laws of , respectively, and using Jensen inequality for the concave natural logarithm,
This is the lower-bound half of the Gibbs variational principle for relative entropy.
The elementary logarithm inequality gives
Since ,
This proves , relating relative entropy to chi-squared divergence.
Let be a Markov kernel, and let , be the output probability distributions. Applying the log-sum inequality for each to and gives
Summing over and using yields the data processing inequality for relative entropy
For nonnegative numbers , put and . The log-sum inequality is
with and the usual extended-value convention when a denominator vanishes. Equality holds precisely when is constant over the indices with .
Here . The method of types gives at most possible values of type, and a type class has
Every type in has , so
The polynomial prefactor has zero exponential rate. Therefore
Let
The minimum exists because the probability simplex is compact. Let be the information projection of onto the closed convex set . Its Pythagorean inequality says that every satisfies
For a string of type , this gives
Summing over the decision region proves the exact bound
The Neyman-Pearson decision region accepting is
with randomization on the boundary when needed. If is the type of the observed string, then
Thus the equivalent relative entropy form is
Let be probability mass functions on a finite alphabet, with absolutely continuous with respect to . A decision region accepts the null law . Write
for its type-I and type-II errors. Stein's lemma states that for every fixed ,
where logarithms and relative entropy use base two.
For achievability, let
Under , the normalized log-likelihood ratio converges in probability to by the weak law of large numbers, so . On , , whence .
For the converse, let
Again . If , then
The final factor has positive lower limit at least . Taking exponential rates and then proves the converse and the lemma.
For independent , expand the Entropic Ruzsa sum-difference inequality from part (d):
Collecting the information entropy terms gives
Replacing by interchanges sum and difference and preserves , yielding the requested orientation
Let be independent, with distributed as . Apply part (b) to :
Adding an independent random variable cannot decrease information entropy, so
In terms of Entropic Ruzsa distance, this is . The Entropic Ruzsa triangle inequality and invariance under simultaneous negation now give
which is the Entropic Ruzsa sum-difference inequality.
Because the Entropic Ruzsa distance depends only on marginal distributions, take independent with the required marginals. Since is a function of , the data processing inequality for mutual information yields
The map is a bijection. Using independence and the chain rule for information entropy, the left side is
whereas the right side is . Hence
where the final step is subadditivity of information entropy. Substituting this inequality into the definition of gives the Entropic Ruzsa triangle inequality
Independence makes
a Markov chain. The data processing inequality for mutual information therefore gives . Translation by the known value of is a bijection, so conditional entropy and independence give
and . Rearranging proves the stated entropy submodularity for three independent sums:
Suppose is a Markov chain, so . The chain rule for mutual information gives
and also
because conditional mutual information is nonnegative. Therefore . Similarly,
while , so . These are the two data processing inequalities. In particular, applying any deterministic function or Markov kernel to either argument cannot increase mutual information.
Now both the number of groups and their size equal . A group mean is approximately , whose density at is approximately . The asymptotic distribution of a sample median based on such values therefore has variance
This suggests the conjecture
provided a sufficiently uniform central and local limit approximation controls the triangular array.
Write and . The central limit theorem gives jointly
where the are independent standard normal variables. Hence
Its limiting cumulative distribution function is

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact