Message from discussion
Would you post the answers to the extra problems in practice test?
MIME-Version: 1.0
Received: by 10.150.212.16 with SMTP id k16mr376134ybg.15.1242412395384; Fri,
15 May 2009 11:33:15 -0700 (PDT)
Date: Fri, 15 May 2009 11:33:15 -0700 (PDT)
In-Reply-To: <9BFD648D-7A68-44CF-A2CB-594BA31837C1@cs.utexas.edu>
X-IP: 129.116.62.199
References: <39daefcb-07ce-4e0a-8c4d-af7f39b9d2dd@p6g2000pre.googlegroups.com>
<6921cfbe0905142008x3c3aecadhb9a14cc93c860e39@mail.gmail.com>
<9e34cc7a-a8ac-44bf-8bf2-70599b161cc0@f41g2000pra.googlegroups.com>
<780E23BF-7A0C-46DD-B231-7FB08D2EEF85@cs.utexas.edu> <8f6b22d7-ec82-431c-9b8d-acd3e8dc1bc5@k19g2000prh.googlegroups.com>
<9BFD648D-7A68-44CF-A2CB-594BA31837C1@cs.utexas.edu>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10)
Gecko/2009042316 Firefox/3.0.10,gzip(gfe),gzip(gfe)
Message-ID: <92f9005f-0377-432a-9d73-bb5c93742f20@g3g2000pra.googlegroups.com>
Subject: Re: Would you post the answers to the extra problems in practice
test?
From: "David S." <dsnyde...@gmail.com>
To: utexas-cs313k-spring2009 <utexas-cs313k-spring2009@googlegroups.com>
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: quoted-printable
ah yes, you got me there!
On May 15, 1:12 pm, Behnam Robatmili <be...@cs.utexas.edu> wrote:
> I'm not sure if understand this example. How come y is 2 in <x.y> and =20
> then is changed to 4 in <y.z>?
>
> Behnam
>
> On May 15, 2009, at 12:38 PM, David S. wrote:
>
>
>
> > <2, 2> (R(x, y)) and <4, 4> (R(y, z)) holding gives R(x, z) as R
> > (2,4) , which is 4<4, which is false.
>
> > Therefore the relation is not transitive.
>
> > On May 15, 11:10 am, Behnam Robatmili <be...@cs.utexas.edu> wrote:
> >> I probably won't get a chance to review all the answers, but a bunch
> >> of quick comments on your answers:
>
> >> -For {<x.y>: ((natp x) =3D (natp y))}, that is right that if x and y =
=20
> >> are
> >> numbers, they are in relation, but notice that if both x and y are =20
> >> non-
> >> numbers they are also in R. For instance, (natp "ABC") =3D (natp =20
> >> '(5.6))
> >> so ("ABC".'(5.6)) is in R!
>
> >> -Why is {<x.y>: ((natp x) !=3D (natp y))} antisymmetric? Let x =3D 1 =
=20
> >> and y
> >> =3D nil for instance. R(x,y) and R(y.x) are both true but 1 !=3D nil!
>
> >> -For R =3D {<x.y>: x in N ^ y in N ^ y < 2*x}, why is it reflexive =20
> >> given
> >> that (0.0) is not in R. Also why do you think R is not transitive? =20
> >> Can
> >> you give me a counter example?
>
> >> Does that make sense?
> >> Behnam
>
> >> On May 14, 2009, at 10:51 PM, Sungjin wrote:
>
> >>> Is this right, then? I'm not really sure.
>
> >>> ;R =3D {<x.y>: ((natp x) =3D (natp y))}
> >>> ;1- Is R a relation? yes
> >>> ;2- Is R a function? no
> >>> ;3- What is dom(R)? N
> >>> ;4- What is ran(R)? N
> >>> ;5- Is R reflexive? yes
> >>> ;6- Is R irreflexive? no
> >>> ;7- Is R symmetric? yes
> >>> ;8- Is R asymmetric? no
> >>> ;9- Is R antisymmetric? no
> >>> ;10- Is R transitive? yes
> >>> ;11- Is R total? yes
> >>> ;12- Is R connected? yes
> >>> ;13- Is R an equivalence relation? yes
> >>> ;14- Is R a partial order? no
>
> >>> ;R =3D {<x.y>: ((natp x) !=3D (natp y))}
> >>> ;1- Is R a relation? yes
> >>> ;2- Is R a function? no
> >>> ;3- What is dom(R)? {v : v in N | v notin N}
> >>> ;4- What is ran(R)? Write the answer in the set notation without =20
> >>> using
> >>> R. {v: v in N | v notin N}
> >>> ;5- Is R reflexive? no
> >>> ;6- Is R irreflexive? yes
> >>> ;7- Is R symmetric? no
> >>> ;8- Is R asymmetric? yes
> >>> ;9- Is R antisymmetric? yes
> >>> ;10- Is R transitive? no
> >>> ;11- Is R total? no
> >>> ;12- Is R connected? no
> >>> ;13- Is R an equivalence relation? no
> >>> ;14- Is R a partial order? no
>
> >>> ;R =3D {<x.y>: x in N ^ y in N ^ y < 2*x}
> >>> ;1- Is R a relation? yes
> >>> ;2- Is R a function? no
> >>> ;3- What is dom(R)? {2v : v in N & v > 0}
> >>> ;4- What is ran(R)? Write the answer in the set notation without =20
> >>> using
> >>> R.
> >>> ; {v: v in N}
> >>> ;5- Is R reflexive? yes
> >>> ;6- Is R irreflexive? no
> >>> ;7- Is R symmetric? no
> >>> ;8- Is R asymmetric? no
> >>> ;9- Is R antisymmetric? yes
> >>> ;10- Is R transitive? no
> >>> ;11- Is R total? yes
> >>> ;12- Is R connected? yes
> >>> ;13- Is R an equivalence relation? no
> >>> ;14- Is R a partial order? no
>
> >>> On 5=BF=F914=C0=CF, =BF=C0=C8=C410=BD=C308=BA=D0, David Rager <rage..=
....@gmail.com> wrote:
> >>>> You can take this as official word from the TAs that you can post
> >>>> them
> >>>> yourselves.
>
> >>>> On Thu, May 14, 2009 at 8:35 PM, Sungjin <k_o_r_e_a...@naver.com>
> >>>> wrote:
>
> >>>>> R =3D {<x.y>: ((natp x) !=3D (natp y))}
> >>>>> R =3D {<x.y>: x in N ^ y in N ^ y < 2*x}
> >>>>> R =3D {<x.y>: ((natp x) =3D (natp y))}
>
> >>>>> These three, and would you give us more examples like
> >>>>> this?- =BF=F8=BA=BB =C5=D8=BD=BA=C6=AE =BC=FB=B1=E2=B1=E2 -
>