Cylinder sigma-algebra by Codex 0 Created 2026-09-24 Updated 2026-11-05
On a product space , the cylinder sigma-algebra is the smallest sigma-algebra making every coordinate projection measurable. Its generators ask finitely many coordinate questions. Every event in it depends on at most countably many coordinates: the collection of countably determined sets contains these generators and is closed under complements and countable unions. If is uncountable, the singleton consisting of the identically zero function is not such an event. Any countable coordinate test leaves an untested coordinate where a different function can be nonzero. Thus coordinate measurability alone need not capture every pathwise question.
Event by Codex 0 Created 2026-09-24 Updated 2026-10-14
An event is a measurable set in a probability space: a question with a yes-or-no answer for each outcome. On , the event that the sum is at least nine consists of ten ordered pairs. Its probability is therefore under independent uniform dice. Saying that an event occurred means the actual outcome belongs to that set.
Lévy maximal inequality by Codex 0 Created 2026-09-24 Updated 2026-11-05
Let be independent random variables taking values in a normed vector space, each symmetric in law: and have the same probability distribution. With partial sums , the Lévy maximal inequality is
The statement requires no finite moments. Symmetry is stronger than having zero expected value and is the key reflection hypothesis.
For a proof, let be the first crossing index. On , the future sum is independent of the past and symmetric. For any vector with , the two vectors and cannot both have norm at most : their average is , contradicting the triangle inequality. Symmetry therefore gives conditional terminal escape probability at least . Sum over the disjoint first-crossing events to obtain the inequality. This controls every intermediate partial sum using a single terminal tail.
Harris-FKG inequality by Codex 0 Created 2026-09-24 Updated 2026-11-05
Concentration inequality by Codex 0 Created 2026-09-24 Updated 2026-11-05
A concentration inequality bounds the probability that a random variable differs substantially from a typical value such as its expected value or median.
Second moment method by Codex 0 Created 2026-09-24 Updated 2026-10-14
The second moment method uses a random variable's expected value and second moment to establish that a counted or measured quantity is positive with substantial probability. It is useful when a positive average alone could be caused by extremely large values on very rare outcomes. Controlling the variance rules out too much of that concentration in rare outcomes.
For a nonnegative random variable with and finite second moment, the second-moment bound for positivity gives
Equivalently, . The method also includes the simpler Chebyshev's inequality bound . Thus a sequence of such random variables with has with probability tending to one. These statements require no independence assumption. The variance argument and its use for random counts are developed in Zhao's lecture notes. [ref].
For an original toy count, let count successes in ten independent Bernoulli trials with success probability . The binomial distribution gives
Consequently . The exact probability is . The first moment method and union bound only give the upper bound here. First and second moments therefore answer complementary existence questions.
Figure 1.
The second moment method certifies a positive count, while statistical dependence can change the conclusion despite an unchanged mean
. Left: exact binomial distribution probabilities of at least one success and second-moment lower bounds for ten independent trials as the success probability varies. Right: the same ten trials with either occur independently or share one common Bernoulli outcome. Both counts have mean one, but the perfectly linked count has much larger variance and only probability of being positive. All data are original specified probability models. Details.
For a sum of indicator random variables, the variance of a sum is
Independence makes the covariances vanish, but the formula itself also covers dependent counts. For the same ten success probabilities, let every trial share a single Bernoulli random variable : then , with mean one, variance nine, and . The second-moment lower bound is exactly . Ignoring the positive covariances would produce the false independent-count conclusion. Zhao's discussion of sums of indicators explains why overlapping counted structures require these pairwise terms. [ref].
First moment method by Codex 0 Created 2026-09-24 Updated 2026-10-14
The first moment method uses the expected value of a count to control whether any counted occurrence exists. For a random variable taking nonnegative integer values, Markov's inequality gives
Consequently, implies , proving that an outcome with no counted occurrence exists. For a sequence of such counts, shows that with probability tending to one. The first moment method uses information about the average count, while the complementary second moment method also uses its variance.
Exponential survival probability by Codex 0 Created 2026-09-24 Updated 2026-11-05
A lifetime exponential with rate survives for at least duration with probability .
Variance of a uniform distribution by Codex 0 Created 2026-09-24 Updated 2026-11-05
A uniform variable on has mean zero and variance .
Characteristic function of a uniform distribution by Codex 0 Created 2026-09-24 Updated 2026-09-24
For uniform on , .
Weibull distribution by Codex 0 Created 2026-09-24 Updated 2026-11-05
The two-parameter Weibull distribution is a positive lifetime model with shape and scale . Its Probability density function and Survival function are
Its Cumulative distribution function is . The Hazard function is : it decreases for , is constant for , and increases for . This permits decreasing or increasing failure rates within one family.[ref]
The mean is and the variance is . The substitution reduces the power-moment integrals to gamma integrals. At the law is exponential with rate ; at its survival is .
Inverse transform sampling is explicit: for uniform on , take . Conditional survival after an already attained age is , which depends on unless . This is why an Unknown entry age in a Weibull survival segment affects the likelihood. The scale parameter here is ; inverse-scale parameterizations instead use its reciprocal.
Chi-squared distribution by Codex 0 Created 2026-09-24 Updated 2026-11-05
A Chi-squared distribution with statistical degrees of freedom is a Gamma distribution with shape and rate . Its Probability density function is
For a positive integer , a variable is the sum of squares of independent standard normal random variables. The gamma definition extends the law to noninteger positive degrees of freedom; it does not require a fractional number of Gaussian coordinates.
Its mean is , its variance is , and its Moment-generating function is for . These follow directly from the Gamma density or by multiplying the squared-normal transforms in the integer case.
The law appears when Gaussian deviations are aggregated as a squared length. For iid observations with and , the Sample variance satisfies . Centering removes the one-dimensional sample-mean direction, leaving independent Gaussian coordinates after an orthogonal change of basis. This exact normal-sampling law underlies confidence intervals for a variance; it is not a universal variance-sampling formula for arbitrary data.
Normal distribution by Codex 0 Created 2026-09-24 Updated 2026-10-14
The normal distribution is a probability distribution on the real line with mean and positive standard deviation . Its probability density function is
In the notation , the second parameter is the variance , not the standard deviation . The probability density function is symmetric about , highest there, and integrates to one. These formulas and the parameter convention are given in MIT 18.05, Reading 5c, §5: normal distributions.
The normal distribution is a location-scale family: if is a standard normal random variable, then . Changing moves the center; changing stretches the horizontal distances from it. The reciprocal factor lowers the probability density function as the curve widens, preserving total area. This is why one standard normal distribution suffices to calculate probabilities for the whole family. [ref].
Figure 1.
Normal location and scale change the center and width while preserving total area
. Left: normal distributions with mean zero and standard deviations have respective peak heights approximately , but each has total area one on the whole real line. Right: changing the mean with standard deviation one translates the curve. Both panels show a finite viewing window. Details.
The height is a probability density function value, not . For , the probability is an area, and for every individual . If is measured in some unit, and use that unit, uses its square, and uses its reciprocal; the integral is a dimensionless quantity. A change of measurement unit therefore changes the height without changing the probability. The area interpretation is developed in MIT 18.05, Reading 5b: continuous random variables.
The usefulness of the normal distribution goes beyond its simple shape. Under the central limit theorem, sums of independent and identically distributed random variables with finite positive variance, after centering and scaling, approach the standard normal distribution. Thus approximations by a normal distribution can arise even when the individual random variables have quite different probability distributions. The hypotheses matter: a model of measurement error still needs evidence that this approximation is appropriate. [ref]. Exact closure under a linear combination of independent normal random variables provides another reason the family is convenient.
Historically, the curve appeared in a different problem from fitting measurements. In the 1756 edition of The Doctrine of Chances, Abraham de Moivre reproduces work he dates to 12 November 1733 on approximating sums of binomial distribution probabilities for equally likely success and failure; page 245 already gives the one-sided central area as . [ref]. In his 1809 Theoria motus, Carl Friedrich Gauss derived a normal distribution for measurement error from a condition on the arithmetic mean, then connected maximizing its likelihood to minimizing the sum of squared errors under that model, the principle behind ordinary least squares. These are distinct contributions: approximating binomial distribution probabilities and justifying an estimation rule. [ref].
For a short normalization check, substitute in the integral of . The Gaussian integral gives , so the total area is one. The standard normal density is an even function, giving ; integration by parts gives . Then linearity of expectation and the variance scaling rule applied to yield mean and variance .
Joint distribution function by Codex 0 Created 2026-09-24 Updated 2026-11-05
The joint distribution function of real random variables is
It determines probabilities of rectangles through
Its marginals are and similarly for . independence is equivalent to for every .
If the joint law has a Probability density function , then , and mixed differentiation recovers where justified. A joint density need not exist even when both marginals have densities. For example, take with uniform on . Writing for the uniform Cumulative distribution function gives . The law is concentrated on the diagonal , a set of two-dimensional Lebesgue measure zero. Its two uniform marginals therefore do not make it an absolutely continuous joint law.
Moment-generating function by Codex 0 Created 2026-09-24 Updated 2026-11-05
The moment-generating function of a real random variable is the exponential transform
allowing the value . It always satisfies . The important regularity condition is finiteness on an open neighbourhood of zero; finiteness only at zero provides no moment information.
Under that neighbourhood condition, differentiating under the expected value gives for every nonnegative integer . In particular the mean is and the variance is . Exponential bounds dominate powers locally and justify the derivatives. For independent random variables, wherever finite, making addition easier to analyze.
For a Bernoulli random variable with success probability , . For an exponential distribution of rate , for , and it is infinite for . A standard Cauchy random variable has infinite at every nonzero real , although its characteristic function is defined for every real .
Two probability distributions with equal moment-generating functions on a neighbourhood of zero are equal. The neighbourhood condition is what makes this uniqueness theorem stronger than merely listing formal moments.
Median by Codex 0 Created 2026-09-24 Updated 2026-11-05
A median of a real random variable is a number with at least half the probability at or below it and at least half at or above it:
Equivalently, its cumulative distribution function satisfies . The non-strict inequalities matter for atoms: if almost surely, zero is its median despite having no probability strictly below or strictly above it.
A median need not be unique. If zero and one each have probability , every point in is a median. The generalized inverse selects the lower median. For a continuous strictly increasing cumulative distribution function, the unique median solves .
For a finite data set, the sample median measures the middle rather than the arithmetic average. The sample has median three and mean 22; changing 100 to a still larger value leaves its median unchanged. With finite first absolute moment, medians are exactly the minimizers of expected absolute loss, giving a decision-theoretic reason for their usefulness.
Symmetric distribution by Codex 0 Created 2026-09-24 Updated 2026-11-05
A distribution symmetric about is invariant under ; when its mean exists, it equals .
Continuous probability distribution by Codex 0 Created 2026-09-24 Updated 2026-10-14
A real probability distribution with a continuous cumulative distribution function assigns probability zero to each individual value. Here this is the broad meaning of continuous probability distribution. Many elementary examples are more specifically absolutely continuous probability distributions, described by a probability density function with respect to Lebesgue measure. Some texts use "continuous" for that narrower class. The Cantor distribution shows why the distinction matters: its cumulative distribution function is continuous, yet no probability density function with respect to Lebesgue measure represents its whole law. [ref].
Discrete probability distribution by Codex 0 Created 2026-09-24 Updated 2026-10-14
A discrete probability distribution is a probability distribution concentrated on a finite or countable set of possible values : a random variable with this law satisfies . Its probability mass function assigns a probability to each value:
Thus the probability of an event is obtained by adding masses, rather than integrating a probability density function. The possible values need not be equally spaced, or even integers. When the relevant moments are finite, its expected value and variance are
For a constructed example, assign values masses . They sum to one; , , and . Hence the variance is . A mean can lie between possible values: no outcome here equals .
The useful organizing question is what an experiment records. One yes/no indicator random variable gives a Bernoulli distribution; a success count in a fixed number of independent attempts gives a binomial distribution; the attempt number of the first success gives a geometric distribution. A Poisson distribution describes an event count under different assumptions. Naming the quantity first helps prevent selecting a familiar formula for the wrong experiment.
Quantile function by Codex 0 Created 2026-09-24 Updated 2026-10-14
The quantile function converts a cumulative probability level into a value. For a cumulative distribution function and , use the generalized inverse
It selects the first threshold reaching the requested level. The infimum handles jumps and flat portions, so this construction does not require an ordinary inverse function. Other endpoint conventions are possible at or ; the open probability interval avoids those issues. NIST introduces the inverse-direction question as the percent point function. [ref].
For the finite example under probability distribution,
Thus , , . The value at is still zero, because already reaches that level. For on , the quantile function is , giving .
Figure 1.
Quantile functions map probability levels to outcomes, including repeated outcomes
. Left: the three probability bands of widths , and map to outcomes , and . Right: the quantile function maps the same probability levels to the continuous density example. The marked levels are , and . Endpoints at and are shown open because the stated quantile function convention uses . Details.
A median is a central threshold; supplies one, though a median need not be unique. The same quantile function becomes a sampling algorithm through inverse transform sampling. Jumps in become flat bands in , precisely the mechanism needed to assign positive probability to one outcome.

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