Hubbry Logo
Range of a functionRange of a functionMain
Open search
Range of a function
Community hub
Range of a function
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something
Range of a function
Range of a function
from Wikipedia
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 either to the codomain of the function, or the image of the function. 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

[edit]

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

[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 the codomain.[1] More modern books, if they use the word "range" at all, generally use it to mean what is now called the image.[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

with domain , the range of , sometimes denoted or ,[4] 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.[5]

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

[edit]

Notes and references

[edit]

Bibliography

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In mathematics, the range of a function, also known as the image of the function, is the set consisting of all possible output values that the function attains when applied to every element of its domain. This set represents the actual values produced by the function, distinguishing it from the codomain, which is the broader set of potential output values specified in the function's definition. For a function f:ABf: A \to B, where AA is the domain and BB is the codomain, the range is a subset of BB containing precisely those elements in BB that are f(x)f(x) for some xAx \in A. The concept of range is fundamental in analyzing functions across various mathematical disciplines, including , , and linear algebra, as it helps determine the function's behavior and surjectivity—whether the function covers all elements of the . For instance, consider the function f(x)=x2f(x) = x^2 from the real numbers to the real numbers; its range is the set of non-negative real numbers, since no negative outputs are possible regardless of the input. In contrast, for discrete functions, the range can be explicitly listed as a of distinct outputs. Determining the range often involves solving inequalities or analyzing the function's graph to identify achievable yy-values, which is crucial for applications in optimization, modeling real-world phenomena, and understanding function composition. While the domain focuses on valid inputs, the range provides insight into the function's output constraints, enabling precise descriptions in both theoretical and applied contexts.

Core Definitions

Set-Theoretic Definition

In set theory, a function f:XYf: X \to Y is formally defined as a subset of the Cartesian product X×YX \times Y such that for every xXx \in X, there is exactly one yYy \in Y with (x,y)f(x, y) \in f. The range of ff, also known as the image of XX under ff and denoted im(f)\operatorname{im}(f) or f(X)f(X), is the set {yYxX such that f(x)=y}\{ y \in Y \mid \exists x \in X \text{ such that } f(x) = y \}. This construction ensures the range is precisely the subset of the codomain YY consisting of all actual output values attained by the function. The range is the smallest subset of YY that contains every value in the image of ff, excluding any elements of YY that are not reached by applying ff to some input from XX. As such, it captures the effective outputs of the function without assuming surjectivity onto the entire codomain. The term "range" for this concept gained prominence in early 20th-century mathematical literature, particularly through G. H. Hardy's 1908 textbook A Course of Pure Mathematics, where it is used to denote the set of all values assumed by the function, distinguishing it clearly from the domain. For example, consider the function f:[R](/page/R)[R](/page/R)f: \mathbb{[R](/page/R)} \to \mathbb{[R](/page/R)} defined by f(x)=x2f(x) = x^2. The range is [0,)[0, \infty), since for every y0y \geq 0 there exists x=yx = \sqrt{y}
Add your contribution
Related Hubs
Contribute something
User Avatar
No comments yet.