Start with . With in-place edge relaxation, the Bellman-Ford algorithm makes the following changes during its first lexicographic pass:
The next pass makes no change; any remaining fixed-count passes also make none. Thus the final vector is . These are sequential updates within a pass, rather than the simultaneous values of the Synchronous Bellman-Ford recurrence.
Part (a) gives . Therefore the ceiling function and floor function satisfy almost surely. Both are integrable, since and . Thus .
Now take expectations in :
Writing , which ranges over every , and rearranging yields
These are the zeta bounds from rounded Pareto variables: rounding below and above converts one elementary expected value into bounds on an infinite series.
The nonnegative integer-valued tail-sum formula for expectation gives
This is finite because . Here is the Riemann zeta function on its convergent real domain. The floor function is nonnegative on the support, so the tail-sum identity applies directly.
For , the event equals . Integrating the Pareto distribution's density gives
The mass formula follows by subtracting consecutive tail probabilities, or by integrating over . With the paper's convention , include the separate endpoint values and , since almost surely. Substituting into the power expression would be invalid.
The events , for , are pairwise disjoint. Their union is , and the integers form a countable set. By countable additivity,
Countability is the necessary justification: one cannot apply this argument to an arbitrary uncountable union of zero-probability singletons. This is a special case of countable sets have zero probability under a density.
Set . The preceding probability generating function becomes , identifying
Equivalently, for , . Since , also . This is the existing geometric count under Bernoulli thinning, with the zero-based convention specified.
The probability generating function of an independent random sum states that, for a nonnegative integer-valued independent of independent and identically distributed nonnegative integer-valued summands, wherever the expectations converge. Here , so, writing ,
It is valid at least for , and its power series in fact converges for .
Take an independent and identically distributed sequence with , independent of . Conditional on , the random sum has binomial distribution with parameters , including the empty sum at . This construction therefore has exactly the prescribed joint law of and represents as the required random sum.
For a literal representation that retains an already given pair , enlarge the probability space by auxiliary randomness. Conditional on , choose uniformly a size- subset of , put ones at those indices and zeros at the others, and append independent Bernoulli variables of parameter . Given , a specified length- pattern with ones has probability . Thus the entire sequence is independent and identically distributed and independent of , while its first terms sum to the original .
Differentiate the probability generating function inside its radius of convergence:
The first moment and second factorial moment are and . Consequently
In independent Bernoulli trials with success probability , counts failures before the first success. The event requires failures followed by one success, giving . This is the zero-based geometric distribution, rather than the count of trials including the success.
Put . The fixed point of this affine recurrence is . Subtracting it gives . Repeated substitution, or mathematical induction, therefore yields
For this expression applies to every . For , state the initial value separately and obtain for every , avoiding any need to interpret . The expected red imbalance decays towards zero, although the urn composition itself remains random.
Compute the conditional expectation from the possible increments:
Therefore and . This calculation uses the conditional independence of the two selections, not independence of the successive counts .
At state , urn 1 has red and blue balls, while urn 2 has red and blue balls. Conditional on the state, the two choices are independent, each assigning probability to every ball. A red–blue exchange decreases ; a blue–red exchange increases it; equal colours leave it unchanged. Thus the conditional probability mass function is
The three numerators sum to . At or , the outward transition has probability zero. These are the transitions of the Bernoulli-Laplace diffusion model. The displayed formula is a transition kernel on every state; a literal conditional probability at a particular time requires the conditioning event to have positive probability.

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