代做EECS 203: Discrete Mathematics Fall 2024 Homework 5调试数据库编程

EECS 203: Discrete Mathematics

Fall 2024

Homework 5

Reminders

• A graph (with no other descriptors) means a graph with no edge weights or edge directions. We will say weighted graph or directed graph if we wish to discuss a graph that does have these (and you should do the same in your answers).

• The graph Cn is the cycle on n nodes. The graph Kn is the clique on n nodes. The graph Ka,b is the a × b biclique. There are pictures of these graphs at the beginning of Lecture 10.

• The degree of a node v in a graph, written deg(v), is the number of edges that contain v. In a directed graph, the out-degree deg+ (v) is the number of directed edges that contain v as their first node (pointing out of v), and the in-degree deg− (v) is the number of directed edges that contain v as their second node (pointing into v).

• A k-coloring of a graph is an assignment of one of k different “colors” to each node of the graph, in such a way that for every edge (u, v), u and v are assigned different colors. A graph is k-colorable if there exists a k-coloring. A graph is bipartite if it is 2-colorable.

• A path is a contiguous sequence of nodes and edges in a graph. A path is simple if it does not repeat nodes or edges. An Euler path is a path that contains every edge in the graph exactly once. A graph is connected if there exists at least one path between any pair of nodes. A tree is a graph with exactly one simple path between each pair of nodes. The distance between two nodes u, v in a graph G, written distG(u, v), is the length of the shortest path from u to v.

• An isomorphism between graphs G and H is a relabeling of the nodes of G that makes it equal to H. An invariant is a graph property that does not change under isomorphism.

• The notation H ⊆ G means that H is a subgraph of G, and H G means that H is not a subgraph of G.

• A graph is planar if it can be drawn in two dimensions without any of its edges crossing each other.

Mechanical Problems

1. All Over The Map [10 points]

Let G = (V, E) be a graph of the United States where V is the set of all 50 states, and E contains all pairs of states that share a border. For reference, a map is given below.

Note: AZ and CO do not share a border, nor do UT and NM, nor do CT and NJ.

(a) Is G connected?

(b) Is G bipartite?

(c) Is G 3-colorable?

(d) Show that C43 ̸⊆ G. (Hint: could a C43 subgraph include the node corresponding to ME? What about MA?)

Briefly explain your answers, but a formal proof is not required.

2. Mighty Morphin’ [12 points]

For each of the following pairs of graphs, either state an isomorphism from the first graph to the second, or state and briefly explain an invariant satisfied by one graph but not the other.

(a)

(b)

(c)

3. Quick Draw [16 points]

For each of the following, either draw a graph satisfying the description or explain why one cannot exist.

(a) A planar graph with at least 1 node, in which all nodes have degree at least 4

(b) A graph with exactly 8 nodes, two non-intersecting independent sets of size 4, and a C5 subgraph

Note: An independent set is a set of nodes with no edges between any two nodes in the set.

(c) A tree with exactly 1 node of degree 5 and exactly 4 nodes of degree 1 (and possibly some additional nodes beyond these)

(d) A graph with exactly 10 nodes, exactly 24 edges, and four K2,3 subgraphs that do not share edges with each other.

Bad Proofs

We have given an incorrect “proof” of the following proposition that attempts to show that it is true. Identify the specific logical error made by citing a sentence, equation, step, or missing part of the argument, and briefly explain why it is wrong.

4. Eulerian Error [8 points]

Proposition. There exists a connected graph with two or fewer nodes of odd degree, but which does not have an Euler path. (Note: this proposition contradicts Euler’s Theorem, covered in lecture.)

Incorrect Proof. Let G = (V, E) be a connected graph that has only one node of odd degree, called u. Suppose for contradiction that there is an Euler path P in G.

Since u has odd degree, and all of the edges that contain u are used exactly once by P, it must be that u acts as one but not both endpoints of P. So the other endpoint of P is a different node v ≠ u, and since u is the only node with odd degree, that means deg(v) is even.

The last edge of P must contain v, and every other instance of v in P uses two of the edges that contain v. Therefore P uses an odd number of edges in total that contain v. Since deg(v) is even, this means there is at least one edge that contains v, but which was not used by P. This contradicts that P is an Euler path, completing the proof.

Discovery Problems

5. Light Work [16 points]

You have 6 batteries, among which exactly 3 are currently charged, but you can’t remember which ones they are. Your flashlight takes two batteries. If both batteries are charged, then the flashlight will turn on. If either battery is uncharged, then it will not turn on.

Proposition. It is possible to guarantee that the flashlight will turn on by trying only 6 battery pairs.

(a) Rephrase the proposition as a statement about graphs by filling in the blank:

“There exists a graph with 6 nodes, 6 edges, and                                                   .”

Explain why your proposition is equivalent to the one about flashlights above.

(b) Prove the proposition about graphs that you stated in the previous part.

6. Competitive Edge [20 points]

A round-robin tiddlywinks tournament is held, meaning that every pair of players plays one match against each other, and one player or the other wins each match (there are no draws).

• A player is a winner if they won the most games of any player. There can be multiple winners, if they are all tied for the most games won.

• A player p is dominant if for every other player q, either p beat q, or there exists a player r such that p beat r and r beat q.

Proposition. Every winner is dominant.

(a) Rephrase the proposition as a statement about graphs by filling in the blanks:

“Let T = (V, E) be                                                                    .

Then for any node w satisfying                                                  ,

and for any other node x, we have distT (w, x) ≤ 2.”

Explain why the proposition you completed is equivalent to the one about tournaments above.

(b) Prove the proposition about graphs that you stated in the previous part.

7. VIP Section [18 points]

A group of n people is called a club if every person in the group is friends with at least √ n other people in the group. (We assume that friendship is symmetric—if x is friends with y, then y is friends with x.)

Proposition. Within any club of size ≥ 9, there exists a group consisting of only 3 or 4 of its members who form. a club with each other.

(a) Rephrase the proposition as a statement about graphs by filling in the blanks. (In each “graph name” blank, you must write the name of one graph mentioned in class; e.g., do not write “a three-person club.”)

“Let G be a graph with n ≥ 9 nodes in which                                   .

Then G has           graph name         or          graph name          as a subgraph.”

Explain why your proposition is equivalent to the one about clubs above.

(b) Prove the proposition about graphs that you stated in the previous part. (Hint: in order to build intuition, it might help to draw a graph from your proposition with n = 9.)






热门主题

课程名

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
站长地图