Fix a failure probability and assume an independent and identically distributed statistical sample. A finite-sample confidence band for its population cumulative distribution function isHere is the natural logarithm. The DKW inequality impliesThis is simultaneous coverage over the whole real line, valid at each fixed sample size.[ref]
To obtain the band, solve for the positive . Outside a failure event of probability at most , for every . Since a cumulative distribution function already lies in , clipping the endpoints to this interval preserves the coverage event. The guarantee is at least , and need not equal it.
Choose , giving at least simultaneous coverage under the stated model. For , respectively, the half-widths before clipping areFor the chosen five observations, the band at is , while at it is approximately . At the unclipped band would be , so clipping gives . The broad uncertainty is informative: five observations give a precise description of themselves, but a coarse bound for an unknown population cumulative distribution function.
Finite-sample simultaneous uncertainty around an empirical distribution function
. Left: the chosen five observations give and its band clipped to , using . Right: theoretical half-widths for , with no additional samples constructed. The confidence band has coverage at least under independent and identically distributed sampling; the drawing illustrates the procedure and does not establish its coverage. Details.A collection of pointwise confidence intervals only promises coverage separately at each preselected threshold; it does not promise coverage of an entire cumulative distribution function. Here the one simultaneous event permits inspecting any threshold after seeing the data. The probability refers to repeated sampling of the entire statistical sample, with fixed. It does not assign probability to a fixed after observing this particular band, and it is not a prediction interval for a future observation. The displayed comparison gives a guarantee for each fixed separately, not simultaneous validity over all sample sizes or an optional stopping rule. The chosen observations are an illustration; the coverage claim follows from the DKW inequality, not from their appearance or a simulation. Dependence or observations with different sampling laws require another argument.
At fixed , multiplying by divides the half-width by . Conversely, a desired half-width is ensured by , rounded up to an integer. For and , this sufficient sample size is . This makes the confidence band useful for planning how many observations are needed before estimating threshold probabilities to a chosen simultaneous accuracy.
Sine Created 2026-09-24 Updated 2026-10-14
For a real angle , is the vertical coordinate on the unit circle reached by a counterclockwise rotation through radians. For an acute angle in a right triangle, it is the opposite side divided by the hypotenuse. In particular,The first-quarter rise and second-quarter fall are visible in the circle projection; the lower semicircle gives negative values.
Reflecting the unit circle across the horizontal axis gives , so sine is an odd function. A full turn gives , making it a periodic function. For real arguments, its range is and its zeros of a function occur at for integers . The cosine describes the perpendicular coordinate of the same point, and the Pythagorean trigonometric identity keeps their two values tied together.
Size-biased probability generating function 2026-10-31
For a positive integer-valued random variable with finite mean , the size-biased distribution has probabilities . They sum to one by the definition of expected value. Multiplying the differentiated probability generating function by gives the displayed identity for , with the endpoint interpreted by its limit.
Slowly varying function Created 2026-10-05 Updated 2026-10-14
A positive measurable function is slowly varying at infinity iffor every fixed . It has regular variation of index zero. “Slowly” concerns relative change under multiplication of the argument; it does not mean that the function must be bounded, have a small derivative, or converge to a finite value.
Every positive constant is a slowly varying function. So are , and for any fixed real number , on . Indeed,The first grows without bound, the second tends to zero, and the constant does neither. Another unbounded example is :This function can grow much faster than while retaining regular variation of index zero.
Even convergence is unnecessary. The bounded functionoscillates between and . It is nevertheless a slowly varying function: the change in the argument of the sine under isand the Lipschitz continuity of the sine makes the logarithm of the ratio tend to zero. The sequences and give the two values and for every nonnegative integer , so there is no limit at infinity.
Contrast this with , which is positive and bounded but is not a slowly varying function. Fix . Along its rescaling ratio is ; along the ratio is . The persistent oscillations prevent even a limit for this one fixed rescaling. It is not regularly varying with any finite index either.
Two bounded oscillating functions: logarithmic rescaling makes one ratio approach one, while the other keeps oscillating
. The horizontal coordinate is , and the fixed rescaling is . The displayed range illustrates the formulas; the limiting claims follow from the arguments in the text. Details.The useful distinction is whether a fixed proportional change of input eventually produces a negligible proportional change of output. A slowly varying function can therefore preserve the scaling exponent of a power law while changing its magnitude substantially. The decomposition in regular variation explains why a logarithmic factor can matter in numerical estimates without changing the limiting exponent.
Smith normal form Created 2026-09-24 Updated 2026-09-29
For every matrix over a principal ideal domain, there are invertible matrices such thatThe nonzero diagonal entries are unique up to multiplication by units. Over the integers, and are unimodular and the may be chosen positive; their products are the greatest common divisors of the -rowed minors.
Solution set Created 2026-10-14 Updated 2026-10-31
The solution set of a mathematical condition in a specified domain collects every allowed value that satisfies it:It describes the answer without committing to the steps used to find it. For the equation over the real numbers, the solution set is ; restricting to positive real numbers leaves . For , the solution set is over the rational numbers and the empty set over the integers. The domain is part of the question.
An equation can have one solution, several solutions, no solutions, or an entire domain of solutions. Over the real numbers, gives the singleton set , gives the empty set, and the mathematical identity gives the whole real line. Changing that second equation's domain to the complex numbers gives . The elementary definition by values that satisfy an equation and the classification by solution sets appear in College Algebra 2e, §2.2: Solving Linear Equations in One Variable.
Three equivalent equations have the same singleton set of solutions , even though their displayed function values differ
. Details. Requiring several conditions simultaneously takes the intersection of their solution sets. The squared equation has solution set . Adding the restriction giveswhich is also the solution set of . The extraneous solution example explains why the sign restriction is needed. Requiring at least one of several conditions instead takes their union. This turns logical combinations of constraints into reusable operations on sets.
For several variables, a solution is an ordered assignment, usually represented by a tuple. The real equation has solution set , a straight line in the Euclidean plane with coordinates . Adding intersects that straight line with another, leaving the single tuple . A system of linear inequalities has no solution exactly when the intersection of its individual solution sets is the empty set. For optimization constraints, this common solution set is the feasible region.
Because a solution set is a set, the order in which its members are listed is irrelevant. The multiple root of is still the one solution ; its multiplicity of a root is additional polynomial information, rather than a second occurrence inside the solution set. Equivalent equations preserve the solution set on the stated domain, even if their algebraic forms differ.
Sorted array 2026-10-13
An array whose entries appear in nondecreasing order under a specified total order. The displayed inequalities allow repeated values.
For example, is a sorted array of integers. Inserting at index gives : with spare capacity, first shift one slot right. Appending would violate the sorted array property. Updating an entry also requires preserving the total order, or removing and reinserting it in a suitable position.
The useful combination is order plus direct indexed access: binary search eliminates a whole interval of candidates at each comparison, giving search time complexity under constant-cost comparisons and the array cost model. A sorted array is therefore attractive for many lookups between changes, while keeping it sorted can still require shifting work per insertion. A sorted linked list has the ordering information but does not supply the same constant-cost access to a middle index.
Sparse peaks can determine a limit superior 2026-10-14
Define a sequence by when is a power of two, including , and otherwise. Every tail of a sequence contains both a later power of two and a later nonpower. Therefore and , and the sequence does not converge. Its peak indices become increasingly sparse, yet never stop appearing.
Through index , the number of peaks is , so their fraction isThe set of powers of two has natural density zero. The same fraction is the Cesàro mean of the first terms, which tends to zero even though the limit superior stays one. At , eleven peaks give mean . An average and a long-run upper edge answer different questions about the same sequence.
Spatial aliasing 2026-10-25
Ambiguity between spatial oscillations sampled on a grid. At positions , the factors and agree for every integer . Spatial wavenumbers outside therefore cannot be distinguished without additional assumptions. For a traveling event of temporal frequency and apparent speed , the associated criterion is , with a margin for filtering. Temporal oversampling does not remove this spatial ambiguity.
Spatial locality 2026-10-13
Spatial locality is the tendency to access nearby locations in computer memory within a short interval. A sequential scan of a contiguous array has spatial locality even when each element is read only once. A memory cache can exploit spatial locality by fetching a whole cache line on a cache miss: later reads of neighbouring elements become cache hits. Proximity is in the address layout, so visually adjacent entries in a table need not be adjacent bytes.
Consider a array of 32-bit integers, each occupying four eight-bit bytes, stored contiguously in row-major order. Use toy physical addresses starting at zero, aligned to a 16-byte cache line boundary. For row and column , with , the address and cache block number areHere is the floor function. Each row occupies exactly one cache line: row zero begins at addresses , row one at , and so on. Row-major order describes this storage layout; traversal can follow rows or columns without moving the elements.
Read all sixteen elements and compute their integer sum, keeping the accumulator outside the modelled memory cache. Only the sixteen array reads count as memory references. The toy fully associative cache starts empty, holds exactly one 16-byte cache line, fetches the requested cache block on every cache miss, and uses LRU replacement. No cache block is fetched ahead of a request, and no writeback costs are counted because the modelled accesses are reads.
- Traversing by rows, with varying fastest, requests cache blocks . Each first read in a row is a cache miss; the next three are cache hits. Total: four cache misses and twelve cache hits in sixteen memory references.
- Traversing by columns, with varying fastest, requests cache blocks four times. Every read replaces the sole resident cache line, so the next read always causes a cache miss. Total: sixteen cache misses and zero cache hits in sixteen memory references.
Every element is read once in both traversals. The row traversal exploits spatial locality between distinct elements and temporal locality of their shared cache block. The column traversal returns to each cache block after three other distinct cache blocks, too late for the one-line memory cache. Increase the fully associative cache to four cache lines and both traversals give four compulsory misses and twelve cache hits: no loaded cache block needs eviction. The difference therefore depends on capacity as well as access order and layout.
This makes spatial locality useful and beautiful: the same logical operation on the same elements can use a fetched cache line much more fully simply by changing traversal order. The toy counts do not predict a universal speed ratio on real hardware. Actual cache line sizes, capacities, placement rules, fetching ahead of requests and overlapping work affect runtime; measure a concrete implementation with statistical program profiling. Ulrich Drepper's November 2007 authored paper explains cache line transfers and gives array and matrix access examples connecting layout, temporal locality and spatial locality. Its hardware measurements are historical examples, rather than specifications for every present-day CPU. [ref]
// Destination: computer-science.bigb
Spatial sampling of a wave 2026-10-14
In spatial sampling of a wave, a detector records a wave at positions separated by pitch . Angular wavenumbers differing by , with integers , give identical samples of a complex Fourier mode:This is spatial aliasing. To distinguish arbitrary sinusoids within a prescribed band, require , equivalently , the Nyquist spatial frequency. Thus for the shortest allowed wavelength. At equality a sine can vanish at every sample, so phase information can be lost. The Nyquist–Shannon sampling theorem states the precise reconstruction conditions for a bandlimited function; a finite scan introduces further limitations.
The synthetic two-tone snapshot iswhere both count cycles per metre. The component wavelengths are and . With , both lie below the Nyquist spatial frequency of cycles per metre. With , the -cycle component aliases to the -cycle component: at every , . The sampled sum is therefore indistinguishable from , although the continuous curves differ between samples. Drawing lines between sample points cannot resolve this ambiguity.
Synthetic two-tone spatial waveform: fine samples distinguish the components, coarse samples hide the shorter wavelength
. Details. Spin-orbit resonance 2026-10-14
A prograde spin-orbit resonance relates mean spin angular velocity to mean motion by a ratio of small positive integers, : the body makes turns in orbital periods. Synchronous rotation is ; Mercury's spin-orbit resonance is nonsynchronous. The relevant combination of spin and orbital angles must stay bounded around a preferred orientation, not merely have a near-integer frequency ratio. For an elongated body on an eccentric orbit, the companion's gravitational torque on the permanent shape can sustain the resonance while tidal dissipation permits capture. [ref].
Squarefree divisor Created 2026-10-06 Updated 2026-10-14
A squarefree divisor of an integer is a divisor that is a squarefree integer. It is specified by choosing a subset of the distinct prime factors of .
Square-free integer Created 2026-09-24 Updated 2026-10-20
A positive integer is square-free when no square number greater than one is a divisor of . It suffices to exclude squares of prime numbers; equivalently, every prime valuation is zero or one:Thus the prime factorization of a square-free integer is a product of distinct prime factors, with no repetitions. One is included: its prime factorization is an empty product and all its prime valuations are zero. These equivalent tests are stated in Grinberg's notes. [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781, Floor and arithmetic functions, Definition 2.1.2 and footnote 6
For signed integers, extend the definition by requiring to be a square-free integer, where denotes absolute value. Hence and both qualify. Zero does not: every prime number has its square as a divisor of zero. The Möbius function and radical of an integer below use their existing positive integer domains, so apply them to when handling a negative integer.
For example, is a square-free integer, whereas is not, because and . Being a composite number causes no problem: are all square-free integers. A square-free integer need not be coprime to another integer: and are both square-free integers but have greatest common divisor two. In fact the only signed integers coprime to every integer are , since .
Exact square-free integer classification of the integers from one to sixty
. Green cells are square-free integers; each red cell displays a prime number square that divides its label, choosing the smallest such prime number. Only need testing in this range. There are green cells. This original finite arithmetic diagram is an exact enumeration, not a measurement or an assertion about a limiting frequency. Details.For positive integers , the useful product criterion isThe proof outline is just addition of prime valuations: can stay at most one only if neither input repeats a prime factor and no prime factor occurs in both. Thus is a square-free integer, but is not. An equivalent characterization is that every factorization into positive integers has coprime factors. If , the factorization supplies two factors sharing ; conversely, a shared prime factor forces its square to divide . For , the unordered factor pairs all have greatest common divisor one; for , the pair fails.
Two existing arithmetic functions turn the definition into practical tests:The radical of an integer keeps one copy of each prime factor, so it changes precisely the integers with a repeated prime factor. Its definition is given in Evertse's exercise sheet. [ref]
https://pub.math.leidenuniv.nl/~evertsejh/dio12-ex4.pdf. Jan-Hendrik Evertse, Diophantine approximation, Homework IV, Exercise 20
The Möbius function assigns to a square-free integer with distinct prime factors and zero otherwise; squaring forgets the sign. Consequently counts exactly the green cells. This connects a restriction on repeated prime factors with weighted counting and inclusion-exclusion. [ref]https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781, Definition 2.1.2: the Möbius function
Square lamina 2026-10-20
A square frame formed by removing a concentric square hole from a larger square. If outer and inner sides are positive integers with the same integer parity, the border has integer thickness and contains unit tiles.
Square number Created 2026-09-29 Updated 2026-10-03
A square number is an integer of the form for some integer . Consecutive nonnegative squares differ by .
Square part of an integer 2026-10-20
Squaring recurrence under integer halving Created 2026-10-25 Updated 2026-10-31
For at and otherwise, put for positive integer . Taking logarithms gives , hence and . These constant-value plateaux have exponential envelopes , but do not justify for all integer inputs.
Sqube 2026-10-20
A number for distinct prime numbers . The ordering of the two primes matters because their exponents differ. Unique prime factorization identifies the ordered pair from the resulting integer.
S-smooth number Created 2026-09-24 Updated 2026-10-14
For a finite set of primes, an integer is -smooth when every prime dividing it belongs to . Bounding the largest prime factor is equivalent to restricting the integer to be -smooth for a suitable finite .







