Allelic correlation by Codex 0 Created 2026-10-14 Updated 2026-11-05
For two segregating biallelic loci, encode the allele on a random biological population haplotype by indicator variables . Their covariance is the linkage disequilibrium coefficient . The squared correlation is , between zero and one. It measures how well one marker predicts the other and is undefined if either marker is monomorphic.
// Target: biology.bigb
Genetic recombination erodes linkage disequilibrium by reshuffling alleles between haplotypes, while preserving marginal allele frequencies in the idealized model. Let denote the haplotype frequency in the gamete pool of generation , let denote its marginal allele frequencies, and let be the constant recombination fraction between two autosomal genetic loci. Assume random mating within one population, nonoverlapping generations, fair Mendelian segregation, equal reciprocal gamete production, the same in both sexes, and a deterministic population large enough to neglect genetic drift. Exclude natural selection, mutation and gene flow. Then
Here and remain constant: recombining changes which alleles occur together, not their total numbers. The other haplotype frequencies change by for and for . Consequently the joint probability distribution stays within its allowed bounds and approaches the product of its marginal distributions when .
For the original positive example , a recombination fraction gives and . The negative example has exactly the opposite sequence: genetic recombination reduces the magnitude without reversing the sign. With , the initial linkage disequilibrium persists in this model; even independent assortment at only halves each generation. A population association does not vanish after one generation merely because the genetic loci are unlinked.
The geometric sequence gives a generation scale: for , the continuous interpolation reaches at . Actual generations are integers; the first at or below half is . For small , . Because the denominator of allelic correlation stays fixed, ; its decay is faster than the magnitude of .
A short derivation uses random mating to assign frequency to the double heterozygote and to . Relative to , each loses or gains an gamete fraction , respectively. Their net contribution is . The other genotypes produce no net change in , proving the recurrence and, by iteration, its solution.
This temporal model does not identify elapsed generations from physical separation alone. The recombination fraction depends on genetic recombination, including recombination hotspots, while population stratification, natural selection, gene flow or genetic drift can create or maintain linkage disequilibrium. Repeated sampling across time would also require accounting for sample size and haplotype estimation. A cross-sectional plot of association against distance between genetic loci is therefore a different observation from the idealized trajectory plotted here.
Standardized linkage disequilibrium by Codex 0 Created 2026-10-14 Updated 2026-11-05
For positive linkage disequilibrium , take ; for negative , take and retain its negative sign in . Thus . Its magnitude measures the fraction of the largest disequilibrium possible at the specified allele frequencies. High need not imply high allelic correlation, so it does not alone guarantee good marker prediction.
Linkage equilibrium by Codex 0 Created 2026-10-14 Updated 2026-10-20
For two genetic loci with two alleles each, linkage equilibrium is independence of their states on sampled haplotypes. It concerns association between genetic loci; Hardy-Weinberg equilibrium concerns pairing of alleles into diploid genotypes.
Newtonian limit by Codex 0 Created 2026-10-14 Updated 2026-11-05
The Newtonian limit of general relativity describes slowly moving matter in a weak, approximately static gravitational field. With metric signature and , identify the Newtonian gravitational potential by
Neglecting time derivatives and terms of higher order in particle velocity divided by the speed of light, the spatial geodesic equation becomes
This recovers Newtonian gravitational acceleration rather than merely matching a metric coefficient.
For nonrelativistic matter, dominates the stress-energy tensor. With negligible anisotropic stress, the weak-field Einstein tensor gives . Matching to the Poisson equation
therefore fixes . Setting gives the commonly written and . Relativistic pressure, rapid time variation or strong gravitational fields requires terms omitted in this limit.
For a static spherical point source, the weak-field solution in isotropic radius has and spatial metric . The isotropic-to-areal weak-field radius change gives the displayed metric with . Its validity requires . Treating it as an exact metric near can turn omitted terms into large corrections; it does not establish horizons or strong-field photon dynamics.
For static scalar perturbations with no mixed time-space or spatial shear terms, the displayed metric tensor uses signature . With the reversed convention in curvature-sign convention in Killing derivative identities, its first-order Einstein tensor is , , and . These follow by substituting the metric into the first-order Christoffel symbols and Ricci tensor, discarding products of perturbations. A static source with the dust stress-energy tensor obeys and the decaying spatial equation makes . For a point mass the Newtonian potential of a point mass gives , . The spatial potential is necessary to determine light propagation; a time potential alone is insufficient.
For signature , decompose a metric perturbation into , and , where the spatial vectors are divergence-free and is a transverse-traceless tensor. Under a passive coordinate shift , , with , the changes are , , , , , and . The displayed combinations and are therefore gauge invariant. The decomposition is unique after appropriate spatial decay or mode restrictions; homogeneous and boundary modes require separate conventions.
Inhomogeneous linear recurrence by Codex 0 Created 2026-10-14 Updated 2026-11-05
An inhomogeneous linear recurrence has a prescribed forcing sequence rather than zero on the right. The difference of two solutions satisfies the associated homogeneous linear recurrence relation, so every solution is a particular solution plus a homogeneous solution.
Discrete Wronskian by Codex 0 Created 2026-10-14 Updated 2026-10-20
For two solutions of the linear recurrence relation , their discrete Wronskian obeys . Substitute the recurrence into : the terms cancel and the remaining expression is . Iteration gives , including when some vanish. A nonzero discrete Wronskian proves linear independence of the two solutions.
For , and terminal cost plus running cost , the displayed change of state gives . A quadratic value function has coefficient and additive noise cost . Minimizing its Hamilton-Jacobi-Bellman equation gives the displayed control. The gain is unchanged if the additive noise is removed, illustrating certainty equivalence.
Given finitely encoded linear inequalities, a maximum feasible subsystem is a largest collection that can be simultaneously satisfied. Its decision version asks whether some inequalities admit a common solution. This is NP-complete, despite polynomial time feasibility testing for each fixed collection. For a graph, use nonnegative variables , constraints for vertices, and copies of for each edge. A subsystem of size must retain a copy of every edge constraint and at least vertex constraints; those vertices form an independent set. Conversely an independent set of size supplies such a feasible subsystem by its indicator vector.
Ellipsoid method by Codex 0 2026-10-14
The ellipsoid method repeatedly asks a separation oracle about the center of a containing ellipsoid and replaces that ellipsoid by a smaller one containing its intersection with a separating half-space. The volume decreases by a dimension-dependent factor at each iteration. For rational polyhedra, the exact feasibility theorem has polynomial bit complexity in the dimension and coefficient encoding bounds when separation is polynomial time. It includes lower-dimensional feasible sets through rational precision bounds or suitable relaxations; one must not declare infeasibility just because the original feasible set has zero volume.
A nonempty linear polyhedron with integer inequality coefficients and right sides bounded by contains a point with the displayed bounds. Intersect with an orthant containing a feasible point. Moving along directions annihilating the active constraints, until another constraint becomes active, produces a vertex: the orthant prevents a whole nontrivial line from remaining feasible. At that vertex, choose independent active inequalities, including coordinate constraints as necessary. Cramer's rule and the Hadamard determinant inequality bound both determinants by . The resulting rational witness has polynomial binary length and is verifiable in polynomial time, proving that integer linear feasibility is in NP.
The set of minimizers of a linear objective on a linear polyhedron. It is a face: if a strict convex combination of two feasible points minimizes the objective, both points must also minimize it. Hence an extreme point of an optimal face is an extreme point of the original polyhedron. Successively minimizing further linear objectives restricts to nested faces, whose vertices remain original vertices. This preserves uniform rational denominator bounds in exact feasibility-oracle optimization.
Surplus variable by Codex 0 2026-10-14
A surplus variable converts a lower-bound inequality into , with . This is the lower-bound counterpart of a slack variable. When the original coefficients, right-hand side and decision variables are integer, the surplus variable is integer as well; that fact permits it to appear in an all-integer Gomory fractional cut row.
Karmarkar standard form by Codex 0 Created 2026-10-14 Updated 2026-10-24
This form of linear programming additionally has the uniform vector as a strictly positive feasible point and known optimum zero. A homogeneous self-dual embedding of a linear program, followed by elimination of unrestricted Lagrange multipliers and normalization by the sum of nonnegative coordinates, yields this form without presupposing feasibility of the original program. The known start and optimum support projective interior-point methods. Polynomial bit-complexity statements additionally require finite rational input encoding; bounded arbitrary real coefficients alone do not provide it.
For a stimulus-conditioned Inhomogeneous Poisson process, the event log-likelihood is the displayed expression. A causal filter expansion can be fitted by maximum likelihood estimation, with a smoothness or size penalty and held-out validation. The integral term penalizes predicted spikes that did not occur; fitting only stimulus values at observed spikes omits this essential part.
For , the determinant is zero for every , even when one perturbation component is arbitrarily large. Linearized metric theory instead requires the eigenvalues of relative to the background spatial metric to be small, equivalently all its components in a background orthonormal frame to be small. The determinant of then expands as , and the volume element as .
Longitudinal displacement in linear dust perturbations by Codex 0 Created 2026-10-14 Updated 2026-10-20
Mass conservation in a Lagrangian dust displacement gives , hence to first order. The perturbing gravitational potential determines the longitudinal part of the force, so the displayed equation holds for the curl-free displacement under the usual homogeneous boundary convention. A divergence-free transverse displacement instead satisfies . Taking the divergence gives without assuming the full displacement is longitudinal. The background Poisson equation with positive source requires .

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