Homework 10 for Discrete Mathematical Structures | CS 173, Assignments of Discrete Structures and Graph Theory

Material Type: Assignment; Class: Discrete Structures; Subject: Computer Science; University: University of Illinois - Urbana-Champaign; Term: Fall 2008;

Typology: Assignments

Pre 2010

Uploaded on 03/11/2009

koofers-user-xgd
koofers-user-xgd 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 173: Discrete Mathematical Structures, Fall 2008
Homework 10
Due at class on Friday, November 21, 2008
1. [15 points] Relations and Closures
Here is the graph representation of a relation Ron the set X={A, B , C, D, E}.
A
B
C
D
E
(a) Write Ras a list of pairs.
(b) Write Ras a zero-one matrix.
(c) Is Rsymmetric? antisymmetric? Explain briefly why or why not.
(d) Draw the diagram for the transitive closure of R.
2. [10 points] Equivalence relation proof
Define a relation Ron the integers such that pRq if and only if 5|2p+ 3q.
(a) Prove that Ris an equivalence relation.
(b) List the equivalence classes of Rand describe clearly what’s in each of them.
3. [10 points] Well-defined operations
Define an equivalence relation on R3 {(0,0,0)}(triples of real numbers) by (x, y , z)
(a, b, c)if and only if there is a positive real number λsuch that (x,y , z) = λ(a, b, c). The
equivalence classes of are the rays from the origin. Let’s use Vto name the set of equiva-
lence classes, i.e. the set of rays.
Here are two operations defined on V. Prove that each is well-defined. That is, to compute
the value of the operation on two input rays, you need to pick a representative point from
each ray. Show that the output equivalence class does not depend on which representatives
you select.
(a) The dot product operation: [(x, y , z)] ·[(p, q, r)] = [(xp, y q, zr)]
(b) The cross product operation: [(x, y , z)] ×[(p, q, r)] = [(yr zq, z p xr, xq yp)]
1
pf2

Partial preview of the text

Download Homework 10 for Discrete Mathematical Structures | CS 173 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CS 173: Discrete Mathematical Structures, Fall 2008

Homework 10

Due at class on Friday, November 21, 2008

  1. [15 points] Relations and Closures Here is the graph representation of a relation R on the set X = {A, B, C, D, E}.

A

B

C

D

E

(a) Write R as a list of pairs. (b) Write R as a zero-one matrix. (c) Is R symmetric? antisymmetric? Explain briefly why or why not. (d) Draw the diagram for the transitive closure of R.

  1. [10 points] Equivalence relation proof Define a relation R on the integers such that pRq if and only if 5 | 2 p + 3q. (a) Prove that R is an equivalence relation. (b) List the equivalence classes of R and describe clearly what’s in each of them.
  2. [10 points] Well-defined operations Define an equivalence relation ∼ on R^3 − {(0, 0 , 0)} (triples of real numbers) by (x, y, z) ∼ (a, b, c) if and only if there is a positive real number λ such that (x, y, z) = λ(a, b, c). The equivalence classes of ∼ are the rays from the origin. Let’s use V to name the set of equiva- lence classes, i.e. the set of rays. Here are two operations defined on V. Prove that each is well-defined. That is, to compute the value of the operation on two input rays, you need to pick a representative point from each ray. Show that the output equivalence class does not depend on which representatives you select. (a) The dot product operation: [(x, y, z)] · [(p, q, r)] = [(xp, yq, zr)] (b) The cross product operation: [(x, y, z)] × [(p, q, r)] = [(yr − zq, zp − xr, xq − yp)]

1

  1. [10 points] Recall that the symmetric difference of two sets A and B written A ⊕ B contains all the elements that are in one of the two sets but not the other. That is A ⊕ B = (A − B) ∪ (B − A). Let S = P(Z), i.e. S contains all subsets of the integers. Define a relation ∼ on S by: X ∼ Y if and only if X ⊕ Y is finite. (a) Prove that ∼ is an equivalence relation. (b) What is in [∅]? What’s in [Z]? Name one specific infinite subset of the integers that is not in [Z].