代写COMP2121 Discrete Mathematics 2024代写留学生Matlab程序

DEPARTMENT  OF  COMPUTER  SCIENCE

COMP2121 Discrete Mathematics

Date:May    8,2024

1 Logic and Proofs(19 points)

(a)(5  pt)Assume that the following premises are true:

It is not sunny this morning and the temperature is lower than yesterday.

Agatha goes on a day trip only if it is sunny in the morning.

If Agatha does not go on a day trip then she does some gardening that day.

If Agatha is not home for dinner then she has not been gardening that day.

Show that the above premises lead to the conclusion that Agatha will be  home for dinner that day.

(b)(5 pt)A formula where the-operator is only applied to atomic propositions and using connec- tives ^,V is said to be  in negation normal  form.Simplify the following formula to negation normal form.:→Vx[Ny[(x

(c)(5 pt)Suppose the domains of all variables are the same,and the following statements are true: Vx[P(x)→┐(Q(x)^R(æ)],3x[P(x) へQ(æ)],and                Vx[S(x)→R(æ)].

Use the rules  of inference to  argue whether the  following  statement  is  true:3x-S(x).

(d)(4 pt)Prove the following Proposition

Prop. :For every positive integer n,there exist n consecutive composite integers,

by means of a Constructive Existence Proof.Note that a composite integer is a positive integer that has at least one divisor other than  1 and itself.

Hint:Consider a sequence of numbers in the immediate vicinity of(n+1)!.

2   Sets   and   Relations(17   points)

(a)(4  pt)For  arbitrary  finite  sets  A,B  and  C,prove  that

(A∩B)U(AnC)=(AnB)u(AnC)u(BnC).

Note that A denotes the complement of set A,and similarly for the other sets in the question.

(b)(6 pt)Let S be a subset of {1,2,…,2n}such that S has n+1 elements.Prove that there are different elements a,b∈S such that a divides b.

(c)Let  set  S  be  defined  as

Consider the relation R defined on the  set  S  as aRb if and only if  ∈Q.Here  Q  denotes the set      of      rational      numbers.

(i)(4  pt)Prove  that  R  is  an  Equivalence  Relation.

(ii)(3pt)Show that the guralence Claso1-5 n Ris gienby

3 Functions(10 points)

(a)(5   pt)Let    A    and    B   be    finite    sets.Letf:A→B    and    g:B→A   be    functions    such    that gof=IA,where  IA  is  the  identity  function  on  A(the  function  that  maps  every  element  in  A to itself).Show that f is an injection and g is a surjection.

(b)(5     pt)Show      that      Zk=1     k²·2k=0(n²·2”)for     n∈Z+.

Hint:You  may  use  the  identity  that  for   real   r>1.

4      Counting(19     points)

This question pertains to a series of counting problems faced by staff and students at Mars Uni- versity.

(a)A Math student Amy has factorized a positive integer n as n=pi¹·p2²·.·prm,where P1,…,Pm are distinct prime numbers and k1,.…,km are positive integers.

(i)(3 pt)In how many ways  can Amy write n  as the product  of two positive integers that have no  common  factors  assuming  that  the  order  matters(i.e.,that  for  example  4·9  and

9·4  are  regarded  as  different)?

(ii)(5 pt)Suppose  Amy  is  interested  in  the  specific  number  n=720.In  how  many  ways  can Amy  write  n=720  as  the  product  of  any two positive  integers(irrespective  of whether they  have  common  factors  or  not)assuming  that  the  order  does  not  matter(i.e.,that  for example 4·9  and  9·4  are regarded  as  the  same)?

Conjecture  a  formula  for  the  above  problem  for  general  n=pi¹·p2·..·Pm.

(b)(5  pt)Nine  members  of  the  University  Staff  Club  plan  to  meet  every  day  for  dinner.They willhave to sit in a 9-seat round table for dinner with the only constraint being that no two members  who  sat  together(in  neighbouring  seats)on  one  day  willsit  together  in  future.For how many days is this possible?

(c)(6   pt)Toby   is    studying   the    Theory   of   Diophantine   Equations    in   his   Number    Theory   Meets Algebra  course  and  wants  to  know  the  number   of  integer   solutions  to  the   equation

X1+x2+33+x4=28,

that obey the condition

-10≤xi≤20          for          i=1,..,4.

Use  the  Method   of  Stars-and-Bars   and   the   Inclusion-Exclusion   Principle   to  help   Toby   figure out   the   answer.

5    Probability(15 points)

(a)(4   pt)What's   the   probability   that   the   top   and   bottom   cards   of   a   randomly   shuffed   deck   are both   kings?Note   that   all   permutations   of  the   52   cards   in   the   deck   are   equally   likely   in   a random    shuffle.

(b)(5  pt)Suppose  people's  birthdays  are  independently  and  uniformly  distributed  over  the  seven days of the week from Sunday to Saturday.Let p(n)denote the probability that in a randomly chosen group of n people,at least two of them are born on the same day of the week.Give a closed-form  expression  for  p(n).Check  that  your  formula  gives  p(2)=1/7.

(c)(6 pt)Let X and Y be real random variables.For any fixed value y of Y,Bob considers a random  variable  X|y  that  takes  values  x  with  distribution  p(X|y)=x)=p(X=x|Y=y) and corresponding expected value E(X|y).He then defines a random variable E(X|Y)that takes values E(X|y)for y ranging over all possible values of Y.Similarly,he defines another random variable Var(X|Y)which takes values Var(X|y)for y ranging over all possible values of Y.Here E(·)and Var(·)denote mean and variance respectively.

Prove that these random variables satisfy the following identity:

Var(X)=Var(E(X|Y))+E(Var(X|Y)).

6    Graph Theory(20 points)

(a)A polyhedron is a geometric solid consisting of flat polygonal facesjoined at edges and vertices. In this question,we are especially interested in convex polyhedra,which have the property that any line segment connecting two points on the polyhedron must be entirely contained within the polyhedron.Every convex polyhedron can be projected onto the plane without edges crossing forming an undirected graph called the polyhedral graph.A regular polyhedron is one in which allthe faces are congruent (identical in shape and size)regular polygons (all angles congruent and all edges congruent)and the same number of faces meet at each vertex.A dodecahedron is a regular convex polyhedron consisting of 12 regular pentagons.

(i)(5 pt)How  many  convex  regular  polyhedra  are  there  such  that  each  face  is  a  triangle? Hint:Consider the relation between the number of faces and number of edges,and identify the possible degrees of a vertex in the regular polyhedral graph.

(ii)(1 pt)State an upper bound for the vertex connectivity of each of the polyhedral graphs from    part(i).

iii)(5 pt)You are given a solid dodecahedron and you color each pentagon with one of three colors  -red,blue  and  green.Prove  that  there  must  be  two  adjacent  pentagons  that  are colored with the same color.

(b)An  isomorphism  of  graphs  G  and  H  is  a  bijection  between  the  vertex  sets  of  G  and  H,f: V(G)→V(H)such  that  any  two  vertices  u,v ∈V(G)are  adjacent  in  G  if  and   only  if  f(u) and  f(v)are  adjacent  in  H.If  an  isomorphism  exists  between  two  graphs  G  and  H,then  they are  said  to  be  isomorphic  and  denoted  as  G~H.

Determine whether the following statements are True or False.Prove your answers.

(i)(2  pt)If two  simple,undirected  graphs  G  and  H  have  the  same  number  of  vertices  and edges and have the same chromatic number,then they are isomorphic.

(ii)(2  pt)If  two   simple,undirected   graphs   G   and   H   are   isomorphic,then   they   have   the   same chromatic     number.

(c)(5  pt)Let  G=(V,E)be  a  k-regular  bipartite   simple  undirected  graph  with  equal   sized  bipar- titions,for   some   k≥1.That    is,V=V₁UV2   with   V₁∩V₂=Ø   and    |Vi|=|V₂|,and   all    edges   in the graph connect vertices in V₁to vertices in V2.Use Hall's Marriage Theorem to show that G has a perfect matching.





热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图