| Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
|||||
| First Prev [ 1 2 3 4 5 ] Next Last |
X, the set of input values, is called the domain of f, and Y, the set of possible output values, is called the codomain. The range of f is the set of all actual outputs {f(x) : x in the domain}. Beware that sometimes the codomain is incorrectly called the range because of a failure to distinguish between possible and actual values.
Functions are named after their ranges, for example real functions and complex functions.
An endofunction is a function whose domain and range are identical.
In computer science, the datatypes of the arguments and return values specify the domain and codomain (respectively) of a subprogram. So the domain and codomain are constraints imposed initially on a function; on the other hand the range has to do with how things turn out in practice.
Several types of functions that are very useful have special names:
The image of an element x∈X under f is the output f(x).
The image of a subset A⊂X under f is the subset of Y defined by
Notice that the range of f is the image f(X) of its domain. In our function above, the image of {2,3} under f is f({2, 3}) = {c, d} and the range of f is {a, c, d}.
The preimage (or inverse image) of a set B ⊂ Y under f is the subset of X defined by
For our function above, the preimage of {a, b} is f −1({a, b}) = {1}.
The graph of a function f is the set of all ordered pairs(x, f(x)), for all x in the domain X. There are theorems formulated or proved most easily in terms of the graph, such as the closed graph theorem. If X and Y are real lines, then this definition coincides with the familiar sense of graph.
the graph of a cubic function, This function is surjective but not injective.
Note that since a relation on the two sets X and Y is usually formalized as a subset of XืY, the formal definition of function actually identifies the function f with its graph.
(More can be found at List of functions.)
The most commonly used types of mathematical functions involve addition, division, exponents, logarithms, multiplication, polynomials, radicals, rationals, subtraction, and trigonometric expressions. They are sometimes collectively referred as elementary functions -- but the meaning of this term varies among different branches of mathematics. Example of non-elementary functions (or special functions) are Bessel functions and gamma functions.