Terminology

A stable set is the same as an independent set: a set such that no edge has both endpoints in .

Randomized algorithm

Let .

  1. Keep each vertex independently with probability .
  2. Let be the set of kept vertices and start with .
  3. For each edge with both , remove one of its endpoints from .
  4. Let be the remaining set.

Then is a stable set.

NOTE

A simpler variant removes both endpoints of every surviving edge. That also produces a stable set, but it gives the weaker bound instead of .

Expectation analysis

Let with and .

For each vertex , let be the indicator variable that is kept:

Then , so for we get

For each edge , let be the indicator variable that both endpoints survive the first round. Then

because the two vertex choices are independent. Hence for we get

Each surviving edge forces at most one deletion, hence

Taking expectations gives (using linearity of expectation)

Optimal choice of

To maximize the lower bound

differentiate:

So the stationary point is

If this value lies in , it is the optimal choice, and then