The th correlation function is the density of the th factorial moment measure: integrating a nonnegative test function against gives the expectation of its sum over ordered -tuples of distinct points. For exactly exchangeably labelled points with symmetric joint density , it is times the marginal density of labels. It is not normalized to have total mass one.
In a countable language, an ultraproduct over a nonprincipal ultrafilter on realizes every countable finitely satisfiable type, including types over countably many parameters. Enumerate the type , and let be the ultrafilter-large set of coordinates where the first first-order formulas have a simultaneous witness. Put . At coordinate , choose a witness for the largest with , or an arbitrary element when there is none. For each fixed , the resulting function satisfies the first first-order formulas on . The Łoś theorem then realizes the entire type. Countability of the language and parameter set makes the enumeration possible.
Let a fixed simple three-uniform hypergraph have hypergraph edges, with one host vertex of a hypergraph class for each vertex of a hypergraph. Assume each hypergraph edge triple has indicator , subset density , and balanced three-dimensional box norm at most . The normalized labelled hypergraph copy count is . Telescope this product against . In each error term, fix all variables outside the three vertices of a hypergraph of its balanced hypergraph edge. Every other hypergraph edge intersects that triple in at most two vertices of a hypergraph, so the remaining factors group into three pair functions bounded by one. The pair-factor correlation bound for the three-dimensional box norm bounds the error by . Summing gives
For the three-uniform tetrahedron, . The same argument with a common host set counts homomorphisms; excluding collisions of distinct abstract vertices of a hypergraph changes the count by at most .
Counting measure Created 2026-09-29 Updated 2026-10-14
Counting measure makes integration into summation by giving every measurable singleton unit weight. On any measurable space , it is the measure defined by
Thus , a finite set has its usual cardinality, and every infinite set has the same value in the extended real number line. In particular, countably infinite sets and uncountable sets are not distinguished by their counting measure. Taking to be the power set makes every subset measurable; restricting the same rule to a smaller sigma-algebra is also allowed. [ref]
Why is this a countably additive measure? For pairwise disjoint measurable sets ,
If the union is finite, only finitely many are nonempty, and finite cardinality adds. If the union is infinite, either one is infinite or infinitely many are nonempty; in both cases the nonnegative series on the right is infinite. For example, and have counting measures and , and their union has counting measure . The singletons for positive natural numbers give the infinite case: .
With the power set as sigma-algebra, counting measure is a finite measure exactly when is finite, and a sigma-finite measure exactly when is at most countable. For the latter assertion, enumerate by measurable singletons; conversely, every finite-measure set is finite, and a countable union of finite sets is countable. Specifying the sigma-algebra matters: if and , counting measure is not a sigma-finite measure, since the only measurable finite-measure set is the empty set.
For a finite or countably infinite set equipped with its power set, every nonnegative function is a measurable function, and
The supremum allows an infinite result and avoids choosing an order for the terms. On a finite set, expand as a simple function using singleton indicator functions. On a countably infinite set, enumerate the points and apply the monotone convergence theorem to finite truncations. Real or complex functions are integrable functions for counting measure exactly when ; then their integral equals the absolutely convergent sum. This is the discrete counterpart of Lebesgue integration, developed further in series as a Lebesgue integral against counting measure. [ref]
For example, on the positive natural numbers has counting measure integral one, by the geometric series. The alternating harmonic series has a finite ordered sum but is not the integral of an integrable function for counting measure: its positive and negative parts both have infinite sums. Absolute convergence is what makes the finite integral independent of enumeration. In particular, the Lp spaces for counting measure on are the l-p sequence spaces, with their sums replacing continuous integrals.
Compare three measures on the same Borel sigma-algebra of the real numbers: counting measure , Dirac measure , and Lebesgue measure .
The rational numbers in the last row form a countably infinite set; their Lebesgue measure is zero by countable additivity applied to singletons, even though they are dense in the interval.
Figure 1.
The same Borel sets have different sizes under counting measure, Dirac measure, and Lebesgue measure
. Original analytical comparison on the real numbers, with the selected point marked in orange. Drawings show the finite sets and the interval; the rational numbers are named symbolically because finitely many plotted points cannot depict that infinite dense set. Green zero entries mark the null sets for each column's measure. Details.
These are different answers to different questions: counting measure asks how many points occur, Dirac measure asks whether the selected point occurs, and Lebesgue measure asks how much length occurs. A null set therefore depends on its measure. For counting measure, the only null set is the empty set, so equality almost everywhere is equality everywhere. For , a measurable set is a null set exactly when it misses ; for Lebesgue measure, even the infinite set is a null set. Integrating an indicator function recovers each table entry through . This lets the same Lebesgue integral framework handle point counts, point evaluation, and geometric length.
Critical point Created 2026-09-24 Updated 2026-10-13
For a smooth function on an open set , a critical point is an input where the gradient vanishes: . Equivalently, every first partial derivative is zero. Such a critical point is a stationary point; in one variable the condition is .
There is a broader convention in elementary one-variable calculus: a "critical number" is an interior input where the derivative is zero or does not exist, provided the function itself is defined there. Thus a corner can be a critical number without being a stationary point. Here the smooth meaning of critical point is used unless the broader convention is explicitly stated. [ref]
For the polynomial on the real line,
The stationary points at are strict local minima and attain the global minimum; the stationary point at is a strict local maximum. One can check the local classifications from , which is positive at and negative at zero. The identity proves the global minimum directly. Since as , there is no global maximum on .
Figure 1.
Three stationary points of : two global minima and one local maximum
. Details.
A zero derivative alone does not guarantee an extremum. The polynomial has but is strictly increasing through zero: every neighbourhood of zero contains both positive and negative values, so zero is neither a local minimum nor a local maximum. Conversely, the absolute value function has a strict local minimum and a unique global minimum at zero, but its left and right derivatives are and . It is not differentiable there, so zero is a critical number under the broader convention and is not a stationary point.
Figure 2.
A stationary point without an extremum, and a corner minimum without a derivative
. Details.
The usefulness of critical points is that they reduce the search for smooth interior extrema to equations. Every local minimum or local maximum of a differentiable function at an interior point has zero gradient; this condition is necessary, and shows that it is not sufficient. The striking feature is that all the first directional derivatives must vanish together, even though the surrounding values can form a valley, a peak, or a saddle point of a scalar function. [ref]
Proof outline: at an interior local minimum in one variable, the difference quotient is nonnegative for small and nonpositive for small . If the derivative exists, the two sides have the same limit, forcing . Reverse the inequalities for a local maximum. In several variables, apply this argument along each coordinate line to obtain zero partial derivatives and hence zero gradient. At a domain boundary, both directions may not be available: on attains its global minimum at zero although for its smooth extension.
Curl of a gradient 2026-10-14
For a twice continuously differentiable function, the curl of its gradient vanishes. In components, because the second derivatives are symmetric in while the Levi-Civita symbol is antisymmetric. Thus adding a gradient to a vector potential preserves the represented curl. No topological assumption is needed for this identity, unlike the converse assertion that every curl-free vector field has a global potential.
Definite integral 2026-10-14
A definite integral accumulates an integrand between specified endpoints, retaining the sign of each contribution. For a real-valued function on a finite real interval, a finite definite integral is a scalar; an indefinite integral describes a family of antiderivatives. The lower and upper limits of integration specify where accumulation starts and ends. The integration variable is a placeholder: .
This is useful whenever a varying rate must be converted into a total change. For motion along a straight line with continuous velocity and position satisfying , the fundamental theorem of calculus gives displacement, while accumulating speed gives the distance traveled from velocity:
Negative velocity reduces displacement while adding to the distance traveled from velocity. The physical dimension of a definite integral is the product of the integrand's physical dimension and the integration variable's physical dimension: here . An area on a rate graph need not be a spatial area.[ref]
As an explicitly synthetic motion model, let for , with . Using numerical values in seconds and metres, an antiderivative gives . The velocity changes sign at : the model first moves m in the negative direction, then m in the positive direction. Its displacement is m, and its distance traveled from velocity is m. The initial position fixes the constant of integration, but does not change either accumulated quantity.
Figure 1.
Synthetic variable velocity model with displacement 3 metres and distance traveled 5 metres over three seconds
. Details.
Orientation matters independently of whether the integrand is positive or negative. For a function integrable on the interval containing the endpoints, use the conventions
For the preceding velocity model, accumulation from seconds back to seconds gives m. Reversing the bounds of the speed integral gives m, which is an oriented integral, not a negative distance traveled from velocity; physical elapsed-time totals use the earlier endpoint first. The splitting rule holds even when is outside the interval between and , provided integrability holds on the interval containing all three endpoints.[ref]
Existence needs hypotheses. For a bounded function on with , a finite Riemann integral exists when every tagged Riemann sum approaches the same value as the largest cell width tends to zero:
The limit must be independent of both the partition of an interval and the tags. Merely making the number of cells large can leave a wide cell unresolved. On a finite closed interval, every continuous function, and every bounded function that is continuous except at finitely many points, is Riemann integrable.[ref] Boundedness alone is insufficient: the Dirichlet function on is on the rational numbers and on the irrational numbers. Tags can all be chosen rational or all irrational, giving Riemann sums of or at arbitrarily small cell widths.[ref]
For a finite signed Lebesgue integral, the condition is instead that be a measurable function for Lebesgue measure and . A measurable function for Lebesgue measure that is also a bounded function on a finite interval satisfies this condition since gives . The Dirichlet function therefore has Lebesgue integral zero: the rational numbers form a null set, so it equals zero Lebesgue almost everywhere. The Riemann integral and Lebesgue integral agree for the continuous functions used in the diagrams.[ref] An unbounded integrand or infinite endpoint requires further analysis, for example the limits defining an improper integral; the notation alone does not establish convergence.
For , truncate to and subtract . Dominated convergence gives in L2 space, and the Cauchy-Schwarz inequality gives . Thus bounded centered directions are dense in the mean-zero L2 space. The measure defining the L2 norm is essential: density-weighted L2 space can contain functions outside the unweighted Lebesgue space.
Derivative Created 2026-09-24 Updated 2026-10-14
The derivative measures the instantaneous rate at which a function changes. For a real function defined near , it exists when the difference quotient has a finite two-sided limit:
The quotient is the slope of the straight line joining two nearby points of the graph. Its limit is the slope of the tangent line. Thus a derivative describes a local rate without choosing a particular finite measurement interval.
For , expanding the numerator gives
At , the increments , and give secant line slopes , and . The limit is , and the tangent line is . The picture makes the limiting process visible.
Figure 1.
Secant lines to x squared approach its tangent line at x = 1
. Details.
The same calculation shows why the derivative is useful for approximation:
This is a local linear approximation. Near , replacing by makes the exact error , smaller than the leading change when is small. A curved graph can therefore be studied locally using a straight line.
If the function records position against time, its derivative is velocity. If it records an objective function, its derivative tests local changes that matter in optimization; in several variables, the gradient collects these directional rates and guides gradient descent. The interpretation comes from the function and its units, rather than from a new rule for each application.
Existence matters. For the absolute value function , the one-sided derivatives at zero are and , so there is no single tangent line described by a finite derivative there. Nor does a zero derivative alone identify a maximum or minimum: has but keeps increasing through zero.
Derivative along a curve 2026-10-14
If is differentiable at the point of a differentiable parametric curve, the multivariable chain rule gives
The gradient supplies the local spatial rates; the velocity vector supplies the direction and rate of movement. Their dot product is the change in the sampled scalar field per unit parameter. If the parameter is time, this is a rate per unit time; a directional derivative per unit distance instead uses a unit vector.
Take and the unit circle path . Along the path,
At , the gradient is , the velocity vector is , and their dot product is . The sampled value is and increases at rate one, even though one coordinate is decreasing. This is why a moving observation must combine every coordinate's contribution.
Figure 1.
The gradient and path velocity combine to give the rate of change along a curve
. Left: level curves of , the unit circle path, and arrows at for its velocity vector and a scaled gradient. Right: the sampled function and its tangent line, of slope one at that parameter. The displayed gradient arrow is scaled for readability, without changing its direction. Details.
For a level curve, is constant, so the derivative along a curve is zero and its velocity vector is orthogonal to the gradient. Along other paths, the same formula combines a field's geometry with the observer's motion. [ref].
Let be a real interval, and let be differentiable in its interior and continuous at any endpoints belonging to . If the derivative satisfies throughout the interior, then is a nondecreasing function on . For in , the mean value theorem supplies with
Changing to , , or gives a nonincreasing function, strictly increasing function, or strictly decreasing function, respectively. The endpoint continuity assumption lets the mean value theorem apply even when or is an endpoint. [ref].
Conversely, if a nondecreasing function on a real interval is differentiable at an interior point , then : the difference quotient is nonnegative for either sign of . A differentiable nonincreasing function has derivative . Strict monotonicity still only forces these weak signs: the strictly increasing function has derivative zero at zero. The sign of the derivative helps locate intervals of monotonicity when sketching a graph. [ref].
The real interval hypothesis matters because a connected subset of the real line contains every point between its inputs. On a disconnected domain of a function, positive derivatives need not give a nondecreasing function. For example, take
Here everywhere in , but while . Each component has a strictly increasing function, yet their outputs are ordered the wrong way across the gap. This function is neither a nondecreasing function nor a nonincreasing function on all of ; the mean value theorem cannot cross the missing interval.
Figure 1.
A zero derivative can coexist with strict increase, while a domain gap defeats the derivative test
. Left: the strictly increasing function and its derivative , both zero at the origin. Right: two separate graph segments with derivative one on , but a lower output on the right component. Open circles exclude the four component endpoints. Details.
Here means the real- or complex-valued functions continuous on , smooth on , with every interior derivative having a continuous extension to the endpoints; endpoint values of derivatives are these extensions. On this space of smooth functions on a compact interval, define
These finite-valued seminorms increase with and separate points. In fact every is a norm, since it includes . The terminology seminorm includes norms; it does not assert that every measurement has a nontrivial kernel of a seminorm. Smooth convergence means for every fixed , equivalently uniform convergence of every derivative separately. It does not demand one tolerance or one convergence index that works for all orders simultaneously. The maximum convention is equivalent to the derivative supremum norm convention using a finite sum, since .
For a worked example, gives , , , and for . The linear functional obeys and is continuous. Similarly, differentiation is a continuous linear operator for smooth convergence, because .
The space of smooth functions on a compact interval is complete for this seminorm topology. A Cauchy sequence has uniform limits for its derivatives of each order. Passing to the limit in the fundamental theorem of calculus identity
gives , so and belongs to the same space. This is the completeness of the smooth-function metric argument; the metric there and the increasing- metric above induce the same smooth topology and the same Cauchy sequences.
Deterministic finite automaton Created 2026-09-24 Updated 2026-10-14
A deterministic finite automaton has exactly one automaton transition for every automaton state and input symbol. Formally, a DFA is a tuple : is a nonempty finite set of automaton states, a finite alphabet, a function, the initial automaton state, and the accepting automaton states. Its unique path on a word accepts if it ends in after consuming the entire input. Visiting earlier does not suffice.
For a concrete binary divisibility automaton, recognize the words whose values in the binary numeral system are divisible by three. Choose , , , and . Each automaton state names the congruence class of the integer read so far. Appending a binary digit changes its value to , so the automaton transition is
The modular arithmetic therefore needs only three automaton states, whatever the input length. The full function is , , , , , and .
Figure 1.
A three-state DFA for binary digits representing integers divisible by three, with accepted and rejected traces
. Details.
For , the successive automaton states are , so the word is accepted. For , they are , so it is rejected. Leading zeros are allowed: they leave the initial automaton state unchanged. We explicitly assign value zero to the empty word, which is accepted because the initial automaton state is accepting. This is a convention for a formal language, rather than a claim that ordinary written numerals include a blank numeral.
The generator checks every word of up to eight binary digits, comparing the final automaton state with the integer value modulo three. Each length includes all words, preserving leading zeros as distinct inputs:
Length Words checkedAccepted by the DFAValues divisible by three
0111
1211
2422
3833
41666
5321111
6642222
71284343
82568686
All 511 checks agree. They are useful for catching a reversed arrow or mistaken label, but the reason the DFA works at every length is its invariant: after reading any word of value , its automaton state is . The update preserves that statement by mathematical induction. Through the extended transition function of a deterministic finite automaton, this becomes .
If a real function has a finite derivative at , its difference quotient tends to and is bounded for sufficiently small nonzero increments. Multiplying it by the increment shows , proving continuity at . The converse fails: the absolute value function is continuous but not differentiable at zero.
Differential calculus 2026-10-14
Differential calculus studies derivatives: how a function changes near an input and how that local information describes its graph or evolution. Its tools include linear approximation, higher derivatives, and Taylor series; applications include finding velocity from position and studying optimization through critical points.