0% found this document useful (0 votes)
13 views1 page

Discrete Math Relations and Functions

Uploaded by

nilgadhiya20
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Discrete Math Relations and Functions

Uploaded by

nilgadhiya20
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Tutorial Session–1

Set, Relation & Function-1


Q-1 List the ordered pairs in the relation 𝑅 from 𝐴 = {0,1,2,3,4} to 𝐵 = {0,1,2,3}, where (𝑎, 𝑏) ∈ 𝑅
if and only if
(a) 𝑎 = 𝑏 (b) 𝑎 + 𝑏 = 4 (c) 𝑎 > 𝑏
(d) 𝑎|𝑏 (e) gcd(𝑎, 𝑏) = 1 (f) 𝑙𝑐𝑚(𝑎, 𝑏) = 2
Q-2 For each of these relations on the set {1, 2, 3, 4}, decide whether it is reflexive, symmetric,
antisymmetric, and it is transitive.
(a) {(2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4)}
(b) {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
(c) {(2, 4), (4, 2)}
(d) {(1, 2), (2, 3), (3, 4)}
(e) {(1, 1), (2, 2), (3, 3), (4, 4)}
(f) {(1, 3), (1, 4), (2, 3), (2, 4), (3, 1), (3, 4)}
Q-3 Determine whether the relation R on the set of all real numbers is reflexive, symmetric,
antisymmetric, and/or transitive, where (𝑥, 𝑦) ∈ 𝑅 if and only if
(a) 𝑥 + 𝑦 = 0. (b) 𝑥 = ±𝑦 (c) 𝑥 − 𝑦 is a rational number.
(d) 𝑥 = 2𝑦. (e) 𝑥𝑦 ≥ 0. (f) 𝑥𝑦 = 0.
(g) 𝑥 = 1. (h) 𝑥 = 1 or 𝑦 = 1.
Q-4 Determine whether the relation R on the set of all real numbers is reflexive, symmetric,
antisymmetric, and/or transitive, where (𝑥, 𝑦) ∈ 𝑅 if and only if
(a) 𝑥 ≠ 𝑦. (b) 𝑥𝑦 ≥ 1 (c) 𝑥 = 𝑦 + 1 𝑜𝑟 𝑥 = 𝑦 − 1
(d) 𝑥 is a multiple of 𝑦. (e) 𝑥 and 𝑦 are both negative (f) 𝑥 = 𝑦 .
or both nonnegative.
(g)𝑥 ≥ 𝑦 .

SESH2040-Discrete mathematics 3

Common questions

Powered by AI

The relation \(R\) defined by \(lcm(a, b) = 2\) is not reflexive. Reflexivity requires that \((a, a) \in R\) for every element \(a\). Since each element must satisfy \(lcm(a, a) = a\), only \(a = 2\) fulfills \(lcm(a, a) = 2\), but not universally for all elements. Therefore, the reflexive property does not exist in a wider context of sets A and B.

The relation \((x, y) \in R\) defined by \(x + y = 0\) is not reflexive. A relation is reflexive if every element \(x\) in the set satisfies \((x, x) \in R\). Here, \(x + x = 0\) simplifies to \(2x = 0\), which is not true for all real numbers. It holds only when \(x = 0\). Thus, the relation is not reflexive on the set of all real numbers.

The relation defined by \(gcd(a, b) = 1\) is symmetric. If the greatest common divisor (gcd) of \(a\) and \(b\) is 1, it implies \((a, b) \in R\), meaning \(a\) and \(b\) are coprime. The gcd property is symmetric by definition; it implies \(gcd(b, a) = 1\), hence \((b, a) \in R\) as well. For example, gcd(3, 4) = 1 is the same as gcd(4, 3) = 1.

The relation \((x, y) \in R\) defined by \(x \neq y\) is not transitive. A relation is transitive if \((x, y)\) and \((y, z)\) imply \((x, z)\). Here, if \(x \neq y\) and \(y \neq z\), having \(x \neq z\) is not guaranteed, as \(x\) could equal \(z\), breaking transitivity. For example, let \(x = 1, y = 2, z = 1\), thus \((1, 2)\) and \((2, 1)\) are in \(R\), but \((1, 1)\) isn’t, showing non-transitivity.

The relation \(xy = 0\) is not reflexive as \((x, x)\) doesn’t satisfy \(xx = 0\) for all \(x\). It is symmetric since \(xy = 0\) implies \(yx = 0\) as multiplication is commutative. The relation is not generally transitive: if \((x, y)\) and \((y, z)\) implies \(xy = 0\) and \(yz = 0\), any individual \(x\) or \(z\) could be zero without \(xz = 0\). Thus, it is only symmetric.

The relation \((x, y) \in R\) defined by \(x = y^2\) is not transitive. A relation is transitive if \((x, y) \in R\) and \((y, z) \in R\) imply \((x, z) \in R\). For \(x = y^2\), if \(y = z^2\), the implication would be \(x = (z^2)^2 = z^4\), which doesn't satisfy \(x = z^2\), unless \(z = 1\) or \(z = -1\), or trivial cases line holds by mere setup. Therefore, the transitive property does not generally hold.

The relation \(R\) defined by \(a + b = 4\) is not symmetric. A relation is symmetric if \((a, b) \in R\) implies \((b, a) \in R\). Here, if \((a, b)\) satisfies \(a + b = 4\), then typically \(b + a = 4\) doesn't satisfy because elements \(a, b\) from different sets \(A, B\) might not form such pairs in reverse due to set limitations. For example, \((1, 3)\) is in \(R\) but \((3, 1)\) isn't a possible ordered pair in our sets \(A = \{0, 1, 2, 3, 4\}\) and \(B = \{0, 1, 2, 3\}\)

The relation \(R\) where \(x\) and \(y\) are both negative or both nonnegative is reflexive because any real number \(x\) satisfies \((x, x) \in R\) due to \(x = x\). For example, if \(x = 2\), then \((2, 2)\) holds as both components are non-negative. Similarly, for \(x = -3\), \((-3, -3)\) holds since both are negative. The condition holds true for any real number \(x\), affirming reflexivity.

The relation where \(x = 2y\) does not satisfy the antisymmetric property. A relation is antisymmetric if \((x, y) \in R\) and \((y, x) \in R\) imply \(x = y\). Here, \((x, y)\) satisfying \(x = 2y\) cannot in reverse \((y, x)\) imply \(y = 2x\) as it leads to disproportion unless both \(x\) and \(y\) are zero. In general, the reverse isn't satisfied, hence it is not antisymmetric.

When condition (a) \(a = b\) is applied, the ordered pairs are those where elements from set A are equal to elements from set B. Given sets \(A = \{0, 1, 2, 3, 4\}\) and \(B = \{0, 1, 2, 3\}\), the ordered pairs are \((0, 0), (1, 1), (2, 2), (3, 3)\) because these are the pairs where \(a = b\)

You might also like