# 3.7.1: Properties of relations

- Page ID
- 10908

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)In many applications, attention is restricted to relations that satisfy some property or set of properties. (This is, of course, just what we do when we study functions.) We begin our discussion of binary relations by considering several important properties. In this discussion, let *A *be a set and let R be a binary relation on *A*, that is, a subset of *A *× *A*.

R is said to be reflexive if ∀*a *∈ *A *(*a *R *a*). That is, a binary relation on a set is reflexive 4 if every element of the set is related to itself. This is true, for example, for the relation≤onthesetN, since *n** *≤ *n *for every *n** *∈ N. On the other hand, it is not true for the relation < on N, since, for example, the statement 17 < 17 is false.

R is called transitive if ∀*a *∈ *A*, ∀*b *∈ *A*, ∀*c *∈ *A *((*a *R *b *∧ *b *R *c*) → (*a *R *c*)). Transit- ivity allows us to ‘chain together’ two true statements *a *R *b *and *b *R *c*, which are ‘linked’

by the *b *that occurs in each statement, to deduce that *a *R *c*. For example, suppose *P *is the set of people, and define the relation C on *P *such that *x*P*y** *if and only if *x *is a child of *y*. The relation P is not transitive because the child of a child of a person is not a child of that person. Suppose, on the other hand, that we define a relation D on *P *such that *x** *D *y *if and only if *x *is a descendent of *y*. Then *D *is a transitive relation on the set of people, since a descendent of a descendent of a person is a descendent of that person. That is, from the facts that Elizabeth is a descendent of Victoria and Victoria is a descendent of James, we can deduce that Elizabeth is a descendent of James. In the mathematical world, the relations ≤ and < on the set N are both transitive.

R is said to be symmetric if ∀*a *∈ *A*, ∀*b *∈ *B*(*a*R*b** *→ *b*R*a*). That is, whenever *a *is related to *b*, it follows that *b *is related to *a*. The relation “is a first cousin of” on the set of people is symmetric, since whenever *x *is a first cousin of *y*, we have automatically that *y *is a first cousin of *x*. On the other hand, the “child of” relation is certainly not symmetric. The relation ≤ on N is not symmetric. From the fact that *n *≤ *m*, we cannot conclude that *m *≤ *n*. It is true for some *n *and *m *in N that *n *≤ *m *→ *m *≤ *n*, but it is not true for all *n** *and *m *in N.

Finally,R is **antisymmetric** if ∀*a*∈*A*,∀*b*∈*B *(*a*R*b*∧*b*R*a*)→*a*=*b *.The relation R is antisymmetric if for any two distinct elements *x *and *y *of *A*, we can’t have both *x *R *y*and *y *R *x*. The relation ≤ on N is antisymmetric because from the facts that *n *≤ *m *and *m *≤ *n*, we can deduce that *n *= *m*. The relation ‘child of’ on the set of people is antisymmetric since it’s impossible to have both that *x *is a child of *y *and *y *is a child of *x*.

During lectures, we’ll think about how to draw relations graphically. See the figure in Section 4.4.3 for one kind of graphical depiction.

There are a few combinations of properties that define particularly useful types of binary relations. The relation ≤ on the set N is reflexive, antisymmetric, and transitive. These properties define what is called a **partial order**: a partial order on a set *A *is a binary relation on *A *that is reflexive, antisymmetric, and transitive.

Another example of a partial order is the subset relation, ⊆, on the power set of any set. If *X *is a set, then of course P(*X*) is a set in its own right, and ⊆ can be considered to be a binary relation on this set. Two elements *A *and *B *of P(*X*) are related by ⊆ if and only if *A *⊆ *B*. This relation is reflexive since every set is a subset of itself. The fact that it is antisymmetric follows from Theorem 4.1. The fact that it is transitive was Exercise 11 in Section 4.1.

The ordering imposed on N by ≤ has one important property that the ordering of subsets by ⊆ does not share. If *n *and *m *are natural numbers, then at least one of the statements *n *≤ *m *and *m *≤ *n *must be true. However, if *A *and *B *are subsets of a set *X*, it is certainly possible that both *A *⊆ *B *and *B *⊆ *A *are false. A binary relation R on a set *A *is said to be a total order if it is a partial order and furthermore for any two elements *a *and *b *of *A*, either *a*R*b** *or *b*R*a*. The relation ≤ on the set N is a total order. Therelation⊆on P(*X*) is not. (Note once again the slightly odd mathematical language: A total order is a kind of partial order—not, as you might expect, the opposite of a partial order.)

For another example of ordering, let *L *be the set of strings that can be made from lowercase letters. *L *contains both English words and nonsense strings such as “sxjja”. There is a commonly used total order on the set *L*, namely alphabetical order.