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

What are the pairs in a relation R on set A?

Consider the set A = {0, 1, 2, 3, 4, 5, 6}. The relation $ xRy \iff 2 | (x - y) $. What is relation R? My answer is R = {(2,0), (4,0), (6,0), (3,1), (5,1), (4,2), (6,2), (6,3), (0,2), (0,4), (0,6), (1,3), (1,5), (2,4), (2,6), (3,5)}. 2…
terahertz
  • 279
0
votes
2 answers

Is R transitive if R = {(a,a), (b,a), (b,b), (b,c), (c,a), (c,b), (c,c)}

I know the rule is ((a R b) ∧ (b R c)) → a R c but since (a,b) is not in R in the first place can R still be transitive?
ndreh
  • 1
0
votes
2 answers

Do arity or dimension of relations depend on how many variables are involved?

1) y = x + 1 It seems like even though the above has both "=" and "+", there are only two variables, so the relation would be a binary one, where as... 2) z = x + y has 3 variables so there is a tertiary relation. Is this sensible or am I missing…
csp2018
  • 401
0
votes
1 answer

Functions, equivalence relation, fibers/

Here's the question: Verify that any equivalence relation between elements of a set makes it possible to represent the set as a union of usually disjoint equivalence classes of elements. (It's from Zorich's Mathematical Analysis, the last question…
0
votes
0 answers

How does a strict preference relation entail non-strict preference relation

I am currently stuck on a problem for decision theory. I am not super good at proofs so I cannot progress very well. Does anyone have tips about how to deal with this question? enter image description here A clear and explanation or some guidance…
traya0
  • 1
0
votes
2 answers

Question to an exercise about relations which should be not reflexive but symmetric and transitive

First I thought about a certain relation, but wasnt sure about the transitivity in the end, so I went a save route with: For $x,y\in$ N : $x\sim y \Longleftrightarrow x,y $: even But the question was about my first thought! At first I thought I…
0
votes
1 answer

Can a non distinct ordered pair in a relation R, belong to its power RR

Can a non distinct ordered pair in a relation R, belong to its power RR Here is the given problem : Let R= {(1,1),(2,1),(3,2),(4,3)} they have give that RR or RoR = {(1,1),(2,1),(3,2),(4,2)} RR is defined as = { | a A c C b [b B R1 R2…
0
votes
1 answer

find the relation $R$ and the domain of $R$?

Let $A = \{3,4,5,6,7,8\}$ define a relation $R$ from $A$ to $A$ by, $$R= \{(x,y) \,:\, y= x-1\}$$ what is the relation of $R$? and domain of $R$?
0
votes
1 answer

Implication and symmetric relations

I read that the symmetric relation can be written with math logic symbols as an implication( (a,b)∈ R->(b,a)∈ R) ).So i thought that it should have the same truth table with the implication.But say S={1,2,3,4} and R={(1,1),(1,2),(2,1)},and take the…
0
votes
1 answer

How to get the equation of relation between 2 sets of numbers

I have these two sets of number, group A : numbers from 49 to 225 and group B : from 84 to 16. how can i conclude an equation to get the value of any number from set B (lets say 50) according to value of group A ? hope i explain my question…
0
votes
1 answer

How To Prove the Given Relation is Not Transitive Without Cherry Picking Examples

I found this question in a problem set- Check whether the relation R in $\mathbb{R}$ defined by: $$R=\{(a,b):a\leq b^3\}$$ is reflexive, symmetric or transitive I found an example to show that it is not…
user671231
0
votes
1 answer

Using two different properties to prove a relation is an equivalence relation

I'm currently taking Introduction to Pure Mathematics, and we've been working on equivalence relations for the last week. I had a problem with one question on our last tutorial which asks us to consider a relation ~ on a set X which satisfies the…
James
  • 79
0
votes
2 answers

Relations as Sets

Wikipedia defines a relation as a set of ordered pairs. An example of this is {(1,1), (2,4), (3,9)} But how could this set fully define a relation? Can’t the relation have one of many different possible codomains? And wouldn’t each of these…
Frasch
  • 347
0
votes
4 answers

Give an example of R over A so that: symmetric and transitive but not reflexive

Let $A = \left \{ 1,2,3,4 \right \}$. Give an example of $R$ over $A$ so that it is symmetric and transitive but not reflexive. My answer: $R = \begin{Bmatrix} (2,1)(1,2)(2,3)(1,3) \end{Bmatrix}$ Correct answer: $R =…
0
votes
1 answer

Is denseness a antisymmetric relation?

Upon discovering that denseness is transitive, I wondered if denseness is a partial ordering ($\iff$ reflexive, antisymmetric, transitive). To be more precise: Let $X$ be a topological space. Then define $R \subset \mathcal{P}(X) \times…
ViktorStein
  • 4,838