Loading…
Loading…
Double integrals and two dimensional accumulation
A business quantity can vary in two independent dimensions, such as production level and time or geographical position. Adding a rate over one dimension is not enough when each small rectangle contributes an amount. A double integral accumulates those rectangle contributions and makes their units explicit.
On with and , partition each coordinate interval. A small cell has area . Choose a sample point in it and form
If these sums approach one value as the largest cell diameter tends to zero, independently of the choices, that value is the double integral . Continuity on a closed rectangle is sufficient. To justify this, uniform continuity makes the maximum minus minimum of on every sufficiently small cell less than any prescribed positive number. The upper and lower sums then differ by at most this oscillation bound times the fixed rectangle area, forcing a common limit.
If has units currency per unit of per unit of , multiplying by produces currency. A table of total amounts already assigned to cells is not a density table; multiplying those amounts by area again would double count the cell sizes.
For nonnegative , the integral is volume under its graph in the geometric interpretation. For signed , it is signed accumulation, not necessarily a nonnegative volume.
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
Let , , be compact, and let be continuous relative to . Compactness means the finite-subcover property. The empty set is harmless. At each , continuity supplies such that for . A finite selection of these balls covers ; the largest of the finitely many numbers bounds .
For , instead choose such that whenever . Finitely many balls cover . Put . If and , choose with . Then both belong to , so . This proves uniform continuity using the relative topology; no extension off was used. Closed bounded subsets of finite-dimensional Euclidean space are compact by the separately included Heine–Borel proof. This argument neither uses integration nor assumes a Fubini theorem.
Let , with finite , , and let satisfy . A product grid consists of partitions , . Its cells have areas . Define , , and
Each tagged sum lies between these two numbers. Refinement increases and decreases , because the subcell areas sum to the parent area. Two grids have a common refinement obtained by taking both sets of coordinate cuts. Consequently for all grids. Real completeness defines . These are finite. They coincide with a number if and only if, for every , some grid has . Indeed that gap bounds ; conversely choose an upper sum within of , a lower sum within of , and refine both.
Here is the bridge to arbitrary subrectangles in the original definition. A rectangular tiling is a finite cover of by closed axis-parallel positive-area rectangles with disjoint interiors; common edges may overlap. Its mesh is the largest cell diameter. Its lower and upper sums are defined in the same way. Taking every cell-edge coordinate gives a product-grid refinement, so its lower sum is at most , and its upper sum is at least .
Fix a product grid with gap less than . Let it have internal vertical lines and internal horizontal lines. In any tiling of mesh less than , call a cell bad if it meets one of these lines. A bad cell lies in a strip of width about a line. Thus the sum of the bad-cell areas is at most
This is an elementary finite-area estimate: refining all rectangle and strip edges reduces it to addition of disjoint cell areas, without using an integral. Every other cell is contained in one cell of . Its contribution to the oscillation sum is bounded by that parent-cell oscillation times its area; summing the good cells gives at most . On bad cells the oscillation is at most . Hence
Choose so the last term is less than ; when its coefficient is zero there is no restriction from that term. Every tag choice then gives a sum within of . This proves convergence for every sufficiently fine rectangular tiling, not only for grid refinements.
Conversely, if all tagged sums on sufficiently fine rectangular tilings approach , this holds for product grids. On a fixed fine grid choose each tag within of its cell supremum in function value; the resulting sum differs from by at most . Such tags exist by the definition of supremum; use infima for . The assumed uniform control of every tag choice, followed by , makes arbitrarily small. Thus the bounded-function Darboux criterion and the original arbitrary-diameter tagged definition agree.
The one-dimensional version is proved by the same construction with intervals and lengths. Explicitly, refine at the union of cuts; a fine interval that meets one of fixed interior cuts contributes to bad total length at most . The same -oscillation estimate proves equivalence with all fine interval tags, and near-supremum/infimum tags give the converse. We use this proper one-dimensional Riemann integral below. Sums of tagged sums prove linearity; pointwise comparison proves monotonicity; refinement at a fixed cut proves interval additivity. In detail, if a function is integrable on the whole interval, refine a small-gap partition at the cut: each subinterval gap is at most the total gap, proving integrability of both restrictions. Conversely, join small-gap partitions of the two restrictions; lower and upper sums add, so the integral of the whole is the sum of the two limits. Constants have integral equal to value times length. These statements also follow directly by taking the just-proved tagged limits. A bounded change supported on finitely many points has integral zero: isolate those points in finitely many intervals of arbitrarily small total length, and bound the upper sum of its absolute value by its bound times that length. Therefore endpoint values do not change a proper integral.
If either side length of is zero, define every area sum and the double integral to be zero. An integral over a zero-length interval is also zero. The positive-area argument above is not applied after dividing by a zero area.
Assume , , that bounded is Riemann integrable, and that for every the section is properly Riemann integrable on . Put . Then . We prove that is properly Riemann integrable and
For any product grid use its above and set , . For every , one-dimensional additivity and comparison give . Taking infima and suprema in that entire closed -interval yields
Given , integrability of supplies a grid with . The displayed inequality makes the outer Darboux gap less than , proving outer integrability rather than assuming it. Both and lie in ; their difference is at most , so they are equal. If instead all horizontal sections are properly integrable, the identical argument with the coordinate names exchanged gives the horizontal formula. Both orders are asserted only when both sets of sections exist. For a zero-width rectangle, the same equality holds whenever the displayed section integrals exist, since an outer or inner interval has zero length.
Let be continuous relative to the closed rectangle . If , compactness and the finite-cover proof give boundedness and uniform continuity. For any , choose such that points less than apart have function values differing by less than . A grid whose cell diameters are less than has
The Darboux criterion proves integrability, and its tiling bridge proves the original arbitrary-rectangle tagged definition. On a compact interval the identical proof uses length instead of area, with zero-length intervals handled separately. Each fixed-coordinate section of continuous is therefore properly integrable. The proved section theorem gives both iterated formulas. Moreover is continuous: its difference at is bounded by
which tends to zero by uniform continuity. If a side of has zero length, continuous sections still have their one-dimensional proper integrals, and all relevant double/iterated integrals are zero. No nonsingular-change-of-variables or measure-theoretic theorem is involved.
For continuous real on and on , the proved rectangular theorem gives
Indeed, the inner integral is by one-dimensional linearity, and the remaining constant factors out of the outer integral. This states an integration identity, not probabilistic independence.
An inner integral treats the other variable as constant. For example,
Reversing order gives . The equality comes from a theorem, not from assuming every order swap is valid. Singular improper integrands need additional hypotheses and are outside this continuous-rectangle result.
Suppose is a model marginal cost density in currency per production unit per month, for and . The accumulated quantity in that model is
Its average density over the -unit parameter rectangle is . This interpretation requires that the supplied object truly is a two-dimensional density. An ordinary monthly total cost function should be integrated only over time, not also over a production dimension without a stated density relation.
For a spatial storage-cost density on a warehouse floor, gives total cost per unit time if has currency per area per time units. Multiplying that result by a duration gives accumulated cost only when the time dependence is appropriately accounted for.
Let . Its upper boundary couples the two quantities. For a continuous density on this triangle, extend it by zero to a containing rectangle. The extension may jump on the three boundary segments, but those can be covered by rectangles of arbitrarily small total area. Boundedness controls those cells, and uniform continuity controls the others, giving integrability. Slicing therefore yields
In the opposite order the bounds are and . Bounds must be reconstructed from the region, not swapped mechanically.
For , compute
The triangle's area is 2, so its average value is . An average over a region is when area is positive, not simply an average of corner values.
If describes a positive allocation density and , define its weighted center by
For on the unit square, , , and . More weight lies on the right, shifting only the horizontal coordinate. A center computed from signed weights need not have this nonnegative-weight interpretation.
E1 Foundation. Evaluate in both orders and find the average value.
E2 Region bounds. Reverse the order of and evaluate it.
E3 Application. A floor has , and density currency per square meter per day. Find total daily cost and its weighted horizontal center.
E4 Signed accumulation. For on the unit square, find its integral. Does a zero answer imply the function is zero everywhere?
S1. Integrating first gives . Integrating first gives . Divide by area 2 to obtain average .
S2. The region is . Reverse to . Direct original-order integration gives the same value.
S3. Daily cost is currency per day. Its horizontal first moment is , so meters. The center lies right of the geometric midpoint 1 because density increases with .
S4. By symmetry or direct integration, . The function is positive above one coordinate ordering and negative below it; cancellation, not pointwise vanishing, causes the zero net value.
Double integrals accumulate density over two independent dimensions. For continuous rectangle data, Fubini justifies successive one-variable integrations. Feasible-region geometry determines variable bounds, while units, sign and weight assumptions determine what the resulting total or average means.