A relation R is defined on Z, the set of integers, as R={(x,y):∣x−y∣ is divisible by a prime number 'p', x,y∈Z} check whether R is an equivalence relation or not.
Show answer & solution
Answer: R is an equivalence relation.
Take p as a fixed prime.
Reflexive: ∣x−x∣=0 is divisible by p, so (x,x)∈R for all x∈Z.
Symmetric: if (x,y)∈R then p divides ∣x−y∣=∣y−x∣, so (y,x)∈R.
Transitive: if (x,y),(y,z)∈R then x−y=kp and y−z=mp for integers k, m.
Adding, x−z=(k+m)p, so p divides ∣x−z∣ and (x,z)∈R.
R is reflexive, symmetric and transitive, so R is an equivalence relation.
Show that a function f:R+→A⊂N, defined as f(x)=4x2+12x+15 is one-one. Find set A so that f is onto where R+=[0,∞). Also, find if there exists a∈R+ such that f(a)=7. Justify.
Show answer & solution
Answer: f is one-one; A = range of f =[15,∞) (for whole-number inputs, A={15,31,55,87,…}); no such a exists, since f(x)≥15 on R+.
f(x)=(2x+3)2+6.
One-one: if f(a)=f(b) with a,b≥0, then (2a+3)2=(2b+3)2. Both 2a+3 and 2b+3 are positive, so a=b.
Onto: f is onto exactly when A is its range. For x≥0, 2x+3≥3, so f(x)≥15, and f increases without bound. So A ={f(x):x∈R+}=[15,∞) (if only whole-number inputs are meant, A={4n2+12n+15:n=0,1,2,…}={15,31,55,…}).
f(a)=7 means (2a+3)2=1, so 2a+3=±1, i.e. a=−1 or a=−2. Neither is in R+ (also 7<15). So no such a exists.
Show that a function f:R→R defined by f(x)=1+x22x is neither one-one nor onto. Further, find set A so that the given function f:R→A becomes an onto function.
Show answer & solution
Answer: Proved; A = [−1, 1]
f(2)=54 and f(21)=1+411=54, but 2=21; so f is not one-one.
Let y=1+x22x. Then yx2−2x+y=0.
For y ≠ 0, real x exists only if 4−4y2≥0, i.e. −1≤y≤1; y = 0 comes from x = 0.
So the range of f is [−1, 1]; e.g. 2 ∈ R has no pre-image, so f is not onto R.
A relation R on set A = {– 4, – 3, – 2, – 1, 0, 1, 2, 3, 4} be defined as R = {(x, y) : x + y is an integer divisible by 2}. Show that R is an equivalence relation. Also, write the equivalence class [2].
Show answer & solution
Answer: R is an equivalence relation; [2] = {– 4, – 2, 0, 2, 4}.
Reflexive: for x∈A, x+x=2x is divisible by 2, so (x,x)∈R.
Symmetric: if (x,y)∈R, x+y is divisible by 2, so y+x is too; (y,x)∈R.
Transitive: if (x,y),(y,z)∈R, then x+y=2m, y+z=2n, so x+z=2m+2n−2y=2(m+n−y); (x,z)∈R.
Hence R is an equivalence relation.
[2] = {x ∈ A : x + 2 is even} = set of even elements = {– 4, – 2, 0, 2, 4}.
A relation R on set A = {x : – 10 ≤ x ≤ 10, x ∈ Z} is defined as R = {(x, y) : (x – y) is divisible by 5}. Show that R is an equivalence relation. Also, write the equivalence class [5].
Show answer & solution
Answer: R is an equivalence relation; [5] = {– 10, – 5, 0, 5, 10}.
Reflexive: x – x = 0 is divisible by 5, so (x,x)∈R for all x∈A.
Symmetric: if 5 divides x – y, then 5 divides y – x = –(x – y); so (y,x)∈R.
Transitive: if x – y = 5m and y – z = 5n, then x – z = 5(m + n); so (x,z)∈R.
Hence R is an equivalence relation.
[5] = {y ∈ A : y – 5 is divisible by 5} = {– 10, – 5, 0, 5, 10}.
Let A = R – {3} and B = R – {a}. Find the value of ‘a’ such that the function f:A→B defined by f(x)=x−3x−2 is onto. Also, check whether the given function is one-one or not.
Show answer & solution
Answer: a = 1; f is one-one.
Let y=x−3x−2. Then xy−3y=x−2, so x=y−13y−2, defined for every y=1.
Also y−13y−2=3 would give −2=−3, impossible, so this x always lies in A.
Hence the range of f is R – {1}; f is onto B = R – {a} exactly when a = 1.
One-one: x1−3x1−2=x2−3x2−2 gives (x1−2)(x2−3)=(x2−2)(x1−3), i.e. −3x1−2x2=−3x2−2x1, so x1=x2.
Check whether the relation S in the set of real numbers R defined by S={(a,b):where a−b+2 is an irrational number} is reflexive, symmetric or transitive.
Show answer & solution
Answer: S is reflexive, but neither symmetric nor transitive.
Reflexive: for any a∈R, a−a+2=2 is irrational, so (a,a)∈S. S is reflexive.
Symmetric: take a=2, b=0. a−b+2=22 is irrational, so (2,0)∈S.
But b−a+2=0 is rational, so (0,2)∈/S. S is not symmetric.
Transitive: take a=2, b=1, c=22.
a−b+2=22−1 (irrational) and b−c+2=1−2 (irrational), so (a,b),(b,c)∈S.
But a−c+2=0 is rational, so (a,c)∈/S. S is not transitive.
A relation R is defined on a set of real numbers R as R={(x,y):x⋅y is an irrational number}. Check whether R is reflexive, symmetric and transitive or not.
Show answer & solution
Answer: R is symmetric, but neither reflexive nor transitive.
Reflexive: 1⋅1=1 is rational, so (1,1)∈/R. R is not reflexive.
Symmetric: if (x,y)∈R, xy is irrational; yx=xy is irrational, so (y,x)∈R. R is symmetric.
Transitive: (1,2)∈R since 2 is irrational, and (2,2)∈R since 22 is irrational.
But 1⋅2=2 is rational, so (1,2)∈/R. R is not transitive.
A function f: [−4, 4] → [0, 4] is given by f(x)=16−x2. Show that f is an onto function but not a one-one function. Further, find all possible values of ‘a’ for which f(a)=7.
Show answer & solution
Answer: f is onto, not one-one; a = ±3
Not one-one: f(−4)=0=f(4) but −4=4.
Onto: for any y∈[0,4], take x=16−y2∈[0,4]⊂[−4,4]; then f(x)=16−(16−y2)=y.
So every element of [0, 4] has a pre-image; f is onto.
If N denotes the set of all natural numbers and R is the relation on N×N defined by (a, b) R (c, d), if ad(b+c)=bc(a+d). Show that R is an equivalence relation.
Show answer & solution
Answer: Proved.
Since all numbers are natural, divide by abcd: ad(b+c)=bc(a+d)⟺c1+b1=d1+a1⟺b1−a1=d1−c1.
Reflexive: ab(b+a)=ba(a+b), so (a, b) R (a, b).
Symmetric: if (a, b) R (c, d) then b1−a1=d1−c1, which read the other way gives (c, d) R (a, b).
Transitive: if (a, b) R (c, d) and (c, d) R (e, f), then b1−a1=d1−c1=f1−e1, so (a, b) R (e, f).