Domain of a function: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>ClueBot NG
m Reverting possible vandalism by ~2025-41736-38 to version by Maxsimmonds1337. Report False Positive? Thanks, ClueBot NG. (4461900) (Bot)
imported>Yuvrajagarwal
No edit summary
 
Line 1: Line 1:
{{Short description|Set of all things that may be the input of a mathematical function}}
{{Short description|Set of all things that may be the input of a mathematical function}}
[[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}}.]]
[[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}}. The set of points in the blue oval {{mvar|Y}} is the codomain of {{mvar|f}}. The set of points in the yellow oval is the range of {{mvar|f}}.]]
[[File:Arcsine Arccosine.svg|thumb|upright=0.75|Graph of the arcsine and arccosine functions, ''f''(''x'') = arcsin(''x'') and ''f''(''x'') = arccos(''x''), each of whose domain consists of the set of real numbers [–1,1] inclusively]]
[[File:Arcsine Arccosine.svg|thumb|upright=0.75|Graph of the arcsine and arccosine functions, ''f''(''x'') = arcsin(''x'') and ''f''(''x'') = arccos(''x''), each of whose domain consists of the set of real numbers [–1,1] inclusively]]


Line 53: Line 53:


== References ==
== References ==
* {{cite book |last=Bourbaki |first=Nicolas |title=Théorie des ensembles |year=1970 |publisher=Springer |series=Éléments de mathématique |isbn=9783540340348}}
* {{cite book |last=Bourbaki |first=Nicolas |author-link=Nicolas Bourbaki |title=Théorie des ensembles |year=1970 |publisher=Springer |series=Éléments de mathématique |isbn=9783540340348}}
* {{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}}
* {{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}}
* {{cite book |last1=Mac Lane |first1=Saunders |title=Categories for the Working Mathematician |date=25 September 1998 |publisher=Springer Science & Business Media |isbn=978-0-387-98403-2 |url=https://books.google.com/books?id=MXboNPdTv7QC |language=en}}
* {{cite book |last1=Mac Lane |first1=Saunders |author-link=Saunders Mac Lane |title=Categories for the Working Mathematician |date=25 September 1998 |publisher=Springer Science & Business Media |isbn=978-0-387-98403-2 |url=https://books.google.com/books?id=MXboNPdTv7QC |language=en}}
* {{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}}
* {{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}}
* {{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}}
* {{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}}

Latest revision as of 05:21, 10 May 2026

Template:Short description

File:Codomain2.SVG
A function Template:Mvar from Template:Mvar to Template:Mvar. The set of points in the red oval Template:Mvar is the domain of Template:Mvar. The set of points in the blue oval Template:Mvar is the codomain of Template:Mvar. The set of points in the yellow oval is the range of Template:Mvar.
File:Arcsine Arccosine.svg
Graph of the arcsine and arccosine functions, f(x) = arcsin(x) and f(x) = arccos(x), each of whose domain consists of the set of real numbers [–1,1] inclusively

In mathematics, the domain of a function is the set of inputs accepted by the function. It is sometimes denoted by dom⁡(f) or dom⁡f, where fScript error: No such module "Check for unknown parameters". is the function. In layman's terms, the domain of a function can generally be thought of as "what x can be".[1]

More precisely, given a function f:X→Y, the domain of fScript error: No such module "Check for unknown parameters". is XScript error: No such module "Check for unknown parameters".. In modern mathematical language, the domain is part of the definition of a function rather than a property of it.

In the special case that XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters". are both sets of real numbers, the function fScript error: No such module "Check for unknown parameters". can be graphed in the Cartesian coordinate system. In this case, the domain is represented on the xScript error: No such module "Check for unknown parameters".-axis of the graph, as the projection of the graph of the function onto the xScript error: No such module "Check for unknown parameters".-axis.

For a function f:X→Y, the set YScript error: No such module "Check for unknown parameters". is called the codomain: the set to which all outputs must belong. The set of specific outputs the function assigns to elements of XScript error: No such module "Check for unknown parameters". is called its range or image. The image of f is a subset of YScript error: No such module "Check for unknown parameters"., shown as the yellow oval in the accompanying diagram.

Any function can be restricted to a subset of its domain. The restriction of f:X→Y to A, where A⊆X, is written as f|A:A→Y.

Natural domain

If a real function Template:Mvar is given by a formula, it may be not defined for some values of the variable. In this case, it is a partial function, and the set of real numbers on which the formula can be evaluated to a real number is called the natural domain or domain of definition of Template:Mvar. In many contexts, a partial function is called simply a function, and its natural domain is called simply its domain.

Examples

  • The function f defined by f(x)=1x cannot be evaluated at 0. Therefore, the natural domain of f is the set of real numbers excluding 0, which can be denoted by ℝ∖{0} or {x∈ℝ:x≠0}.
  • The piecewise function f defined by f(x)={1/xx=00x=0, has as its natural domain the set ℝ of real numbers.
  • The square root function f(x)=x has as its natural domain the set of non-negative real numbers, which can be denoted by ℝ≥0, the interval [0,∞), or {x∈ℝ:x≥0}.
  • The tangent function, denoted tan, has as its natural domain the set of all real numbers which are not of the form π2+kπ for some integer k, which can be written as ℝ∖{π2+kπ:k∈ℤ}.

Other uses

The term domain is also commonly used in a different sense in mathematical analysis: a domain is a non-empty connected open set in a topological space. In particular, in real and complex analysis, a domain is a non-empty connected open subset of the real coordinate space ℝn or the complex coordinate space ℂn.

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 equations: in that case, a domain is the open connected subset of ℝn where a problem is posed, making it both an analysis-style domain and also the domain of the unknown function(s) sought.

Set theoretical notions

For example, it is sometimes convenient in set theory to permit the domain of a function to be a proper class Template:Mvar, in which case there is formally no such thing as a triple (X, Y, G)Script error: No such module "Check for unknown parameters".. With such a definition, functions do not have a domain, although some authors still use it informally after introducing a function in the form f: X → YScript error: No such module "Check for unknown parameters"..[2]

See also

Notes

<templatestyles src="Reflist/styles.css" />

  1. ↑ Script error: No such module "citation/CS1".
  2. ↑ Script error: No such module "Footnotes"., p. 91 (quote 1, quote 2); Script error: No such module "Footnotes"., p. 8; Mac Lane, in Script error: No such module "Footnotes"., p. 232; Script error: No such module "Footnotes"., p. 91; Script error: No such module "Footnotes"., p. 89

Script error: No such module "Check for unknown parameters".

References

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

Template:Mathematical logic