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
1
vote
1 answer

Set Relations Quick Question

Can someone please explain how this answer was reached? I know that relation of A is just A * A but wouldn't that just be $4^{2}? $ Let A = {1, 2, 3, 4}. How many relations are there on a set A? Solution: $2^{4^2} = 2^{16} = 131,072$
1
vote
0 answers

How to figure out what order elements go in a matrix from a relation?

Consider the following matrix: \begin{bmatrix}1&0&0&1\\0&1&0&0\\0&0&1&0\\1&0&0&1\end{bmatrix} Does this matrix represent any of the relations in 2.9(a)–(c)? $$(a) {(2, 2),(2, 3),(2, 4),(3, 2),(3, 3),(3, 4)}$$ $$(b) {(1, 1),(1, 2),(2, 1),(2, 2),(3,…
1
vote
2 answers

Is $f(x) = x^3 - x$ a mapping or function?

I came across this question in the exam and from my knowledge, I chose that it's a function or a function. But apparently it's not a mapping or function, which I don't understand why. From what I know: 1.) If there's a rule in which we can assign $x…
1
vote
0 answers

a divides b is a POSET on set of Natural numbers(N) but not Integers(Z)

a divides b is not a partial ordering on the set Z of integers since a | b and b | a need not imply a = b. This is a line from Schaum's outline of discrete mathematics ( chapter 2 Relations pg. 33) I understood that it is a POSET for set of Natural…
taurus05
  • 159
1
vote
1 answer

Relations $R$ and $S$ on $\mathbb{Z}$,both $R,S$ are both symmetric and transitive. Show that $|\mathcal{R}-\mathcal{S}|=|\mathcal{S}-\mathcal{R}|=1$

Give an example of two relations $R$ and $S$ on $\mathbb{Z}$ with the following properties: (i) both $R$ and $S$ are both symmetric and transitive. (ii) if $\mathcal{R} \subseteq \mathbb{Z} \times \mathbb{Z}$ and $\mathcal{S} \subseteq \mathbb{Z}…
Jesse Jin
  • 159
1
vote
1 answer

Extending equivalence relation

An equivalence relation on $\{-8,\dots,8\}$ is given by explicitly writing down the equivalence classes: \begin{align} [0]&=\{0\} \\ [1]&=\{1,-1\} \\ [2]&=\{2,-2,3,-3,5,-5,7,-7\} \\ [4]&=\{4,-4\} \\ [6]&=\{6,-6,8,-8\} \end{align} Is there a relation…
coopa
  • 13
1
vote
1 answer

Is the relation $\{(a, b) , (b, a) , (a, a)\}$ transitive?

I know that for transitive relation if $(A,B)$ and $(B,C)$ exist then $(A,C)$ must also exist but the problem is that If I see $(a,b)$ and $(b,a)$ exist then $(a,a)$ should exist and yes it does, so transitive. If I see $(b,a)$ and $(a,b)$ then…
1
vote
1 answer

What is trivial Relation?

I was doing chapter on relation and came up on the topic "types of relation", i studied about void and universal relation and then there was witten that "Both void and universal relation are sometimes called trivial relation." What does trivial…
Krishna
  • 27
1
vote
1 answer

The relation $\sim$ is defined on $\mathbb{Z}$ by $m\sim n$ if the HCF of $m$ and $n$ is $3$.

a)Show that $\sim$ is neither reflexive or transitive. b)Show that $\sim$ is symmetric. If the HCF of $m$ and $n$ is 3, then the HCF of $n$ and $m$ is also $3$. I think that my answer to b) is correct but I don't understand a). Can anyone point me…
1
vote
3 answers

Meaning of = in antisymmetric relation

We have a set of students. $$ \{\text{Bob}, \text{John}, \text{Tom} \} $$ Scores of a exam were: $$ \begin{align} \text{Bob} & : 5 \\ \text{John} & : 10 \\ \text{Tom} & : 10 \\ \end{align} $$ In the real life, we can sort by scores and say students…
1
vote
1 answer

Is My understanding of complete relations correct?

I am using "Foundations of Mathematical Economics" by Michael Carter. The problem 1.16 of the book: Consider the relations $<$, $\le$ and $=$ on $\mathbb R$. Which of the above properties…
SON TO
  • 11
1
vote
1 answer

Is the following relation $(x_1,x_2)\mathcal{R}(y_1,y_2) \iff x_1\geq y_1 \text{ and } x_2\geq y_2$ complete?

Let $\mathcal{R}$ denote a relation between vectors in $x, y \in \mathbb{R_+^2}$. The relation is called complete if $\forall x, y \in \mathbb{R_+^2}$ we have $x\mathcal{R}y$ or $y\mathcal{R}x$. The following relation is given…
1
vote
2 answers

Is the order relation to $<$ on the positive rational numbers (fractions) well-founded?

I am pretty new with well-founded relations and the concept, so i have sort of gave a brief reason nothing to in depth would i be correct with what i have said any help and explanations are greatly appreciated. This is what i have said i believe the…
mark
  • 123
1
vote
1 answer

Prove a relation is an ordering relation when the other is also one

Let $R$ be a relation on a set $A$, then define $R’$ on $A\times A$ by $$(a_1,a_2)R'(b_1,b_2)\Leftrightarrow a_1R\,a_2\wedge b_1R\,b_2$$ Prove that $R’$ is an ordering relation when $R$ is an ordering relation. the relation $R’$ is a linear…
1
vote
1 answer

How to supplement a relation?

Relation $\;\rho\;$ is given on the power set of $\;\mathbb{N}\;$ and is defined with $A\rho B\Leftrightarrow A\cap B\ne\emptyset \land A\cup B=\mathbb{N}\;$. $\rho\;$ is a symmetric relation. How do I find the smallest equivalence relation that…
Otus
  • 11