TOPICS
Search

Cograph


A cograph (or "complement-reducible graph") is a finite simple graph obtainable from the singleton graph by repeated application of the following rules:

1. The singleton graph K_1 is a cograph,

2. If X is a cograph, then so is its graph complement, and

3. If X and Y are cographs, then so is their graph disjoint union.

(Brandstädt et al. 1999).

Cographs have been discovered independently under several definitions and names (Corneil et al. 1981, Brandstädt et al. 1999).

For a finite simple graph G with at least one graph vertex, the following conditions are equivalent to G being a cograph:

1. G can be constructed from isolated vertices by graph disjoint unions and graph join operations.

2. G is a graph disjoint union of connected distance-hereditary graphs with graph diameter at most 2.

3. In every nonempty induced subgraph H of G, the intersection of any maximal clique and any maximum independent vertex set contains precisely one graph vertex.

4. Every induced subgraph of G with at least two vertices has at least one pair of twin vertices.

5. The graph complement of every connected induced subgraph of G with at least two vertices is a disconnected graph.

6. Every connected induced subgraph of G has graph diameter at most 2.

7. G does not contain the path graph P_4 as an induced subgraph.

Cographs

The numbers of nonisomorphic cographs on n=1, 2, ... vertices are 1, 2, 4, 10, 24, 66, 180, 522, 1532, ... (OEIS A000084). Brandstädt et al. (1999, definition 1.5) note that a graph is a cograph iff its modular decomposition tree contains only parallel and series nodes. The counts of cographs on n vertices are the same as the counts of series-parallel networks with n indistinguishable edges, as noted by Weisstein (2003ab). Enkosky (2011, p. 2) attributes a bijection to Sloane. Here, multiple edges are allowed, and interchanging parts connected in series or in parallel does not change the network being counted (Finch 2003, pp. 2-3). The first cographs on n=1 to 5 vertices are illustrated above. For n>1, the number of cographs is always even.

The size of an induced cograph in a chordal graph can be much smaller than the vertex count of the original graph. Hajebi (2026) proved that for every n>=2 there is an n-vertex interval graph whose largest induced cograph has fewer than 64n/log_2n vertices. Together with the lower bound n/(|_log_2n_|+1) for chordal graphs, this gives the sharp order Theta(n/log_2n), where Theta is big-Theta notation and |_x_| is the floor function.


See also

Graph Complement, Modular Decomposition, Path Graph, Series-Parallel Graph, Twin Vertices

Explore with Wolfram|Alpha

References

Brandstädt, A.; Le, V. B.; and Spinrad, J. P. Graph Classes: A Survey. Philadelphia, PA: SIAM, 1999.Brouwer, A. E.; Cohen, A. M.; and Neumaier, A. Distance-Regular Graphs. Berlin, Germany: Springer-Verlag, p. 435, 1989. https://doi.org/10.1007/978-3-642-74341-2.Corneil, D. G.; Lerchs, H.; and Stewart Burlingham, L. "Complement Reducible Graphs." Disc. Appl. Math. 3, 163-174, 1981. https://doi.org/10.1016/0166-218X(81)90013-5.Enkosky, T. "Counting Points of Slope Varieties over Finite Fields." Electron. J. Combin. 18, Paper P3, 2011. https://doi.org/10.37236/490.Finch, S. "Series-Parallel Networks." July 7, 2003. https://oeis.org/A000084/a000084_2.pdf.Hajebi, S. "Cographs in Chordal Graphs." 21 Oct 2026. https://arxiv.org/abs/2610.30299.House of Graphs. "Cographs." https://houseofgraphs.org/meta-directory/cographs.Sloane, N. J. A. Sequence A000084/M1207 in "The On-Line Encyclopedia of Integer Sequences."Weisstein, E. W. "Re: Cographs." Oct. 9, 2003a. https://listserv.nodak.edu/cgi-bin/wa.exe?A2=ind0310&L=graphnet&P=R743.Weisstein, E. W. "Cographs <=> Series-Parallel Networks." Oct. 23, 2003b. https://listserv.nodak.edu/cgi-bin/wa.exe?A2=ind0310&L=graphnet&P=R1929.

Referenced on Wolfram|Alpha

Cograph

Cite this as:

Weisstein, Eric W. "Cograph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Cograph.html

Subject classifications