In mathematics, the concept of a measure is a generalization and formalization of geometrical measures (length, area, volume) and other common notions, such as magnitude, mass, and probability of events. These seemingly distinct concepts have many similarities and can often be treated together in a single mathematical context. Measures are foundational in probability theory, integration theory, and can be generalized to assume negative values, as with electrical charge. Far-reaching generalizations (such as spectral measures and projection-valued measures) of measure are widely used in quantum physics and physics in general. The intuition behind this concept dates back to Ancient Greece, when Archimedes tried to calculate the area of a circle. But it was not until the late 19th and early 20th centuries that measure theory became a branch of mathematics. The foundations of modern measure theory were laid in the works of Émile Borel, Henri Lebesgue, Nikolai Luzin, Johann Radon, Constantin Carathéodory, and Maurice Fréchet, among others. Definition. Let formula_1 be a set and formula_2 a σ-algebra over formula_3 A set function formula_4 from formula_2 to the extended real number line is called a measure if the following conditions hold: If at least one set formula_10 has finite measure, then the requirement formula_11 is met automatically due to countable additivity: formula_12 and therefore formula_13 If the condition of non-negativity is dropped, and formula_4 takes on at most one of the values of formula_15 then formula_4 is called a "signed measure". The pair formula_17 is called a "measurable space", and the members of formula_2 are called measurable sets. A triple formula_19 is called a "measure space". A probability measure is a measure with total measure one – that is, formula_20 A probability space is a measure space with a probability measure. For measure spaces that are also topological spaces various compatibility conditions can be placed for the measure and the topology. Most measures met in practice in analysis (and in many cases also in probability theory) are Radon measures. Radon measures have an alternative definition in terms of linear functionals on the locally convex topological vector space of continuous functions with compact support. This approach is taken by Bourbaki (2004) and a number of other sources. For more details, see the article on Radon measures. Instances. Some important measures are listed here. Other 'named' measures used in various theories include: Borel measure, Jordan measure, ergodic measure, Gaussian measure, Baire measure, Radon measure, Young measure, and Loeb measure. In physics an example of a measure is spatial distribution of mass (see for example, gravity potential), or another non-negative extensive property, conserved (see conservation law for a list of these) or not. Negative values lead to signed measures, see "generalizations" below. Measure theory is used in machine learning. One example is the Flow Induced Probability Measure in GFlowNet. Basic properties. Let formula_4 be a measure. Monotonicity. If formula_37 and formula_38 are measurable sets with formula_39 then formula_40 Measure of countable unions and intersections. Countable subadditivity. For any countable sequence formula_41 of (not necessarily disjoint) measurable sets formula_42 in formula_43 formula_44 Continuity from below. If formula_41 are measurable sets that are increasing (meaning that formula_46) then the union of the sets formula_42 is measurable and formula_48 Continuity from above. If formula_41 are measurable sets that are decreasing (meaning that formula_50) then the intersection of the sets formula_42 is measurable; furthermore, if at least one of the formula_42 has finite measure then formula_53 This property is false without the assumption that at least one of the formula_42 has finite measure. For instance, for each formula_55 let formula_56 which all have infinite Lebesgue measure, but the intersection is empty. Other properties. Completeness. A measurable set formula_1 is called a "null set" if formula_58 A subset of a null set is called a "negligible set". A negligible set need not be measurable, but every measurable negligible set is automatically a null set. A measure is called "complete" if every negligible set is measurable. A measure can be extended to a complete one by considering the σ-algebra of subsets formula_59 which differ by a negligible set from a measurable set formula_60 that is, such that the symmetric difference of formula_1 and formula_59 is contained in a null set. One defines formula_63 to equal formula_64 "Dropping the Edge". If formula_65 is formula_66-measurable, then formula_67 for almost all formula_68 This property is used in connection with Lebesgue integral. Additivity. Measures are required to be countably additive. However, the condition can be strengthened as follows. For any set formula_69 and any set of nonnegative formula_70 define: formula_71 That is, we define the sum of the formula_72 to be the supremum of all the sums of finitely many of them. A measure formula_4 on formula_2 is formula_75-additive if for any formula_76 and any family of disjoint sets formula_77 the following hold: formula_78 formula_79 The second condition is equivalent to the statement that the ideal of null sets is formula_75-complete. Sigma-finite measures. A measure space formula_19 is called finite if formula_82 is a finite real number (rather than formula_83). Nonzero finite measures are analogous to probability measures in the sense that any finite measure formula_4 is proportional to the probability measure formula_85 A measure formula_4 is called "σ-finite" if formula_1 can be decomposed into a countable union of measurable sets of finite measure. Analogously, a set in a measure space is said to have a "σ-finite measure" if it is a countable union of sets with finite measure. For example, the real numbers with the standard Lebesgue measure are σ-finite but not finite. Consider the closed intervals formula_88 for all integers formula_89 there are countably many such intervals, each has measure 1, and their union is the entire real line. Alternatively, consider the real numbers with the counting measure, which assigns to each finite set of reals the number of points in the set. This measure space is not σ-finite, because every set with finite measure contains only finitely many points, and it would take uncountably many such sets to cover the entire real line. The σ-finite measure spaces have some very convenient properties; σ-finiteness can be compared in this respect to the Lindelöf property of topological spaces. They can be also thought of as a vague generalization of the idea that a measure space may have 'uncountable measure'. Semifinite measures. Let formula_1 be a set, let formula_91 be a sigma-algebra on formula_60 and let formula_4 be a measure on formula_94 We say formula_4 is semifinite to mean that for all formula_96 formula_97 Semifinite measures generalize sigma-finite measures, in such a way that some big theorems of measure theory that hold for sigma-finite but not arbitrary measures can be extended with little modification to hold for semifinite measures. (To-do: add examples of such theorems; cf. the talk page.) Involved example. The zero measure is sigma-finite and thus semifinite. In addition, the zero measure is clearly less than or equal to formula_129 It can be shown there is a greatest measure with these two properties: We say the semifinite part of formula_4 to mean the semifinite measure formula_131 defined in the above theorem. We give some nice, explicit formulas, which some authors may take as definition, for the semifinite part: Since formula_131 is semifinite, it follows that if formula_136 then formula_4 is semifinite. It is also evident that if formula_4 is semifinite then formula_139 Non-examples. Every "formula_140 measure" that is not the zero measure is not semifinite. (Here, we say "formula_140 measure" to mean a measure whose range lies in formula_142: formula_143) Below we give examples of formula_140 measures that are not zero measures. Involved non-example. We say the formula_164 part of formula_4 to mean the measure formula_166 defined in the above theorem. Here is an explicit formula for formula_166: formula_168 Localizable measures. Localizable measures are a special case of semifinite measures and a generalization of sigma-finite measures. Let formula_1 be a set, let formula_91 be a sigma-algebra on formula_60 and let formula_4 be a measure on formula_94 s-finite measures. A measure is said to be s-finite if it is a countable sum of finite measures. S-finite measures are more general than sigma-finite ones and have applications in the theory of stochastic processes. Non-measurable sets. If the axiom of choice is assumed to be true, it can be proved that not all subsets of Euclidean space are Lebesgue measurable; examples of such sets include the Vitali set, and the non-measurable sets postulated by the Hausdorff paradox and the Banach–Tarski paradox. Generalizations. For certain purposes, it is useful to have a "measure" whose values are not restricted to the non-negative reals or infinity. For instance, a countably additive set function with values in the (signed) real numbers is called a "signed measure", while such a function with values in the complex numbers is called a "complex measure". Observe, however, that complex measure is necessarily of finite variation, hence complex measures include finite signed measures but not, for example, the Lebesgue measure. Measures that take values in Banach spaces have been studied extensively. A measure that takes values in the set of self-adjoint projections on a Hilbert space is called a "projection-valued measure"; these are used in functional analysis for the spectral theorem. When it is necessary to distinguish the usual measures which take non-negative values from generalizations, the term positive measure is used. Positive measures are closed under conical combination but not general linear combination, while signed measures are the linear closure of positive measures. More generally see measure theory in topological vector spaces. Another generalization is the "finitely additive measure", also known as a content. This is the same as a measure except that instead of requiring "countable" additivity we require only "finite" additivity. Historically, this definition was used first. It turns out that in general, finitely additive measures are connected with notions such as Banach limits, the dual of formula_215 and the Stone–Čech compactification. All these are linked in one way or another to the axiom of choice. Contents remain useful in certain technical problems in geometric measure theory; this is the theory of Banach measures. A "charge" is a generalization in both directions: it is a finitely additive, signed measure. (Cf. ba space for information about "bounded" charges, where we say a charge is "bounded" to mean its range its a bounded subset of "R".)