<?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=Domain_of_a_function</id>
	<title>Domain of a 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=Domain_of_a_function"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Domain_of_a_function&amp;action=history"/>
	<updated>2026-04-21T20:19:20Z</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=Domain_of_a_function&amp;diff=33145&amp;oldid=prev</id>
		<title>imported&gt;KawaiiAngelx at 23:40, 24 October 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Domain_of_a_function&amp;diff=33145&amp;oldid=prev"/>
		<updated>2025-10-24T23:40:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{short description|Mathematical concept}}&lt;br /&gt;
[[File:Codomain2.SVG|thumb|A function {{mvar|f}} from {{mvar|X}} to {{mvar|Y}}. The set of points in the red oval {{mvar|X}} is the domain of {{mvar|f}}.]]&lt;br /&gt;
[[File:Arcsine Arccosine.svg|thumb|upright=0.75|Graph of the arcsine and arccosine functions, &amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) = arcsin(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) and &amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) = arccos(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;), each of whose domain consists of the set of real numbers [–1,1] inclusively]]&lt;br /&gt;
&lt;br /&gt;
In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;domain of a function&amp;#039;&amp;#039;&amp;#039; is the [[Set (mathematics)|set]] of inputs accepted by the [[Function (mathematics)|function]]. It is sometimes denoted by &amp;lt;math&amp;gt;\operatorname{dom}(f)&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\operatorname{dom }f&amp;lt;/math&amp;gt;, where {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;}} is the function. In layman&amp;#039;s terms, the domain of a function can generally be thought of as &amp;quot;what x can be&amp;quot;.&amp;lt;ref&amp;gt;{{Cite web|title=Domain, Range, Inverse of Functions|url=https://www.easysevens.com/domain-range-inverse-of-functions/|access-date=2023-04-13|website=Easy Sevens Education|date=10 April 2023 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More precisely, given a function &amp;lt;math&amp;gt;f\colon X\to Y&amp;lt;/math&amp;gt;, the domain of {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;}} is {{math|&amp;#039;&amp;#039;X&amp;#039;&amp;#039;}}. In modern mathematical language, the domain is part of the definition of a function rather than a property of it.&lt;br /&gt;
&lt;br /&gt;
In the special case that {{math|&amp;#039;&amp;#039;X&amp;#039;&amp;#039;}} and {{math|&amp;#039;&amp;#039;Y&amp;#039;&amp;#039;}} are both sets of [[real number]]s, the function {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;}} can be graphed in the [[Cartesian coordinate system]]. In this case, the domain is represented on the {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;}}-axis of the graph, as the projection of the graph of the function onto the {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;}}-axis.&lt;br /&gt;
&lt;br /&gt;
For a function &amp;lt;math&amp;gt;f\colon X\to Y&amp;lt;/math&amp;gt;, the set {{math|&amp;#039;&amp;#039;Y&amp;#039;&amp;#039;}} is called the &amp;#039;&amp;#039;[[codomain]]&amp;#039;&amp;#039;: the set to which all outputs must belong. The set of specific outputs the function assigns to elements of {{math|&amp;#039;&amp;#039;X&amp;#039;&amp;#039;}} is called its &amp;#039;&amp;#039;[[Range of a function|range]]&amp;#039;&amp;#039; or &amp;#039;&amp;#039;[[Image (mathematics)|image]]&amp;#039;&amp;#039;. The image of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is a subset of {{math|&amp;#039;&amp;#039;Y&amp;#039;&amp;#039;}}, shown as the yellow oval in the accompanying diagram.&lt;br /&gt;
&lt;br /&gt;
Any function can be restricted to a subset of its domain. The [[Restriction (mathematics)|restriction]] of &amp;lt;math&amp;gt;f \colon X \to Y&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;A\subseteq X&amp;lt;/math&amp;gt;, is written as &amp;lt;math&amp;gt;\left. f \right|_A \colon A \to Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Natural domain ==&lt;br /&gt;
If a [[real function]] {{mvar|f}} is given by a formula, it may be not defined for some values of the variable. In this case, it is a &amp;#039;&amp;#039;[[partial function]]&amp;#039;&amp;#039;, and the set of real numbers on which the formula can be evaluated to a real number is called the &amp;#039;&amp;#039;natural domain&amp;#039;&amp;#039; or &amp;#039;&amp;#039;domain of definition&amp;#039;&amp;#039; of {{mvar|f}}. In many contexts, a partial function is called simply a &amp;#039;&amp;#039;function&amp;#039;&amp;#039;, and its natural domain is called simply its &amp;#039;&amp;#039;domain&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
* The function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;f(x)=\frac{1}{x}&amp;lt;/math&amp;gt; cannot be evaluated at 0. Therefore, the natural domain of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is the set of real numbers excluding 0, which can be denoted by &amp;lt;math&amp;gt;\mathbb{R} \setminus \{ 0 \}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\{x\in\mathbb R:x\ne 0\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* The [[piecewise]] function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;f(x) = \begin{cases}&lt;br /&gt;
1/x&amp;amp;x\not=0\\&lt;br /&gt;
0&amp;amp;x=0&lt;br /&gt;
\end{cases},&amp;lt;/math&amp;gt; has as its natural domain the set &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt; of real numbers.&lt;br /&gt;
* The [[square root]] function &amp;lt;math&amp;gt;f(x)=\sqrt x&amp;lt;/math&amp;gt; has as its natural domain the set of non-negative real numbers, which can be denoted by &amp;lt;math&amp;gt;\mathbb R_{\geq 0}&amp;lt;/math&amp;gt;, the interval &amp;lt;math&amp;gt;[0,\infty)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\{x\in\mathbb R:x\geq 0\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* The [[tangent function]], denoted &amp;lt;math&amp;gt;\tan&amp;lt;/math&amp;gt;, has as its natural domain the set of all real numbers which are not of the form &amp;lt;math&amp;gt;\tfrac{\pi}{2} + k \pi&amp;lt;/math&amp;gt; for some [[integer]] &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, which can be written as &amp;lt;math&amp;gt;\mathbb R \setminus \{\tfrac{\pi}{2}+k\pi: k\in\mathbb Z\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Other uses ==&lt;br /&gt;
&lt;br /&gt;
The term &amp;#039;&amp;#039;domain&amp;#039;&amp;#039; is also commonly used in a different sense in [[mathematical analysis]]: a &amp;#039;&amp;#039;[[Domain (mathematical analysis)|domain]]&amp;#039;&amp;#039; is a [[empty set|non-empty]] [[connected (topology)|connected]] [[open set]] in a [[topological space]]. In particular, in [[real analysis|real]] and [[complex analysis]], a &amp;#039;&amp;#039;domain&amp;#039;&amp;#039; is a non-empty connected open subset of the [[real coordinate space]] &amp;lt;math&amp;gt;\R^n&amp;lt;/math&amp;gt; or the [[complex coordinate space]] &amp;lt;math&amp;gt;\C^n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sometimes such a domain is used as the domain of a function, although functions may be defined on more general sets. The two concepts are sometimes conflated as in, for example, the study of [[partial differential equation]]s: in that case, a &amp;#039;&amp;#039;domain&amp;#039;&amp;#039; is the open connected subset of &amp;lt;math&amp;gt;\R^{n}&amp;lt;/math&amp;gt; where a problem is posed, making it both an analysis-style domain and also the domain of the unknown function(s) sought.&lt;br /&gt;
&lt;br /&gt;
== Set theoretical notions ==&lt;br /&gt;
For example, it is sometimes convenient in [[set theory]] to permit the domain of a function to be a [[Class (set theory)|proper class]] {{mvar|X}}, in which case there is formally no such thing as a triple {{math|(&amp;#039;&amp;#039;X&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Y&amp;#039;&amp;#039;, &amp;#039;&amp;#039;G&amp;#039;&amp;#039;)}}. With such a definition, functions do not have a domain, although some authors still use it informally after introducing a function in the form {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;: &amp;#039;&amp;#039;X&amp;#039;&amp;#039; → &amp;#039;&amp;#039;Y&amp;#039;&amp;#039;}}.&amp;lt;ref&amp;gt;{{Harvnb|Eccles|1997}}, p. 91 ([{{Google books|plainurl=y|id=ImCSX_gm40oC|page=91|text=The reader may wonder at this variety of ways of thinking about a function}} quote 1], [{{Google books|plainurl=y|id=ImCSX_gm40oC|page=91|text=When defining a function using a formula it is important to be clear about which sets are the domain and the codomain of the function}} quote 2]); {{Harvnb|Mac Lane|1998}}, [{{Google books|plainurl=y|id=MXboNPdTv7QC|page=8|text=Here &amp;quot;function&amp;quot; means a function with specified domain and specified codomain}} p. 8]; Mac Lane, in {{Harvnb|Scott|Jech|1971}}, [{{Google books|plainurl=y|id=5mf4Vckj0gEC|page=232|text=Note explicitly that the notion of function is not that customary in axiomatic set theory}} p. 232]; {{Harvnb|Sharma|2010}}, [{{Google books|plainurl=y|id=IGvDpe6hYiQC|page=91|text=Functions as sets of ordered pairs}} p. 91]; {{Harvnb|Stewart|Tall|1977}}, [{{Google books|plainurl=y|id=TLelvnIU2sEC|page=89|text=Strictly speaking we cannot talk of &amp;#039;the&amp;#039; codomain of a function}} p. 89]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Argument of a function]]&lt;br /&gt;
* [[Attribute domain]]&lt;br /&gt;
* [[Bijection, injection and surjection]]&lt;br /&gt;
* [[Codomain]]&lt;br /&gt;
* [[Domain decomposition]]&lt;br /&gt;
* [[Effective domain]]&lt;br /&gt;
* [[Endofunction#Endofunctions|Endofunction]]&lt;br /&gt;
* [[Image (mathematics)]]&lt;br /&gt;
* [[Lipschitz domain]]&lt;br /&gt;
* [[Naive set theory]]&lt;br /&gt;
* [[Range of a function]]&lt;br /&gt;
* [[Support (mathematics)]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* {{cite book |last=Bourbaki |first=Nicolas |title=Théorie des ensembles |year=1970 |publisher=Springer |series=Éléments de mathématique |isbn=9783540340348}}&lt;br /&gt;
* {{cite book |last1=Eccles |first1=Peter J. |title=An Introduction to Mathematical Reasoning: Numbers, Sets and Functions |date=11 December 1997 |publisher=Cambridge University Press |isbn=978-0-521-59718-0 |url=https://books.google.com/books?id=ImCSX_gm40oC |language=en}}&lt;br /&gt;
* {{cite book |last1=Mac Lane |first1=Saunders |title=Categories for the Working Mathematician |date=25 September 1998 |publisher=Springer Science &amp;amp; Business Media |isbn=978-0-387-98403-2 |url=https://books.google.com/books?id=MXboNPdTv7QC |language=en}}&lt;br /&gt;
* {{cite book |last1=Scott |first1=Dana S. |last2=Jech |first2=Thomas J. |title=Axiomatic Set Theory, Part 1 |date=31 December 1971 |publisher=American Mathematical Soc. |isbn=978-0-8218-0245-8 |url=https://books.google.com/books?id=5mf4Vckj0gEC |language=en}}&lt;br /&gt;
* {{cite book |last1=Sharma |first1=A. K. |title=Introduction To Set Theory |date=2010 |publisher=Discovery Publishing House |isbn=978-81-7141-877-0 |url=https://books.google.com/books?id=IGvDpe6hYiQC |language=en}}&lt;br /&gt;
* {{cite book |last1=Stewart |first1=Ian |last2=Tall |first2=David |title=The Foundations of Mathematics |date=1977 |publisher=Oxford University Press |isbn=978-0-19-853165-4 |url=https://books.google.com/books?id=TLelvnIU2sEC |language=en}}&lt;br /&gt;
&lt;br /&gt;
{{Mathematical logic}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Functions and mappings]]&lt;br /&gt;
[[Category:Basic concepts in set theory]]&lt;/div&gt;</summary>
		<author><name>imported&gt;KawaiiAngelx</name></author>
	</entry>
</feed>