Range of a function

is a function from domain X to codomain Y. The yellow oval inside Y is the image of . Sometimes "range" refers to the image and sometimes to the codomain.

In mathematics, the range of a function may refer to either of two closely related concepts:

In some cases the codomain and the image of a function are the same set; such a function is called surjective or onto. For any non-surjective function the codomain and the image are different; however, a new function can be defined with the original function's image as its codomain, where This new function is surjective.


Developed by StudentB