Substitution of into the linear recurrence relation gives . Since , division by proves the sequence is a solution exactly when .
For a nonzero triple root of a polynomial , the repeated characteristic root of a linear recurrence rule gives the three independent solutions . One way to see the polynomial factors is to write : the recurrence becomes the third forward difference operator applied to equal to zero, so is a quadratic polynomial. Thus
These three constants give arbitrary initial values , hence the full third-order solution. If , the recurrence instead reduces to : the first three values are arbitrary and every subsequent value is zero. The nonzero-root formula must not be used to discard those initial values.
Normalization of the probability density function gives
The first two moments are
Consequently
The cumulative distribution function is on . For with the uniform distribution on , inverse transform sampling therefore uses
The inverse lies in the required interval and satisfies .
Now the event is to hit before , starting at . Up to the first of those two hitting times, translate the interval by one unit; its endpoints become and the starting point becomes . The gambler's ruin hitting probability is therefore
Stopping at is essential: using the original absorbing endpoint would answer a different event.
The initial position is . Applying the gambler's ruin hitting probability and mean hitting time gives
For comparison, the original central starting position would give probability and mean time minutes.
The homogeneous linear recurrence relation has characteristic polynomial , hence general solution . For the expected-time recurrence, rearrangement gives , for which is a particular solution. Thus
Imposing the absorbing boundary conditions from the preceding parts gives the gambler's ruin formulas
Let be the expected remaining hitting time of either endpoint, measured in minutes. The first step consumes one minute, after which first-step analysis gives
The expectation is finite: from any interior state, a block of twenty leftward steps guarantees absorption and has probability . Thus the survival probability over successive twenty-step blocks has a geometric upper bound. This justifies using finite expectations in the recurrence.
Let be the hitting probability of the right endpoint before the left endpoint, starting at . A surviving vase corresponds to that right-endpoint event. Conditioning on the first step of the simple symmetric random walk gives
The Markov property makes the remaining probability depend only on the position after that step. These absorbing endpoint values distinguish the event of interest from its complement.
Each waiting time has the geometric distribution on with success probability : a wait of length consists of failures followed by the prescribed success, so its probability is . Hence
Disjoint successive blocks of independent tosses give independent waiting times. More explicitly, any specified list of block lengths determines exactly one allowed sequence of heads and tails and has probability , the product of the individual block probabilities.
There are waiting times. Multiplication of their probability generating functions and addition of their expectations give
To recover its probability mass function, expand by the negative binomial series:
The coefficient of is therefore
and it is zero below . Equivalently there are compositions of into positive block lengths, each with probability . This is the negative binomial distribution for a sum of geometric waiting times, even though the desired outcome alternates between blocks.
For ,
Since , Markov's inequality gives , and indeed .
For any nonnegative random variable with finite expectation and any , Markov's inequality states
Indeed , and taking expectations proves the bound. Nonnegativity is essential.
First, for , the derivative of is , while . Hence .
Choose large enough that the given ratio bound holds for every . Positivity permits taking logarithms, and the preceding inequality gives
Summing, and using the integral test for convergence from part (b), gives for
Thus . Since , the P-series converges, so the comparison test for series proves
The finitely many initial terms do not affect convergence. This power-law comparison from a refined ratio bound supplies information when the ordinary ratio test can be inconclusive.
The function is decreasing and positive. Therefore on it is at most , and the Riemann integral gives
Summing from to yields
For both sides are zero; for the inequality is actually strict. The same integral test for convergence gives .
For a positive-term series, the ratio test says that if , the series converges; if the ratio tends to , including positive infinity, it diverges. More generally suffices for convergence and for divergence. A limiting ratio of one gives no conclusion.
The P-series converges and the harmonic series diverges. Both have strictly decreasing positive terms, and their successive ratios, and , tend to one. These supply the two requested possibilities.
For a real antisymmetric matrix, , so . The previous result makes every eigenvalue of real, with a real nonzero eigenvector . Moreover,
Thus every eigenvalue of is real and nonpositive.
Take real unit eigenvectors of for the respective distinct nonzero eigenvalues , where the real parameters are nonzero. Define
The displayed quadratic identity gives . Also and , because a real antisymmetric matrix has zero quadratic form. Thus and . Since commutes with , lies in the same eigenspace of as , and in the same one as . Distinct eigenspaces of the real symmetric matrix are orthogonal, so all four vectors are orthonormal. Finally,
Thus on each of the two perpendicular planes, acts as a scaled quarter-turn. This constructs the required vectors, rather than merely counting dimensions.
Use the eigenvector basis , , . The forcing has decomposition . If , the linear system reduces to
For , all coefficients are determined, giving
For , the first equation would say , so there are no solutions. For , , , and is arbitrary. Thus all solutions are
These outcomes illustrate respectively an invertible matrix, incompatible forcing outside its image of a linear map, and a compatible forcing with a nontrivial kernel of a linear map.

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