Properties of Relations

Four Key Properties

Relations can have special properties that describe their behavior.

There are four you need to know:

  1. Reflexive - everything relates to itself
  2. Symmetric - relationships go both ways
  3. Antisymmetric - two-way relationships only for equals
  4. Transitive - relationships chain together

Reflexive

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

For all aa in AA: aRaa \mathrel{R} a.


Examples:

RelationReflexive?Why?
== (equals)Yes5=55 = 5
≤\leq (less than or equal)Yes5≤55 \leq 5
∣\mid (evenly divides)Yes5∣55 \mid 5
<< (less than)No5<55 < 5 is false
“is a parent of”NoNobody is their own parent

Symmetric

A relation is symmetric if aRba \mathrel{R} b implies bRab \mathrel{R} a.

If one direction holds, the other direction holds too.


Examples:

RelationSymmetric?Why?
== (equals)YesIf x=yx = y, then y=xy = x
“is friends with”YesIf Alice is friends with Bob, Bob is friends with Alice
“is a sibling of”YesWorks both ways
<< (less than)No3<53 < 5, but 5<35 < 3 is false
∣\mid (evenly divides)No2∣62 \mid 6, but 6∣26 \mid 2 is false

Antisymmetric

A relation is antisymmetric if aRba \mathrel{R} b and bRab \mathrel{R} a implies a=ba = b.

Two different elements can’t both be related to each other.


Examples:

RelationAntisymmetric?Why?
≤\leqYesIf x≤yx \leq y and y≤xy \leq x, then x=yx = y
∣\mid (evenly divides)YesIf a∣ba \mid b and b∣ab \mid a, then a=ba = b
⊆\subseteq (subset)YesIf A⊆BA \subseteq B and B⊆AB \subseteq A, then A=BA = B
“is friends with”NoAlice and Bob can be mutual friends without being the same person

Note: Symmetric and antisymmetric are not opposites.

  • A relation can be both (like ==)
  • A relation can be neither (like “is a parent of a sibling of”)

Transitive

A relation is transitive if aRba \mathrel{R} b and bRcb \mathrel{R} c implies aRca \mathrel{R} c.

Relationships chain together.


Examples:

RelationTransitive?Why?
<<YesIf 2<52 < 5 and 5<95 < 9, then 2<92 < 9
==YesIf x=yx = y and y=zy = z, then x=zx = z
∣\mid (evenly divides)YesIf 2∣62 \mid 6 and 6∣186 \mid 18, then 2∣182 \mid 18
“is an ancestor of”YesYour ancestor’s ancestor is your ancestor
“is a parent of”NoYour parent’s parent is not your parent
“is friends with”NoYour friend’s friend might not be your friend

Summary

PropertyMeaningTest
ReflexiveEverything relates to itselfCheck: aRaa \mathrel{R} a for all aa
SymmetricGoes both waysCheck: aRb⇒bRaa \mathrel{R} b \Rightarrow b \mathrel{R} a
AntisymmetricMutual only if equalCheck: aRba \mathrel{R} b and bRa⇒a=bb \mathrel{R} a \Rightarrow a = b
TransitiveChains togetherCheck: aRba \mathrel{R} b and bRc⇒aRcb \mathrel{R} c \Rightarrow a \mathrel{R} c

Common Relations

RelationReflexiveSymmetricAntisymmetricTransitive
==YesYesYesYes
<<NoNoYesYes
≤\leqYesNoYesYes
∣\mid (evenly divides)YesNoYesYes
“is friends with”?YesNoNo

Notice the patterns? These combinations define special types of relations.