Divide the keystrokes into disjoint blocks of five, and let be the event that block is exactly HELLO. The events are independent events, and
Consequently
Part (c) shows that infinitely many of these block events occur almost surely. Each occurrence is an occurrence of HELLO in the full typed sequence, so
If , part (b) gives
Thus almost surely. By the convention in the question, this occurs exactly when . Therefore
This is the second Borel-Cantelli lemma for independent events.
Write . Independence gives, first for finite partial counts and then by monotone convergence,
Using factor by factor,
By Tonelli theorem for the nonnegative indicators,
If this is finite, then is finite almost surely: alternatively, Markov inequality gives
Since for every ,
This is the first Borel-Cantelli lemma.
Let be the expected additional number of tosses when the current terminal run contains consecutive heads. Then , and for ,
For , iterating this recurrence from down to gives
Solving,
When , the waiting time is deterministically , which is also the continuous limit of this formula as .
For the process to stop on toss , the last toss must be the th head, while the first tosses must contain exactly heads. Hence the negative binomial distribution gives
Conditioned on exactly heads, every -element set of head positions is equally likely. There are such sets. A run containing all heads can begin at any of the positions
and each beginning determines one admissible set. Thus, for ,
The number of heads has the binomial distribution. Choosing the head positions gives
When red marbles remain, the next draw reduces their number with probability . The waiting time for that reduction has a geometric distribution on and therefore
The successive waiting times are independent, and
Using the product rule for probability-generating functions,
For the geometric distribution on ,
Summing the geometric series,
For , independence gives
Therefore
The probability generating function is
Differentiating times,
At , only the term remains. Hence
A Cauchy sequence is a sequence such that for every there is for which
The general principle of convergence, or completeness of the real numbers, states that a real sequence converges if and only if it is Cauchy.
For the final claim, let . Since is decreasing and positive,
Because the series converges, its tails tend to zero. Also , so
The squeeze theorem gives
First suppose . Continuity of the natural logarithm gives . Part (a), applied to this sequence, yields
Applying the continuous exponential function,
If , then for every all sufficiently late are below . Splitting off the fixed initial product shows that the limsup of the geometric means is at most ; hence it is zero. This proves the geometric mean of a sequence result in all cases.
Now suppose
The telescoping product is
Therefore
and so
Suppose . Given , choose such that for . Then
The first term tends to zero because its numerator is fixed, and the second is at most . Thus the Cesàro mean tends to .
The converse is false. For , the Cesaro means tend to , while the original sequence alternates between and and does not converge.
No. Consider the two orthogonal projections
Their product is
For ,
Thus is not a positive semidefinite matrix. It is also not Hermitian; products of orthogonal projections need not remain orthogonal projections unless the factors commute.
Put . This is a nonzero Hermitian matrix. By the finite-dimensional spectral theorem, it has a unit eigenvector with a nonzero real eigenvalue . Define the rank-one orthogonal projection matrix
The cyclic property of the matrix trace gives
Hence this distinguishes and through the required traces.
Set
Then , and idempotence gives
Moreover,
because both and are Hermitian. This is the orthogonal decomposition into the kernel and image of the projection.
Let for a nonzero eigenvector of the Hermitian matrix . Hermitian symmetry of the inner product gives
Since , , so every eigenvalue is real.

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