Codomain

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description

File:Codomain2.SVG
A function Template:Mvar from Template:Mvar to Template:Mvar. The blue oval Template:Mvar is the codomain of Template:Mvar. The yellow oval inside Template:Mvar is the image of Template:Mvar, and the red oval Template:Mvar is the domain of Template:Mvar.

In mathematics, a codomain or set of destination of a function is a set into which all of the outputs of the function is constrained to fall. It is the set Template:Mvar in the notation f: XYScript error: No such module "Check for unknown parameters".. The term range is sometimes ambiguously used to refer to either the codomain or the image of a function.

A codomain is part of a function Template:Mvar if Template:Mvar is defined as a triple (X, Y, G)Script error: No such module "Check for unknown parameters". where Template:Mvar is called the domain of Template:Mvar, Template:Mvar its codomain, and Template:Mvar its graph.[1] The set of all elements of the form f(x)Script error: No such module "Check for unknown parameters"., where Template:Mvar ranges over the elements of the domain Template:Mvar, is called the image of Template:Mvar. The image of a function is a subset of its codomain so it might not coincide with it. Namely, a function that is not surjective has elements Template:Mvar in its codomain for which the equation f(x) = yScript error: No such module "Check for unknown parameters". does not have a solution.

A codomain is not part of a function Template:Mvar if Template:Mvar is defined as just a graph.[2][3] For example, in set theory it is desirable 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 codomain, although some authors still use it informally after introducing a function in the form f: XYScript error: No such module "Check for unknown parameters"..[4]

Examples

For a function

f:

defined by

f:xx2, or equivalently f(x) = x2,

the codomain of Template:Mvar is , but Template:Mvar does not map to any negative number. Thus the image of Template:Mvar is the set 0+; i.e., the interval Template:Closed-open.

An alternative function Template:Mvar is defined thus:

g:0+
g:xx2.

While Template:Mvar and Template:Mvar map a given Template:Mvar to the same number, they are not, in this view, the same function because they have different codomains. A third function Template:Mvar can be defined to demonstrate why:

h:xx.

The domain of Template:Mvar cannot be but can be defined to be 0+:

h:0+.

The compositions are denoted

hf,
hg.

On inspection, hfScript error: No such module "Check for unknown parameters". is not useful. It is true, unless defined otherwise, that the image of Template:Mvar is not known; it is only known that it is a subset of . For this reason, it is possible that Template:Mvar, when composed with Template:Mvar, might receive an argument for which no output is defined – negative numbers are not elements of the domain of Template:Mvar, 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 a subset of 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, Template:Mvar is a surjection while Template:Mvar 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 2 to itself, which can be represented by the 2×2Script error: No such module "Check for unknown parameters". matrices with real coefficients. Each matrix represents a map with the domain 2 and codomain 2. However, the image is uncertain. Some transformations may have image equal to the whole codomain (in this case the matrices with rank 2Script error: No such module "Check for unknown parameters".) but many do not, instead mapping into some smaller subspace (the matrices with rank 1Script error: No such module "Check for unknown parameters". or 0Script error: No such module "Check for unknown parameters".). Take for example the matrix Template:Mvar given by

T=(1010)

which represents a linear transformation that maps the point (x, y)Script error: No such module "Check for unknown parameters". to (x, x)Script error: No such module "Check for unknown parameters".. The point (2, 3)Script error: No such module "Check for unknown parameters". is not in the image of Template:Mvar, but is still in the codomain since linear transformations from 2 to 2 are of explicit relevance. Just like all 2×2Script error: No such module "Check for unknown parameters". matrices, Template:Mvar 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 Template:Mvar does not have full rank since its image is smaller than the whole codomain.

See also

Notes

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

  1. Script error: No such module "Footnotes".
  2. Script error: No such module "Footnotes".
  3. Script error: No such module "Footnotes"., Template:Trim&pg=PA10&dq=%22Some+mathematical+cultures+make+this+explicit%2C+saying+that+a+function%22 pp. 10–11
  4. Script error: No such module "Footnotes"., p. 91 (Template:Trim&pg=PA91&dq=%22The+reader+may+wonder+at+this+variety+of+ways+of+thinking+about+a+function%22 quote 1, Template:Trim&pg=PA91&dq=%22When+defining+a+function+using+a+formula+it+is+important+to+be+clear+about+which+sets+are+the+domain+and+the+codomain+of+the+function%22 quote 2); Script error: No such module "Footnotes"., Template:Trim&pg=PA8&dq=%22Here+%22function%22+means+a+function+with+specified+domain+and+specified+codomain%22 p. 8; Mac Lane, in Script error: No such module "Footnotes"., Template:Trim&pg=PA232&dq=%22Note+explicitly+that+the+notion+of+function+is+not+that+customary+in+axiomatic+set+theory%22 p. 232; Script error: No such module "Footnotes"., Template:Trim&pg=PA91&dq=%22Functions+as+sets+of+ordered+pairs%22 p. 91; Script error: No such module "Footnotes"., Template:Trim&pg=PA89&dq=%22Strictly+speaking+we+cannot+talk+of+%27the%27+codomain+of+a+function%22 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".
  • Script error: No such module "citation/CS1".

Template:Mathematical logic