[Math] How many induced subgraph dan spanning subgraphs does G have

graph theory

Let $G = (V,E)$ and $H = (U,F)$ be two graphs. if $U \subseteq V$ and $F \subseteq E$, than we say that $H$ will be subgraph of $G$.

  1. $H$ is an induced subgraph if for any $u,v \in U$, $\{u,v\} \in F$ if and only if $\{u,v\} \in E$.

  2. $H$ is a spanning subgraph if $U = V$.

Suppose that a graph $G$ has $n$ vertices and $m$ edges. How many induced subgraphs does $G$ have? How many spanning subgraphs does $G$ have?

Best Answer

Hint. An induced subgraph is uniquely determined by its vertices, that is $G$ has as many induced subgraphs as $V$ has subsets. Likewise the spanning subgraphs correspond to subsets of $E$.