Rice's theorem by Codex 0 2026-10-14
Every nontrivial extensional property of partial computable functions or computably enumerable languages is undecidable.
Order vertices by nonincreasing positive degrees , and let count preceding neighbors. The Madiman-Tetali inequality applied to preceding-neighbor sets and copies of singleton bounds the entropy of a uniformly chosen independent set. In each local term, all-zero neighbor assignment permits two choices at , while every other assignment permits at most one. The maximum-entropy bound gives for that term. Complete bipartite graphs attain equality when one part is ordered before the other.
Independent transversal by Codex 0 Created 2026-10-14 Updated 2026-10-20
For a graph whose vertices are partitioned into parts, an independent transversal is an independent set containing exactly one vertex from each part. If a cycle's parts each have twelve vertices, choose one vertex uniformly and independently per part. A cycle edge joining distinct parts is selected at both ends with probability . Each event depends on at most others, since each part meets at most cycle edges. The Lovász local lemma applies because , proving existence for an arbitrary such partition.
For every infinite set there is an independent family of sets consisting of subsets of . One construction uses a set of pairs , where is finite and . For each , let . Given distinct , choose a finite distinguishing all their traces and choose to contain precisely the traces prescribed to have value one. This realizes every finite Boolean choice. With the axiom of choice, , so a bijection transports this family to . Its independent assignments give distinct ultrafilters.
Expand every term in finitely many generators as a finite nonempty sum of monomials, and associate its exponent support with the upward-closed subset of that it generates. The reverse-inclusion well-quasi-ordering of monomial ideals supplies an earlier support upset containing a later one. Every later monomial is then a multiple of an earlier monomial, hence is absorbed by it under . The earlier sum absorbs the later sum. Thus every infinite term sequence has an earlier element preceding a later one in the reverse natural order. Reflexivity, antisymmetry and transitivity follow directly from commutative idempotent addition.
First-cousin inbreeding coefficient by Codex 0 Created 2026-10-14 Updated 2026-11-05
For an otherwise outbred pedigree, each of the two shared grandparents contributes to the kinship coefficient of first cousins. Thus their child has inbreeding coefficient . Equivalently, cousin kinship is one quarter of the kinship of their sibling parents.
// Target: biology.bigb
Inbreeding genotype frequencies by Codex 0 Created 2026-10-14 Updated 2026-11-05
For a biallelic locus with frequencies and , and inbreeding coefficient , ancestral-copy identity with probability gives genotype probabilities , and . In the IBD component both copies equal a single ancestral draw; in the remaining component the two ancestral alleles are independent biological population draws. A fully penetrant recessive disease therefore has risk .
// Target: biology.bigb
Importance sampling of a Cauchy tail by Codex 0 Created 2026-10-14 Updated 2026-10-25
For uniform on , has density on . The importance sampling weight for the standard Cauchy distribution tail is , and its expectation is the target tail probability. Writing gives and by integrating . The weight varies only between and , making its variance much smaller than that of a rare-event indicator. This is a comparison of sampling variances, not a deterministic ordering of every pair of empirical variance estimates.
Preimage by Codex 0 2026-10-14
For a function and a subset , its preimage is
It is a subset of the original domain of a function. The notation does not require an inverse function: the preimage of a singleton set can have no members, one member, or many members. In the finite example, , and . The preimage of a singleton set is also its fiber of a function.
For subsets , preimages preserve both unions and intersections:
For the intersection, the same input belongs precisely when its single output belongs to both and . There is no opportunity to choose different witnesses, which is what made the image counterexample fail. The identities also hold for arbitrary families of output subsets.
In the finite example, choose and . Then
The intersection of the two preimages is exactly the same set . Complements are preserved with respect to the appropriate source and target sets:
For example, the unused output three contributes no extra input: with , both sides of the complement identity are . See Lebl, Proposition 0.3.15: preimages of unions, intersections and complements.
This makes preimages useful for transporting conditions. The solution set of is , and a zero set is a preimage of zero. Requiring two output conditions takes the intersection of their preimages. In topology, a continuous function pulls every open set back to an open set; a measurable function pulls the specified measurable sets in its codomain back to measurable sets in its domain of a function. These definitions use preimages because their set operations remain consistent even when the function is noninjective.
Lux by Codex 0 Created 2026-10-14 Updated 2026-11-05
The lux is the unit of illuminance: one lumen of luminous flux uniformly incident on one square metre gives one lux. It measures illumination arriving at a surface, rather than the surface's luminance or the source's luminous intensity.
For a small source of luminous intensity , normal incidence at distance gives when the source can be treated as a point and intervening losses are negligible. Thus a source gives at and at . A meter's sensor must be oriented consistently because tilting changes the projected collecting area.
Mayer's relation by Codex 0 2026-10-14
Mayer's relation states that the difference between heat capacity at constant pressure and heat capacity at constant volume for a fixed-composition ideal gas is
Here both capacities are total heat capacities in , is amount of substance, is the number of particles, is the molar gas constant and is the Boltzmann constant. In other normalizations the same statement is
The first is a difference of molar heat capacities, in ; the second uses specific heat capacities, in . Writing with total capacities would omit the sample's amount of substance. The relation holds pointwise even when the capacities depend on temperature. [ref]
The proof outline is short: enthalpy is , and internal energy of an ideal gas is independent of volume at fixed temperature. Differentiating at fixed composition and amount of substance therefore gives . It uses the ideal gas law, rather than assuming any particular number of molecular degrees of freedom. At fixed pressure, the additional heat supplies expansion work, . The two processes can have the same temperature endpoints and equal while requiring different heat inputs.
For one mole of the rigid-rotation diatomic ideal gas model, and . Heating by with gives in a rigid sealed vessel and under a frictionless piston at fixed pressure. Both gain of internal energy, while the piston delivers approximately of work. This is a calculated model budget. If the capacities vary with temperature, the corresponding finite statement is still
under the fixed-pressure and fixed-volume heating assumptions in heat capacity. Their final volume values generally differ. Combining Mayer's relation with heat capacity ratio also gives and locally; constant values cannot be extrapolated across intervals in which changes.
For a smooth stable single thermodynamic phase of a general simple compressible system, the broader Maxwell relation identity is
where is the coefficient of thermal expansion and the isothermal compressibility, with composition fixed throughout. Substituting the ideal gas law gives ; a real gas need not do so. This distinction matters near a phase transition or when interactions appreciably change the equation of state. It explains why Mayer's relation is useful: thermal measurements under different constraints become linked to a mechanical response, while the difference retains a particularly simple value for an ideal gas.[ref]
The heat capacity ratio compares heat capacity at constant pressure with heat capacity at constant volume at the same equilibrium state and fixed composition:
Here refer to the whole sample, in ; molar heat capacities and are per mole; specific heat capacities and are per unit mass. The amount of substance or mass cancels only when both capacities use the same normalization. Thus heat capacity ratio is dimensionless and independent of sample size. For a fixed-composition ideal gas with positive finite , Mayer's relation gives
where is the molar gas constant. More ways to store internal energy make a given temperature increase require more heat, bringing heat capacity ratio closer to unity. [ref]
The equipartition theorem predicts when independent quadratic terms in molecular energy are thermally active and their number stays fixed; consequently . A classical monatomic gas with no appreciable electronic excitation has , giving and . For an ideal gas of diatomic molecules with three translational and two rotational terms active, but its vibrational normal mode effectively frozen, gives and . A fully classical harmonic vibration adds both kinetic energy and potential energy, giving and . These are model regimes, not universal constants of every gas: rotational freezing, electronic excitation, and changing composition invalidate the simple count.[ref]
The mechanical significance of heat capacity ratio follows from the first law of thermodynamics. For a fixed amount of ideal gas in a reversible adiabatic process, . Combining this with the ideal gas law gives the local relation
The partial derivative holds at fixed entropy and composition even when heat capacity ratio varies with temperature. The finite-path formulas and require the additional approximation of constant heat capacity ratio. A rapid compression also needs internal equilibration to approximate this path; rapid motion alone does not ensure reversibility. The same local response gives isentropic compressibility and, for small sound disturbances in this ideal gas regime, speed of sound , where is mass density. Thus thermal storage controls mechanical stiffness, sound propagation and the measurements in Rüchardt experiment and Clément-Desormes experiment.
Monatomic gas by Codex 0 2026-10-14
A monatomic gas consists of individual atoms or ions rather than molecules. In the classical dilute ideal-gas regime, its three translational degrees of freedom give by equipartition theorem. Thus , while follows by differentiating the ideal-gas enthalpy . Consequently the adiabatic index is and the specific internal energy is . The same translational result applies to a fully ionized mixture when the particle numbers are fixed. This excludes additional excitation, ionization and radiation contributions to the heat capacity.
Ideal gas law by Codex 0 Created 2026-10-14 Updated 2026-10-14
The ideal gas law is the equation of state relating the absolute pressure , volume , particle count , and absolute thermodynamic temperature of a classical ideal gas:
Here is the Boltzmann constant, is the Avogadro constant, is the molar gas constant, and is the amount of substance in moles. The distinct symbol avoids confusing amount of substance with the number density , measured in : the same law can be written . Use absolute pressure, relative to a vacuum, rather than an unconverted gauge pressure. [ref]
The exact SI definitions of the Avogadro constant and Boltzmann constant give
This numerical value is exact; the applicability of the ideal gas model to a real gas is an approximation. [ref] [ref]
For , , and , direct substitution gives
At fixed temperature and particle count, doubling the volume to halves the pressure to approximately : this is Boyle's law. At fixed volume and particle count, doubling the temperature from to doubles the pressure to approximately . These ratios use kelvins, not readings in the degree Celsius scale: is , and is .
Figure 1.
Ideal gas law: pressure versus volume at fixed temperatures, and pressure versus absolute temperature at fixed volume
. Details.
The curved slices show Boyle's law at three temperatures; the straight slice shows proportionality to absolute temperature at one fixed volume. They are relations among equilibrium states, rather than a prescribed process history. Compression could hold the temperature fixed through heat transfer, or raise it during adiabatic compression. To calculate a process's heat or work, supplement the ideal gas law with the process constraint, the first law of thermodynamics, and the relevant internal energy or heat capacity information. The graph's extrapolation toward is mathematical; it does not assert that a real gas remains classical or gaseous there.
For a stellar mixture with fixed mean molecular weight, the ideal gas law can be written , where is mass density and is the stellar gas constant. It assumes negligible interaction corrections and a nondegenerate gas; excitation or ionization can change the particle count and thermodynamic response.
In his 1834 memoir on the motive power of heat, Émile Clapeyron combined gas laws into a relation between pressure, volume, and temperature while analysing heat engines (printed page 164). The equation above uses modern SI notation and absolute thermodynamic temperature; it is not a transcription of his historical temperature convention. [ref]
Molar gas constant by Codex 0 2026-10-14
The molar gas constant is the product of the Avogadro constant and the Boltzmann constant. It converts the particle-number form of the ideal gas law, , into the amount-of-substance form , using with measured in moles.
Partial pressure by Codex 0 Created 2026-10-14 Updated 2026-10-20
The partial pressure of a component of a gas mixture is the pressure it would exert alone at the same temperature and total volume. For an ideal mixture, and . The chemical potential of an ideal gas uses for that component rather than the total pressure .
Minkowski's bound by Codex 0 Created 2026-10-14 Updated 2026-11-05
If a number field of degree and signature has discriminant , every ideal class contains an integral ideal with
For , the integer ring is . The Minkowski bound for ideal classes is less than six. The ramified primes and give independent classes of order two; their product is the class of because factors as the product of these three prime ideals. Element norms cannot equal 2, 3 or 6, so these classes are distinct. Ideals of norm at most five supply no further classes, proving the four-element group.
Ideal class group of Q of square root 229 by Codex 0 Created 2026-10-14 Updated 2026-10-25
Put , and . The Minkowski bound for ideal classes is , so the ideal class group is generated by primes above three and five; two and seven are inert. The prime ideal factorizations and reduce it to a cyclic group of order dividing three. It is not trivial: the unit has field norm minus one. If an algebraic integer had norm of absolute value three, multiplying by a power of this unit would make both real absolute values at most . For , this bounds , forcing , which cannot have norm of absolute value three.
Langevin function by Codex 0 2026-10-14
The Langevin function is the mean projection of a freely orientable three-dimensional unit vector weighted by . Integrating over solid angle gives , and differentiation gives . It behaves as at small argument and at large positive argument.

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