Functions
Contents
1.4. Functions#
Definition 1.47 (Function)
A partial function (or simply function)
from a set
The rule need not be defined for every element in
Note
Following [17],
our definition of functions is somewhat different from the
traditional definition. In particular, we don’t require that
See also : total function below.
Definition 1.48 (Function value or image)
If
Definition 1.49 (Domain of a function)
For a function
Definition 1.50 (Total function)
A function
The normal set-theoretic definition of a function coincides with the definition of total function above.
Definition 1.51 (Range of a function)
The set
In other words, the set of values attained by
The domain is a subset of
Definition 1.52 (Equality of functions)
Two functions
In words, they map the same elements of
Definition 1.53 (Surjective function)
A function
Definition 1.54 (Injective function)
A function
Definition 1.55 (Bijective function)
A total function
For a bijective function
Example 1.10 (Square root)
Let
Example 1.11 (Logarithm)
Let
Example 1.12 (Exponential)
Let
Example 1.13 (Extended value extension of exponential)
Let
Example 1.14 (Dirichlet’s unruly indicator function for rational numbers)
Let
Example 1.15 (Absolute value function)
The domain is
Example 1.16 (Logarithm of the determinant)
The set of
Consider the function
The domain of the function is
In summary, for a function
If
then, the function is total.If
then, the function is surjective.If
, then the function is injective.If
is total, injective and surjective, then it is bijective.
1.4.1. Image under a function#
Let
Definition 1.56 (Image of a set under a function)
If
Note that the definition is valid even if some elements of the subset
Definition 1.57 (Inverse image )
If
Remark 1.5
If
Proposition 1.7
Let
Then, the following results hold:
Image of the union of
Image of the intersection of
Inverse image of the union of
Inverse image of the intersection of
Let
1.4.2. Function Composition#
Definition 1.58 (Composition)
Given two functions
Remark 1.6
The domain of the composition may be smaller than the domain of
Theorem 1.1
Given two one-one functions
Proof. Let
Further, since
Theorem 1.2
Given two onto functions
Proof. Let
Theorem 1.3
Given two one-one onto functions
Proof. This is a direct result of combining Theorem 1.1 and Theorem 1.2.
Corollary 1.1
Given two bijective (total) functions
Definition 1.59 (Composition of total functions)
Given two total functions
Since
1.4.3. Inverse Function#
Definition 1.60 (Inverse function)
If a function
This unique element
is denoted by
The function
Note that we don’t require
Remark 1.7
We can see that
Remark 1.8
The inverse of an injective (partial) function is injective.
Definition 1.61 (Inverse of a total function)
If a total function
This unique element
is denoted by
The total function
Remark 1.9
The inverse of a bijective function is bijective.
Definition 1.62 (Identity function)
We define an identity function on a set
Remark 1.10
Identify function is one-one and onto. It is a total function and is bijective.
Remark 1.11 (Composition of a total function with its inverse)
For a total function
1.4.4. Schröder-Bernstein Theorem#
Theorem 1.4 (Schröder-Bernstein Theorem)
Given two one-one total functions
Proof. Clearly, we can define a one-one onto function
Note that the elements in the sequence alternate between
We call the sequence as
For an
1.4.5. Restriction and Extension#
Definition 1.63 (Restriction of a function)
Let
In other words, the domain of
Remark 1.12
For total functions, the convention is to change the
signature from
Definition 1.64 (Extension of a function)
An extension of a function
If
1.4.6. Graph#
Definition 1.65 (Graph of a function)
Given a function
The graph of a function is the subset of the
Cartesian product
1.4.7. Set Valued Functions#
For a set
Definition 1.66 (Set valued function/operator)
The notation
Observation 1.1
If
If
Remark 1.13
Let
Definition 1.67 (Image of a subset under a set valued function)
Let
Definition 1.68 (Composition of set valued functions)
Let
Then the composition
Definition 1.69 (Domain of a set valued function)
The domain of a set valued function
Definition 1.70 (Range of a set valued function)
The range of a set valued function
Note that
Remark 1.14
A set valued function
partial if
.total if
.onto if
.
Definition 1.71 (Inverse of a set valued function)
The inverse of a set valued function
For every
The inverse of a set valued function is a set valued function and it always exists.
Definition 1.72 (Single valued function)
Let
This can be identified with a partial function.
Definition 1.73 (Selection of a set valued function)
Let
In other words, for every