15 Functions
We see functions all across mathematics, they are what most people think of when someone says “math” usually we are focusing on the content of a function and how to ascertain the solution to a function or the value for an unknown variable. Just like sets and relations can be classified, so can functions.
In the realm of relations we can say the functions are a set of relations. By definition, a function is “an expression, rule, or law that defines a relationship between an independent variable and a dependent variable”[27]. The relations involved with functions are what map the independent variable, say , to the dependent variable, say , and it should be noted that for each value there is only one value, there cannot be multiple results for using one specific value in the function . We delve deeper into this topic in the subsections for one-to-one and onto, below.
13.1 One-to-one
We described this idea in functions where for every there is only one , this leaves an opening for different values of in to result in the same values which is fine for a general function.
If a function is to be considered one-to-one or injective then it follows the following definition [31].
Definition. One-to-one
Given function with mapping to , , is one-to-one if for , such that and no element in is the image of more than one element in .
We mention, in the definition, this concept of mapping, illustrated by using arrows, . Mapping is essentially the action of solving the function for some value , we input an value into function and solve for some value of , . Observe, below, an illustration of mapping with a function.
We see clean mapping from value to one value; for each there is only one and for each only one . If this were an illustration for a general function that did not qualify as one-to-one then we would have seen multiple values mapping to the same values. Now we will consider some general functions and test a few for the one-to-one property.
Example:
Prove that the inverse of a one-to-one function, is one-to-one [20].
Proof: Let be a one-to-one function, then there is such that which can be simplified, no matter the operations in , to find and thus we have found that . From this last step we proved that no more than one can map to a single element in . Now, by definition of an inverse function so for it follows that which implies that . As we see here only one can map to an element in therefore we can conclude that is one-to-one.
Now that we have an idea of one-to-one functions lets consider another category, onto functions also known as surjective functions.
13.2 Onto
Definition.
A function with mapping to is considered onto if for all there is an such that whenever , all elements of are used.
Lets look at an illustration of this to better understand an onto function.
As we can see here, the characteristics of one-to-one and onto do not always go hand in hand. As long as every element in the right-hand, , is mapped from an input on the left-hand side, , then the function is an onto function.
Example:
Suppose and are functions. Prove that if is one-to-one then is one-to-one. Prove that if is onto then is onto.
Firstly, if is one-to-one then there is such that . For we find where and . We can rewrite our equivalence as . Thus, since is one-to-one which means that results to . Therefor is one-to-one.
Now, if is onto then there is an arbitrary and for which
Let there be such that and therefor
Therefore we can conclude that is onto.
This example is a nice taste of one-to-one and onto relations because we can see how they can relate to expanded functions, not just a basic linear function . There are some functions which satisfy both one-to-one and onto relations. We can classify a linear function that is both one-to-one and onto as a bijection or one-to-one correspondence.
Now that we have established the characteristics of functions in Bridge to Abstract Math lets move on to cardinality, the final section covered in this course. Keep in mind this idea of one-to-one correspondence, bijective, functions as we move into the next section as well.