Function in mathematics

https://en.wikipedia.org/wiki/Function_(mathematics)

A function (map, mapping, correspondence, transformation) is a binary relation between two sets that associates to each element of the first set exactly one element of the second set.

A function is a process (rule) that associates each element x of a set X (the domain of the function) to a single element y of a set Y (the codomain of the function), with the possibility that the domain and codomain are the same set.

Functions originally represented how a varying quantity depends on another quantity; e.g. the position of a planet is a function of time. The concept of a function was formalized at the end of the 19th century in terms of set theory.

A function is a relation that is right-unique and left-serial.

This relation is denoted by fβ€Š(x) = y, where the element x is the input (argument) value to f and y is its output value; it is also said that y is the image of x by f, with x as the pre-image.

The input *argument, M, is bound by a function, f, by a corresponding formal parameter, x, which is its declaration occurrence, while all the places inside the function's body, where that parameter is used, are called its application occurrences.

                                   β”Œ function application

β”Œ function ┐ β”‚ to an β”‚declarationβ”‚ β”‚ β”Œ argument β”‚ β”‚ β”‚ β”‚ f(x) = x + 2x f(5) = 5 + 2*5 β”‚ β”‚ β”‚ β”‚ parameter β”‚ β”‚ β”‚ β”‚ β”‚ └────┴─ application (x+2x)[5/x] β”‚ β”‚ β”‚ β”‚ occurrences substitution β”‚ β”‚ β”‚ β”” parameter declaration occurrence β”‚ β”” name of the function

A function, just like a relation, is uniquely represented by a set of ordered pairs, called the graph of the function, f = { βˆ€x ∈ X. βˆƒy ∈ Y | (x, y) }.

βˆ€x ∈ X. βˆƒy ∈ Y. (x, y) ∈ f ∧ y = f(x)

Last updated