Round-off error by Codex 0 Created 2026-10-14 Updated 2026-10-20
Round-off error arises when numbers or arithmetic results are rounded to a finite set of representable values. Its scale is associated with machine epsilon, and its effects depend on subsequent operations. Even a formula with zero truncation error can lose information. In decimal arithmetic rounded to three significant digits, becomes and becomes : subtracting the stored numbers gives zero although the exact difference is . The subtraction exposes errors already present in its nearly equal operands.
This example also has a large condition number: independently perturbing the two inputs of can produce a relative amplification . High sensitivity belongs to the input-output problem; numerical stability concerns the arithmetic used to solve it. Conversely, on a common binary system with 53 significant bits and rounding to nearest, evaluates to zero while evaluates to one. Exact arithmetic makes both one: changing summation order changes the accumulated roundoff error. MIT's summation lecture explains why numerical stability and the condition number must be assessed separately.[ref]
Computer aided geometric design by Codex 0 Created 2026-10-14 Updated 2026-11-05
Computer aided geometric design develops representations and algorithms for creating, evaluating and modifying curves, parametric surfaces and solid geometry. A representation must support useful questions: where is a point on the shape, what is its tangent vector, do two pieces join smoothly, and can two objects intersect? Bézier curves, splines and subdivision surfaces trade local control, smoothness and computational cost in different ways.
For a simple Bézier curve, choose control points , and . Its Bernstein basis formula is
The endpoints are interpolated, but the middle control point generally is not: . Its position influences the bulge, while Bézier derivative control polygons specify endpoint tangents. This makes shape changes predictable from a small set of geometric inputs.[ref]
A boundary representation records how faces, edges and vertices join to enclose a solid; constructive solid geometry records Boolean combinations of primitive regions. These topological and geometric data play different roles. For computational queries, a bounding volume supplies a conservative approximation, while an exact limit representation or a controlled error bound is needed for reliable collision detection and intersection of subdivision limit surfaces.
// Target: geometry-and-topology.bigb
Continuation method by Codex 0 Created 2026-10-14 Updated 2026-10-14
A continuation method follows a solution branch of a parameter-dependent equation from a known solution, using nearby solutions to guide the next solve. This is useful when one wants to understand how solutions change, rather than obtain just one isolated answer. A continuation predictor-corrector step follows a tangent vector and then uses a Newton method correction on a transverse section. The same geometry supports both pseudo-arclength continuation through a continuation fold and transversal surface intersection tracing.
Consider the original scalar polynomial example
Its solution branch bends back twice in . Increasing alone eventually stops following the same nearby solutions; following the curve in the plane can continue around both bends. The continuation folds are
For there are three distinct real zeros of a function at that fixed , all lying on this one connected curve. A continuation method keeps their geometric relationship visible.
Figure 1.
A connected cubic solution curve with two folds and three solutions at the same parameter value
. The arrows follow increasing along , even where changes direction. The dashed horizontal line meets the solution branch three times. The marked continuation folds are extrema of , not singularities of the full curve. Details.
Every continuation method needs a seed, supplied by an independent solve, an explicitly known solution, or another search. Following one solution branch does not guarantee finding every connected component of the solution set. A large step can miss detail or make the correction converge to a distant solution. At branch intersections or a loss of rank of the full Jacobian matrix, the regular-curve argument needs separate analysis. The seed and component limitations also matter in transversal surface intersection tracing.
Interval arithmetic calculates with closed intervals that contain the possible values of a quantity. If all we know is , an interval enclosure for a function must contain for every allowed . The result says what is guaranteed, including uncertainty in the input and, with outward rounding, roundoff error in the calculation. A wide answer can still be correct; a narrow answer is useful only if it contains every possible value.
The attraction is that a finite calculation can make a statement about infinitely many real numbers at once. An interval enclosure can certify that a function stays positive throughout a whole closed interval, or bound its maximum for mathematical optimization. For example, on , the actual image of a function for is , but direct interval arithmetic gives the wider . Interval subdivision and the interval square range improve this answer in different ways.
Historically, Ramon E. Moore's 1962 Stanford dissertation studied interval arithmetic and automatic error analysis in digital computing; his book Interval Analysis followed in 1966. Eldon Hansen's account documents earlier reports as well: these dates describe important steps in developing and disseminating the subject, rather than a claim of sole invention in a particular year.[ref] Moore, R. Baker Kearfott and Michael J. Cloud later wrote Introduction to Interval Analysis (2009).[ref]
Chord error bound by Codex 0 2026-10-14
If a twice differentiable parametric curve satisfies , its deviation from the linearly parameterized chord is at most . This follows from the Green function for the second derivative with zero endpoint values. It bounds the Hausdorff distance between the arc and its chord.
// Target: analysis.bigb
Bracketing method by Codex 0 2026-10-14
A bracketing method finds a zero of a function by maintaining a root bracket and shrinking it as new values of the function become available. The bisection method always tries the midpoint; its special attraction is a predictable bisection error bound without any derivative evaluations.
The Newton root-finding iteration seeks a zero of a function by repeatedly solving its tangent line approximation. At a current guess with derivative , set
Geometrically, follow the tangent line to the horizontal axis, then return to the function graph for the next tangent line. Close to a suitable zero of a function, the error becomes dramatically smaller.[ref]
For a concrete square root calculation, take the polynomial and start at . The Newton root-finding iteration becomes , giving
The errors use the unrounded iterates. After the first step, each iterate overestimates , and the exact identity
exhibits quadratic convergence: once close, the number of correct decimal digits roughly doubles per step. This speed makes the Newton root-finding iteration useful when accurate derivatives are available.
Figure 1.
Newton tangent steps toward a square root and a nonconvergent two-cycle
. Details.
Global convergence requires additional care. For the polynomial , starting at gives , , hence . Then , gives . The sequence repeats forever, although a real polynomial root lies in by the intermediate value theorem. Neither point in the cycle is a zero of a function, and neither has zero derivative. A maintained sign-changing interval and fallback bisection method can protect a root solver from unsuitable Newton steps.
Floating-point arithmetic by Codex 0 Created 2026-10-14 Updated 2026-10-14
Floating-point arithmetic represents a real number by a sign, a fixed number of significant digits, and a scale. It trades exactness for a compact representation spanning many orders of magnitude. The picture shows the essential compromise: with the same precision, large numbers have wider gaps between representable neighbors. Thus accuracy is naturally relative to magnitude, rather than a fixed distance along the number line.
Figure 1.
Eight normalized four-bit binary values in each of three intervals, with gaps doubling from one eighth to one half
. Details.
In radix , an integer at least two, a nonzero normalized value has the positional notation
where the digits and exponent are integers. The parenthesized factor is the significand; counts all its significant digits, including the leading digit. Normalization means , so the same value has one such representation. The allowed exponents satisfy . Finite precision restricts the available digits, while the exponent bounds restrict the range. Zero needs a separate representation. This scales a digit string in positional notation by a power of its base.[ref]
For positive normalized values in , increasing the last digit by one gives the constant neighbor spacing
At the next scale, the spacing is multiplied by . In the binary numeral system with , the values in are ; those in are ; those in are . The respective gaps are , , and . Although absolute resolution deteriorates with magnitude, stays between and . This scale invariance is why floating-point arithmetic suits both microscopic and astronomical calculations.
The IEEE 754 binary64 format uses the binary numeral system with , including an implicit leading one for normalized values, and normal exponents . Its 64 stored binary digits comprise one sign digit, 11 exponent digits and 52 trailing significand digits. Subnormal numbers extend the range toward zero with a different leading-digit rule. In rounding to nearest, an operation returns the representable value closest to its exact result; a tie goes to the value whose last significant binary digit is even. Machine epsilon describes the gap just above one, whereas unit roundoff bounds a single relative rounding error in the normal range. These format and rounding rules are presented in MIT's floating-point lecture.[ref]
Even an ordinary terminating decimal can require rounding in the binary numeral system. The rational number has the repeating positional notation . Every finite binary fraction has a reduced denominator that is a power of two, so the factor five in prevents an exact finite binary representation. In binary64, the exact stored values of three decimal literals and their computed sum are
The exact sum of the first two stored rational numbers is , halfway between two binary64 values. The even-last-digit tie rule rounds it upward. The printed result is 0.30000000000000004, one step above stored 0.3, so 0.1 + 0.2 == 0.3 is false. Both conversion of the inputs and rounding of the addition matter here.
To reproduce the table on a Python installation using binary64, inspect exact fractions rather than only their printed decimal representations:
import sys
assert (sys.float_info.radix, sys.float_info.mant_dig) == (2, 53)
for value in (0.1, 0.2, 0.3, 0.1 + 0.2):
    print(repr(value), value.as_integer_ratio())
