skip to contentstylized crane logoWhite Crane Education

Exercises

Icon Legend

Exercises

Let $R$ be the relation from $\mathbb{Z}$ to $\mathbb{Z}$ defined by $x R y$ if and only if $3 | (x+y)$.

  1. Is $5 R 3$? Is $10 R (-1)$?green check mark - show solution
  1. Give 4 numbers, $x$, such that $x R 4$.
  1. Give all the numbers, $x$, such that $x R 5$.green check mark - show solution

Let $R$ be the relation from $\mathbb{Z}$ to $\mathbb{Z}$ defined by $x R y$ if and only if $10 | (x-y)$.

  1. Is $3 R 6$? Is $-2 R -7$?
  1. Give 4 numbers, $x$, such that $x R 5$.green check mark - show solution
  1. Give all the numbers, $x$, such that $x R 2$.

Let $R$ be the relation from $\mathbb{Z}$ to $\mathbb{Z}$ defined by $x R y$ if and only if $x$ and $y$ have a common factor.

  1. Is $4 R 6$? Is $-2 R -7$?green check mark - show solution
  1. Give all the numbers, $x$, such that $x R 2$.
  1. Is it always true that $x R x$?green check mark - show solution

Let $R$ be the relation from $\mathbb{Z}$ to $\mathbb{Z}$ defined by $x R y$ if and only if both $x$ and $y$ are divisible by 3.

  1. Is $5 R 12$? Is $4.2 R 5.1$
  1. Give all the numbers, $x$, such that $x R 5$.green check mark - show solution
  1. Is it always true that if $x R y$ then $y R x$?

Let $R$ be the relation from $\mathbb{R}$ to $\mathbb{R}$ defined by $x R y$ if and only if $x^2 + y^2 = 1$.

  1. How many pairs of integers are in the relation?green check mark - show solution
  1. Give all the numbers, $x$, such that $x R \frac{1}{2}$.
  1. Is it always true that $x R x$?green check mark - show solution

Let $R$ be the relation from $\mathbb{Z}$ to $\mathbb{Z}$ defined by $x R y$ if and only if $x + y$ is odd.

  1. Is $6 R 10$? Is $-4 R -9$
  1. Give all the numbers, $x$, such that $x R 6$.green check mark - show solution
  1. Is it always true that if $x R y$ then $y R x$?

Let $R$ be the relation from $\mathbb{R}$ to $\mathbb{R}$ defined by $x R y$ if and only if both $x - y$ is an integer.

  1. Is $4.1 R 5.2$? Is $3 R -4.1$?green check mark - show solution
  1. Give all the numbers, $x$, such that $2.1 R x$.
  1. Is it always true that if $x R y$ and $y R z$ then $x R z$?green check mark - show solution

Explorations

Suppose $R$ and $S$ are relations both defined from $A$ to $B$. Define $R\cup S$ to be $\{(x, y)\in A\times B| xRy \text{ or } xSy\}$. In other words, it's the set of all ordered pairs that are in either of the two relations.

  1. Define $R$ and $S$ both from $\mathbb{Z^+}$ to $\mathbb{Z^+}$ by $xRy$ if and only of $x$ and $y$ are both even and $xSy$ if and only if $x$ and $y$ are both odd. Describe the ordered pairs in $R \cup S$.
  2. Define $R$ and $S$ both from $\mathbb{Z}$ to $\mathbb{Z}$ by $xRy$ if and only of $x-y$ is even and $xSy$ if and only if $x+y$ is even. Describe the ordered pairs in $R \cup S$.green check mark - show solution
  3. Show that the two relations in the previous question are equal to each other.green question mark - hintgreen check mark - show solution
  4. Define $R$ and $S$ both from the set of all strings made up of 0's and 1's with less than five characters by $xRy$ if and only of $x$ and $y$ have the same length and $xSy$ if and only if $x$ and $y$ both start with a 1. Describe the ordered pairs in $R \cup S$.

Suppose $R$ and $S$ are relations both defined from $A$ to $B$. Define $R\cap S$ to be $\{(x, y)\in A\times B| xRy \text{ and } xSy\}$. In other words, it's the set of all ordered pairs that the two relations have in common.

  1. Define $R$ and $S$ both from $\mathbb{Z^+}$ to $\mathbb{Z^+}$ by $xRy$ if and only of $x$ and $y$ are both even and $xSy$ if and only if $x$ and $y$ are both odd. Describe the ordered pairs in $R \cap S$.
  2. Define $R$ and $S$ both from $\mathbb{Z}$ to $\mathbb{Z}$ by $xRy$ if and only of $3 | x-y$ is even and $xSy$ if and only if $5 | (x-y)$. Describe the ordered pairs in $R \cap S$.green check mark - show solution
  3. Define $R$ and $S$ both from $\mathbb{R}$ to $\mathbb{R}$ by $xRy$ if and only of $x < y$ have the same length and $xSy$ if and only if $x \le y$. Describe the ordered pairs in $R \cap S$.green check mark - show solution

Icons courtesy of icons8.com


link to Facebook