Functions
The idea of a function
Definition: Let and be two sets. By a function defined on the set , with values in we mean any rule (procedure or convention) which associates to every element a single element, written , in . The set is called the domain, and the set is called the codomain of the function, or the set of values of the function.
Let be a function. By the graph of this function we mean the subset
of the Cartesian product formed from the pairs . So
.
Definition: A numerical function is a function for which both the domain and the set of values are subsets of the set of real numbers.
Injective, surjective and bijective functions
Definition: Let be a function. We say is an injective function (one-to-one) if for any two elements of , , we have The fact that is injective can also be written:
Let be a family of lines parallel to the axis. If these lines meet the graph of the function in at most one point (one or none), then is injective.
Definition: Let be a function. We say is a surjective function (onto) if for every there is at least one element such that . So is not surjective if we have ,
Let be a family of lines parallel to the axis. If these lines meet the graph of the function in at least one point, then is surjective.
Definition: A function which is both injective and surjective is called a bijective function.
Let be a family of lines parallel to the axis. If these lines meet the graph of the function in exactly one point, then is bijective.
Every continuous, strictly monotonic function is bijective.
Composition of functions
Definition: Let the functions be and (the codomain of coincides with the domain of ). Let ; then , so its image under exists, namely . We can therefore define a function where for . The function defined this way is written and is called the composition of the function with the function .
-
If and are two functions, it only makes sense to speak of the composition of with when .
-
If and are two functions, both and make sense. In general .
-
Let , and be three functions. Then each of the functions , makes sense, and the following equality holds: .
The inverse of a function
Definition: Let be any set. Write
for the function defined by
for .
is called the identity function of the set
.
Let be a set and
its identity function. Then:
-
For any set and any function , we have
. -
For any set and any function , we have
.
Definition: A function is called invertible if there is a function
such that
and
.
The graphs of the functions and
are symmetric about the
first bisector of the coordinate system — the line y = x.
Theorem: A function is invertible if and only if it is bijective.
Examples of invertible functions
- If is a linear function, then there is a function ,
such that :
So the function is invertible.
- Let ,
and
, 
-
Let ,
have
, so: 
-
Let
, a bijective function on this domain with inverse
. The
graphs of these functions are shown in the figure below, so that the
symmetry about the line y = x can be seen. -
Let
, a bijective function on this domain with inverse
. The
graphs of these functions are shown in the adjacent figure, so that the
symmetry about the line y = x can be seen. -
Let , defined by

The function is invertible and its inverse is: ![]()

Geometric transformations of graphs
Translating graphs along the coordinate axes. Suppose the function and the numbers . Then:
-
the graph of the function is obtained by translating the graph of by units to the right;
-
the graph of the function is obtained by translating the graph of by units to the right;
-
the graph of the function or is obtained by translating the graph of by units in the positive direction of the axis (upwards);
-
the graph of the function or is obtained by translating the graph of by units in the negative direction of the axis (downwards).

The graph of
is obtained from the graph of
by two
translations.
Compressing and stretching graphs. Suppose the function and the number . Then:
- the graph of the function is obtained by compressing the graph of horizontally by a factor of ;

The graph of is obtained from the graph of by a contraction along the x-axis.
-
the graph of the function
is obtained by stretching the graph of
horizontally by a factor of ; -
the graph of the function is obtained by stretching the graph of vertically by a factor of ;
The graphs of the functions and ![]()
The graph of the function
for the following values of a = 1, 2, 3.
- the graph of the function
is obtained by compressing the graph of
vertically by a factor of ;
Reflecting graphs in the coordinate axes. Suppose the function . Then:
-
the graph of the function is obtained by reflecting the graph of in the axis;
-
the graph of the function is obtained by reflecting the graph of in the axis.
In physics one meets the function:
The fundamental period of the function is
The graph of the function for ![]()