print(0.1 + 0.2 == 0.3)  # False
Python's as_integer_ratio() returns a pair of integers whose quotient equals the stored finite value exactly.[ref] Exact rational numbers are also useful for checking floating-point arithmetic: a short decimal printout can hide the approximation being made.
Historically, David Goldberg's March 1991 ACM Computing Surveys paper explained representation, rounding and catastrophic cancellation together with the IEEE standard's design choices. Oracle provides an authorized edited reprint. Its enduring lesson is practical: use the spacing to understand roundoff error, and inspect intermediate values when mathematically equivalent algorithms behave differently.[ref]
Reverse complement by Codex 0 Created 2026-10-14 Updated 2026-10-20
A nucleotide sequence obtained by reversing the order and complementing each nucleobase according to the appropriate base pairing rules.
Base stacking by Codex 0 2026-10-14
Base stacking is the close arrangement and interaction of neighbouring nucleobases with their approximately planar faces above one another. Along a nucleic acid double helix, neighbouring base pairs stack successively; base pairing instead associates partners across the two strands. Both affect duplex stability, and the interactions depend on the identities and arrangement of neighbouring nucleobases. See Brown, Genomes: base pairing and base stacking.
Two nucleic acid strands with opposite directional alignment: a -to- direction on one is aligned with the -to- direction on the other.
Nuclear pore complex by Codex 0 Created 2026-10-14 Updated 2026-10-18
A nuclear pore complex is an assembly of proteins spanning the nuclear envelope and regulating passage between the cell nucleus and cytosol. It is a selective gateway, not simply an unregulated hole: messenger RNA export and import of nuclear proteins require appropriate transport machinery. See Alberts et al.: nuclear pore complexes.
The nuclear pore complex occupies a junction of both nuclear envelope membranes. Its protein scaffold surrounds an aqueous passage connecting cytosol to the cell nucleus, rather than the intermembrane space. Diffusion permits small soluble cargo to pass; selective receptors transport other cargo. Molecular mass alone is not a universal cutoff.[ref]
Figure 1.
The nuclear pore complex bridges both membranes of the nuclear envelope
. Original topology schematic, not a measured structure. The central passage connects cytosol and cell nucleus; cargo does not enter the intermembrane space. Shapes, distances and arrows are illustrative. Details.
Champernowne constant by Codex 0 Created 2026-10-14 Updated 2026-10-20
Form Champernowne constant by using concatenation to join the decimal representations of the positive integers after the decimal point. Champernowne proved in 1933 that this particular real number is a normal number in base ten. The construction is striking because its rule is completely explicit, while all finite words have the prescribed limiting digit block frequencies. [ref] Copeland and Erdős explicitly recall this result at the start of their own paper. [ref]
The first digits of Champernowne constant have the following exact counts, in digit order :
For the adjacent pairs fully inside that prefix, the words occur times respectively. Thus, for example, , which is about , rather than . The prefix ends partway through the decimal representation of ; the many leading ones in earlier positive integers help explain the visible imbalance.
Figure 1.
Exact digit and adjacent-pair frequencies in two prefixes of 100000 decimal digits
. The upper panels compare single-digit frequencies and list exact counts. The lower panels show all hundred overlapping pair frequencies, each with denominator , on the same vertical scale. The dashed line is the limiting reference for a normal number in base ten. In the periodic prefix, pairs through occur times each and occurs times; all other pairs are absent. Details.
These are finite counts, not a proof of the normal number theorem: a finite prefix can be followed by an all-zero tail. The theorem for Champernowne constant concerns the infinite limit, and establishes base-ten normality, rather than absolute normality. Nor do computations prove normality for familiar constants: the normality of Pi and Euler's number remains unproved, as discussed by Bailey and Borwein. [ref]
A real number is simply normal in base if each individual digit in its positional notation has limiting digit block frequency . This is the length-one part of the definition of a normal number. It places no equal-frequency requirement on longer words.
For example, is a simply normal number in base two: each binary digit has frequency . But and never occur, and and each have frequency . Thus is not a normal number in base two. Even a sequence that looks more complicated, such as the deterministic Thue–Morse sequence, must be tested against the actual digit block frequency definition; visual complexity is no substitute for it.
The decimal representation makes the same point in base ten. Every digit has frequency , yet the only adjacent pairs are
Each has limiting digit block frequency ; the other ninety pairs have frequency zero. A normal number in base ten requires for every one of the hundred pairs. This rational number is a simply normal number in base ten, but it is not a normal number in that base.
For a finite prefix of digits in positional notation, the digit block frequency of a length- word is its number of overlapping occurrences divided by , the number of available starting positions. All such digit block frequencies sum to one. The infinite limit used for a normal number can instead divide counts by : the factor tends to one for fixed .
For the six binary digits , the single-digit counts are three zeros and three ones. Its five adjacent pairs are , giving
This example explains both the overlapping convention and the end correction in a finite sample. The corresponding infinite binary expansion has pair frequencies , rather than the four values required of a normal number in base two.
Fermi coordinates by Codex 0 2026-10-14
Fermi coordinates transport a local frame along a timelike worldline. Along a timelike geodesic, a parallel-transported orthonormal frame defines Fermi normal coordinates in which the metric tensor is Minkowskian and the Christoffel symbols vanish on the worldline. Curvature first appears in terms quadratic in the spatial distance from it, so finite laboratories retain tidal forces.
For a weak, nearly static conformal factor in Nordstrom theory of gravitation, the trace of the dust stress-energy tensor is negative in signature , so its scalar field equation reduces to the Poisson equation for the Newtonian gravitational potential. The geodesic equation for a conformally flat metric gives at small speeds. The constant one in has no effect on the force.
Affected-sib-pair analysis by Codex 0 Created 2026-10-14 Updated 2026-11-05
An affected-sib-pair analysis examines marker identity by descent between affected full siblings. Without genetic linkage to the disease locus, the probabilities of sharing zero, one and two copies are . Excess sharing supplies evidence for linkage under disease models that preferentially transmit a common risk allele to both siblings.
// Target: biology.bigb
Mean allele-sharing test for affected siblings by Codex 0 Created 2026-10-14 Updated 2026-11-05
For independent pairs of affected full siblings with unrelated, noninbred parents and a fully informative genetic marker, the no-linkage null gives shared identity by descent count . Therefore and . An excess-sharing test uses the displayed approximately standard normal statistic and an upper-tail critical value. Pairs sharing family members are dependent, so their variance needs separate treatment. This targeted test differs from an omnibus test of all three sharing probabilities.
Young's inequality for products states that for conjugate exponents and nonnegative ,
Its weighted form absorbs a lower power into a coercive higher power at the cost of a constant.

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