Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Codomain

From Wikipedia, the free encyclopedia
Target set of a mathematical function
A functionf fromX toY. The blue ovalY is the codomain off. The yellow oval insideY is theimage off, and the red ovalX is thedomain off.

Inmathematics, acodomain,counter-domain, orset of destination of afunction is aset into which all of the outputs of the function is constrained to fall. It is the setY in the notationf:XY. The termrange is sometimes ambiguously used to refer to either the codomain or theimage of a function.

A codomain is part of a functionf iff is defined as a triple(X,Y,G) whereX is called thedomain off,Y itscodomain, andG itsgraph.[1] The set of all elements of the formf(x), wherex ranges over the elements of the domainX, is called theimage off. The image of a function is asubset of its codomain so it might not coincide with it. Namely, a function that is notsurjective has elementsy in its codomain for which the equationf(x) =y does not have a solution.

A codomain is not part of a functionf iff is defined as just a graph.[2][3] For example, inset theory it is desirable to permit the domain of a function to be aproper classX, in which case there is formally no such thing as a triple(X,Y,G). With such a definition functions do not have a codomain, although some authors still use it informally after introducing a function in the formf:XY.[4]

Examples

[edit]

For a function

f:RR{\displaystyle f\colon \mathbb {R} \rightarrow \mathbb {R} }

defined by

f:xx2,{\displaystyle f\colon \,x\mapsto x^{2},} or equivalentlyf(x) = x2,{\displaystyle f(x)\ =\ x^{2},}

the codomain off isR{\displaystyle \textstyle \mathbb {R} }, butf does not map to any negative number. Thus the image off is the setR0+{\displaystyle \textstyle \mathbb {R} _{0}^{+}}; i.e., theinterval[0, ∞).

An alternative functiong is defined thus:

g:RR0+{\displaystyle g\colon \mathbb {R} \rightarrow \mathbb {R} _{0}^{+}}
g:xx2.{\displaystyle g\colon \,x\mapsto x^{2}.}

Whilef andg map a givenx to the same number, they are not, in this view, the same function because they have different codomains. A third functionh can be defined to demonstrate why:

h:xx.{\displaystyle h\colon \,x\mapsto {\sqrt {x}}.}

The domain ofh cannot beR{\displaystyle \textstyle \mathbb {R} } but can be defined to beR0+{\displaystyle \textstyle \mathbb {R} _{0}^{+}}:

h:R0+R.{\displaystyle h\colon \mathbb {R} _{0}^{+}\rightarrow \mathbb {R} .}

Thecompositions are denoted

hf,{\displaystyle h\circ f,}
hg.{\displaystyle h\circ g.}

On inspection,hf is not useful. It is true, unless defined otherwise, that the image off is not known; it is only known that it is a subset ofR{\displaystyle \textstyle \mathbb {R} }. For this reason, it is possible thath, when composed withf, might receive an argument for which no output is defined – negative numbers are not elements of the domain ofh, which is thesquare root function.

Function composition therefore is a useful notion only when thecodomain of the function on the right side of a composition (not itsimage, which is a consequence of the function and could be unknown at the level of the composition) is a subset of the domain of the function on the left side.

The codomain affects whether a function is asurjection, in that the function is surjective if and only if its codomain equals its image. In the example,g is a surjection whilef is not. The codomain does not affect whether a function is aninjection.

A second example of the difference between codomain and image is demonstrated by thelinear transformations between twovector spaces – in particular, all the linear transformations fromR2{\displaystyle \textstyle \mathbb {R} ^{2}} to itself, which can be represented by the2×2matrices with real coefficients. Each matrix represents a map with the domainR2{\displaystyle \textstyle \mathbb {R} ^{2}} and codomainR2{\displaystyle \textstyle \mathbb {R} ^{2}}. However, the image is uncertain. Some transformations may have image equal to the whole codomain (in this case the matrices withrank2) but many do not, instead mapping into some smallersubspace (the matrices with rank1 or0). Take for example the matrixT given by

T=(1010){\displaystyle T={\begin{pmatrix}1&0\\1&0\end{pmatrix}}}

which represents a linear transformation that maps the point(x,y) to(x,x). The point(2, 3) is not in the image ofT, but is still in the codomain since linear transformations fromR2{\displaystyle \textstyle \mathbb {R} ^{2}} toR2{\displaystyle \textstyle \mathbb {R} ^{2}} are of explicit relevance. Just like all2×2 matrices,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 thatT does not have full rank since its image is smaller than the whole codomain.

See also

[edit]

Notes

[edit]
  1. ^Bourbaki 1970, p. 76
  2. ^Bourbaki 1970, p. 77
  3. ^Forster 2003,pp. 10–11
  4. ^Eccles 1997, p. 91 (quote 1,quote 2);Mac Lane 1998,p. 8; Mac Lane, inScott & Jech 1967,p. 232;Sharma 2004,p. 91;Stewart & Tall 1977,p. 89

References

[edit]
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Codomain&oldid=1316526428"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp