FUNCTION,[1] in mathematics, a variable number the value of which depends upon the values of one or more other variable numbers. The theory of functions is conveniently divided into (I.) Functions of Real Variables, wherein real, and only real, numbers are involved, and (II.) Functions of Complex Variables, wherein complex or imaginary numbers are involved.

I. Functions of Real Variables

1. Historical.—The word function, defined in the above sense, was introduced by Leibnitz in a short note of date 1694 concerning the construction of what we now call an “envelope” (Leibnizens mathematische Schriften, edited by C.I. Gerhardt, Bd. v. p. 306), and was there used to denote a variable length related in a defined way to a variable point of a curve. In 1698 James Bernoulli used the word in a special sense in connexion with some isoperimetric problems (Joh. Bernoulli, Opera, t. i. p. 255). He said that when it is a question of selecting from an infinite set of like curves that one which best fulfils some function, then of two curves whose intersection determines the thing sought one is always the “line of the function” (Linea functionis). In 1718 John Bernoulli (Opera, t. ii. p. 241) defined a “function of a variable magnitude” as a quantity made up in any way of this variable magnitude and constants; and in 1730 (Opera, t. iii. p. 174) he noted a distinction between “algebraic” and “transcendental” functions. By the latter he meant integrals of algebraic functions. The notation ƒ(x) for a function of a variable x was introduced by Leonhard Euler in 1734 (Comm. Acad. Petropol. t. vii. p. 186), in connexion with the theorem of the interchange of the order of differentiations. The notion of functionality or functional relation of two magnitudes was thus of geometrical origin; but a function soon came to be regarded as an analytical expression, not necessarily an algebraic expression, containing the variable or variables. Thus we may have rational integral algebraic functions such as ax² + bx + c, or rational algebraic functions which are not integral, such as

a1xn + a2xn−1 + ... + an,
b1xm + b2xm−1 + ... + bm

or irrational algebraic functions, such as √x, or, more generally the algebraic functions that are determined implicitly by an algebraic equation, as, for instance,

ƒn(x, y) + ƒn−1(x, y) + ... + ƒ0 = 0

where ƒn(x, y), ... mean homogeneous expressions in x and y having constant coefficients, and having the degrees indicated by the suffixes, and ƒ0 is a constant. Or again we may have trigonometrical functions, such as sin x and tan x, or inverse trigonometrical functions, such as sin−1x, or exponential functions, such as ex and ax, or logarithmic functions, such as log x and log (1 + x). We may have these functional symbols combined in various ways, and thus there arises a great number of functions. Further we may have functions of more than one variable, as, for instance, the expression xy/(x² + y²), in which both x and y are regarded as variable. Such functions were introduced into analysis somewhat unsystematically as the need for them arose, and the later developments of analysis led to the introduction of other classes of functions.

2. Graphic Representation.—In the case of a function of one variable x, any value of x and the corresponding value y of the function can be the co-ordinates of a point in a plane. To any value of x there corresponds a point N on the axis of x, in accordance with the rule that x is the abscissa of N. The corresponding value of y determines a point P in accordance with the rule that x is the abscissa and y the ordinate of P. The ordinate y gives the value of the function which corresponds to that value of the variable x which is specified by N; and it may be described as “the value of the function at N.” Since there is a one-to-one correspondence of the points N and the numbers x, we may also describe the ordinate as “the value of the function at x.” In simple cases the aggregate of the points P which are determined by any particular function (of one variable) is a curve, called the “graph of the function” (see § 14). In like manner a function of two variables defines a surface.