Papers
Topics
Authors
Recent
Search
2000 character limit reached

Complete Multipartite Graphs

Updated 7 February 2026
  • Complete multipartite graphs are defined by partitioning vertices into disjoint sets with no intra-set edges and all inter-set edges, modeling extremal structures in graph theory.
  • They arise in algebraic, combinatorial, and metric graph theory, underpinning analyses of ultrametric spaces and optimization problems via precise combinatorial models.
  • The graphs support spectral studies through Seidel switching and distance matrices, with applications in enumeration of acyclic orientations and energy extremality analysis.

A complete multipartite graph is a simple graph whose vertex set can be partitioned into k≥2k \geq 2 disjoint, nonempty parts V1,…,VkV_1, \dots, V_k, with the property that no two vertices within the same part are adjacent, while every pair of vertices from different parts forms an edge. These graphs constitute a fundamental class in algebraic, combinatorial, and metric graph theory by encoding extremal adjacency structures and serving as a canonical combinatorial model across several advanced mathematical and algorithmic applications.

1. Structure and Basic Properties

Given vertex partition sizes p1,…,pkp_1, \dots, p_k (each pi>0p_i > 0), the complete kk-partite graph Kp1,…,pkK_{p_1, \dots, p_k} is defined with

  • vertex set V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k, ∣Vi∣=pi|V_i| = p_i,
  • edge set E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}.

Key invariants:

  • Number of vertices: n=∑i=1kpin = \sum_{i=1}^k p_i,
  • Number of edges: V1,…,VkV_1, \dots, V_k0.

Particular cases include V1,…,VkV_1, \dots, V_k1 (complete graph V1,…,VkV_1, \dots, V_k2), V1,…,VkV_1, \dots, V_k3 (complete bipartite graph V1,…,VkV_1, \dots, V_k4), and the trivial empty graph (V1,…,VkV_1, \dots, V_k5). The non-edge relation in a complete multipartite graph is an equivalence relation on V1,…,VkV_1, \dots, V_k6 with at least two equivalence classes, corresponding to parts V1,…,VkV_1, \dots, V_k7 (Bilet et al., 2021, Berman et al., 2019).

2. Metric and Ultrametric Characterizations

Complete multipartite graphs arise as extremal combinatorial objects characterizing ultrametric spaces. Let V1,…,VkV_1, \dots, V_k8 be a (semi)metric space. The diametrical graph V1,…,VkV_1, \dots, V_k9 is formed by taking all unordered pairs p1,…,pkp_1, \dots, p_k0 with p1,…,pkp_1, \dots, p_k1 and p1,…,pkp_1, \dots, p_k2, where p1,…,pkp_1, \dots, p_k3.

Main result (Bilet et al., 2021):

  • Let p1,…,pkp_1, \dots, p_k4 for p1,…,pkp_1, \dots, p_k5.
  • p1,…,pkp_1, \dots, p_k6 is ultrametric (i.e., p1,…,pkp_1, \dots, p_k7) if and only if for all p1,…,pkp_1, \dots, p_k8, the diametrical graph p1,…,pkp_1, \dots, p_k9 is either empty or complete multipartite.

This characterization allows for purely combinatorial recognition of ultrametricity via inspection of thresholded extremal-edge graphs. In the totally bounded case, the diametrical graph is always a complete pi>0p_i > 00-partite graph, where pi>0p_i > 01 equals the number of maximal open balls of radius pi>0p_i > 02. For compact ultrametrizable spaces, compactness is equivalent to the diametrical graph being nonempty and complete multipartite for each compatible ultrametric pi>0p_i > 03 (Bilet et al., 2021).

3. Seidel Spectrum and Switching Equivalences

Complete multipartite graphs are not determined by their adjacency spectrum, but are determined up to switching by their Seidel spectrum. For a graph pi>0p_i > 04 with adjacency matrix pi>0p_i > 05 and pi>0p_i > 06 vertices, the Seidel matrix is

pi>0p_i > 07

where pi>0p_i > 08 is the all-ones matrix and pi>0p_i > 09 is the identity.

Under Seidel switching (toggling adjacencies across a bipartition), the Seidel spectrum is invariant. The key result is (Berman et al., 2019):

  • If a graph kk0 is Seidel-cospectral with kk1, then kk2 is switching-equivalent to a (possibly distinct) complete kk3-partite graph.
  • If each distinct part size appears at least 3 times, then kk4 is determined up to switching by its Seidel spectrum.

For tripartite graphs kk5, kk6-determination is equivalent to the system kk7, kk8 having only one solution up to permutation. Non-isomorphic, Seidel-cospectral examples exist, first at kk9. It is conjectured that no complete tripartite graph on more than 18 vertices is Kp1,…,pkK_{p_1, \dots, p_k}0-determined (Berman et al., 2019).

4. Distance and Squared Distance Matrix Spectra

The distance matrix Kp1,…,pkK_{p_1, \dots, p_k}1 captures the shortest-path distances between vertices. For Kp1,…,pkK_{p_1, \dots, p_k}2, distances are:

  • Kp1,…,pkK_{p_1, \dots, p_k}3 if Kp1,…,pkK_{p_1, \dots, p_k}4,
  • Kp1,…,pkK_{p_1, \dots, p_k}5 if Kp1,…,pkK_{p_1, \dots, p_k}6 are in different parts,
  • Kp1,…,pkK_{p_1, \dots, p_k}7 if Kp1,…,pkK_{p_1, \dots, p_k}8 are in the same part (since the shortest path goes via any vertex from a different part).

