7.1: Relations
( \newcommand{\kernel}{\mathrm{null}\,}\)
Recall from Section 5.4 that the Cartesian product of two sets
Let
For example, since California and Oregon have a land border, we can say that (California, Oregon)
- Use the roster method to specify the elements in each of the following sets:
(a)
(b)
(c) - Find two different examples of two ordered pairs
and such that , , but , or explain why no such example exists. Based on this, is the following conditional statement true or false?
For all , if and , then . - Is the following conditional statement true or false? Explain.
For all , if then .
In Section 2.3, we introduced the concept of the truth set of an open sentence with one variable. This was defined to be the set of all elements in the universal set that can be substituted for the variable to make the open sentence a true proposition. Assume that
is an open sentence with two variables. An element of the truth set of this open sentence (also called a solution of the equation) is an ordered pair
When a set is a truth set of an open sentence that is an equation, we also call the set the solution set of the equation.
- List four different elements of the set
. - The graph of the equation
in the xy-coordinate plane is an ellipse. Draw the graph and explain why this graph is a representation of the truth set (solutions set) of the equation . - Describe each of the following sets as an interval of real numbers:
(a)
(b)
Introduction to Relations
In Section 6.1, we introduced the formal definition of a function from one set to another set. The notion of a function can be thought of as one way of relating the elements of one set with those of another set (or the same set). A function is a special type of relation in the sense that each element of the first set, the domain, is “related” to exactly one element of the second set, the codomain.
This idea of relating the elements of one set to those of another set using ordered pairs is not restricted to functions. For example, we may say that one integer,
we can say that 5 is related to 3, 5 is related to 2, and 5 is related to -1. Notice that, as with functions, each relation of the form
Let
A relation from the set
In Section 6.1, we defined the domain and range of a function. We make similar definitions for a relation.
If
We use the notation dom(
dom(
range(
A relation was studied in each of the Preview Activities for this section. For Preview Activity 2, the set
dom(
range(
So from the results in Preview Activity
- Let
.
(a) Explain why is a relation on .
(b) Find all values of such that . Find all values of such that .
(c) What is the domain of the relation ? What is the range of ?
(d) Since is a relation on , its elements can be graphed in the coordinate plane. Describe the graph of the relation . - From Preview Activity
, is the set of all states in the United States, and
(a) Explain why is a relation on .
(b) What is the domain of the relation ? What is the range of the relation ?
(c) Are the following statements true or false? Justify your conclusions.
i. For all , if , then .
ii. For all , if and , then .
- Answer
-
Add texts here. Do not delete this text first.
Some Standard Mathematical Relations
There are many different relations in mathematics. For example, two real numbers can be considered to be related if one number is less than the other number. We call this the "less than" relation on
\{R_{<} = \{(x, y) \in \mathbb{R} \times \mathbb{R}\ |\ x < y\}\).
With many mathematical relations, we do not write the relation as a set of ordered pairs even though, technically, it is a set of ordered pairs. Table 7.1 describes some standard mathematical relations.

Notation for Relations
The mathematical relations in Table 7.1 all used a relation symbol between the two elements that form the ordered pair in

In some cases, we will even use a generic relation symbol for defining a new relation or speaking about relations in a general context. Perhaps the most commonly use symbol is "~", read “tilde” or “squiggle” or “is related to.” When we do this, we will write
Whenever we have spoken about one integer dividing another integer, we have worked with the “divides” relation on
In this case, we have a specific notation for “divides,” and we write
- What is the domain of the “divides” relation? What is the range of the “divides” relation?
- Are the following statements true or false? Explain.
(a) For every nonzero integer
, .
(b) For all nonzero integers and , if , then .
(c) For all nonzero integers , , and ,if and , then .
- Answer
-
Add texts here. Do not delete this text first.
Functions as Relations
If we have a function
This means that
(1) For every
When
(2) For every
This means that a function
Let
- List five different ordered pairs that are in the set
. - Use the roster method to specify the elements of each of the following the sets:
(a)
(b)
(c)
(d) - Since each real number
produces only one value of for which , the set can be used to define a function from the set to . Draw a graph of this function.
- Answer
-
Add texts here. Do not delete this text first.
Visual Representations of Relations
In Progress Check 7.4, we were able to draw a graph of a relation as a way to visualize the relation. In this case, the relation was a function from
When
then we can use the following graph as a way to visualize the points in the plane that are also in this relation.

The points
When the domain or range of a relation is infinite, we cannot provide a visualization of the entire relation. However, if
is a relation on
In a directed graph, the points are called the vertices. So each element of

Let

- Answer
-
Add texts here. Do not delete this text first.
- Let
, , and let be the set of ordered pairs defined by .
(a) Use the roster method to list all the elements of . Explain why can be considered to be a relation from to .
(b) Explain why is a relation from to .
(c) What is the domain of ? What is the range of ? - Let
and let (so is a relation on ). Are the following statements true or false? Explain.
(a) For each , .
(b) For every , if , then .
(c) For every , if and , then .
(d) is a function from to . - Let
be the set of all females citizens of the United States. Let be the relation on defined by
That is, means that is a daughter of .
(a) Describe those elements of that are in the domain of .
(b) Describe those elements of that are in the range of .
(c) Is the relation a function from to ? Explain. - Let
be a nonempty set, and let be the “subset relation” on . That is,
(a) Write the open sentence using standard subset notation.
(b) What is the domain of this subset relation, ?
(c) What is the range of this subset relation, ?
(d) Is a function from to ? Explain. - Let
be a nonempty set, and let be the "element of" relation from to . That is,
(a) What is the domain of this “element of” relation, ?
(b) What is the range of this "element of" relation, ?
(c) Is a function from to ? Explain. - Let
.
(a) Determine the set of all values of such that , and determine the set of all values of such that .
(b) Determine the domain and range of the relation and write each set using set builder notation.
(c) Is the relation a function from to ? Explain.
(d) Since is a relation on , its elements can be graphed in the coordinate plane. Describe the graph of the relation . Is the graph consistent with your answers in Exercises (6a) through (6c)? Explain. - Repeat Exercise( 6) using the relation on
defined by
What is the connection between this relation and the relation in Exercise (6)? - Determine the domain and range of each of the following relations on
and sketch the graph of each relation.
(a)
(b)
(c)
(d) - Let
be the relation on where for all , if and only if .
(a) Use set builder notation to describe the relation as a set of ordered pairs.
(b) Determine the domain and range of the relation .
(c) Use the roster method to specify these to fall integers such that and the set of all integers such that .
(d) If possible, find integers and such that , , but
.
(e) If , use the roster method to specify the set of all such that . - Let
. This means that is the "less than" relation on .
(a) What is the domain of the relation ?
(b) What is the range of the relation ?
(c) Is the relation a function from to ? Explain.
Note: Remember that a relation is a set. Consequently, we can talk about one relation being a subset of another relation. Another thing to remember is that the elements of a relation are ordered pairs.
Explorations and Activities - The Inverse of a Relation. In Section 6.5, we introduced the inverse of a function. If
and are nonempty sets and if is a function, then the inverse of , denoted by , is defined as
Now that we know about relations, we see that is always a relation from to . The concept of the inverse of a function is actually a special case of the more general concept of the inverse of a relation, which we now define.Let
be a relation from the set to the set . The inverse of , written and read " inverse," is the relation from to defined by
That is,
is the subset of consisting of all ordered pairs such that .For example, let
be the “divides” relation on . See Progress Check 7.3. So
This means that we can write
if and only if . So, in this case,
Now, if we would like to focus on the first coordinate instead of the second coordinate in , we know that “ divides ” means the same thing as “ is a multiple of .” Hence,
We can say that the inverse of the “divides” relation on is the “is a multiple of” relation on .
Theorem 7.6, which follows, contains some elementary facts about inverse.Let
be a relation from the set to the set . Then- The domain of
is the range of . That is, dom( ) = range( ). - The range of
is the domain of . That is, range( ) = dom( ). - The inverse of
is R. That is, .
To prove the first part of Theorem 7.6, observe that the goal is to prove that two sets are equal,
dom(
) = range( )One way to do this is to prove that each is a subset of the other. To prove that dom(
) range( ), we can start by choosing an arbitrary element of dom( ). So let dom( ). The goal now is to prove that range( ). What does it mean to say that dom( )? It means that there exists an such that .Now what does it mean to say that
? It means that . What does this tell us about ?Complete the proof of the first part of Theorem 7.6. Then, complete the proofs of the other two parts of Theorem 7.6.
- Proof
-
Add proof here and it will automatically be hidden
- The domain of
- Answer
-
Add texts here. Do not delete this text first.


