Math 137A 2Haskell

Java Python Math 137A Assignment 2

1. * Let A be the adjacency matrix of a graph G. Show that for every nonnegative integer k, the (vi, vj )-entry of A equals the number of walks of length k from vi to vj . Conclude that the number of triangles in G is

2. Prove that any simple graph G contains a path of length at least δ(G). (Recall that δ(G) is the minimum degree over all vertices in G.)

3. If G is a simple graph, the complement G is the graph with the same vertex set but vw ∈ E(G) if and only if vw ∈ E(G). Show that if G is disconnected, then G is connected and, moreover, there is always a path of length at most 2 between any two vertices in G.

4. Prove or disprove: There exists a connected Eulerian simple graph with an even number of vertices but an odd number of edges.

5. Prove or disprove: If G is a connected Eu Math 137A Assignment 2Haskell lerian graph with edges e, f sharing a common vertex, then G has an Eulerian circuit in which e and f appear consecutively.

6. (a) Prove that the average degree of any tree T is less than 2.

(b) If the average degree of a tree is 1.99, how many edges does the tree have?

(c) Conclude from Part (a) another proof that every tree with at least two vertices has a leaf.

7. Suppose that T is a tree with degree sequence (5, 4, 3, 2, 1, . . . , 1). How many 1’s are in the sequence?

8. For a graph G, ∆(G) denotes the maximum degree of G. For this question, prove that a tree T always has at least ∆(T) leaves.

9. Apply Kruskal’s algorithm to the graph in Figure 1 to find a minimum spanning tree (list out the edges in each step of the algorithm and draw the final MST.)

10. * Find a formula for τ (K2,n)         

  • 21
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值