Visibility Polynomial in Graph Theory
- Visibility Polynomial is a generating function that counts mutual-visibility sets by size, capturing the full distribution beyond the maximum mutual-visibility number.
- The polynomial refines graph invariants through explicit coefficient formulas, hereditary constraints, and inclusion–exclusion principles in diverse graph families and operations.
- It extends to variants such as dual, outer, and total visibility polynomials, linking mutual visibility with general position sets and influencing graph optimization.
In graph theory, the visibility polynomial is a generating function that counts mutual-visibility sets by cardinality. For a simple graph , if denotes the number of mutual-visibility sets of size , then the visibility polynomial is written as in one line of work, while later papers also use and for the same counting invariant. The concept was introduced explicitly for graphs in "Visibility polynomials, dual visibility spectrum, and characterization of total mutual-visibility sets" (Bujtás et al., 2024), and subsequently developed for concrete graph classes, joins, and corona products (B et al., 2 Jul 2025, B et al., 26 Sep 2025, B et al., 2 Sep 2025). Earlier visibility literature in Delaunay meshes and in graph optimization studied visibility relations and visibility numbers, but did not define a visibility polynomial (Peters, 2015, Bilò et al., 2024).
1. Foundational definition
Let be a simple graph and let . Two vertices are -visible if there exists a shortest 0-path 1 such that
2
A set 3 is a mutual-visibility set if every pair of vertices in 4 is 5-visible. Its maximum cardinality is the mutual-visibility number 6 (Bujtás et al., 2024).
The visibility polynomial packages the full counting sequence of such sets: 7 where 8 is the number of mutual-visibility sets of cardinality 9. The constant term is always 0, because the empty set is a mutual-visibility set, and the degree is 1 (Bujtás et al., 2024). In the notation of later papers,
2
counts the same object (B et al., 2 Jul 2025, B et al., 26 Sep 2025).
A basic universal fact is that every set of size 3, 4, or 5 is automatically a mutual-visibility set. Hence, for a graph on 6 vertices, the polynomial begins
7
(B et al., 2 Jul 2025). The polynomial is an isomorphism invariant, but not a complete one: non-isomorphic graphs may share the same visibility polynomial; one explicit example has
8
This counting viewpoint refines 9. The number 0 records only the largest feasible size, while the polynomial records the entire distribution of mutual-visibility sets across all sizes. This suggests why later work treats it as a structural invariant rather than merely an optimization parameter.
2. Variants and coefficient structure
The 2024 formulation introduced parallel set systems and parallel polynomials for three stronger visibility notions (Bujtás et al., 2024). For 1:
- 2 is an outer mutual-visibility set if every two vertices 3 are 4-visible, and every 5, 6 are 7-visible.
- 8 is a dual mutual-visibility set if every two vertices of 9 and every two vertices of 0 are 1-visible.
- 2 is a total mutual-visibility set if any two vertices of 3 are 4-visible.
The corresponding maxima are denoted
5
and the associated generating functions are the visibility polynomial 6, the dual visibility polynomial 7, the outer visibility polynomial 8, and the total visibility polynomial 9 (Bujtás et al., 2024).
A central structural asymmetry is that dual mutual-visibility sets are not closed under taking subsets. The paper gives the example of two adjacent vertices in 0: together they form a dual mutual-visibility set, but neither singleton does (Bujtás et al., 2024). By contrast, ordinary, outer, and total mutual-visibility families behave downward-closed, and this hereditary behavior imposes coefficient constraints.
One such constraint is a Kruskal–Katona type lower-shadow inequality. If 1 for some real 2, then for 3,
4
(Bujtás et al., 2024). The same hereditary structure yields an inclusion–exclusion formula over maximal sets: if 5 are the maximal mutual-visibility sets of 6, then
7
where 8 and 9 (Bujtás et al., 2024).
The dual case behaves in a radically different manner. The paper formalizes its coefficient sequence as the dual visibility spectrum
0
where 1 and 2 counts dual mutual-visibility sets of size 3. Its realization theorem states that for every 4 and every sequence of nonnegative integers
5
there exists a graph 6 with 7 whose dual visibility spectrum is exactly
8
(Bujtás et al., 2024). Consequently, every polynomial with nonnegative integer coefficients and constant term 9 is the dual visibility polynomial of some graph (Bujtás et al., 2024). This establishes a sharp dichotomy: ordinary, outer, and total visibility polynomials are constrained by hereditary combinatorics, whereas dual visibility polynomials are universal.
3. Relations to general position and total visibility
The visibility polynomial is closely related to the general position polynomial on geodetic graphs. A set 0 is a general position set if no three distinct vertices of 1 lie on a common shortest path. In a geodetic graph, where there is a unique shortest path between every pair of vertices, mutual-visibility sets and general position sets coincide: 2 is a mutual-visibility set if and only if 3 is a general position set (Bujtás et al., 2024). As a result, on geodetic graphs the visibility polynomial is exactly the general position polynomial.
The Petersen graph provides a concrete example. It is geodetic, and the paper proves that a set 4 is an outer mutual-visibility set if and only if 5 is an independent set. It then computes
6
and
7
Since 8,
9
The total variant also admits a clean structural characterization. For a connected graph 0 and 1, the following are equivalent:
- 2 is a total mutual-visibility set.
- Every pair of vertices 3 with 4 is 5-visible.
- For every pair 6 with 7,
8
equivalently,
9
This reduces total mutual-visibility testing to distance-0 neighborhoods (Bujtás et al., 2024). In geodetic graphs, total mutual-visibility is governed by simplicial vertices: 1 where 2 is the number of simplicial vertices, and the set of all simplicial vertices is the unique 3-set (Bujtás et al., 2024).
A related but distinct comparison concerns the mutual-visibility number and the general position number 4. On graphs of diameter 5, the ratio
6
can be as large as
7
and there is also the upper bound
8
(Bilò et al., 2024). This suggests that the visibility polynomial and the general position polynomial may diverge sharply outside the geodetic regime.
4. Explicit formulas for graph classes
A substantial part of the literature derives closed forms for families with rigid geodesic structure. The following ordinary visibility polynomials are stated explicitly.
| Graph family | Visibility polynomial | Source |
|---|---|---|
| 9 | 00 | (B et al., 2 Jul 2025) |
| 01 | 02 | (B et al., 2 Jul 2025) |
| 03 | 04 | (B et al., 2 Jul 2025) |
| 05 | 06 | (B et al., 26 Sep 2025) |
| 07 | 08 | (B et al., 26 Sep 2025) |
| 09 | 10 | (B et al., 26 Sep 2025) |
For cycles, the nontrivial coefficient is 11, since 12. The exact formula is
13
The same paper proves that the number of maximal mutual-visibility sets satisfies
14
and
15
Complete bipartite graphs admit explicit coefficient formulas as well. For 16, assuming 17 and 18,
19
with piecewise formulas for 20, and in particular 21 (B et al., 2 Jul 2025). For the balanced case 22 with 23, the 2024 paper gives the parallel family
24
25
26
The same 2024 paper records simple variant formulas for paths 27: 28 and for 29,
30
These formulas display a recurring pattern. Many families decompose into a large term such as 31, representing unrestricted subsets of a geodesically “safe” subgraph, plus low-degree correction terms arising from a distinguished hub, apex, or separator. This suggests that visibility polynomials are especially tractable on graphs whose shortest-path structure is dominated by a small number of central vertices.
5. Graph operations and computation
Beyond individual families, the literature develops formulas under standard graph operations. For disconnected graphs with connected components 32,
33
since every mutual-visibility set lies inside a single component (B et al., 2 Jul 2025).
For joins, the situation is controlled by the fact that
34
If 35 and 36 are disjoint complete graphs, then
37
recovering the identity 38 for 39 (B et al., 2 Jul 2025). For general joins of non-complete graphs, the coefficients admit an explicit piecewise description in terms of clique counts 40 and counts 41 of mutual-visibility sets of size 42 and diameter 43 (B et al., 2 Jul 2025).
The corona product 44 yields an even more rigid visibility structure. If both 45 and 46 have at least two vertices, then
47
and the maximum mutual-visibility set is exactly the union of all attached copies: 48 Hence 49 is monic, because there is exactly one mutual-visibility set of maximum size (B et al., 2 Sep 2025). The main formula is
50
where 51, 52, and the 53 terms are governed by 54-visible sets and inclusion–exclusion (B et al., 2 Sep 2025).
On the algorithmic side, the direct computation problem is expensive. A known mutual-visibility test on 55 runs in
56
and exhaustive enumeration over all subsets yields total time
57
summarized as essentially 58 in the worst case (B et al., 2 Jul 2025). This computational cost explains the emphasis on structural formulas for graph classes and graph products (B et al., 26 Sep 2025).
6. Scope, terminology, and neighboring uses of “visibility”
The graph-theoretic visibility polynomial should be distinguished from several adjacent notions in the visibility literature. In "Visibility in Proximal Delaunay Meshes" (Peters, 2015), visibility is formulated as a relation 59 on subsets of a Delaunay mesh, with ordinary visibility corresponding to a common triangle vertex and strong visibility to a common edge. The main result is that the visibility relation is equivalent to Wallman proximity, and that a Delaunay triangulation region endowed with 60 has a local Leader uniform topology. That paper does not define a visibility polynomial (Peters, 2015).
Similarly, "On the approximability of graph visibility problems" (Bilò et al., 2024) studies four optimization invariants—mutual, outer mutual, dual mutual, and total mutual visibility—and gives approximation and inapproximability results. It does not define a polynomial, generating function, or algebraic enumerator of visibility sets (Bilò et al., 2024).
A second source of ambiguity arises in lattice-point visibility. In "Visibility of Lattice Points across Polynomials" (Ahuja, 22 Jan 2026), one studies visibility along the polynomial family
61
with gcd-based and lcm-based criteria for when a lattice point is visible along such a curve. In "Lattice point visibility along powers of polynomials" (Lobzenz et al., 24 Apr 2026), visibility density is analyzed for polynomial lines of sight, and the Visibility Density Conjecture is proved for a large class of polynomials. In this literature, the word polynomial modifies the geometric line of sight rather than denoting a graph-counting invariant (Ahuja, 22 Jan 2026, Lobzenz et al., 24 Apr 2026).
The established usage in graph theory is therefore precise: a visibility polynomial is a generating function enumerating mutual-visibility sets, together with its outer, dual, and total variants. Outside graph theory, “visibility” and “polynomial” can co-occur in different senses, but those senses refer to different objects.