Jump to content

Range of a function

From Wikipedia, the free encyclopedia
is a function fromdomainXtocodomainY.The yellow oval insideYis theimageof.Sometimes "range" refers to the image and sometimes to the codomain.

Inmathematics,therange of a functionmay 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 calledsurjectiveoronto.For any non-surjective functionthe codomainand the imageare different; however, a new function can be defined with the original function's image as its codomain,whereThis new function is surjective.

Definitions[edit]

Given twosetsXandY,abinary relationfbetweenXandYis a function (fromXtoY) if for everyelementxinXthere is exactly oneyinYsuch thatfrelatesxtoy.The setsXandYare called thedomainandcodomainoff,respectively. Theimageof the functionfis thesubsetofYconsisting of only those elementsyofYsuch that there is at least onexinXwithf(x) =y.

Usage[edit]

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

Elaboration and example[edit]

Given a function

withdomain,the range of,sometimes denotedor,[4]may refer to the codomain or target set(i.e., the set into which all of the output ofis constrained to fall), or to,the image of the domain ofunder(i.e., the subset ofconsisting of all actual outputs of). The image of a function is always a subset of the codomain of the function.[5]

As an example of the two different usages, consider the functionas it is used inreal analysis(that is, as a function that inputs areal numberand 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,sinceis never negative ifis real. For this function, if we use "range" to meancodomain,it refers to;if we use "range" to meanimage,it refers to.

For some functions, the image and the codomain coincide; these functions are calledsurjectiveoronto.For example, consider the functionwhich 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 wordrangeis 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 theintegersto the integers, the doubling functionis not surjective because only theeven integersare part of the image. However, a new functionwhose domain is the integers and whose codomain is the even integersissurjective. Forthe wordrangeis unambiguous.

See also[edit]

Notes and references[edit]

  1. ^Hungerford 1974,p. 3;Childs 2009,p. 140.
  2. ^Dummit & Foote 2004,p. 2.
  3. ^Rudin 1991,p. 99.
  4. ^Weisstein, Eric W."Range".mathworld.wolfram.Retrieved2020-08-28.
  5. ^Nykamp, Duane."Range definition".Math Insight.RetrievedAugust 28,2020.

Bibliography[edit]