A relation R is Reflexive if x R x for all x
If x x is even for all x
Let x = 3
3.3 = 9 which is not even
hence 3 is not related to 3 therefore R is not reflexive
A relation R is transitive if x R y and y R z then x R z
Let x= 3 , y =4 , z = 5
x y = 12 which is even therefore x R y ( 3 R 4 )
y z = 20 which is even therefore y R z ( 4 R 5 )
but x z = 3.5 = 15 which is not even hence x is not related to z ( 3 is not related to 5)
Therfore R is not transitive
10. Definearelationon by setting x R y if x y is even. (a) Give a counterexample...
10. (10 points) Define a relation on Z by setting x R y if xy is even. a. Give a counterexample to show that is not reflexive. b. Give a counterexample to show that R is not transitive.
10. [12 Points) Properties of relations Consider the relation R defined on R by «Ry x2 - y2 = x - y (a) Show that R is reflexive. (b) Show that R is symmetric. (c) Show that R is transitive. (d) You have thus verified that R is an equivalence relation. What is the equivalence class of 3? (e) More generally, what is the equivalence class of an element x? Use the listing method. (f) Instead of proving the three...
Discrete Mathematics. Let A = {2,4,6,8,10}, and define a relation R on A as ∀x,y ∈ A,xRy ↔ 4|(x−y). (a) Show R is an equivalence relation. (b) Give R explicitly in terms of its elements. (c) Draw the directed graph of R. (d) List all the distinct equivalence classes of R.
4. Define a function f:N → Z by tof n/2 if n is even 1-(n + 1)/2 if n is odd. f(n) = Show that f is a bijection. 11 ] 7. Let X = R XR and let R be a relation on X defined as follows ((x,y),(w,z)) ER 4 IC ER\ {0} (w = cx and z = cy.) Is R reflexive? Symmetric? Transitive? An equivalence relation? Explain each of your answers. Describe the equivalence classes [(0,0)]R and...
Write a function in python that takes a set A and a relation R(x, y) on A (as a python function such that R(x, y) returns true if and only if the relation xRy holds), and returns True if and only if the relation R is reflexive. Here is the function signature you need to use. def is reflexive(A, R): You can test your code as follows. s = {1,2,3} def y(x, y): return x == y def n(x, y):...
2 Functions a. A function f : A-B is called injective or one-to-one if whenever f(x)-f(y) for some x, y E A then x = y. That is Vz, y A f(x) = f(y) → x = y. Which of the following functions are injective? In each case explain why or why not i. f:Z-Z given by f() 3r +7 (1 mark ii. f which maps a QUT student number to the last name of the student with that student...
a. A function f: A B is called injective or one-to-one if whenever f (x) f(u) for some z, y A then y. Which of the following functions are injective? In r-y. That is Vr,y E A f()-f(u) each case explain why or why not i. f:Z Z given by f(z) 3 7 ii. f which maps a QUT student number to the last name of the student with that student number. b. Suppose that we have some finite set...
#10. Define f: R ® R defined by f(x) = 4x2. Let A = [0, 4] and B = [-3, 0]. #10(a) Find the sets f(A), f(B), f(A) Ç f(B), and f(A Ç B). Is f(A Ç B) = f(A) Ç f(B)? #10(b) Find the sets which are inverse images: f -1(A), f -1 (B), f -1 (A) Ç f -1 (B), and f -1 (A Ç B). Is f -1 (A Ç B) = f -1 (A) Ç f...
# 1: Consider the following curves in R la) 1822-32 x y + 37 U2 100. l ) 2x2 + 6 x y + 2 y-100. 1c) x2 + 4 x y + 4 y2-10:0. Write them in normal form. Give the change of variables that does this. For example, in 1a) the orthonormal basis of eigenvectors are λί 5,V1 (2,1)'/V5 and λ2 = St ( 100. ) . That is, 45, ½ = (1,-2)t/V5.S ( 1/V 5-2/v/5 ) (V6,...
5. Find the two roots of each of the following functions (that is find the two X values that make Y = 0). This skill may be useful in assignment 11. EXAMPLE: Y = 3X2 -11X +6 is the product of (3X -2)(X -3). If you let Y = 3X-2 then X = 2/3 will make Y = 0. If you let Y = X-3 then X = 3 will make Y = 0. Thus both X = 2/3 and X = 3 are roots. Show the algebra...