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

Partial order homework

I need to check my homework. I'm not good at discrete mathematics and I need to have this homework correct. Let $S=\{1,2,\ldots,100\}^2$. The partial order $\le_S$ is defined as follows: for $\langle a,b\rangle,\langle x,y\rangle\in S$, $\langle…
Speedding
  • 357
0
votes
2 answers

Proving a relation is function

So this is the question I've been stuck on: Prove the relation in $\Bbb R$ is a function . $(x,y)∈τ ⇔x^2 ≤y$; Im used to doing this kind of questions but not with an inequality, how do I go around this?
0
votes
1 answer

the number of relations on X

Let $X := \{ 1, 2, 3 \}$ . Find the number of relations on $X$. Solution: $2^{3^2} = 2^9 = 512$. Could someone explain why is the formula $2^{n^2}$ where $n=|X|$?
0
votes
3 answers

What is the meaning of Transitive on this Binary Relation?

Please see the below equation. As the title suggests I have been trying to work out if the following Binary Relation is Transitive. I have been able to conclude that the relation is Anti-symmetric and Reflexive due to having loops at the end of…
0
votes
1 answer

Discrete Mathematics - Composition of Relations

Can anyone help me, please, solve these problems below? 1. Find the relations $R, S$ on the same set $X$, so that $R∘S \neq S∘R.$ 2. Find the relation $R$ on the suitable set $X$, so that $\forall n \in \mathbb N: R^n \neq R^{n+1}$. The expression…
0
votes
0 answers

Why is, x ~ y if x $\geq$ y not symmetric?

I am confused to why the relation, x ~ y if x $\geq$ y is not symmetric? Because if x ~ x then x $\geq$ x would still hold true. What am I not getting?
0
votes
1 answer

Prove that ρ is a partial order on A.

Let $a_1, a_2,\ldots$ be a sequence of real numbers such that $a_i \ne a_j$ when $i \ne j$, and let $A = \{a_1, a_2,\ldots\}$. Define a relation $\rho$ on $A$ as follows. For all $a_i, a_j\in A$, $a_i\mathrel{\rho}a_j$ if and only if $i \le j$ and…
dstar19
  • 15
0
votes
1 answer

Given this definition of a relation, describe it explicitly

Given: $A = \{1, 2, 3, 4, 5, 6, 7\}$ and $R \subseteq A^2$, where $aRb \leftrightarrow b− a = 1$, give $R$ explicitly: $$R = ?$$ How would I got about solving this? I was thinking $R = \{[2,1],[3,2],[4,3],[5,4],[6,4],[7,6]\}$ since these are…
Jordy
  • 127
0
votes
2 answers

What are the properties of this relation?

If a relation $j R k$ is defined iff $\{p: p$ is prime and $p \mid j\} = \{q: q$ is prime and $q\mid k\}$, what are the properties of this relation? It is definitely reflexive, symmetric. But I was wondering is this anti-symmetric and transitive?
0
votes
1 answer

Graphs on Relations

Let A be the set of strings of $0$’s and $1$’s of length $3$ or less. Define the relation of $d$ on $A$ by $xdy$ if $x$ is contained within $y$. For example, $01d101$. a) Draw a digraph for this relation. b) Do the same for the relation $p$ defined…
0
votes
2 answers

Proving that this relation is an order relation on $\Bbb N$?

$S := \{(x, y) \in \Bbb N / \{1\} \times \Bbb N\ / \{1\}$ $x$ and $y$ have the same number of prime factors and $|x - {100\over{3}}| \leq |y - {100\over{3}}|$$ \}$ Is $S$ an order relation on $\Bbb N$? I am not sure how I would approach this…
0
votes
2 answers

how is the relation defined by (x,y)$\in$ R iff and only if $x^2-4xy+3y^2$ not symmetric?

A Relation R on the set N of Natural numbers be defined as (x,y) $\in$R if and only if $x^2-4xy+3y^2=0$ for allx,y $\in$N then show that the relation is reflexive,transitive but not SYMMETRIC. i got how this relation is reflexive or transitive but i…
danny
  • 357
0
votes
1 answer

How is this relation not a Transitive relation?

The question says:- $A = \{1,2,3,4,5,6\}$ and $R = \{(S_1, S_2) :S_1, S_2 \subset A, S1\nsubseteq S2\}$. My thought:- $S_1$ contains the subsets of $A$ and $S_2$ contains the subset of $A$ and $S_1$ is not a subset of $S_2$ then there are no…
danny
  • 357
0
votes
0 answers

If R is a relation, then what is $R^0$?

I'm sorry if this seems like a question asked before doing any research, but the discrete math textbook I'm using doesn't mention it, and I tried googling it, but I don't even know the name of it, so I couldn't find anything either. The original…
Tony Tarng
  • 481
  • 6
  • 18
0
votes
0 answers

Sums and products of binary relations

Every function $f: X \rightarrow Y$ is actually a relation between $X$ and $Y$: $$R_f = \{ (x, f(x)) : x \in X \}$$ If $X$ and $Y$ are fields, we can take sums and products of two functions and say $$R_f + R_g = R_{f + g} = \{ (x, f(x) + g(x)) : x…