Germ (mathematics)
In mathematics, the notion of a germ of an object in/on a topological space is an equivalence class of that object and others of the same kind that captures their shared local properties. In particular, the objects in question are mostly functions (or maps) and subsets. In specific implementations of this idea, the functions or subsets in question will have some property, such as being analytic or smooth, but in general this is not needed (the functions in question need not even be continuous); it is however necessary that the space on/in which the object is  defined is a topological space, in order that the word "local" have some sense. Name. The name is derived from "cereal germ" in a continuation of the sheaf metaphor, as a germ is (locally) the "heart" of a function, as it is for a grain. Formal definition. Basic definition. Given a point "x" of a topological space "X", and two maps formula_1 (where "Y" is any set), then formula_2 and formula_3 define the same germ at "x" if there is a neighbourhood "U" of "x" such that restricted to "U", "f" and "g" are equal; meaning that formula_4 for all  u in "U". Similarly, if "S" and "T" are any two subsets of "X", then they define the same germ at "x" if there is again a neighbourhood "U" of "x" such that It is straightforward to see that "defining the same germ" at "x" is an equivalence relation (be it on maps or sets), and the equivalence classes are called germs (map-germs, or set-germs accordingly). The equivalence relation is usually written Given a map "f" on "X", then its germ at "x" is usually denoted ["f" ]. Similarly, the germ at "x" of a set "S" is written  ["S"]. Thus, A map germ at "x" in "X" that maps the point "x" in "X" to the point "y" in "Y" is denoted as When using this notation, "f" is then intended as an entire equivalence class of maps, using the same letter "f" for any representative map. Notice that two sets are germ-equivalent at "x" if and only if their characteristic functions are germ-equivalent at "x": More generally. Maps need not be defined on all of "X", and in particular they don't need to have the same domain. However, if "f" has domain "S" and  g has domain "T", both subsets of "X", then "f" and "g" are germ equivalent at "x" in "X" if first "S" and "T" are germ equivalent at "x", say formula_10 and then moreover formula_11, for some smaller neighbourhood "V" with formula_12. This is particularly relevant in two settings: Basic properties. If "f" and "g" are germ equivalent at "x", then they share all local properties, such as continuity, differentiability etc., so it makes sense to talk about a "differentiable or analytic germ", etc. Similarly for subsets: if one representative of a germ is an analytic set then so are  all representatives, at least on some neighbourhood of "x". Algebraic structures on the target "Y" are inherited by the set of germs with values in "Y". For instance, if the target "Y" is a group, then it makes sense to multiply germs: to define ["f"]["g"], first take representatives "f" and "g", defined on neighbourhoods "U" and "V" respectively, and define ["f"]["g"] to be the germ at "x" of the pointwise product map "fg" (which is defined on formula_13). In the same way, if "Y" is an abelian group, vector space, or ring, then so is the set of germs. The  set of germs at "x" of maps from "X" to "Y" does not have a useful topology, except for the discrete one. It therefore makes little or no sense to talk of a convergent sequence of germs. However, if "X" and "Y" are manifolds, then the spaces of jets formula_14 (finite order Taylor series at "x" of map(-germs)) do have topologies as they can be identified with finite-dimensional vector spaces. Relation with sheaves. The idea of germs is behind the definition of sheaves and presheaves. A presheaf formula_15 of abelian groups on a topological space "X" assigns an abelian  group formula_16 to each open set "U" in "X". Typical examples of abelian groups here are: real valued functions on "U", differential forms on "U", vector fields on "U", holomorphic functions on "U" (when "X" is a complex space), constant functions on "U" and differential operators on "U". If formula_17 then there is a restriction map formula_18 satisfying certain compatibility conditions. For a fixed "x", one says that elements formula_19 and formula_20 are equivalent at "x" if there is a neighbourhood formula_21 of "x" with res("f") = res("g") (both elements of formula_22). The equivalence classes form the stalk formula_23 at  x of the presheaf formula_15. This equivalence relation is an abstraction of the germ equivalence described above. Interpreting germs through sheaves also gives a general explanation for the presence of algebraic structures on sets of germs. The reason is that formation of stalks preserves finite limits. This implies that if "T" is a Lawvere theory and a sheaf "F" is a "T"-algebra, then any stalk "F" is also a "T"-algebra. Examples. If formula_25 and formula_26 have additional structure, it is possible to define subsets of the set of all maps from "X" to "Y" or more generally sub-presheaves of  a given presheaf formula_15 and corresponding germs: "some notable examples follow". Notation. The stalk of a sheaf formula_15 on a topological space formula_25 at a point formula_44 of formula_25 is commonly denoted by formula_46 As a consequence, germs, constituting stalks of sheaves of various kind of functions, borrow this scheme of notation: For germs of sets and varieties, the notation is not so well established: some notations found in literature include: Applications. The key word in the applications of germs is locality: "all local properties of a function at a point can be studied by analyzing its germ". They are  a generalization of Taylor series, and indeed the Taylor series of a germ (of a differentiable function) is defined: you only need local information to compute derivatives. Germs are useful in determining the properties of dynamical systems near chosen points of their phase space: they are one of the main tools in singularity theory and catastrophe theory. When the topological spaces considered are Riemann surfaces or more generally complex-analytic varieties, germs of holomorphic functions on them can be viewed as power series, and thus the set of germs can be considered to be the analytic continuation of an analytic  function. Germs can also be used in the definition of tangent vectors in differential geometry. A tangent vector can be viewed as a point-derivation on the algebra of germs at that point. Algebraic properties. As noted earlier, sets of germs may have algebraic structures such as being rings. In many situations, rings of germs are not arbitrary rings but instead have quite specific properties. Suppose that "X" is a space of some sort. It is often the case that, at each "x" ∈ "X", the ring of germs of functions at "x" is a local ring. This is the  case, for example, for continuous functions on a topological space; for "k"-times differentiable, smooth, or analytic functions on a real manifold (when such functions are defined); for holomorphic functions on a complex manifold; and for regular functions on an algebraic variety. The property that rings of germs are local rings is axiomatized by the theory of locally ringed spaces. The types of local rings that arise, however, depend closely on the theory under consideration. The Weierstrass preparation theorem implies that rings of germs of holomorphic functions are Noetherian rings. It can also be shown that these are regular rings. On  the other hand, let formula_69 be the ring of germs at the origin of smooth functions on R. This ring is local but not Noetherian. To see why, observe that the maximal ideal "m" of this ring consists of all germs that vanish at the origin, and the power "m" consists of those germs whose first "k" − 1 derivatives vanish. If this ring were Noetherian, then the Krull intersection theorem would imply that a smooth function whose Taylor series vanished would be the zero function. But this is false, as can be seen by considering This ring is also  not a unique factorization domain. This is because all UFDs satisfy the ascending chain condition on principal ideals, but there is an infinite ascending chain of principal ideals The inclusions are strict because "x" is in the maximal ideal "m". The ring formula_72 of germs at the origin of continuous functions on R even has the property that its maximal ideal "m" satisfies "m" = "m". Any germ "f" ∈ "m" can be written as where sgn is the sign function. Since |"f"| vanishes at the origin, this expresses "f" as the product of two functions in "m", whence the  conclusion. This is related to the setup of almost ring theory.