Range (mathematics)








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


In mathematics, and more specifically in naive set theory, the range of a function refers to either the codomain or the image of the function, depending upon usage. Modern usage almost always uses range to mean image.


The codomain of a function is some arbitrary super-set of image. In real analysis, it is the real numbers. In complex analysis, it is the complex numbers.


The image of a function is the set of all outputs of the function. The image is always a subset of the codomain.




Contents






  • 1 Distinguishing between the two uses


  • 2 Formal definition


  • 3 See also


  • 4 Notes


  • 5 References





Distinguishing between the two uses


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.[1][2] More modern books, if they use the word "range" at all, generally use it to mean what is now called the image.[3] To avoid any confusion, a number of modern books don't use the word "range" at all.[4]


As an example of the two different usages, consider the function f(x)=x2{displaystyle f(x)=x^{2}}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} }mathbb {R} , but its image is the set of non-negative real numbers R+{displaystyle mathbb {R} ^{+}}mathbb {R} ^{+}, since x2{displaystyle x^{2}}x^{2} is never negative if x{displaystyle x}x is real. For this function, if we use "range" to mean codomain, it refers to R{displaystyle mathbb {displaystyle mathbb {R} ^{}} }{displaystyle mathbb {displaystyle mathbb {R} ^{}} }. When we use "range" to mean image, it refers to R+{displaystyle mathbb {R} ^{+}}mathbb {R} ^{+}.


As an example where the range equals the codomain, consider the function f(x)=2x{displaystyle f(x)=2x}f(x)=2x, which inputs a real number and outputs its double. For this function, the codomain and the image are the same (the function is a surjection), so the word range is unambiguous; it is the set of all real numbers.



Formal definition


When "range" is used to mean "codomain", the image of a function f is already implicitly defined. It is (by definition of image) the (maybe trivial) subset of the "range" which equals {y | there exists an x in the domain of f such that y = f(x)}.


When "range" is used to mean "image", the range of a function f is by definition {y | there exists an x in the domain of f such that y = f(x)}. In this case, the codomain of f must not be specified, because any codomain which contains this image as a (maybe trivial) subset will work.


In both cases, image f ⊆ range f ⊆ codomain f, with at least one of the containments being equality.



See also



  • Domain of a function

  • Bijection, injection and surjection

  • Naive set theory



Notes





  1. ^ Hungerford 1974, page 3.


  2. ^ Childs 1990, page 140.


  3. ^ Dummit and Foote 2004, page 2.


  4. ^ Rudin 1991, page 99.




References




  • Childs (2009). A Concrete Introduction to Higher Algebra. Undergraduate Texts in Mathematics (3rd ed.). Springer. ISBN 978-0-387-74527-5. OCLC 173498962..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  • 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. 73. Springer. ISBN 0-387-90518-9. OCLC 703268.


  • Rudin, Walter (1991). Functional Analysis (2nd ed.). McGraw Hill. ISBN 0-07-054236-8.








Popular posts from this blog

Italian cuisine

Bulgarian cuisine

Carrot