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
0
votes
3 answers

What is $D$ in $G \cap G^{-1} \subseteq D$?

My book has an example that goes like this: $$A = \{1,2,3,4\}$$ $$R = (G,A,A)$$ Prove that $R$ is antisymmetric if and only if $G \cap G^{-1} \subseteq D$ We have to prove two implications. The first one being "supposing that $R$ is antisymmetric,…
Saturn
  • 7,191
0
votes
0 answers

Prove $R$ is an order relation

In $\mathbb{R^2}$ we consider the relation \begin{equation} (x,y)R(a,b)\Longleftrightarrow (x=a \,\text{and} \, y=b)\, \text{or}\,(x^2+y^2
B. David
  • 643
0
votes
1 answer

How to do the 3 checks on a partially ordered set

I have a task to check if a relation is a partially ordered set. I know i have to check if it's: let $S$ be a set and $\mathcal{R} $ is a relation: Reflexive ( $ (s,s) \in \mathcal{R} \forall s \in S$ ) Antisymetric ( $\forall s,t \in S: (s,t) \in…
0
votes
1 answer

Find relation from given task

My target is to find relation from given task. Please include explanations of solving not just an answer. Thank you. $$A = \{ 1, 2, 3, 4 \} $$ $$R_1 = \{ (1, 2), (1, 3), (2, 4), (2, 2), (3, 4), (4, 3) \}$$ $$R_2 = \{ (1,1), (1,2), (3,1), (4,3), (4,…
IntoTheDeep
  • 299
  • 5
  • 14
0
votes
2 answers

Let $A=\{1,2,3,4,5\}$. Can we find a relation on A that is total but not transitive?

Total is defined as ${\displaystyle \forall a,b\in A(aRb\lor bRa)}$. I'm just really confused. I don't think it's possible to find such a relation, but I just want to be sure or be corrected if I am wrong. Thanks.
Larx
  • 97
0
votes
2 answers

What is the 'arity' of a relation?

On wikipedia's 'Arity' page I noticed the statement, The arity of a relation (or predicate) is the dimension of the domain in the corresponding Cartesian product. I do not understand what this means and do not see an explanation on that…
Matthew
  • 227
0
votes
2 answers

The collection of all relations on a set.

I have the following question for homework I'm unsure what the first part of the question refers to. I'm assuming its asking for the size of the power set of A but I haven't seen any mention of power sets regarding relations. The second part refers…
stalris
  • 71
0
votes
2 answers

Why is this a transitive relation?

The relation is: {(France, Italy), (Italy, Austria), (France, France), (Italy, Italy), (Austria, Austria)} I don't understand how it is transitive on the set {France, Austria} - surely you would need the ordered pair (France, Austria) (or (Austria,…
0
votes
0 answers

How to solve poset question?

In a poset $P = (S,\leq)$, we say that a chain is any sequence $x_1,x_2,\ldots,x_k$ of distinct elements in $S$,such that $x_1\leq x_2\leq\ldots\leq x_k$. For example, consider the poset $P = (P(A),\subseteq)$, where $A = \{1,2,\ldots,n\}$. One…
0
votes
0 answers

Proof that the dictionary order is an order relation

Say that we have the following relation on Q: (a,b) < (c,d) if a < c OR a = c and b < d I want to prove that this is an order relation. I've seen these conditions defined somewhat differently, but going by Rudin, I need to show (i) trichotomy and…
user465188
0
votes
1 answer

Relation maximal or minimal.

Consider the set $\{2,3,4\}$ and define partial ordering if $a$ divides $b$. Element 3 is not related to anybody else therefore after Hasse Diagram element 3 is maximal or minimal.
0
votes
1 answer

Is the following Hasse diagram for a partial order correct?

I'm not sure if my Hasse diagram is correct for the partial order $$R = \{(2,2),(4,2),(6,2),(6,3),(3,3),(4,4),(5,5),(6,6)\}.$$ Any confirmation/correction would be much appreciated.
zeqof
  • 181
  • 1
  • 2
  • 9
0
votes
1 answer

For the partial order R = {(2,2),(4,2),(6,2),(6,3),(3,3),(4,4),(5,5),(6,6)} is the following answer for maximal and minimal elements correct?

Maximal elements: 2,3 and 5 Minimal elements: 4,5 and 6 I just want to confirm to make sure that I understand maximal and minimal elements correctly.
zeqof
  • 181
  • 1
  • 2
  • 9
0
votes
1 answer

List all maximal and minimal elements of the partial order R = {(a,a), (b,b), (c,c), (a,c)}

I know what the definitions of maximal and minimal elements are but I'm not sure how to apply them in this case. Any help would be great.
zeqof
  • 181
  • 1
  • 2
  • 9
0
votes
0 answers

Prove that $\phi$ is a partial relation for. Let $\phi$ is a relation on $\mathbb{R}\times\mathbb{R}$, $(a,b)\phi (x,y) \iff a\leq x$ and $b\leq y$

I'm stuck on how to prove this, most likely because I haven't really done an example like this before and I'm pretty new to partial order relations. It would be greatly appreciated if you could help me out, because I'm stressing over this, so any…