Discrete mathematicsLesson 1 of 1 in the course Set theory and relations

Binary Relations: Operations, Properties, Functions, and Applications

5 flashcards · 5 quiz questions · 5 match pairs · 5 fill-in sentences · English

Lesson progress
0 / 5

Your progress is kept in this browser only.Sign up to save it

Summary

A binary relation is a way to specify which elements of one set are connected to which elements of another set. It formalizes ideas such as “divides,” “is adjacent to,” and “is greater than.”

For sets XX and YY, their Cartesian product is

X×Y={(x,y)∣x∈X, y∈Y}.X \times Y = \{(x,y) \mid x \in X,\ y \in Y\}.

Thus a relation is simply a selection of pairs from all possible pairs in X×YX \times Y. If (x,y)∈R(x,y) \in R, we say that xx is related to yy by RR, and write xRyxRy.

All flashcards

Active domain and range
The active domain contains first coordinates that occur in relation pairs; the range contains second coordinates that occur.
Homogeneous relation
A relation whose domain and codomain are the same set.
Functional relation
A relation in which each domain element is related to at most one codomain element.
Composition of relations
For RR from XX to YY and SS from YY to ZZ, x(S∘R)zx(S \circ R)z holds when some y∈Yy \in Y satisfies xRyxRy and ySzySz.
Reflexive closure
The smallest reflexive relation containing the given relation; it adds any missing pairs (x,x)(x,x).

Quiz questions

  1. What does the converse of a relation do to each ordered pair?Answer: It reverses the pair's coordinates.
  2. A relation from XX to YY is surjective when which condition holds?Answer: Every element of YY is related to at least one element of $X.
  3. Which properties define an equivalence relation?Answer: Reflexivity, symmetry, and transitivity.
  4. In a Boolean matrix representation of relations, what does Boolean matrix multiplication correspond to?Answer: Composition of relations.
  5. How is an nn-ary relation on sets X1,…,XnX_1,\ldots,X_n defined?Answer: As a subset of X1×⋯×XnX_1 \times \cdots \times X_n.

Based on the Wikipedia article Binary relation, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.

All Discrete mathematics lessons