Given , there are exactly independent opportunities to stay awake, each with probability . Hence
The standard binomial distribution formulas are and . The Poisson distribution formulas are , , and therefore . By the law of total expectation,
Using the definition of covariance,
Thus and are not independent, even though the separate awake and asleep counts produced by Poisson thinning are independent.
For each student, the probability of both falling asleep and dreaming about mathematics is . These indicators are independent across students, so the same Poisson thinning calculation gives, for the requested count ,
Explicitly , the probability generating function of that Poisson distribution.
Let indicate that student stays awake. These indicators have independent Bernoulli distributions with parameter , and . The Poisson distribution has probability generating function
The probability generating function of an independent random sum now gives
Recognizing the Poisson distribution,
This is Poisson thinning.
For , condition on . Its independence from the preserves their independent common distribution, so part (ii) gives
For , this is , agreeing with . By the law of total expectation,
This proves the probability generating function of an independent random sum. For nonnegative outside , the same argument is valid whenever the right side is finite, by Tonelli's theorem for nonnegative sums. For signed or complex , a sufficient absolute-convergence condition is ; it holds automatically on . Outside this domain, mere evaluation of an analytically extended expression is not a substitute for existence of the probability generating function.
The probability generating function of a nonnegative integer-valued random variable is
using also at . It is always defined for , and indeed the power series converges absolutely for all real or complex with , because
It may be defined beyond the unit disk where this power series converges absolutely; such a larger domain depends on the distribution. In particular and .
Put . By the law of total probability,
For , termwise differentiation of the geometric series, valid inside its radius of convergence, gives
Taking therefore yields
Since , this is the zero-based geometric distribution with parameter
This illustrates Bernoulli thinning of a geometric count. Here , as .
For the reverse conditional distribution, Bayes' theorem gives, for ,
Thus
For the conditional probability is zero. The conditional distribution of is the failure-count form of a negative binomial distribution, with successes and success parameter : the geometric-binomial posterior is shifted negative binomial.
To obtain the st head on toss , the first tosses must contain exactly heads, and the last toss must be a head. There are choices of the first head positions. By independence, each such arrangement followed by a head has probability . The arrangements are disjoint, so
This is the negative binomial stopping argument, with counting all tosses up to and including the st success. It is not merely the probability of heads somewhere among tosses: the last toss is prescribed to be a head.
Since the form a partition of a set of the sample space, the events are pairwise disjoint and their set union is . By countable additivity of probability, followed by the definition of conditional probability,
Every ratio is legitimate because each . This proves the countable law of total probability.
At , , so the second-derivative test gives a strict local minimum. In fact is negative for and positive for except at , so is the global minimum as well.
At , the second-derivative test is inconclusive because . But changes from negative to positive across , while . Hence this is a stationary inflection point. Equivalently, the leading nonconstant term in the Taylor polynomial changes sign across . The paper explicitly uses “saddle point” to mean an inflection point, so in its terminology the classification is
Here the “saddle point” is a one-dimensional stationary inflection point, rather than the usual multivariable use of saddle point of a scalar function.[ref]
The relevant derivatives at are
Thus the cubic Taylor polynomial is
In fact the exact expansion is , so the omitted term has order in big O notation.
The derivative factors as
The polynomial is differentiable everywhere, so its critical points occur precisely where this derivative vanishes. Hence
Their values are and .
At , the left limit is . The right limit is because of the period-two extension. Therefore Dirichlet's theorem on Fourier series gives the Fourier series limit
Every Fourier partial sum is also exactly zero there because .
Use the period-two Fourier series convention
Away from its jumps this square wave is an odd function, so . Its Fourier sine coefficients are
Only odd Fourier harmonics remain. Therefore
The Fourier series equals away from the jumps; at a jump it gives the midpoint of the one-sided limits by Dirichlet's theorem on Fourier series. The printed definition leaves the values at the integers unspecified. Choosing finite values there consistent with period two changes neither the Fourier coefficients nor these limiting values.
Figure 1.
Odd Fourier harmonics approximate the period-two square wave and vanish at every jump
. Details.
A function is periodic with period when
The period need not be the smallest positive one; for example, every positive integer multiple of a period is also a period.
Put . Substituting and into part (ii), using , gives
Thus and . Solving these two linear equations gives
Consequently the solution of the boundary value problem is
The two independent boundary conditions determine uniquely.
For a particular solution, try . Substitution gives
Matching coefficients requires and , so and . Adding the homogeneous solution from part (i), the general solution 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