
In mathematics, function application is the act of applying a function to an argument from its domain so as to obtain the corresponding value from its range. In this sense, function application can be thought of as the opposite of function abstraction.
Function application is usually depicted by juxtaposing the variable representing the function with its argument encompassed in parentheses. For example, the following expression represents the application of the function ƒ to its argument x.
f(x)
In some instances, a different notation is used where the parentheses aren't required, and function application can be expressed just by juxtaposition. For example, the following expression can be considered the same as the previous one:
f x
The latter notation is especially useful in combination with the currying isomorphism. Given a function
f:(X x Y)\toZ
f(x,y)
f (x,y)
f \langlex,y\rangle
\langlex,y\rangle\inX x Y
f:X\to(Y\toZ)
f x y
f(x)(y)
When mathematical notation is represented in a digital document, the invisible zero-width Unicode characters and can be used to distinguish concatenation meaning function application from concatenation meaning multiplication
In axiomatic set theory, especially Zermelo–Fraenkel set theory, a function
f:D\mapstoR
f\subseteqD x R
x\inD
y\inR
(x,y)\inf
One is usually not content to write "
(x,y)\inf
y
f(x)=y
f(x)
\bullet(\bullet)