The squared distance matrix Kp1,…,pkK_{p_1, \dots, p_k}9 has entries V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k0, V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k1, and V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k2 accordingly. Its spectrum is determined by a block-plus-rank-one structure:

  • Eigenvalue V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k3 with multiplicity V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k4,
  • V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k5 simple eigenvalues derived from the secular equation involving the part sizes,
  • Inertia V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k6 precisely controlled by the part sizes, with V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k7 if all V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k8 and V=V1⊔⋯⊔VkV = V_1 \sqcup \cdots \sqcup V_k9 in this case.

Squared distance energy ∣Vi∣=pi|V_i| = p_i0 is ∣Vi∣=pi|V_i| = p_i1 if all ∣Vi∣=pi|V_i| = p_i2, and in the case of ∣Vi∣=pi|V_i| = p_i3 singleton parts, ∣Vi∣=pi|V_i| = p_i4. Among ∣Vi∣=pi|V_i| = p_i5-partite graphs with ∣Vi∣=pi|V_i| = p_i6 vertices, the split graph ∣Vi∣=pi|V_i| = p_i7 maximizes, and the Turán graph ∣Vi∣=pi|V_i| = p_i8 minimizes ∣Vi∣=pi|V_i| = p_i9 and the spectral radius of E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}0 (Das et al., 2020).

5. Enumeration and Encoding of Acyclic Orientations

Acyclic orientations of complete multipartite graphs admit a unique combinatorial coding via E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}1-ary vectors of length E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}2 with no adjacent repeated symbols, where E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}3 is the number of parts and E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}4 the number of vertices. This establishes a bijection between each such vector and an acyclic orientation by source-removal orderings—each source always lies in a (unique) part, and is removed sequentially (Carballosa et al., 2023).

The total number of acyclic orientations for E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}5 (with parts fixed) is characterized recursively: E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}6 with E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}7 and E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}8.

For labelled vertices, the enumeration involves Stirling numbers and run-avoiding words: E={{u,v}:u∈Vi,v∈Vj,i≠j}E = \{ \{u,v\} : u \in V_i, v \in V_j, i \ne j \}9 where n=∑i=1kpin = \sum_{i=1}^k p_i0 counts length-n=∑i=1kpin = \sum_{i=1}^k p_i1 words on n=∑i=1kpin = \sum_{i=1}^k p_i2 symbols, n=∑i=1kpin = \sum_{i=1}^k p_i3, no adjacent repeats.

Non-isomorphic acyclic orientations, and those with a unique source (i.e., spanning tree-rooted orientations), are also enumerated explicitly: n=∑i=1kpin = \sum_{i=1}^k p_i4 where n=∑i=1kpin = \sum_{i=1}^k p_i5 counts the number of times size n=∑i=1kpin = \sum_{i=1}^k p_i6 occurs among part sizes n=∑i=1kpin = \sum_{i=1}^k p_i7 (Carballosa et al., 2023).

6. Extremal and Spectral Properties

Complete multipartite graphs serve as extremal cases for various combinatorial optimization problems. Majorization of part sizes governs the monotonicity of the squared distance energy and the spectral radius. The most unbalanced partition, corresponding to the split graph n=∑i=1kpin = \sum_{i=1}^k p_i8, uniquely attains the maximum, while the most balanced (the Turán graph n=∑i=1kpin = \sum_{i=1}^k p_i9) attains the minimum, except for small exceptional cases. These extremal properties are proven using block matrix techniques, spectral interlacing, and majorization arguments (Das et al., 2020).

Spectral characterizations are addressed as well: complete multipartite graphs are determined by their distance spectrum and, up to switching, by their Seidel spectrum, but not by their adjacency spectrum (Berman et al., 2019).

7. Illustrative Examples and Applications

  • In ultrametric analysis, the diametrical graphs of V1,…,VkV_1, \dots, V_k00-adic integer balls are complete V1,…,VkV_1, \dots, V_k01-partite, with parts given by residue classes mod V1,…,VkV_1, \dots, V_k02 (Bilet et al., 2021).
  • In spectral graph theory, V1,…,VkV_1, \dots, V_k03 and V1,…,VkV_1, \dots, V_k04 can be Seidel-cospectral without being switching equivalent; concrete examples exist for small orders such as V1,…,VkV_1, \dots, V_k05 and V1,…,VkV_1, \dots, V_k06 (Berman et al., 2019).
  • In algorithmic enumeration, acyclic orientations of V1,…,VkV_1, \dots, V_k07 correspond bijectively to V1,…,VkV_1, \dots, V_k08-ary codes of length V1,…,VkV_1, \dots, V_k09 with no repetitions, and recursive generation of all orientations is V1,…,VkV_1, \dots, V_k10 per orientation (Carballosa et al., 2023).
  • In the context of energy extremality, for fixed number of vertices V1,…,VkV_1, \dots, V_k11 and parts V1,…,VkV_1, \dots, V_k12, the split graph V1,…,VkV_1, \dots, V_k13 and Turán graph V1,…,VkV_1, \dots, V_k14 sandwich the possible squared distance energies of complete multipartite graphs (Das et al., 2020).

Complete multipartite graphs thus encode a unique blend of algebraic, metric, and enumerative structure foundational to graph theory and its analytic extensions. The literature surveyed establishes canonical criteria and exact formulas for their recognition and quantitative analysis in a variety of mathematical contexts.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Complete Multipartite Graphs.