请输入您要查询的百科知识:

 

词条 Codomain
释义

  1. Examples

  2. See also

  3. Notes

  4. References

In mathematics, the codomain or target set of a function is the set {{mvar|Y}} into which all of the output of the function is constrained to fall. It is the set {{mvar|Y}} in the notation {{math|f: XY}}. The codomain is sometimes referred to as the range, but that term is ambiguous as it may also refer to the image.

The codomain is part of a function {{mvar|f}} if it is defined as described in 1954 by Nicolas Bourbaki,[1] namely a triple {{math|(X, Y, F)}}, with {{mvar|F}} a functional subset[2] of the Cartesian product {{math|X × Y}} and {{math|X}} is the set of first components of the pairs in {{mvar|F}} (the domain). The set {{mvar|F}} is called the graph of the function. The set of all elements of the form {{math|f(x)}}, where {{mvar|x}} ranges over the elements of the domain {{mvar|X}}, is called the image of {{mvar|f}}. In general, the image of a function is a subset of its codomain. Thus, it may not coincide with its codomain. Namely, a function that is not surjective has elements {{mvar|y}} in its codomain for which the equation {{math|1=f(x) = y}} does not have a solution.

An alternative definition of function by Bourbaki [Bourbaki, op. cit., p. 77], namely as just a functional graph, does not include a codomain and is also widely used.[3] For example in set theory it is desirable to permit the domain of a function to be a proper class {{mvar|X}}, in which case there is formally no such thing as a triple {{math|(X, Y, F)}}. With such a definition functions do not have a codomain, although some authors still use it informally after introducing a function in the form {{math|f: XY}}.[4]

Examples

For a function

defined by

the codomain of {{mvar|f}} is , but {{mvar|f}} does not map to any negative number.

Thus the image of {{mvar|f}} is the set ; i.e., the interval {{closed-open|0, ∞}}.

An alternative function {{mvar|g}} is defined thus:

While {{mvar|f}} and {{mvar|g}} map a given {{mvar|x}} to the same number, they are not, in this view, the same function because they have different codomains. A third function {{mvar|h}} can be defined to demonstrate why:

The domain of {{mvar|h}} must be defined to be :

The compositions are denoted

On inspection, {{math|hf}} is not useful. It is true, unless defined otherwise, that the image of {{mvar|f}} is not known; it is only known that it is a subset of . For this reason, it is possible that {{mvar|h}}, when composed with {{mvar|f}}, might receive an argument for which no output is defined – negative numbers are not elements of the domain of {{mvar|h}}, which is the square root function.

Function composition therefore is a useful notion only when the codomain of the function on the right side of a composition (not its image, which is a consequence of the function and could be unknown at the level of the composition) is the same as the domain of the function on the left side.

The codomain affects whether a function is a surjection, in that the function is surjective if and only if its codomain equals its image. In the example, {{mvar|g}} is a surjection while {{mvar|f}} is not. The codomain does not affect whether a function is an injection.

A second example of the difference between codomain and image is demonstrated by the linear transformations between two vector spaces – in particular, all the linear transformations from to itself, which can be represented by the {{math|2×2}} matrices with real coefficients. Each matrix represents a map with the domain and codomain . However, the image is uncertain. Some transformations may have image equal to the whole codomain (in this case the matrices with rank {{math|2}}) but many do not, instead mapping into some smaller subspace (the matrices with rank {{math|1}} or {{math|0}}). Take for example the matrix {{mvar|T}} given by

which represents a linear transformation that maps the point {{math|(x, y)}} to {{math|(x, x)}}. The point {{math|(2, 3)}} is not in the image of {{mvar|T}}, but is still in the codomain since linear transformations from to are of explicit relevance. Just like all {{math|2×2}} matrices, {{mvar|T}} represents a member of that set. Examining the differences between the image and codomain can often be useful for discovering properties of the function in question. For example, it can be concluded that {{mvar|T}} does not have full rank since its image is smaller than the whole codomain.

See also

  • Range (mathematics)
  • Domain of a function
  • Surjective function
  • Injective function
  • Bijection

Notes

1. ^{{cite book |title=Elements de Mathematique,Theorie des Ensembles |author=N.Bourbaki |authorlink=Nicolas Bourbaki |publisher=Hermann & cie |page=76 |year=1954}}
2. ^A set of pairs is functional iff no two distinct pairs have the same first component [Bourbaki, op. cit., p. 76]
3. ^{{Harvnb|Forster|2003}}, [{{Google books|plainurl=y|id=mVeTuaRwWssC|page=10|text=Some mathematical cultures make this explicit, saying that a function}} pp. 10–11]
4. ^{{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 "function" means a function with specified domain and specified codomain}} p. 8]; Mac Lane, in {{Harvnb|Scott|Jech|1967}}, [{{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|2004}}, [{{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 'the' codomain of a function}} p. 89]

References

  • {{citation|authorlink1=Peter Eccles (mathematician)|title=An Introduction to Mathematical Reasoning: Numbers, Sets, and Functions|first=Peter J.|last= Eccles|publisher=Cambridge University Press|year= 1997|isbn=978-0-521-59718-0}}
  • {{citation

|title=Logic, Induction and Sets
|author=Forster, Thomas
|publisher=Cambridge University Press
|year=2003
|isbn=978-0-521-53361-4}}
  • {{citation|title=Categories for the working mathematician|first=Saunders|last=Mac Lane|edition=2nd|publisher= Springer|year= 1998|isbn=978-0-387-98403-2}}
  • {{citation|title=Axiomatic set theory|series=Symposium in Pure Mathematics|first1= Dana S.|last1=Scott|first2= Thomas J.|last2=Jech|publisher=American Mathematical Society|year=1967|isbn=978-0-8218-0245-8}}
  • {{citation|title=Introduction To Set Theory|first=A.K.|last= Sharma|publisher=Discovery Publishing House|year= 2004|isbn=978-81-7141-877-0}}
  • {{citation|title=The foundations of mathematics|first1=Ian|last1=Stewart|first2=David Orme|last2= Tall|publisher=Oxford University Press|year= 1977|isbn=978-0-19-853165-4}}

2 : Functions and mappings|Basic concepts in set theory

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 18:52:27