![Range of a function](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly91cGxvYWQud2lraW1lZGlhLm9yZy93aWtpcGVkaWEvY29tbW9ucy90aHVtYi82LzY0L0NvZG9tYWluMi5zdmcvMTYwMHB4LUNvZG9tYWluMi5TVkcucG5n.png )
In mathematics, the range of a function may refer to either of two closely related concepts:
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpODJMelkwTDBOdlpHOXRZV2x1TWk1VFZrY3ZNelV3Y0hndFEyOWtiMjFoYVc0eUxsTldSeTV3Ym1jPS5wbmc=.png)
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.
Definitions
Given two sets X and Y, a binary relation f between X and Y is a function (from X to Y) if for every element x in X there is exactly one y in Y such that f relates x to y. The sets X and Y are called the domain and codomain of f, respectively. The image of the function f is the subset of Y consisting of only those elements y of Y such that there is at least one x in X with f(x) = y.
Usage
As the term "range" can have different meanings, it is considered a good practice to define it the first time it is used in a textbook or article. Older books, when they use the word "range", tend to use it to mean what is now called the codomain. More modern books, if they use the word "range" at all, generally use it to mean what is now called the image. To avoid any confusion, a number of modern books don't use the word "range" at all.
Elaboration and example
Given a function
with domain , the range of
, sometimes denoted
or
, may refer to the codomain or target set
(i.e., the set into which all of the output of
is constrained to fall), or to
, the image of the domain of
under
(i.e., the subset of
consisting of all actual outputs of
). The image of a function is always a subset of the codomain of the function.
As an example of the two different usages, consider the function as it is used in real analysis (that is, as a function that inputs a real number and outputs its square). In this case, its codomain is the set of real numbers
, but its image is the set of non-negative real numbers
, since
is never negative if
is real. For this function, if we use "range" to mean codomain, it refers to
; if we use "range" to mean image, it refers to
.
For some functions, the image and the codomain coincide; these functions are called surjective or onto. For example, consider the function which inputs a real number and outputs its double. For this function, both the codomain and the image are the set of all real numbers, so the word range is unambiguous.
Even in cases where the image and codomain of a function are different, a new function can be uniquely defined with its codomain as the image of the original function. For example, as a function from the integers to the integers, the doubling function is not surjective because only the even integers are part of the image. However, a new function
whose domain is the integers and whose codomain is the even integers is surjective. For
the word range is unambiguous.
See also
- Bijection, injection and surjection
- Essential range
Notes and references
- Hungerford 1974, p. 3; Childs 2009, p. 140.
- Dummit & Foote 2004, p. 2.
- Rudin 1991, p. 99.
- Weisstein, Eric W. "Range". mathworld.wolfram.com. Retrieved 2020-08-28.
- Nykamp, Duane. "Range definition". Math Insight. Retrieved August 28, 2020.
Bibliography
- Childs, Lindsay N. (2009). Childs, Lindsay N. (ed.). A Concrete Introduction to Higher Algebra. Undergraduate Texts in Mathematics (3rd ed.). Springer. doi:10.1007/978-0-387-74725-5. ISBN 978-0-387-74527-5. OCLC 173498962.
- Dummit, David S.; Foote, Richard M. (2004). Abstract Algebra (3rd ed.). Wiley. ISBN 978-0-471-43334-7. OCLC 52559229.
- Hungerford, Thomas W. (1974). Algebra. Graduate Texts in Mathematics. Vol. 73. Springer. doi:10.1007/978-1-4612-6101-8. ISBN 0-387-90518-9. OCLC 703268.
- Rudin, Walter (1991). Functional Analysis (2nd ed.). McGraw Hill. ISBN 0-07-054236-8.
In mathematics the range of a function may refer to either of two closely related concepts the codomain of the function or the image of the function f displaystyle f is a function from domain X to codomain Y The yellow oval inside Y is the image of f displaystyle f Sometimes range refers to the image and sometimes to the codomain 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 f X Y displaystyle f X to Y the codomain Y displaystyle Y and the image Y displaystyle tilde Y are different however a new function can be defined with the original function s image as its codomain f X Y displaystyle tilde f X to tilde Y where f x f x displaystyle tilde f x f x This new function is surjective DefinitionsGiven two sets X and Y a binary relation f between X and Y is a function from X to Y if for every element x in X there is exactly one y in Y such that f relates x to y The sets X and Y are called the domain and codomain of f respectively The image of the function f is the subset of Y consisting of only those elements y of Y such that there is at least one x in X with f x y UsageAs the term range can have different meanings it is considered a good practice to define it the first time it is used in a textbook or article Older books when they use the word range tend to use it to mean what is now called the codomain More modern books if they use the word range at all generally use it to mean what is now called the image To avoid any confusion a number of modern books don t use the word range at all Elaboration and exampleGiven a function f X Y displaystyle f colon X to Y with domain X displaystyle X the range of f displaystyle f sometimes denoted ran f displaystyle operatorname ran f or Range f displaystyle operatorname Range f may refer to the codomain or target set Y displaystyle Y i e the set into which all of the output of f displaystyle f is constrained to fall or to f X displaystyle f X the image of the domain of f displaystyle f under f displaystyle f i e the subset of Y displaystyle Y consisting of all actual outputs of f displaystyle f The image of a function is always a subset of the codomain of the function As an example of the two different usages consider the function f x x2 displaystyle f x x 2 as it is used in real analysis that is as a function that inputs a real number and outputs its square In this case its codomain is the set of real numbers R displaystyle mathbb R but its image is the set of non negative real numbers R displaystyle mathbb R since x2 displaystyle x 2 is never negative if x displaystyle x is real For this function if we use range to mean codomain it refers to R displaystyle mathbb displaystyle mathbb R if we use range to mean image it refers to R displaystyle mathbb R For some functions the image and the codomain coincide these functions are called surjective or onto For example consider the function f x 2x displaystyle f x 2x which inputs a real number and outputs its double For this function both the codomain and the image are the set of all real numbers so the word range is unambiguous Even in cases where the image and codomain of a function are different a new function can be uniquely defined with its codomain as the image of the original function For example as a function from the integers to the integers the doubling function f n 2n displaystyle f n 2n is not surjective because only the even integers are part of the image However a new function f n 2n displaystyle tilde f n 2n whose domain is the integers and whose codomain is the even integers is surjective For f displaystyle tilde f the word range is unambiguous See alsoBijection injection and surjection Essential rangeNotes and referencesHungerford 1974 p 3 Childs 2009 p 140 Dummit amp Foote 2004 p 2 Rudin 1991 p 99 Weisstein Eric W Range mathworld wolfram com Retrieved 2020 08 28 Nykamp Duane Range definition Math Insight Retrieved August 28 2020 BibliographyChilds Lindsay N 2009 Childs Lindsay N ed A Concrete Introduction to Higher Algebra Undergraduate Texts in Mathematics 3rd ed Springer doi 10 1007 978 0 387 74725 5 ISBN 978 0 387 74527 5 OCLC 173498962 Dummit David S Foote Richard M 2004 Abstract Algebra 3rd ed Wiley ISBN 978 0 471 43334 7 OCLC 52559229 Hungerford Thomas W 1974 Algebra Graduate Texts in Mathematics Vol 73 Springer doi 10 1007 978 1 4612 6101 8 ISBN 0 387 90518 9 OCLC 703268 Rudin Walter 1991 Functional Analysis 2nd ed McGraw Hill ISBN 0 07 054236 8