Locally constant function

restricted to the domain \R\setminus\{0\} is locally constant.

Uses your system voice; voice and rate in settings.

≈ 3 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In mathematics, a locally constant function is a function from a topological space into a set with the property that around every point of its domain, there exists some neighborhood of that point on which it restricts to a constant function.

Definition

edit edit source

Let f:X→S be a function from a topological space X into a set S. If x∈X then f is said to be locally constant at x if there exists a neighborhood U⊆X of x such that f is constant on U, which by definition means that f(u)=f(v) for all u,v∈U. The function f:X→S is called locally constant if it is locally constant at every point x∈X in its domain.

Examples

edit edit source

Every constant function is locally constant. The converse will hold if its domain is a connected space.

Every locally constant function from the real numbers ℝ to ℝ is constant, by the connectedness of ℝ. But the function f:ℚ→ℝ from the rationals ℚ to ℝ, defined by f(x)=0 for x<π, and f(x)=1 for x>π, is locally constant (this uses the fact that π is irrational and that therefore the two sets {x∈ℚ:x<π} and {x∈ℚ:x>π} are both open in ℚ).

If f:A→B is locally constant, then it is constant on any connected component of A. The converse is true for locally connected spaces, which are spaces whose connected components are open subsets.

Further examples include the following:

Connection with sheaf theory

edit edit source

There are sheaves of locally constant functions on X. To be more definite, the locally constant integer-valued functions on X form a sheaf in the sense that for each open set U of X we can form the functions of this kind; and then verify that the sheaf axioms hold for this construction, giving us a sheaf of abelian groups (even commutative rings).[1] This sheaf could be written ZX; described by means of stalks we have stalk Zx, a copy of Z at x, for each x∈X. This can be referred to a constant sheaf, meaning exactly sheaf of locally constant functions taking their values in the (same) group. The typical sheaf of course is not constant in this way; but the construction is useful in linking up sheaf cohomology with homology theory, and in logical applications of sheaves. The idea of local coefficient system is that we can have a theory of sheaves that locally look like such 'harmless' sheaves (near any x), but from a global point of view exhibit some 'twisting'.

See also

edit edit source

References

edit edit source
  1. ^ Hartshorne, Robin (1977). Algebraic Geometry. Springer. p. 62. Wikipedia revision 1358494434, retrieved 2026-11-18

Text derived from https://en.wikipedia.org/w/index.php?oldid=1358494434 under CC BY-SA 4.0; modifications have been made.

Words in each sectionExamplesExamplesExamples: 181 words181Connection with sheaf t…Connection with sheaf theoryConnection with sheaf theory: 181 words181DefinitionDefinitionDefinition: 84 words84See alsoSee alsoSee also: 15 words15
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001358494434 · captured 2026-06-08 · ledger · version history

Cite this page as: encyclopegia.org, “Locally constant function”, snapshot enwiki-001358494434. https://encyclopegia.org/a/locally-constant-function