First suppose . The interval-cover definition of Lebesgue outer measure, together with , provides bounded open intervals covering such that . If the definition uses intervals that are not open, enlarge each by an amount whose total is smaller than the available error. For the open set , countable subadditivity and additivity of Lebesgue measure give
This subtraction is valid because both measures are finite.
For arbitrary , including , set for , and choose positive weights , whose sum is one. Each has finite Lebesgue measure, so the preceding argument gives an open set with . Then is open, contains , and
Thus the required form of regularity of Lebesgue measure does not require itself to have finite measure.
The density of the rational numbers gives a countable way to separate two unequal values:
Indeed, holds exactly when some rational number lies strictly between them. Every set inside the union is a Lebesgue measurable set, by the definition of a measurable function and the closure properties of a sigma-algebra. Since is countable, the union is measurable.
Writing for the collection of Lebesgue measurable sets, saying that is a sigma-algebra means that , that whenever , and that whenever every . These properties also imply closure under countable intersections and differences.
A real-valued function is a Lebesgue measurable function precisely when the inverse image of every Borel set is in . Equivalently, it suffices to test the half-lines:
The equivalence follows because these half-lines generate the Borel sigma-algebra, and inverse images preserve complements and countable unions.
By part i, almost everywhere, while and is Lebesgue integrable. The dominated convergence theorem gives
To deduce absolute continuity of the Lebesgue integral, suppose the stated uniform conclusion failed for some . For each one could choose a measurable set with but . Applying the result just proved to this sequence contradicts the lower bound. Hence
for every measurable set .
The points belonging to infinitely many form their limit superior of sets:
For every , countable subadditivity gives
Thus . Outside this null set, each point belongs to only finitely many , so its indicator functions are eventually zero. Therefore . This is the summable-measure argument behind the first Borel-Cantelli lemma; no independence assumption is needed.
Each interval retained at stage lies inside the stage- interval from which it was cut. Taking the union over all parent components proves . Consequently the intersection defining is a nested intersection of nonempty compact sets.
The component intervals are pairwise disjoint and each has length . Finite additivity of Lebesgue measure gives
Their endpoints do not cause overlaps, because the central gaps have strictly positive length.
At stage zero there is one closed interval. At every later stage each component is replaced by two closed end intervals separated by a positive open gap. Induction therefore gives exactly pairwise disjoint closed intervals at stage . Their common length is
since the decreasing sequence starts at .
The function is Lebesgue integrable. The inequalities for give bounds that handle the two ends of the -axis differently. For ,
For ,
Tonelli's theorem therefore proves
The factors of sine suppress the near-axis contributions that caused divergence in part i.
The function is not Lebesgue integrable. Fix and restrict to , . There . Tonelli's theorem for the nonnegative absolute value gives the lower bound
The last integral diverges. Indeed, on , ; each such interval contributes at least a positive constant times . The harmonic series diverges. Hence the integral of is infinite, regardless of possible signed cancellations. One cannot infer Lebesgue integrability by formally applying Fubini's theorem to the oscillatory integrand.
Again proves Lebesgue integrability. Taking the imaginary part of the absolutely convergent complex integral in part i gives
The absolute value is bounded by , whose integral is . Thus the function is Lebesgue integrable. The complex integral of an exponential function is
Taking the real part, justified by absolute integrability, gives
The exponential series gives . Since on , the Weierstrass M-test proves uniform absolute convergence, using the summable bounds . Therefore one can integrate the series term by term over this finite interval. Using part i,
This is the alternating identity in sophomore's dream. The same estimate also proves absolute convergence of the integrated series; no cancellation is needed to justify the interchange.
For each nonnegative integer , the change of variables gives
The gamma function identity follows by repeated integration by parts. Since on , the sign of the original integrand is , so
For , the integral is one, consistent with the formula.
For , the total number of forward channel uses is , so the random code rate of a message with bits is
The independent and identically distributed random variables have finite expectation . By the strong law of large numbers,
Thus the protocol reaches the binary erasure channel channel capacity in its asymptotic forward throughput while guaranteeing zero error on every completed message. Its random transmission length and use of channel feedback distinguish it from the fixed-length channel codes in part (b). Independent erasure indicators suffice for this calculation; the message bits themselves need not be independent or uniformly distributed. At , the algorithm never produces a completed transmission, so as a completed-code rate is undefined; the physical throughput is zero.
For , the number of attempts has the geometric distribution with success probability :
The tail-sum formula for expectation gives
At , deterministically. At , and its expectation is , rather than a finite waiting time.
For , use repeat-until-success coding over an erasure channel: delete every erasure symbol from the received sequence and retain the non-erased bits in order. Each message bit contributes a string of erasures followed by exactly one correct non-erased copy. The channel encoder advances to the next bit only after this successful copy, so the retained bits are precisely . Hence
Indeed, , so each stage and the finite collection of stages terminate almost surely. The protocol uses channel feedback: Alice must know whether an erasure occurred before deciding whether to repeat. This feedback is implicit in the stated algorithm and is not counted as a forward channel use.
At , no stage ever finishes, so there is no terminating zero-error decoder for arbitrary messages. This endpoint is excluded from the operational claim above.
For fixed , the asymptotic equipartition property gives . The strong law of large numbers applied to , which are bounded because their numerical alphabet is finite, gives . The union bound therefore yields
Since , eventually . Each word in has probability mass at most , so
Rearranging proves
for sufficiently large . The key is that the factor is a fixed number below one, however small is. This is an instance of typical sets with an additional high-probability constraint.
For every , the defining typical set constraint implies
Let . Summing the lower probability mass bound over gives
Therefore
The sample mean constraint can only shrink the typical set, so this cardinality upper bound holds for every positive integer .
Choose noise values , giving exactly the outputs . The transition matrix, in that column order, is
An input probability mass function makes outputs equiprobable, so and . Hence bit per use, as required for comparison with the four-output case.
There is a strict improvement, which can also be computed exactly. Reflection of the input labels , accompanied by output reflection , leaves mutual information unchanged. Concavity of information entropy makes mutual information a concave function of the input probability mass function for a fixed transition matrix. Averaging an input law with its reflection therefore cannot decrease it. It suffices to consider
The outputs whose labels are even integers have total mass and conditional probability mass function , with information entropy . The outputs whose labels are odd integers have mass and conditional probability mass function , with information entropy one. Splitting first by output parity using the chain rule for information entropy yields
Its derivative is , and its second derivative is negative. The unique maximum occurs at , giving
This additional optimization explains the collision pattern: outputs identify input , outputs identify the two extreme inputs, and only output is ambiguous.
Figure 1.
Three original additive-noise channel diagrams: increasing noise separation changes output collisions and channel capacity
. Details.

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