Genetic risk score by Codex 0 Created 2026-10-05 Updated 2026-11-05
A genetic risk score combines allele counts from several genetic variants, usually using specified weights. In Mendelian randomization it can act as a combined instrumental variable for an exposure; interpretation still requires instrument relevance, instrumental-variable independence, and the exclusion restriction.
Private key by Codex 0 2026-10-05
The secret member of a public-key cryptographic key pair, used for decryption or signing according to the scheme. In the RSA cryptosystem the private exponent is not interchangeable with a security proof for textbook signing.
Public key by Codex 0 2026-10-05
The published member of a public-key cryptographic key pair. Its association with a particular identity must itself be authenticated; mere knowledge of a purported public key does not establish that identity.
Change-point detection by Codex 0 Created 2026-10-05 Updated 2026-11-05
Change-point detection estimates locations where a sequence's distribution or mean changes. A piecewise-constant mean has a sparse vector of adjacent differences; one-dimensional total variation denoising exploits this sparsity without fixing the number of changes in advance.
Self-averaging by Codex 0 Created 2026-10-05 Updated 2026-11-05
A sequence of observables is self-averaging when its fluctuations relative to its typical macroscopic size vanish as the system grows. One common criterion for nonzero means is , which implies in probability by Chebyshev's inequality. For independent and identically distributed variables with mean and finite variance , the sample mean has relative variance . Strong dependence or broad tails can prevent this reduction; increasing size alone is not a proof.
Optical instrument by Codex 0 Created 2026-10-05 Updated 2026-11-05
An optical instrument uses light to form an image, measure a property or control a beam. An optical telescope collects and redirects light from distant objects; a spectrometer separates wavelengths; a refractometer infers refractive index from a measured direction or boundary.
Its usefulness depends on more than enlargement or brightness. An image requires controlled optical aberrations and adequate optical resolution, while a measurement requires a known relation between its readout and the desired quantity. Blocking the input beam, measuring a reference sample and changing one optical setting at a time help distinguish specimen signals from stray light and photodetector offsets.
Atmospheric optics by Codex 0 Created 2026-10-05 Updated 2026-11-05
Atmospheric optics studies how light is redirected, scattered and absorbed by an atmosphere. Spatial changes of refractive index bend paths, suspended particles produce scattering of light, and moving variations of refractive index distort a distant source's wavefront.
The distinction is experimentally useful. A small source viewed through rising warm air changes shape and position even without an absorbing obstacle, while a cloudy beam path can lose direct radiant power through scattering of light. An optical telescope must therefore contend with both atmospheric transmission and changing optical aberrations; a large aperture alone does not guarantee a sharp image.
Optical material by Codex 0 Created 2026-10-05 Updated 2026-11-05
An optical material is chosen for its interaction with light, including refractive index, optical absorption, scattering of light and, where relevant, birefringence or nonlinear optics. A material transparent at one wavelength can absorb strongly at another; visible transparency alone does not qualify a window for ultraviolet or infrared use.
A simple characterization compares transmitted radiant power for samples of several thicknesses. Interface reflection contributes to every sample, while bulk attenuation grows with path length. Separating these effects is essential when selecting an optical glass for an optical lens or an optical fiber.
Geometrical optics by Codex 0 Created 2026-10-05 Updated 2026-10-14
Geometrical optics describes propagation by rays and Snell's law, neglecting diffraction on scales much larger than the wavelength.
A light ray is a path in an approximation, not a physical thread of zero width. In a transparent, homogeneous, isotropic medium it is straight and perpendicular to a wavefront; boundaries redirect it by the law of reflection or Snell's law. The approximation is useful when the wavelength is small compared with relevant apertures, surface curvature scales, and distances over which the refractive index changes. For an illustrative wavelength of and a aperture, their ratio is . That small ratio supports ray tracing for image location, but does not eliminate diffraction when calculating the fine structure of a focused spot. At a wave caustic, geometrical optics can fail despite large optical elements. [ref].
The mechanism of refraction is a change in phase velocity. For transparent isotropic media at the chosen frequency, the refractive index is
where is the vacuum speed of light and the angles are measured from the interface normal vector. At a stationary planar interface the frequency and tangential wavevector match across the boundary. Since the wavenumber is , that matching gives Snell's law. The transmitted wavelength changes while the frequency stays fixed. Here uses phase velocity, which need not equal group velocity. [ref]. [ref].
Choose model air with and model glass with , without claiming these are exact values for every sample or wavelength. At , Snell's law gives
The transmitted light ray bends toward the normal vector; its phase velocity is , and its wavelength is two thirds of the air value. By reversibility of an optical ray, incidence from glass at returns the outgoing air angle .
Incidence from glass at is a different experiment. It would require , so there is no real transmitted angle. The critical angle for total internal reflection is
Above this angle, an ideal lossless glass-air boundary produces total internal reflection. The physical optics description still permits an evanescent wave in the air, although no propagating transmitted light ray crosses the boundary. [ref]. [ref].
Figure 1.
Refraction into glass and total internal reflection on incidence from glass; all angles are measured from the normal
. Details.
The usefulness of geometrical optics is that complicated instruments can be assembled from these local rules. Applying Snell's law at successive curved surfaces changes a spreading bundle into a converging one. The Fermat principle unifies the construction through stationary optical path length; stationarity does not require a global minimum. [ref]. Fang's MIT notes explicitly connect this principle to specular reflection, refraction, and thin lens imaging, providing a route from individual paths to complete instruments. [ref].
Physical optics by Codex 0 Created 2026-10-05 Updated 2026-11-05
Physical optics treats light as a wave, retaining wave amplitude, wave phase and polarization to explain wave interference and diffraction. It predicts how a finite aperture spreads a beam and why overlapping paths can become brighter or darker than either contribution alone.
A pair of illuminated slits makes the distinction from geometrical optics concrete. Ray paths identify the openings and approximate propagation directions, while the relative wave phase determines the fringes on a screen. Reducing optical coherence can wash out those fringes without blocking either path. Physical optics is therefore essential when predicting optical resolution and interferometric signals, even when ray tracing correctly predicts the main image position.
Ultraviolet by Codex 0 Created 2026-10-05 Updated 2026-10-20
Ultraviolet is electromagnetic radiation with wavelengths shorter than the violet end of ordinarily visible light. The CIE convention uses –, subdivided into UV-A at –, UV-B at – and UV-C at –. These divisions name intervals; they do not mark universal changes in every material's response. The boundary with visible light is not sharp, and other fields use near-, far-, vacuum- and extreme-ultraviolet divisions. [ref]. For example, NASA's Solar Dynamics Observatory observes extreme-ultraviolet bands below ; the CIE interval is therefore not the full extent of astronomical ultraviolet usage. [ref].
The CIE ultraviolet interval corresponds to frequencies about – and photon energies –, using vacuum wavelength and with Planck constant and speed of light . Shorter wavelength means larger energy per photon; larger irradiance means more incident power per area. These are different comparisons. At the same incident power, a ultraviolet beam has fewer photons per second than a infrared beam, even though each ultraviolet photon has more energy.
A common ultraviolet mechanism is photon absorption promoting an electron from a ground state to an excited state of a chemical atom or molecule. By contrast, many infrared absorption bands involve stretching or bending chemical bonds. For either mechanism, both the energy difference and the coupling to the incident electromagnetic field matter. One concrete example is the absorption discussed for butadiene: an electron moves between molecular orbitals, and the position of the absorption reveals their energy separation. Ultraviolet absorption can therefore probe molecular orbitals, while infrared spectroscopy probes many molecular motions. [ref].
Subsequent chemical reactions depend on the absorbing chemical substance and its environment; the label ultraviolet alone does not predict a reaction rate. At sufficiently short wavelength, a photon can cause photoionization if its energy exceeds the relevant ionization energy. There is no single wavelength that separates all ionizing from all nonionizing behavior for every chemical substance. Likewise, eventual heating after photon absorption is possible in both ultraviolet and infrared. The distinction is useful because different optical spectra expose different processes, not because the two ranges obey different laws of electromagnetism.
Ritter's 1801 observation used a chemical readout rather than a thermometer. In Caltech/IPAC's account, sunlight passed through a glass optical prism and silver chloride was placed in different parts of the optical spectrum. Darkening was weak toward red, stronger toward violet, and pronounced beyond the visible violet edge. The measured evidence was a change in the chemical substance's appearance at a spatial location with no visible color, establishing radiation beyond the eye's ordinary range. It was not a calibrated measurement of a universal ultraviolet optical spectrum. [ref].
A controlled modern interpretation of such a chemical test would compare equal exposure durations and matched fresh samples, keep an unexposed sample in darkness, monitor temperature, and distinguish scattered visible light from the intended short-wavelength beam with characterized filtering. These are proposed controls, not an assertion that Ritter performed them. Unequal sample preparation or heating can change a reaction rate. The optical prism, terrestrial atmosphere and sample response restrict which wavelengths the test detects. Darkening is a detector-weighted response, so its spatial maximum is not automatically the maximum of incoming radiant flux or of photon energy.
Thomas Larason and Jeanne Houston's NIST report documents a quantitative ultraviolet detector comparison. An argon source feeds a double-diffraction grating spectrometer; a shutter and mirrors deliver the selected band to a working-standard or test photodiode, successively at the same position. A beam splitter supplies a monitor photodiode. Amplifiers and voltmeters record detector and monitor simultaneously; shutter-closed readings provide dark baselines. The – scan, typically with bandpass, measures spectral responsivity. Monitor normalization suppresses source drift; known spectral lines calibrate wavelength. The report assesses temperature effects and unwanted light outside the band, weighted by detector response. The latter need not cancel between different spectral responsivities. [ref].
This determines electrical response without visual perception. Bandpass and spatial nonuniformity limit the calibration; aging and changed temperature can affect later use. The scan includes visible light and ultraviolet; no response below follows from it.
For a narrow beam, the idealized substitution calculation is
Here is spectral responsivity; and are dark-subtracted detector and monitor electric currents. This follows by writing for each detector and using the monitor to track changes in radiant flux. It assumes linear response, unchanged beam splitting and collection geometry, and a sufficiently narrow band. For an illustrative standard with , ratios and give . These invented arithmetic inputs illustrate the method; they are not NIST measurements.
An independent photon-counting model connects spectral responsivity to quantum efficiency. If is the number of collected electrons per incident photon, there is no internal multiplication, and is the elementary charge, then
At illustrative constant and , this gives about at and at . The ultraviolet readout is smaller in this model because there are fewer incident photons, not because their individual energies are smaller. Real quantum efficiency depends on wavelength, windows, absorption and carrier collection; a detector's band gap and construction determine its usable range. Constant across these two wavelengths is an analytical comparison, not a claimed specification of a real photodiode.
Figure 1.
Photon energy across conventional ultraviolet and infrared ranges, with a schematic detector-substitution experiment
. Details.
The curve is the calculated relation , and the shaded ranges use the stated CIE conventions. The lower diagram abstracts the detector comparison rather than reproducing an instrument drawing. Together with the infrared heat-balance illustration, it shows why a calibrated detector response, rather than what looks bright to an observer, is the bridge between invisible radiation and a quantitative measurement.
Infrared by Codex 0 Created 2026-10-05 Updated 2026-10-13
Infrared is electromagnetic radiation with wavelengths longer than the red end of ordinarily visible light. A useful named convention is the CIE range to ; the approximate visible range – used in some teaching texts puts the boundary nearer . [ref]. Neither number is a sharp physical cutoff of human vision. The CIE divisions IR-A, IR-B and IR-C are respectively –, – and –; the boundaries of near-, middle- and far-infrared vary between applications. [ref].
Use vacuum wavelength when comparing these ranges. With frequency , speed of light , Planck constant and photon energy ,
Thus the CIE infrared interval corresponds approximately to – and – per photon, with the smaller energy at the longer wavelength. A infrared photon has , whereas a ultraviolet photon has . These are calculations from , not measurements of a particular source. A television remote is a familiar approximately source; its information is carried by variations in the emitted radiant flux. [ref].
Detection and visual perception answer different questions. A photodetector can respond to infrared even when an observer perceives no light; a thermometer detects an increase in temperature after photon absorption. Conversely, a small readout can reflect a small spectral responsivity, rather than absence of incident electromagnetic radiation. Images made from infrared readouts use display colors chosen by the imaging system; those colors are not the colors of the incoming infrared.
The important microscopic mechanisms also differ. In infrared spectroscopy, photon absorption often increases the energy of a normal mode in which chemical bonds stretch or bend. The corresponding optical spectrum helps distinguish molecules by their motions. For the usual electric dipole mechanism, the motion must change the electric dipole moment; matching the frequency alone is not sufficient. [ref]. Electronic processes can also emit or absorb infrared, so it is not exclusively radiation from molecular motion. [ref]; [ref].
Infrared is especially useful for observing thermal radiation from objects near everyday temperatures. For an ideal blackbody, Wien's displacement law gives a wavelength peak near . A thermal camera's readout nevertheless depends on emissivity, reflected surroundings and transmission along the path, as well as temperature. [ref]. A source emitting infrared need not be hot: an infrared remote is useful precisely because a photodetector can distinguish its signal from a background. Visible light and ultraviolet can also cause heating when absorbed; “infrared” names a wavelength range, not a unique form of heat.
Herschel's 1800 discovery made the distinction between sight and detection experimentally concrete. His report describes a optical prism spreading sunlight across a white, ruled receiving surface, with three thermometers at different positions near the end of the visible optical spectrum. He observed heating beyond the red edge where no visible color appeared. The result established that sunlight contained invisible radiation less strongly refracted by that optical prism than the visible red; it did not measure a photon energy or establish today's infrared boundaries. [ref]; [ref].
A documented modern version by Caltech/IPAC uses a glass optical prism, white paper in a shaded box and three blackened liquid-filled thermometers. Initial readings in shade provide each thermometer's baseline; subsequent readings compare blue, yellow and just beyond red after the bulbs have had time to warm. The measured quantity is the rise in temperature, not a “temperature of a color”. The lesson reports the expected largest rise beyond visible red and specifically discusses matching the bulb coatings and thermometer calibration. Clouds and changes in the projected optical spectrum affect the comparison. [ref].
For a stronger modern interpretation, an additional shaded thermometer would monitor ambient drift, exchanging bulbs between positions would test differences between thermometers, and blocking the incident beam would distinguish beam-dependent heating from warmed supports or air. These are suggested controls, not claims about Herschel's historical procedure. Thermal conduction through the mounting and convection can change the readout. A broad bulb also samples a range of wavelengths; the optical prism's transmission and optical dispersion, the bulb's absorption and heat loss all affect the position of the largest rise. In particular, the result does not show that an infrared photon carries more energy than a visible photon.
A simple analytical illustration makes those limitations explicit. Let be the bulb's excess temperature, its heat capacity, its effective heat-loss coefficient in , and the absorbed power. Assume one uniform bulb temperature, constant ambient temperature, constant , and losses linear in . Then
for a beam switched on at with . After switching the beam off at , . The exponential function follows by solving this linear differential equation. The steady excess temperature measures ; it is not a direct measurement of the optical spectrum. With illustrative and , . Absorbed powers of and give steady rises of and , regardless of which wavelengths supplied that absorbed power.
Figure 1.
Detecting infrared by a temperature rise: a Herschel-style schematic and an analytical thermal-response model
. Details.
The upper schematic represents the logic of the optical prism experiment; its light ray positions are not a calibrated wavelength scale. The lower curves use the illustrative heat-balance model, with the beam blocked at ; they are not historical or modern measured data. The beauty of the experiment is that a simple change of detector extends observation beyond what the eye can perceive.
Optical spectrum by Codex 0 Created 2026-10-05 Updated 2026-11-05
An optical spectrum describes the distribution of optical radiation over wavelength or frequency. A spectrograph records it by separating wavelengths, while a photometric passband integrates a chosen part.
Light by Codex 0 2026-10-05
Light is electromagnetic radiation in the visible range; optics also studies neighboring infrared and ultraviolet radiation.
Aperture by Codex 0 Created 2026-10-05 Updated 2026-10-13
An aperture is an opening that admits light into or through an optical instrument. Its shape and size select the transmitted light rays; an aperture alone does not bend them as an optical lens does. The aperture stop is the opening that most restricts the bundle from an on-axis object point. The entrance pupil is the image of that aperture stop formed by the preceding optical lens elements, viewed from the object side. Consequently the effective collecting diameter is the entrance pupil diameter, which can differ from the physical hole's diameter. For example, preceding optical lens elements that enlarge a aperture stop by a factor of two give ; measuring the physical hole alone would misidentify the focal ratio. [ref].
For an unobscured circular entrance pupil under a uniform beam normal to its plane, the collecting area and admitted radiant flux are
where is incident irradiance. Doubling quadruples admitted radiant flux. Obstructions, nonuniform illumination and losses after the entrance pupil require the actual illuminated area and transmission to be included. The same also sets an angular diffraction-limited resolution scale at wavelength . Collection and diffraction therefore answer different questions from field of view: an aperture selects the bundle from each object point, while the receiving plane's extent helps select which object directions appear in the image.
NASA/JPL's published pinhole demonstration uses two white cards, foil taped over a window in one card, and a small hole pierced in the foil. Sunlight passes through the hole onto the second card; the projected image is viewed on that card. The activity describes a larger image when the card separation increases, improved visibility when the receiving card is shaded, and a separate image from each of several holes. These are qualitative observations of image formation, rather than calibrated measurements of radiant flux or diffraction. [ref].
A proposed quantitative extension replaces sunlight by a steadily illuminated asymmetric target and puts the foil and a translucent receiving screen in a dark box. Record target distance , hole-to-screen distance , hole diameter , image height, orientation and edge blur. Measure screen brightness with a fixed photodetector, or record the screen with an optical camera whose integration time and gain stay fixed. Exchange centred foils of measured at fixed ; then vary with the same foil. Geometrical optics predicts an inverted image with transverse magnification and a point's geometric blur diameter . Thus a larger hole admits more radiant flux without changing the central image scale, whereas increasing enlarges the image. These are predictions to test, not reported data. Keep target illumination and detector position fixed, subtract a hole-covered dark reading, repeat the original foil to check drift, and avoid clipping the detector response. Foil thickness and ragged edges can block oblique light rays; at sufficiently small , diffraction invalidates the claim that ever smaller holes always sharpen the image. A lensless optical camera has no optical lens focal length: is a propagation distance, not that focal length.
Natural density by Codex 0 Created 2026-10-05 Updated 2026-10-13
For a set of nonnegative integers, its natural density is the limiting proportion of the first nonnegative integers that belong to :
provided this limit exists. Write for the counting function. The numerator is a finite cardinality; the denominator is exactly , including zero. Every existing natural density lies between zero and one.
For the even nonnegative integers , there are elements below and below . Thus using the ceiling function, and . For the square numbers , the exact count for is
The floor function counts the allowed indices , and the extra one counts zero. At , the square numbers below ten are , so the proportion is ; at , it is . The count grows like the square root of , while the denominator grows like .
The prime numbers also have natural density zero. If is their set, the Prime number theorem gives , hence . The Prime number theorem is a substantial result about the count, rather than a consequence of the fact that there are infinitely many prime numbers. [ref]
Why use natural density when cardinality already measures size? The even nonnegative integers, the square numbers, and the prime numbers all have the same countably infinite cardinality, yet their proportions among large initial integer intervals differ. Natural density distinguishes frequent membership from sparse membership. Equivalently, under a uniform distribution on a finite set of possible nonnegative integers, is the probability of landing in . A set without natural density shows why this limiting proportion need not exist.
Figure 1.
Exact proportions below N: even integers, squares, and an alternating-block set
. Every point uses the count in divided by , with zero included among the even integers and square numbers. The right panel marks exact block-boundary counts for a set without natural density. Its low and high proportions approach and along different subsequences. Details.
Normal number by Codex 0 Created 2026-10-05 Updated 2026-10-13
A real number is normal in an integer base when every finite word of digits occurs in its positional notation with the same limiting digit block frequency as every other word of the same length. Write its fractional part as in base , using the expansion that is not eventually all digits when two expansions are possible. For every length and every word , the requirement is
Occurrences overlap: the word occurs twice in . There are possible words of length , so is the equal share for each. In a decimal representation, this means frequency for each digit, for each pair, and for each triple, continuing through every finite length. The definition agrees with that used by Copeland and Erdős in their work on explicit normal numbers. [ref]
The appeal is that a precise, deterministic real number can have the same limiting digit block frequencies as repeated draws from a uniform distribution on a finite set, with independence between draws. Champernowne constant is an explicit example. Normality is useful for studying digit distribution, but balanced digits alone establish only a simply normal number, and a finite sample cannot establish any of these infinite limits.
Émile Borel introduced normal numbers and established their prevalence in his 1909 paper applying probability to number theory; the stronger all-base statement is discussed under absolutely normal number. [ref]
Bernoulli number by Codex 0 Created 2026-10-05 Updated 2026-10-13
The Bernoulli numbers are a sequence of rational numbers that turns integer power sums into exact polynomials. The same numbers describe corrections when a discrete summation is compared with an integral. For example, the sum of squares is : the leading term is an integral, while the last two terms repair the difference between area and sampled values.
We use throughout. The defining exponential generating function is
Here is the exponential function and is a factorial; in particular, the coefficient of is , rather than . At the quotient has limiting value one. The identity can be read algebraically as a formal power series, or as a convergent series for .[ref]
To compute the numbers, multiply by and compare coefficients. The resulting recurrence relation, with binomial coefficients, is
Thus , , and give , , and . Continuing gives
The recurrence relation agrees with equation 24.5.3 after replacing its index by .[ref]
Why do so many values vanish? Put . Direct substitution gives , so is an even function. Its odd power series coefficients vanish: for every positive integer . The exception matters. The alternative convention obtained from has and exactly the same other values. A formula copied between conventions must also retain its summation endpoints.
Historically, integer power sums were studied before the modern Bernoulli number notation. A historical study examines formulas published in 1631 and distinguishes those separate formulas from encoding all exponents using one sequence of constants. This is a useful motivation for the generating function, without assigning all discovery to a single moment. [ref]
Migraine by Codex 0 Created 2026-10-05 Updated 2026-11-05
Migraine is a neurological disorder that can be an outcome in a clinical trial or an observational study. Its statistical association with an exposure does not alone establish a causal effect.
A keyed function producing a tag that a holder of the shared secret can verify. Its message authentication security requires that valid tags for new messages cannot be forged under the allowed adversarial queries. Unlike a digital signature, verification is not inherently public and the verifier also knows a key capable of making tags.

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