For two subsystems with independently specified macrostates, suppose every allowed microstate of can be paired with every allowed microstate of . Their allowed set is a Cartesian product. With equal probability for each pair, Boltzmann's entropy formula gives
For example, take two independent copies of the toy model, each with two labels choosing between its two boxes. Each copy has four configurations and Boltzmann entropy . Combining their independent labels gives sixteen configurations and Boltzmann entropy . This explains why entropy adds even though microscopic counts multiply. [ref]
The product assumption matters. A constraint shared between the subsystems can forbid some pairs; for example, fixing only their combined energy generally requires summing over its possible divisions. See entropy maximization under thermal contact for how thermal equilibrium selects the dominant division. Statistical independence cannot be inferred merely from drawing a boundary between two parts.
Let have the fair Bernoulli distribution and set for every . Each coordinate has the same fair probability distribution as in the independent model, but the coordinates are dependent: , whereas the product of the marginal probabilities is . Every future sigma-algebra equals , so the tail sigma-algebra also equals .
The tail event of infinitely many heads is now exactly , with probability . For the finite-window events in infinitely many heads as a tail event,
The sample space can even be the same full Cartesian product in both models: the dependent probability measure assigns mass to each of the all-zero and all-one sequences. Then is the same literal tail event in both models. Only the probability measure and its independence properties change.
Figure 1.
More independent trials increase the chance of a head; repeated copies of one coin do not
. Exact constructed probabilities for at least one head in a window of coordinates. The independent curve is and tends to one; the shared-coin curve stays at . These are calculations from the two specified probability measures, not measurements or simulated frequencies. Details.
Axis-aligned bounding box 2026-10-14
An axis-aligned bounding box is a Cartesian product of closed intervals aligned with a chosen Cartesian coordinate system:
Only the two opposite corners and need to be stored. In two dimensions it is a rectangle. Changing the Cartesian coordinate system can change how tightly the axis-aligned bounding box fits the same object.[ref]
For a nonempty finite set of points , the smallest such axis-aligned bounding box has
These minimum and maximum values also enclose the convex hull of : each coordinate of a convex combination lies between the smallest and largest input coordinates. In particular, three vertices of a polygon determine the axis-aligned bounding box of a filled triangle. For a general nonempty compact set, the same formulas use all its points; inspecting only an arbitrary finite sample is insufficient.
Given nonempty boxes and , the closed interval convention gives
Equivalently, reject as soon as or in any coordinate. The surviving set intersection has endpoints and . This is an exact box test, while its conclusion about enclosed objects remains a conservative enclosure test.[ref]
Equality counts as touching: and share an edge, so their set intersection is nonempty. Replacing every in the overlap formula by tests intersection of the interiors of full-dimensional boxes and excludes this contact. A zero-width closed interval can represent a point or a lower-dimensional enclosure, and must not automatically be discarded when touching counts. A box with some is empty; test emptiness before applying rules intended for nonempty boxes. The broad phase must retain touching candidates whenever the narrow phase counts touching as a hit.
For nonempty boxes, the smallest enclosing axis-aligned bounding box of their set union is
This operation supplies the parent boxes in a bounding volume hierarchy. It is an enclosure of the set union, rather than generally the set union itself. In floating-point arithmetic, comparisons are conclusive only for endpoints that still enclose the intended exact objects; use certified bounds such as interval arithmetic with outward rounding when that guarantee is required.
// Target: analysis.bigb
Axis-parallel box 2026-10-03
An axis-parallel box in is a Cartesian product of bounded intervals. Its volume is the product of its side lengths, and each coordinate projection is the product of the corresponding intervals.
Backtracking leaf bound 2026-10-24
Suppose backtracking assigns each of finitely many variables once along each branch, branching only on distinct values in its initial nonempty constraint domain . Then the number of leaves is at most , even if inconsistent partial assignments terminate early. Ignore constraints and associate a leaf with every full domain assignment extending its partial assignment. Each leaf has at least one such extension. Different leaves have disjoint extension families: at their first diverging choice they assigned different values to the same selected variable. These nonempty disjoint families lie in a Cartesian product of cardinality , proving the bound. The selected next variable can depend on the preceding assignments, provided each full assignment follows a unique branch.
The bound is exact for an unpruned enumeration tree, but need not be attained when actual constraints cause search pruning. Counting complete satisfying assignments alone also does not count failed partial leaves.
For four real-valued functions on a finite Cartesian product, let . Repeated Cauchy-Schwarz inequalities give
First separate the two averages and apply Cauchy-Schwarz inequality in . Each resulting squared factor is , bounded by by another Cauchy-Schwarz inequality. Expanding the four factors of and applying this inequality to each of the sixteen terms gives the triangle inequality for the box norm.
Box norm Created 2026-10-05 Updated 2026-10-13
For nonempty finite sets and a function on their Cartesian product, using uniform expectations, define
This equals . Hence it is nonnegative, and vanishing forces by taking . Absolute homogeneity and the box Cauchy-Schwarz inequality establish that it is a norm. For a real-valued function the complex conjugates can be omitted. The bilinear correlation bound for the box norm also holds for complex functions.
Box norm singular-value identity Created 2026-10-06 Updated 2026-10-07
For a real-valued function on a nonempty finite Cartesian product, let with uniform inner products. The box norm obeys , where are its singular values. For a biregular graph this separates the constant component from the other fourth powers.
Box topology 2026-10-14
The box topology on has a basis of a topology consisting of all Cartesian products with every an open set in ; infinitely many coordinates may be restricted. It contains the product topology and agrees with it for finite .[ref]
For copies of the usual real line, the box topology is strictly finer when . The box is not an open set in the product topology: a basic cylinder set containing zero leaves some coordinate unrestricted, so it contains . This is a construction for every finite coordinate set, not evidence from testing a finite prefix.
Cartesian powers of cap sets Created 2026-10-05 Updated 2026-10-06
Every Cartesian product of cap sets is a cap set. In characteristic three, with any two equal forces all three equal. A zero-sum triple in a Cartesian product of cap sets is therefore diagonal in every coordinate block, hence diagonal overall.
Category theory Created 2026-09-24 Updated 2026-10-13
Category theory studies mathematical structures through the morphisms between them. A category specifies which objects of a category and arrows are allowed; a functor translates these objects and arrows into another category; a natural transformation compares two such translations coherently. For example, the category of groups records both groups and group homomorphisms, so it remembers which maps respect multiplication.
The usefulness appears in constructions we already know. A Cartesian product combines two sets, while a direct product of groups combines two groups. Both satisfy the same universal property of a categorical product: any pair of maps into the factors comes from exactly one map into the product. This gives a reusable way to construct maps and establish isomorphisms, without depending on a particular choice of coordinates or element labels. In a partially ordered set regarded as a category, the corresponding categorical product is a greatest lower bound. The shared definition exposes a connection between pairing data and finding the best common bound.
Start with the computed examples under category, functor, natural transformation, and product in a category. Their arrow equations are practical tests: do both routes in a commutative diagram produce the same result? Later, the same language organizes tensor products, adjunctions, and the fundamental group of a topological space. Emily Riehl's textbook develops these basic notions before using them to compare constructions across different subjects. [ref]
In their 1945 paper, Samuel Eilenberg and Saunders Mac Lane set out the notions of category, functor, and natural transformation. The introduction uses the relation between a vector space and its dual space to ask which comparisons are natural, setting up a precise language for compatibility with maps. [ref]
Figure 1.
Saunders Mac Lane at left and Samuel Eilenberg at right at a 1992 category theory meeting; photograph by SixWingedSeraph, CC BY-SA 4.0
. Source.
Constraint domain 2026-10-25
The set of values permitted for a variable in a constraint satisfaction problem. All assignments before relational constraints form the Cartesian product , whose cardinality is for finite domains. Unary restrictions can be incorporated directly into the constraint domain by deleting forbidden values.
A continuous map from a nonempty finite product space of infinite sets with their cofinite topologies to a Hausdorff space is a constant function. Fixing all but one coordinate gives a continuous map from an infinite cofinite topology, so changing that coordinate does not change the value. Any two points in a finite Cartesian product can be joined by finitely many one-coordinate changes. This proves the assertion. In particular every real-valued continuous function on is constant when is the real line equipped with the cofinite topology.
For arbitrary topological spaces , an index set , a sequence , and a point in that Cartesian product, convergence in a product space to in the product topology is equivalent to coordinatewise convergence in every factor. No countability or Hausdorff assumption on the factors is needed. For a product space of copies of the real line, regarding each point as a function identifies this with pointwise convergence.
Proof outline: the forward implication follows because each projection map is continuous. Conversely, given a basic neighborhood of , each of its finitely many coordinate tests holds for all . Taking makes all tests hold simultaneously; if is empty, any threshold works. This proves eventual membership in every neighborhood, rather than only in a sampled collection of cylinders. The same equivalence holds for nets: a directed set supplies a common upper bound for finitely many thresholds. Sequences alone need not characterize the whole topology of an arbitrary product space.
A countably generated abelian group is a countable set. Given generators , every element is for some and some . For each fixed , this is the image of a finite cartesian product of copies of the countable set ; taking a countable union of countable sets proves the assertion. The same proof works for a module generated by a countable set over any countable ring.
Countable product metric 2026-10-31
The displayed metric on a countable Cartesian product of metric spaces combines the bounded metric transform with summable positive weights. It is finite even when individual factor metrics are unbounded. The triangle inequality follows from subadditivity of and summation. Zero distance forces equality in each coordinate.
Convergence in this metric is exactly coordinatewise convergence. One term is bounded by the sum, so implies each . Conversely, choose a finite head whose omitted weight sum is small; convergence in those finitely many coordinates controls the head uniformly, while boundedness of the transformed distances controls the entire tail. Thus it induces the countable product topology. Arbitrary positive summable weights work by the same proof.
Countable set Created 2026-09-24 Updated 2026-10-14
A countable set is a set that admits an injective function into the natural numbers. It is therefore either a finite set or a countably infinite set.
For a countably infinite set, countability means that its members can be arranged as a sequence in which every member occurs exactly once. The order need not resemble the order already present in the set. For example, the integers can be listed as . Simply increasing through positive values would never reach a negative one.
The Cartesian product needs a similar change of strategy. Listing a whole horizontal row first would never finish that row, so later rows would be missed. Instead list pairs by increasing coordinate sum , and within each finite diagonal by increasing :
Every pair has a finite coordinate sum and therefore appears after finitely many earlier pairs. This is the construction made explicit by the Cantor pairing function. It explains why having two infinite coordinates does not, by itself, mean a larger cardinality.
Figure 1.
Enumerating natural-number pairs along finite diagonals reaches every point of the infinite grid
. Details.
Cut norm 2026-10-06
For a real-valued function on a nonempty finite Cartesian product , its normalized cut norm is the maximum of over . It measures all rectangular subset discrepancies. The convention using arbitrary test functions bounded by one is equivalent within a factor of four, by decomposing their positive and negative parts into indicator functions.
A function on a Cartesian product is a cylinder function if it depends on only finitely many coordinates. With finite discrete coordinate spaces it is a continuous function in the product topology. These functions determine finite-dimensional laws and provide a natural domain for local generators of interacting particle systems.
Definiteness of a norm Created 2026-10-05 Updated 2026-10-06
Definiteness says that a norm vanishes only at the zero vector. The box norm on a nonempty finite Cartesian product is definite because its defining sum of squares includes equal-column terms, each of which is the square of an average of squares. Omitting repeated coordinates would destroy this proof and can produce a different quantity.