In mathematics, particularly in integral calculus, the localization theorem allows, under certain conditions, to infer the nullity of a function given only information about its continuity and the value of its integral.
Let be a real-valued function defined on some open interval é of the real line that is continuous in é. Let <var>D</var> be an arbitrary subinterval contained in é. The theorem states the following implication:
A simple proof is as follows: if there were a point <var>x</var><sub>0</sub> within é for which , then the continuity of would require the existence of a neighborhood of <var>x</var><sub>0</sub> in which the value of was nonzero, and in particular of the same sign than in <var>x</var><sub>0</sub>. Since such a neighborhood <var>N</var>, which can be taken to be arbitrarily small, must however be of a nonzero width on the real line, the integral of over <var>N</var> would evaluate to a nonzero value. However, since <var>x</var><sub>0</sub> is part of the open set é, all neighborhoods of <var>x</var><sub>0</sub> smaller than the distance of <var>x</var><sub>0</sub> to the frontier of é are included within it, and so the integral of over them must evaluate to zero. Having reached the contradiction that must be both zero and nonzero, the initial hypothesis must be wrong, and thus there is no <var>x</var><sub>0</sub> in é for which .
The theorem is easily generalized to multivariate functions, replacing intervals with the more general concept of connected open sets, that is, domains, and the original function with some , with the constraints of continuity and nullity of its integral over any subdomain . The proof is completely analogous to the single variable case, and concludes with the impossibility of finding a point such that .
An example of the use of this theorem in physics is the law of conservation of mass for fluids, which states that the mass of any fluid volume must not change:
Applying the Reynolds transport theorem, one can change the reference to an arbitrary (non-fluid) control volume <var>V<sub>c</sub></var>. Further assuming that the density function is continuous (i.e. that our fluid is monophasic and thermodynamically metastable) and that <var>V<sub>c</sub></var> is not moving relative to the chosen system of reference, the equation becomes:
As the equation holds for any such control volume, the localization theorem applies, rendering the common partial differential equation for the conservation of mass in monophase fluids: