All Topics  
Codomain

 

   Email Print
   Bookmark   Link






 

Codomain



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the codomain, range or target set, of a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
, described symbolically as ' : ' ? ', is the set ' into which all of the output of the function is constrained to fall.

All the output that the function can possibly produce from its given domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
, , is the image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
. The function's image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
 will not necessarily fill the entire codomain ', even though the output must all land inside of the codomain: there can be points in the codomain that are "not used."

The codomain (or target) is part of the definition of a function.






Discussion
Ask a question about 'Codomain'
Start a new discussion about 'Codomain'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the codomain, range or target set, of a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
, described symbolically as ' : ' ? ', is the set ' into which all of the output of the function is constrained to fall.

All the output that the function can possibly produce from its given domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
, , is the image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
. The function's image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
 will not necessarily fill the entire codomain ', even though the output must all land inside of the codomain: there can be points in the codomain that are "not used."

The codomain (or target) is part of the definition of a function. The image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
 (or range
Range (mathematics)

In mathematics, the range of a function is the Set of all "output" values produced by that function. Sometimes it is called the , or more precisely, the image of the domain of the function....
) is a consequence of the definition of a function: the image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
 is a subset of the codomain and depends upon (i.e. is a consequence of) how the definition of the function prescribes the domain, codomain, and map or formula.

(The domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
 of
' is the set '.)

Examples


As an example, let the function
' be a function on the real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s:

defined by

, or equivalently .

The codomain of ' is , but clearly f does not map to any negative number. Thus the image of f is the set

,i.e., the interval
Interval (mathematics)

In mathematics, a interval is a set of real numbers with the property that any number that lies between two numbers in the set is also included in the set....
 [0,8) where:



We can define an alternative function
' thus:



While ' and ' map a given x to the same number, they are not, in the modern view, the same function because they have different codomains. To see why, suppose that we define a third function h:



We must define the domain of h to be :

.


Now let's define the compositions
Function composition

In mathematics, a composite function represents the application of one function to the results of another. For instance, the functions and can be composed by first computing a f and then applying a function g to the output of f....


,
.

As it turns out, doesn't make sense. Suppose (as we must, unless we explicitly state otherwise) that we do not know what the image of ' is; we only know that it can be . But then we are in trouble because the square root is not defined for negative numbers. Now we have a possible contradiction because function h, when composed on function f, might receive an argument which it "can't handle."

This unclarity should be avoided in formal work. Function composition therefore requires by definition that the codomain of the function on the right side of a composition (not its image, which is a consequence of the function and is said to be indeterminate at the level of the composition) must be the same as the domain of the function on the left side.

The codomain affects whether a function is a surjection. In our example,
' is a surjection while ' is not. The codomain does not affect whether a function is an injection
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
.

A second example of the difference between codomain and image can be seen by considering the matrix of a linear transformation. By convention, the domain of a linear transformation
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
 associated with a matrix
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 is
Rn and its codomain is Rm, where the matrix is (has ' rows and ' columns) and the image is usually called the range
Range

Range may refer to:...
. But the range (the set of numbers obtained when the matrix is right-multiplied by every column vector
Column vector

In linear algebra, a column vector or column matrix is an m × 1 matrix , i.e. a matrix consisting of a single column of elements....
 of length
') could be much smaller. For example, if the matrix contains only s, then no matter how large it is, the range is just the vector 0
Null vector (vector space)

In linear algebra, the null vector or zero vector is the vector in Euclidean space, all of whose components are zero. It is usually written or 0 or simply 0....
. But the dimension of the resulting vector is '. This is important, because it is enough to change just one number in the matrix to make its range non-zero.