9.1 Relations and their properties Flashcards

1
Q

Binary Relation:

A

Relationships between elements of two sets are represented using the structure called a binary relation, which is just a subset of the Cartesian product of the
sets.

Let A and B be sets. A binary relation from A to B is a subset of A × B

The most direct way to express a relationship between elements of two sets is to use ordered pairs
made up of two related elements. For this reason, these ordered pairs are called binary relations.

Binary relations represent relationships between the elements of two sets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Binary Relation:

Notation.

A

Let R be the set of ordered pairs. 1st element comes from A and 2nd from B.

We use the notation
aRb to denote that (a, b) ∈ R and
a ̸R b to denote that (a, b) ∉ R. Moreover, when (a, b) belongs to R, a is said to be related to b by R.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Representation of relations at end of 9.1.1:

A

Using a graph, using arrows to represent ordered pairs.

A table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Functions as relations:

A

Function f from a set A to a set B assigns exactly
one element of B to each element of A.
The graph of the function f from A to B is
the set of ordered pairs (a, f(a)) for a ∈ A.
b = f(a)
This means the graph of f is a subset of A X B.
It’s property being, that every element of A is the first element of exactly
one ordered pair of the graph.
Conversely, if R is a relation from A to B such that every element in A is the first element
of exactly one ordered pair of R, then a function can be defined with R as its graph.
This can
be done by assigning to an element a of A the unique element b ∈ B such that (a, b) ∈ R.
The relation can express one to many relation, but function represents exactly one element of B is related to each element of A.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Relations on a set:

A

A relation on a set A is a relation from A to A.
In other words, a relation on a set A is a subset of
A × A.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Any path to find number of relations on a finite set?

How many relations are there on a set with n elements?

A

It is not hard to determine the number of relations on a finite set, because a relation on a
set A is simply a subset of A × A.

A relation on a set A is a subset of A × A.
Because A × A has n^2 elements when A has
n elements, and a set with m elements has 2^m subsets, there are 2^(n^2)
subsets of A × A.
Thus, there are 2^(n^2) relations on a set with n elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Reflexive relation:

A

In some relations, an element is always related to itself. For instance, let R be the relation on
the set of all people consisting of pairs (x, y) where x and y have the same mother and the same
father. Then xRx for every person x.

A relation R on a set A is called reflexive if (a, a) ∈ R for every element a ∈ A.

∀a((a, a) ∈ R),
where the universe of discourse is the set of all elements in A.

A relation on A is reflexive if every element of A is related to itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is the “divides” relation on the set of integers reflexive?

A

the relation is not reflexive

because by definition 0 does not divide 0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Symmetric Relation
Antisymmetric relation

How to verify these relations..

A

A relation R on a set A is called symmetric if (b, a) ∈ R whenever (a, b) ∈ R, for all a, b ∈ A.
∀a∀b((a, b) ∈ R → (b, a) ∈ R)
To verify it’s not symmetric: finding a pair (a, b) such that it is in the relation but (b, a) is not.

A relation R on a set A such that for all a, b ∈ A, if (a, b) ∈ R and (b, a) ∈ R, then a = b is
called antisymmetric.
∀a∀b(((a, b) ∈ R ∧ (b, a) ∈ R) → (a = b))
To verify it’s not antisymmetric:
finding a pair (a, b) with
a ≠ b such that (a, b) and (b, a) are both in the relation.
To check for
antisymmetry we make sure that no pair (a, b) with a != b and its opposite are both in the relation. In other
words, at most one of (a, b) and (b, a) is in the relation if a != b.

These are not opposites of each other.
A relation cannot be both symmetric and antisymmetric if
it contains some pair of the form (a, b) in which a ≠ b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Transitive Property:

A

A relation R on a set A is called transitive if whenever (a, b) ∈ R and (b, c) ∈ R,
then (a, c) ∈ R, for all a, b, c ∈ A.

∀a∀b∀c(((a, b) ∈ R ∧ (b, c) ∈ R) → (a, c) ∈ R)

A common mistake to try to avoid is forgetting that a transitive
relation that has pairs (a, b) and (b, a) must also include (a, a) and (b, b)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many reflexive relations are there on a set with n elements?

A

A relation R on a set A is a subset of A × A. Consequently, a relation is determined by
specifying whether
each of the n^2 ordered pairs in A × A is in R. However, if R is reflexive, each of the n ordered pairs (a, a) for
a ∈ A must be in R. Each of the other n(n − 1) ordered pairs of
the form (a, b), where a ≠ b, may or may not be in R. Hence, by the product rule for counting,
there are 2^ (n (n−1) ) reflexive relations [this is the number of ways to choose whether each element
(a, b), with a ≠ b, belongs to R].

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Combining Relations:

A

Because relations from A to B are subsets of A × B, two relations from A to B can be combined
in any way two sets can be combined.

Example 18 gives the gist.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Composite of relations:

A

Let R be a relation from a set A to a set B and S a relation from B to a set C. The composite
of R and S is the relation consisting of ordered pairs (a, c), where a ∈ A, c ∈ C, and for which
there exists an element b ∈ B such that (a, b) ∈ R and (b, c) ∈ S. We denote the composite
of R and S by S ◦R.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The powers of a relation R:

A

Let R be a relation on the set A. The powers R^n, n = 1, 2, 3, … , are defined recursively by
R^1 = R and R^(n+1) = R^n ◦ R.

The definition shows that R^2 = R ◦ R,
R^3 = R^2 ◦ R = (R ◦ R)◦ R, and so on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Theorem for transitive relation
and powers of relation…

and its proof also

A

The relation R on a set A is transitive if and only if
R^n ⊆ R for n = 1, 2, 3, … .

proof, pg 608

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Irreflexive relation:

A

A relation R on the set A is irreflexive if for every
a ∈ A, (a, a) ∉ R. That is, R is irreflexive if no element
in A is related to itself.

17
Q

Asymmetric:

A

A relation R is called asymmetric if (a, b) ∈ R implies that

(b, a) ∉ R

18
Q

Inverse and Complementary Relation:

A

Let R be a relation from a set A to a set B. The inverse relation from B to A, denoted by R^(−1), is the set of ordered pairs
{(b, a) ∣ (a, b) ∈ R}. The complementary relation R is the
set of ordered pairs {(a, b) ∣ (a, b) ∉ R}.

19
Q

Suppose that the function f from A to B is a one-to-one correspondence. Let R be the relation that equals the
graph of f . That is, R = {(a, f(a)) ∣ a ∈ A}. What is the
inverse relation R−1?

A

The inverse relation is just the graph of the inverse function. Somewhat more formally, we have R- 1 =
{ (f(a), a) I a EA} = { (b, f-1 (b)) I b E B}, since we can index this collection just as easily by elements of
B as by elements of A (using the correspondence b = f(a) ).

20
Q

diagonal relation

A

diagonal relation

Δ={(a, a) ∣ a ∈ A}.