Theorem: Let
be a simple graph with
, such that both
and its complement
are connected. Then
(and its complement
) has an induced
.
Proof: First of all note that since the complement of is still
. Then
has an induced
if and only if
has an induced
. Similarly,
has no induced
if and only if
has no induced
.
Suppose for contradiction that the theorem statement is false. Suppose that there exists a simple graph on at least 2 vertices, such that
(and
) has no induced
. Let us find a minimal counter example, i.e., a graph
with the minimum possible number of vertices, which is connected, its complement
connected and has no induced
.
There are no such graphs on 2 vertices, on 3 vertices and on 4 vertices.
Hence the minimal counterexample must have at least 5 vertices.
Let . Consider the subgraph
. Since
has no induced
and
is an induced subgraph of
, then
also has no induced
. Since
is a minimal counterexample,
(which has less vertices than
) or its complement must be disconnected.
W.l.o.g. assume that is disconnected. Let
be a component of
. Since
is connected, then
is adjacent to at least one vertex of
and one vertex of
. Let us name these two vertices as
and
respectively. Moreover, since
and
are both connected,
is not a dominating vertex. Hence there exists a vertex
in
or
which is not adjacent to
. W.l.o.g. let us assume that
is in
.
Consider the shortest path from
to
, where
(any path from a vertex of
to a vertex of
must pass from
) and
. Consider the induced subgraph
. Since
is a shortest path, we have
,
and
. Thus
is an induced
. This gives a contradiction. Hence the result follows.