<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Locally_constant_function</id>
	<title>Locally constant function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Locally_constant_function"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Locally_constant_function&amp;action=history"/>
	<updated>2026-06-23T22:55:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Locally_constant_function&amp;diff=191438&amp;oldid=prev</id>
		<title>imported&gt;1234qwer1234qwer4: {{redirect|Locally constant|the sheaf-theoretic term|locally constant sheaf}}</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Locally_constant_function&amp;diff=191438&amp;oldid=prev"/>
		<updated>2024-09-08T01:05:13Z</updated>

		<summary type="html">&lt;p&gt;{{redirect|Locally constant|the sheaf-theoretic term|locally constant sheaf}}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Type of mathematical function}}&lt;br /&gt;
{{More citations needed|date=January 2024}}&lt;br /&gt;
{{redirect|Locally constant|the sheaf-theoretic term|locally constant sheaf}}&lt;br /&gt;
[[File:Example of a locally constant function with sgn(x).svg|thumb|The [[signum function]] restricted to the domain &amp;lt;math&amp;gt;\R\setminus\{0\}&amp;lt;/math&amp;gt; is locally constant.]]&lt;br /&gt;
In [[mathematics]], a &amp;#039;&amp;#039;&amp;#039;locally constant function&amp;#039;&amp;#039;&amp;#039; is a [[Function (mathematics)|function]] from a [[topological space]] into a [[Set (mathematics)|set]] with the property that around every point of its domain, there exists some [[Neighborhood (topology)|neighborhood]] of that point on which it [[Restriction of a function|restricts]] to a [[constant function]].&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f : X \to S&amp;lt;/math&amp;gt; be a function from a [[topological space]] &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; into a [[Set (mathematics)|set]] &amp;lt;math&amp;gt;S.&amp;lt;/math&amp;gt; &lt;br /&gt;
If  &amp;lt;math&amp;gt;x \in X&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is said to be &amp;#039;&amp;#039;&amp;#039;locally constant at &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&amp;#039;&amp;#039;&amp;#039; if there exists a [[Neighborhood (topology)|neighborhood]] &amp;lt;math&amp;gt;U \subseteq X&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is constant on &amp;lt;math&amp;gt;U,&amp;lt;/math&amp;gt; which by definition means that &amp;lt;math&amp;gt;f(u) = f(v)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;u, v \in U.&amp;lt;/math&amp;gt; &lt;br /&gt;
The function &amp;lt;math&amp;gt;f : X \to S&amp;lt;/math&amp;gt; is called &amp;#039;&amp;#039;&amp;#039;locally constant&amp;#039;&amp;#039;&amp;#039; if it is locally constant at every point &amp;lt;math&amp;gt;x \in X&amp;lt;/math&amp;gt; in its domain.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Every [[constant function]] is locally constant. The converse will hold if its [[Domain of a function|domain]] is a [[connected space]].&lt;br /&gt;
&lt;br /&gt;
Every locally constant function from the [[real number]]s &amp;lt;math&amp;gt;\R&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\R&amp;lt;/math&amp;gt; is constant, by the [[Connected space|connectedness]] of &amp;lt;math&amp;gt;\R.&amp;lt;/math&amp;gt; But the function &amp;lt;math&amp;gt;f : \Q \to \R&amp;lt;/math&amp;gt; from the [[Rational number|rationals]] &amp;lt;math&amp;gt;\Q&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\R,&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;f(x) = 0 \text{ for } x &amp;lt; \pi,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(x) = 1 \text{ for } x &amp;gt; \pi,&amp;lt;/math&amp;gt; is locally constant (this uses the fact that &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt; is [[Irrational number|irrational]] and that therefore the two sets &amp;lt;math&amp;gt;\{ x \in \Q : x &amp;lt; \pi \}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\{ x \in \Q : x &amp;gt; \pi \}&amp;lt;/math&amp;gt; are both [[Open set|open]] in &amp;lt;math&amp;gt;\Q&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;f : A \to B&amp;lt;/math&amp;gt; is locally constant, then it is constant on any [[Connected space|connected component]] of &amp;lt;math&amp;gt;A.&amp;lt;/math&amp;gt; The converse is true for [[locally connected]] spaces, which are spaces whose connected components are open subsets.&lt;br /&gt;
&lt;br /&gt;
Further examples include the following:&lt;br /&gt;
* Given a [[covering map]] &amp;lt;math&amp;gt;p : C \to X,&amp;lt;/math&amp;gt; then to each point &amp;lt;math&amp;gt;x \in X&amp;lt;/math&amp;gt; we can assign the [[cardinality]] of the [[Fiber (mathematics)|fiber]] &amp;lt;math&amp;gt;p^{-1}(x)&amp;lt;/math&amp;gt; over &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;; this assignment is locally constant.&lt;br /&gt;
* A map from a topological space &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; to a [[discrete space]] &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; is [[Continuous function (topology)|continuous]] if and only if it is locally constant.&lt;br /&gt;
&lt;br /&gt;
== Connection with sheaf theory ==&lt;br /&gt;
&lt;br /&gt;
There are {{em|sheaves}} of locally constant functions on &amp;lt;math&amp;gt;X.&amp;lt;/math&amp;gt; To be more definite, the locally constant integer-valued functions on &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; form a [[Sheaf (mathematics)|sheaf]] in the sense that for each open set &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; we can form the functions of this kind; and then verify that the sheaf {{em|axioms}} hold for this construction, giving us a sheaf of [[abelian group]]s (even [[commutative ring]]s).&amp;lt;ref&amp;gt;{{cite book |last1=Hartshorne |first1=Robin |title=Algebraic Geometry |date=1977 |publisher=Springer |page=62}}&amp;lt;/ref&amp;gt; This sheaf could be written &amp;lt;math&amp;gt;Z_X&amp;lt;/math&amp;gt;; described by means of {{em|stalks}} we have stalk &amp;lt;math&amp;gt;Z_x,&amp;lt;/math&amp;gt; a copy of &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;x,&amp;lt;/math&amp;gt; for each &amp;lt;math&amp;gt;x \in X.&amp;lt;/math&amp;gt; This can be referred to a {{em|constant sheaf}}, meaning exactly {{em|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 {{em|locally}} look like such &amp;#039;harmless&amp;#039; sheaves (near any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;), but from a global point of view exhibit some &amp;#039;twisting&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* {{annotated link|Liouville&amp;#039;s theorem (complex analysis)}}&lt;br /&gt;
* [[Locally constant sheaf]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Locally Constant Function}}&lt;br /&gt;
[[Category:Sheaf theory]]&lt;/div&gt;</summary>
		<author><name>imported&gt;1234qwer1234qwer4</name></author>
	</entry>
</feed>