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

Understanding this statement

Let R$_1$ and R$_2$ be two equivalence relations on the same set A. Not sure how to interpret this statement. Does it mean... A = {1, 2} $\quad$#for example AR$_1$A = {(1, 1), (1, 2), (2, 1), (2, 2)} AR$_2$A = {(1, 1), (1, 2), (2, 1), (2,…
fossdeep
  • 239
2
votes
1 answer

Transitive, Reflexive, and Symmetric, could someone explain these answers?

I've been looking at a past paper with solutions, and I can't quite make sense of the answers given here (which is odd considering I get these questions right every time on the online practice tests), where am I going wrong with this? Consider the…
2
votes
1 answer

Is this a transitive relation

I found this in a web site If $A = \{ 1, 2, 3\}$, then the relation $R = \{(2, 3)\}$ is not transitive. Why it is not transitive? The definition is if whenever an element $a$ is related to an element $b$, and $b$ is in turn related to an element…
2
votes
3 answers

Sets: How to show that relation R is not transitive?

I have a question which states: $R = \{ (t,t), (t,v), (t,z), (u,t), (u,u), (u,v), (u,x), (u,z), (v,v), (w,w), (w,z), (x,t), (x,v), (x,w), (x,x), (x,y), (x,z), (y,w), (y,y), (y,z), (z,z) \}$ "Give a counter example to show $R$ is not transitive ...…
HS'
  • 41
2
votes
1 answer

If a relation is to be reflexive, symmetric, transitive, etc., do the properties need to be satisfied by all values?

I want to know if different scenarios in relations must satisfy all the value in the relation. In mathematical relations, a given set relation is reflexive if all the elements in the set exhibit (a,a). What about the rest of the relations such as…
2
votes
3 answers

Trying to figure out whether the following relation is an equivalence relation

LEt $R$ be a relation on $\mathbb{N}$ given by $m R n$ iff $m$ and $n$ have the same digit in the tens place. What does it mean to have the same in digit in the tens place?
user139708
2
votes
1 answer

Is the following an equivalence relation on $\mathbb{R} \times \mathbb{R} $?

Define $(x,y) R (z,w) $ iff $x + z \leq y + w $. Is $R$ an equivalence relation on $\mathbb{R} \times \mathbb{R} $? So far I got reflexivity and symmetry which are obvious. However, I am stuck on transitivity. It seems to me that transitivity does…
user139708
2
votes
2 answers

Find position on line given start and end points

I'm trying to solve this problem for myself which is for latitudes and longitudes. For the illustration below - I know ALL the variables EXCEPT $(a_1,b_1)$ which the latitude and longitude I need to calculate. $X_o,Y_o$ - Circle Center $X_2,Y_2$ -…
Andy
  • 195
2
votes
1 answer

Find the background position by mouse pos and its hit area

I'm trying to creating a jQuery plugin where the user can interact with a div element background image. Basically, the background-image is larger than div element container, so if the user move the mouse over the div element, the image is…
vitto
  • 123
1
vote
2 answers

Equivalence Relations (Discrete Math)

Hello I'm having trouble with this math problem on equivalence relations. Let X be any subset of the set of positive integers Z. Define a relation ~ on X as follows: I have reflexive proven, having trouble with transitivity and symmetric.
1
vote
1 answer

Relations - Logical Boolean Matrix

I am having trouble with the following question: Relations $S$ and $R$ are defined on the set $$\{1, 2, 3, \ldots, 12\}$$ as follows: $$R = \{(x, y)\mid xy = 12\}$$ $$S = \{(x, y)\mid 2x = 3y\}$$ So far I have resolved the composite matrix S o R to…
1
vote
1 answer

relation r reflexivity, transitivity, symmetry

check if relation r is reflexivity, transitivity, symmetry. r is a binary relation in the set of natural numbers such that x r y (x mod 3) = (y+1 mod 3). x-y-1≡(3 mod) <=>x-y-1=3k, for some k ∈ R. 1). Reflexivity: xRx <=> x-x-1 =3k => -1= 3k *-1…
1
vote
2 answers

Value assignment for complete, transitive relation

Consider a finite set $A$ and a relation $r$. The relation $r$ is complete, i.e., for any $a,b\in A$, we have $arb$ or $bra$ or both. The relation $r$ is transitive, i.e., for any $a,b,c\in A$, if $arb$ and $brc$, then $arc$. Show that there exists…
boaten
  • 1,735
1
vote
1 answer

Is $x^3-yx^2 = y^3-xy^2$ transitive?

I'm asked to prove that the relation $R$ on $\mathbb{C},$ $xRy \iff x^3-yx^2 = y^3-xy^2$ is an equivalence relation. It's easily shown it's reflexive and symmetric, but I'm having problems with its transitivity. Any tips?
Paul Manta
  • 3,505
1
vote
1 answer

Binary relations on a set

I have a homework problem that asks this... a) List all the different binary relations on the set $\{0,1\}$ I assume that since the relation is not given then the answer must be the graph, or Cartesian product of the set. This only provides 4 sets.…