1

b)

For every connected graph with nodes: if has a cycle of length , , it has a path of length

Proof: Let be a cycle with exists. As there is at least one more node, let’s call it .

  • As is connected, there is a path from to all .
  • WLOG we assume is a neighbour of .
  • Then is a path of length k+1

e)

Let be a grpah with nodes and for all .

This graph is connected as which implies by Dirac’s Theorem that is hamiltonian, which means that there is a path from every vertex to eveyr other connected.

4

k-regular Graph with nodes. It has exactly edges. We randomly choose for each edge if it’s marked or not with probability . For a node with multiple incident marked edges, we remove one at random.
This finds a valid matching .

b)

Let be the number of unordered pairs of edges , s.t. , both marked and share a common endpoint. Find .

Let be the indicator variable for pair of edges to be both marked. Then .

There are ways to choose pairs of edges that share and endpoint on each node. Thus there are in total.

Thus .

c)

The greedy selection algorithm deletes at most edge from each pair counted in per turn. Thus we are left with edges at the end.

  • we delete at most one edge for each conflict.

.
We derive with respect to and find that maximises the number of .
Thus .