Section 1.3 Introduction to Relations and Functions
We are familiar with the idea of a function from previous math courses. In this class we want to understand functions as an important mathematical tool to relate objects to each other. We are used to functions from the real numbers to the real numbers in calculus. All math courses use functions in some way, often relating other mathematical objects, such as vectors in vector calculus, matrices in linear algebra, complex numbers in complex analysis, or strings of characters in computer science.
A function really describes a relationship, so we will start with the more general mathematical concept of a relation.
It is important to note that a relation is just a set. As long as the first coordinate comes from and the second from we have a relation. The notation is a convenient way to describe whether two elements are related. In this case, we are thinking of as a symbol representing the relationship, rather than as a set.
Example 1.3.2. Example of a relation.
Let Let Then is a subset of Thus, it is a relation.
Since is true.
Since is false. Note, since consists of ordered pairs, the order matters.
Example 1.3.3. A Familiar Relation.
There are lots of familiar relations in math. For example, is a relation.
Let Find from to if
Answer.
Definition 1.3.5.
Example 1.3.6. Example of a function.
Let Let Then We can check that it is a function: if we choose an we can see that there is a corresponding real number which always exists. We can also see that for any there is only one possible number as output.
A function is really a relation with some additional properties. First, for each in a corresponding must exist. Second, must be unique. In other words, every must map somewhere and each can only map to one
Since a function is a relation, we can use relation notation to represent a function. Often we use for the relation. In particular, if and only if
Example 1.3.7. Example of a function as a relation.
Let Let Then is a subset of thus it is a relation. Give 3 examples of ordered pairs in
Answer.
Example 1.3.8. Example of an equation as a relation.
Let Let if and only if Then is a subset of thus it is a relation. Give 3 examples of ordered pairs in
Answer.
Note, this relation is not a function since if we can have or Thus is not unique for a given
Activity 1.3.1.
(a)
List the elements of
(b)
Draw the arrow diagram for
(c)
Is the relation a function? Why or why not?
Activity 1.3.2.
(a)
List the elements of
(b)
Draw the arrow diagram for
(c)
Is the relation a function? Why or why not?
Activity 1.3.3.
The successor function is given byActivity 1.3.4.
LetHint.
Reading Questions Check Your Understanding
1.
True.
False.
2.
True.
False.
3.
True.
False.
4.
True.
False.
5.
True.
False.
6.
True.
False.
7.
True.
False.
8.
True.
False.
9.
True.
False.
10.
True.
False.
Exercises Exercises
1.
- Is
? Is ? Is ? Is ? - Write
as a set of ordered pairs. - Write the domain and codomain of
- Draw an arrow diagram for
2.
- Is
? Is ? Is ? Is ? - Write
as a set of ordered pairs. - Write the domain and codomain of
- Draw an arrow diagram for
3.
- Is
? Is ? Is ? Is ? - Draw the graph of
in the Cartesian plane.
4.
Is a function? Explain your answer.
5.
- Write the domain and codomain of
- Explain why
is a function. - Find
and
You have attempted 1 of 11 activities on this page.