Questions tagged [relations]

For questions concerning partial orders, equivalence relations, properties of relations (transitive, symmetric, etc), a composition of relations, or anything else concerning a relation on a set.

A relation $R$ on a set $X \times Y$ (sometimes also called a relation between $X$ and $Y$) is any subset of $X\times Y$. So a relation is any set of ordered pairs $(x,y)$ such that $x\in X$ and $y \in Y$. Often we write $x\mathrel R y$ instead of $(x,y)\in R$. Sometimes we say a relation is defined on a single set $X$, but this just means that we're letting the relation $R$ be a subset of $X \times X$.

Here are some examples of relations:

  • For a very abstract example of a relation, take $X = \{1,2,3\}$ and $Y = \{a,b,c,d\}$, and let $R = \{(1,b),(3,c),(3,d),(2,c),(2,d)\}$. This $R$ is a relation on $X \times Y$. Fun fact, there are $2^{12}$ distinct relations you could put on $X \times Y$.

  • A function $f\colon X\to Y$ can be defined as a relation on $X \times Y$. The pairs in $X \times Y$ that are members of the relation are the input-output pairs $(x, f(x))$.

  • A partial order is a relation that mimics the notion of one element being greater/less than the other. An example of a partial order is the relation $\leq$ on $\mathbf{Z} \times \mathbf{Z}$ where for two integers $n$ and $m$ we say $n \leq m$ if $n$ is less than or equal to $m$.

  • Given a set $X$, let $\mathcal{P}(X)$ denote the set of all subsets of $X$. We can define a partial order $\subseteq$ on $\mathcal{P}(X)$ by saying that for two susbsets $A$ and $B$ of $X$, $A \subseteq B$ if $A$ is a subset of $B$.

  • An equivalence relation is a relation that mimics the notion of two things being "equal". For example, on the set $\mathbf{Z}$ of integers let's define the relation $\equiv_{37}$ on $\mathbf{Z}\times \mathbf{Z}$ by saying $a\equiv_{37} b$ if both $a$ and $b$ give the same remainder when divided by $37$. If $a \equiv_{37} b$ we say that $a$ and $b$ are congruent modulo $37$.

  • Let $T$ be the set of all triangles in the plane. An example of an equivalence relation on $T$ is the relation of two triangles being congruent.

4661 questions
3
votes
1 answer

Define a relation $∼$ on $Z$ by $a ∼ b$ if and only if $a − b$ is even. Show that it is reflexive, symmetric and transitive.

Define a relation $∼$ on $Z$ by $a ∼ b$ if and only if $a − b$ is even. Show that it is reflexive, symmetric and transitive. a) Reflexive: $a \sim a$ holds because $a-a = 0$ and $0$ is an even number, so $\sim$ is reflexive. b) Symmetric: We need to…
3
votes
2 answers

Bijection of sets

Let $N$ be the set of natural numbers. Suppose there is a bijection between $N$ and set $X$. Suppose there is also a bijection between $N$ and set $Y$ Then is the inference that there is a bijection between $N$ and $X\cup$Y true ?. The answer is…
Meera Unni
  • 427
  • 1
  • 4
  • 16
3
votes
3 answers

Total order and Total relation

What is the difference between total order and total relation? https://en.wikipedia.org/wiki/Total_relation https://en.wikipedia.org/wiki/Total_order
3
votes
2 answers

Why is the relation $R = \{(a, b), (a, c)\}$ over $X = \{a, b, c\}$ transitive?

I know it is not complete and I know it is asymmetric. But how is it transitive? The textbook says it is transitive... Instead, I used a different example of transitive, asymmetric, and not complete, which is $X = \{a, b, c, d\}$ with $R = \{(a, b),…
user482939
3
votes
2 answers

Why is an injective relation called left-unique?

Given a relation $R \subseteq A \times A$. Then, $R$ might be injective or left-unique. My question is a language question: why is an injective relation called "left-unique"? My feeling would rather to call them (wrongly!) "right-unique", since its…
cxxl
  • 185
3
votes
1 answer

formal definition of a binary relation

I read the following on the wikipedia article on binary relations: A binary relation R between arbitrary sets (or classes) X (the set of departure) and Y (the set of destination or codomain) is specified by its graph G, which is a subset of the…
3
votes
1 answer

reflexive, transitive and symmetric relations.

Problem Let $R:=\{(a,b) \in \mathbb{N^2}\mid a \leq b\}$. Is $R$ reflexive, symmetric, antisymmetric, transitive? The portrayed relation is reflexive because both $a \leq b$ and $b \leq a$ works. It is also transitive because $a \leq b \land b…
3
votes
4 answers

Equivalence relation on set $\{0,1,2,3\}$

I'm given a a relation on the set above as $R = \{(0,0), (1,1), (2,2), (3,3)\}$. I can see how this is reflexive. Since if $a = 0,1,2, 3$ then $(a,a)\in R$. However, how is it symmetric and transitive? For it to be symmetric $(a,b)$ and $(b,a)$ have…
user1766888
  • 623
  • 3
  • 12
  • 24
3
votes
1 answer

complex number sets and relations

Sets can be defined for complex numbers. If so, then will there be any kind of relations which will be defined for complex number sets , like reflexive relation or transitive relation which are defined for real numbers?
Arv_833
  • 53
3
votes
2 answers

Ordering with one minimal element, but without the smallest element

What can be the example of an ordering with one minimal element, but without the smallest element? Can this be an example: Proper subset relation defined on the set {{1}, {1,2}}.
Kambar
  • 31
3
votes
1 answer

A relation that is both reflexive and irrefelexive

I didn't know that a relation could be both reflexive and irreflexive. However, now I do, I cannot think of an example. So what is an example of a relation on a set that is both reflexive and irreflexive ?
Mark
  • 137
3
votes
3 answers

Proving a relation is antisymmetric

For part b, I'm getting a little stuck. So I'm trying to show that if $(x,y,r)R(a,b,s)$ and $(a,b,s)R(x,y,r)$, then $(x,y,r)=(a,b,s)$ And so $(x,y,r)R(a,b,s)$ implies $\sqrt{(x-a)^2+(y-b)^2} \leq s-r$ and $(a,b,s)R(x,y,r)$ implies…
Snowman
  • 2,664
3
votes
1 answer

Which of the following relations on the set of all people are equvilance relations?

Determine the properties of an equivalence relation. I'm not sure if I am understanding this correctly. A. $\{(a,b)|\ a$ and $ b$ are the same age$\}$ B.$\{(a,b)|\ a$ and $ b$ have the same parents$\}$ C. $\{(a,b)|\ a$ and $ b$ share a common…
Socrox
  • 83
3
votes
1 answer

Real life example of relations with various combination of properties

Attempted a set of questions as below: Give examples of relations that are 1. asymmetric 2. reflexive, symmetric, but not transitive 3. antisymmetric, transitive, but not reflexive 4. reflexive, transitive, but not antisymmetric (equivalence) I…
apple
  • 175
3
votes
1 answer

Example of an antisymmetric, transitive, but not reflexive relation

The question I'm tackling right now is this: Give an example of a relation R on a set S that is not reflexive, transitive and not symmetric. My answer: Let S = {1,2,3} and let R = {(1,1), (2,2), (1,2)}. Then R is irreflexive since (s,s) is not in R…
apple
  • 175