Docsity

Homework Assignment for CMSC 250 - Fall 2002, Assignments of Discrete Structures and Graph Theory

Toggle sidebar
bg1
CMSC250-Homework14-Fall2002
DueWednesdayDec11thatthebeginningofyourdiscussionsection
Youmustwritethesolutionstotheproblemssingle-sidedonyourownlinedpaper,withallsheets
stapledtogether,andwithallanswerswritteninsequentialorderoryouwilllosepoints.
TheCMSC250finalexamwillbeWednesday,
12/18/02,4:00-6:00PMinBPS1240.
1) Writeabijectivefunctionfromthesetofoddintegerstothesetofpositiveintegers.
(a) Provethatthefunctionisonto.
(b) Provethatthefunctionisone-to-one.
2) LetA={x∈Z|-5>x>5}andB={-25,-17,-16,-4,-2,1,2,3,7,9,13,16}.
DefinerelationRfromAtoBasaRb↔
↔↔
↔a2=b.
(a) Is3R9?
(b) Is–4R16?
(c) Is(5,-25)inR?
(d) Is(2,4)inR?
3) DefinethebinaryrelationSfromZtoZasaSb↔
↔↔
↔5|(b-a).
(a) Is7S2?
(b) Is3S9?
(c) Is(4,-1)∈S?
(d) Is(5,10)∈S?
(e) Givethreevalues(ifpossible)fornthatmakes3Sntrue.
(f) Givethreevalues(ifpossible)fornthatmakes7Sntrue.
(g) Givethreevalues(ifpossible)fornthatmakes-2Sntrue.
(h) IsSreflexive?Explainwhyorshowwhynot.
(i) IsSsymmetric?Explainwhyorshowwhynot.
(j) IsStransitive?Explainwhyorshowwhynot.
4) LetX={x∈Z|-2>x>3}.
DefinethebinaryrelationTfromXtoXasaTb↔
↔↔
↔a-bisodd
(a) GivealltheelementsofthesetTthatrepresentsthisrelation.
(b) Givealltheelementsofthereflexiveclosureofthisrelation.
(c) Givealltheelementsofthesymmetricclosureofthisrelation.
(d) Givealltheelementsofthetransitiveclosureofthisrelation.
5) GiventhebinaryrelationVfromZtoZasaVb↔
↔↔
↔a-2|b-2.
(a) IsVreflexive?Proveyouranswer.
(b) IsVsymmetric?Proveyouranswer.
(c) IsVtransitive?Proveyouranswer.
6) GivensetA={a,b,c,d}andbinaryrelationW={(a,a),(b,b),(b,d),(c,c),(d,b),(d,d)}
FindallofthedistinctequivalenceclassesofW.
7) GiventhebinaryrelationPdefinedas∀a,b∈Z(a,b)∈P↔4|(a-b),usesetnotationtodescribeeachoftheequivalence
classesofrelationP.
8) GiventhebinaryrelationJdefinedas∀a,b,c,d∈Z((a,b),(c,d))∈J↔ad=bc,provethatitisanequivalencerelation.

Partial preview of the text

Download Homework Assignment for CMSC 250 - Fall 2002 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CMSC 250 - Homework 14 - Fall 2002

Due Wednesday Dec 11th at the beginning of your discussion section

You must write the solutions to the problems single-sided on your own lined paper, with all sheets

stapled together, and with all answers written in sequential order or you will lose points.

The CMSC 250 final exam will be Wednesday,

12/18/02, 4:00 - 6:00 PM in BPS 1240.

  1. Write a bijective function from the set of odd integers to the set of positive integers. (a) Prove that the function is onto. (b) Prove that the function is one-to-one.

  2. Let A = {x∈ Z | -5 > x > 5} and B = {-25, -17, -16, -4, -2, 1, 2, 3, 7, 9, 13, 16}. Define relation R from A to B as a R b ↔↔↔↔ a^2 =b. (a) Is 3 R 9? (b) Is –4 R 16? (c) Is (5, -25) in R? (d) Is (2, 4) in R?

  3. Define the binary relation S from Z to Z as a S b ↔↔↔↔ 5 | ( b - a ). (a) Is 7 S 2? (b) Is 3 S 9? (c) Is (4, -1) ∈ S? (d) Is (5, 10) ∈ S? (e) Give three values (if possible) for n that makes 3 S n true. (f) Give three values (if possible) for n that makes 7Sn true. (g) Give three values (if possible) for n that makes -2Sn true. (h) Is S reflexive? Explain why or show why not. (i) Is S symmetric? Explain why or show why not. (j) Is S transitive? Explain why or show why not.

  4. Let X = {x∈ Z | -2 > x > 3}. Define the binary relation T from X to X as a T b ↔↔↔↔ a-b is odd (a) Give all the elements of the set T that represents this relation. (b) Give all the elements of the reflexive closure of this relation. (c) Give all the elements of the symmetric closure of this relation. (d) Give all the elements of the transitive closure of this relation.

  5. Given the binary relation V from Z to Z as a V b ↔↔↔↔ a-2 | b-. (a) Is V reflexive? Prove your answer. (b) Is V symmetric? Prove your answer. (c) Is V transitive? Prove your answer.

  6. Given set A = {a, b, c, d} and binary relation W = {(a,a), (b,b), (b,d), (c,c), (d,b), (d,d) } Find all of the distinct equivalence classes of W.

  7. Given the binary relation P defined as ∀a,b∈ Z (a,b)∈ P ↔ 4 | (a-b), use set notation to describe each of the equivalence classes of relation P.

  8. Given the binary relation J defined as ∀a,b,c,d∈ Z ((a,b),(c,d))∈ J ↔ad=bc, prove that it is an equivalence relation.