Papers
Topics
Authors
Recent
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 k2k \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=V1VkV = V_1 \sqcup \cdots \sqcup V_k, Vi=pi|V_i| = p_i,
  • edge set E={{u,v}:uVi,vVj,ij}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: E=1i<jkpipj=12(n2i=1kpi2)|E| = \sum_{1 \leq i < j \leq k} p_i p_j = \frac{1}{2}(n^2 - \sum_{i=1}^k p_i^2).

Particular cases include k=1k=1 (complete graph KnK_n), k=2k=2 (complete bipartite graph Kp1,p2K_{p_1, p_2}), and the trivial empty graph (E=E = \varnothing). The non-edge relation in a complete multipartite graph is an equivalence relation on VV with at least two equivalence classes, corresponding to parts V1,,VkV_1, \dots, V_k (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 (X,d)(X, d) be a (semi)metric space. The diametrical graph GX,dG_{X,d} is formed by taking all unordered pairs {u,v}\{u,v\} with uvu \ne v and d(u,v)=diamXd(u,v) = \operatorname{diam}X, where diamX=sup{d(x,y):x,yX}\operatorname{diam}X = \sup\{ d(x,y) : x, y \in X \}.

Main result (Bilet et al., 2021):

  • Let dε(x,y)=max{d(x,y),ε}d_\varepsilon(x, y) = \max\{d(x, y), \varepsilon\} for ε>0\varepsilon > 0.
  • (X,d)(X, d) is ultrametric (i.e., d(x,y)max{d(x,z),d(z,y)}d(x, y) \leq \max\{d(x, z), d(z, y)\}) if and only if for all ε>0\varepsilon > 0, the diametrical graph GX,dεG_{X, d_\varepsilon} 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 kk-partite graph, where kk equals the number of maximal open balls of radius diamX\operatorname{diam}X. For compact ultrametrizable spaces, compactness is equivalent to the diametrical graph being nonempty and complete multipartite for each compatible ultrametric dd (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 GG with adjacency matrix A(G)A(G) and nn vertices, the Seidel matrix is

S(G)=JnIn2A(G),S(G) = J_n - I_n - 2A(G),

where JnJ_n is the all-ones matrix and InI_n 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 GG is Seidel-cospectral with Kp1,,pkK_{p_1,\dots,p_k}, then GG is switching-equivalent to a (possibly distinct) complete kk-partite graph.
  • If each distinct part size appears at least 3 times, then Kp1,,pkK_{p_1,\dots,p_k} is determined up to switching by its Seidel spectrum.

For tripartite graphs Kp,q,rK_{p,q,r}, SS-determination is equivalent to the system x+y+z=p+q+rx+y+z = p+q+r, xyz=pqrxyz = pqr having only one solution up to permutation. Non-isomorphic, Seidel-cospectral examples exist, first at n=13n=13. It is conjectured that no complete tripartite graph on more than 18 vertices is SS-determined (Berman et al., 2019).

4. Distance and Squared Distance Matrix Spectra

The distance matrix D(G)D(G) captures the shortest-path distances between vertices. For G=Kn1,,ntG = K_{n_1,\dots,n_t}, distances are:

  • dij=0d_{ij} = 0 if i=ji = j,
  • dij=1d_{ij} = 1 if i,ji, j are in different parts,
  • dij=2d_{ij} = 2 if i,ji, j are in the same part (since the shortest path goes via any vertex from a different part).

The squared distance matrix Δ(G)\Delta(G) has entries $0$, $1$, and $4$ accordingly. Its spectrum is determined by a block-plus-rank-one structure:

  • Eigenvalue 4-4 with multiplicity ntn-t,
  • tt simple eigenvalues derived from the secular equation involving the part sizes,
  • Inertia (n+,n0,n)(n_+, n_0, n_-) precisely controlled by the part sizes, with n+=tn_+ = t if all ni2n_i\geq2 and n=ntn_- = n-t in this case.

Squared distance energy EΔ(G)E_\Delta(G) is $8(n-t)$ if all ni2n_i \geq 2, and in the case of hh singleton parts, 8(nt)+2(h1)EΔ(G)<8(nt)+2h8(n-t) + 2(h-1) \leq E_\Delta(G) < 8(n-t) + 2h. Among tt-partite graphs with nn vertices, the split graph Sn,tS_{n,t} maximizes, and the Turán graph Tn,tT_{n,t} minimizes EΔE_\Delta and the spectral radius of Δ(G)\Delta(G) (Das et al., 2020).

5. Enumeration and Encoding of Acyclic Orientations

Acyclic orientations of complete multipartite graphs admit a unique combinatorial coding via pp-ary vectors of length NN with no adjacent repeated symbols, where pp is the number of parts and NN 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 Kn1,,npK_{n_1,\dots,n_p} (with parts fixed) is characterized recursively: A(n1,,np)=i=1pA(n1,,ni1,,np),A(n_1, \dots, n_p) = \sum_{i=1}^p A(n_1,\dots,n_i-1,\dots, n_p), with A(0,,0)=1A(0, \dots, 0) = 1 and A(,ni<0,)=0A(\dots,n_i<0,\dots)=0.

For labelled vertices, the enumeration involves Stirling numbers and run-avoiding words: 1kiniS(n1,k1)S(np,kp)k1!kp!Xk1,,kp,\sum_{1 \leq k_i \leq n_i} S(n_1, k_1)\cdots S(n_p, k_p) k_1! \cdots k_p! X_{k_1,\dots,k_p}, where Xk1,,kpX_{k_1, \dots, k_p} counts length-KK words on pp symbols, K=kiK = \sum k_i, no adjacent repeats.

Non-isomorphic acyclic orientations, and those with a unique source (i.e., spanning tree-rooted orientations), are also enumerated explicitly: B(n1,,np)=N!n1!np!j=1s1rj!,B(n_1,\dots,n_p) = \frac{N!}{n_1! \cdots n_p!} \prod_{j=1}^s \frac{1}{r_j!}, where rjr_j counts the number of times size djd_j occurs among part sizes n1,,npn_1,\dots, n_p (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 Sn,tS_{n,t}, uniquely attains the maximum, while the most balanced (the Turán graph Tn,tT_{n,t}) 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 pp-adic integer balls are complete pp-partite, with parts given by residue classes mod pp (Bilet et al., 2021).
  • In spectral graph theory, Kp1,p2,p3K_{p_1, p_2, p_3} and Kq1,q2,q3K_{q_1, q_2, q_3} can be Seidel-cospectral without being switching equivalent; concrete examples exist for small orders such as K6,6,1K_{6,6,1} and K9,2,2K_{9,2,2} (Berman et al., 2019).
  • In algorithmic enumeration, acyclic orientations of Kn1,,npK_{n_1,\dots,n_p} correspond bijectively to pp-ary codes of length NN with no repetitions, and recursive generation of all orientations is O(N)O(N) per orientation (Carballosa et al., 2023).
  • In the context of energy extremality, for fixed number of vertices nn and parts tt, the split graph Sn,tS_{n,t} and Turán graph Tn,tT_{n,t} 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)

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.