graph labeling
In the mathematical discipline of graph theory, a graph labeling is the assignment of labels, traditionally represented by integers, to edges and/or vertices of a graph.[src] Formally, given a graph , a vertex labeling is a function of to a set of labels; a graph with such a function defined is called a vertex-labeled graph.[src] Likewise, an edge labeling is a function of to a set of labels.[src] In this case, the graph is called an edge-labeled graph.[src] When the edge labels are members of an ordered set (e.g., the real numbers), it may be called a weighted graph.[src] When used without qualification, the term labeled graph generally refers to a vertex-labeled graph with all labels distinct.[src] Such a graph may equivalently be labeled by the consecutive integers , where is the number of vertices in the graph.[src] For many applications, the edges or vertices are given labels that are meaningful in the associated domain.[src] For example, the edges may be assigned weights representing the "cost" of traversing between the incident vertices.[src] In the above definition a graph is understood to be a finite undirected simple graph.[src] However, the notion of labeling may be applied to all extensions and generalizations of graphs.[src] For example, in automata theory and formal language theory it is convenient to consider labeled multigraphs, i.e., a pair of vertices may be connected by several labeled edges.[src]
In the mathematical discipline of graph theory, a graph labeling is the assignment of labels, traditionally represented by integers, to edges and/or vertices of a graph.[src] Formally, given a graph , a vertex labeling is a function of to a set of labels; a graph with such a function defined is called a vertex-labeled graph.[src] Likewise, an edge labeling is a function of to a set of labels.[src] In this case, the graph is called an edge-labeled graph.[src] When the edge labels are members of an ordered set (e.g., the real numbers), it may be called a weighted graph.[src] When used without qualification, the term labeled graph generally refers to a vertex-labeled graph with all labels distinct.[src] Such a graph may equivalently be labeled by the consecutive integers , where is the number of vertices in the graph.[src] For many applications, the edges or vertices are given labels that are meaningful in the associated domain.[src] For example, the edges may be assigned weights representing the "cost" of traversing between the incident vertices.[src] In the above definition a graph is understood to be a finite undirected simple graph.[src] However, the notion of labeling may be applied to all extensions and generalizations of graphs.[src] For example, in automata theory and formal language theory it is convenient to consider labeled multigraphs, i.e., a pair of vertices may be connected by several labeled edges.[src] ==History== Most graph labelings trace their origins to labelings presented by Alexander Rosa in his 1967 paper.[src] Rosa identified three types of labelings, which he called -, -, and -labelings.[src] -labelings were later renamed as "graceful" by Solomon Golomb, and the name has been popular since.[src] ==Special cases== ===Graceful labeling=== A graph is known as graceful if its vertices are labeled from to , the size of the graph, and if this vertex labeling induces an edge labeling from to .[src] For any edge , the label of is the positive difference between the labels of the two vertices incident with .[src] In other words, if is incident with vertices labeled and , then will be labeled .[src] Thus, a graph is graceful if and only if there exists an injection from to that induces a bijection from to .[src] In his original paper, Rosa proved that all Eulerian graphs with size equivalent to or ( ) are not graceful.[src] Whether or not certain families of graphs are graceful is an area of graph theory under extensive study.[src] Arguably, the largest unproven conjecture in graph labeling is the Ringel–Kotzig conjecture, which hypothesizes that all trees are graceful.[src] This has been proven for all paths, caterpillars, and many other infinite families of trees.[src] Anton Kotzig himself has called the effort to prove the conjecture a "disease".[src] ===Edge-graceful labeling=== An edge-graceful labeling on a simple graph without loops or multiple edges on vertices and edges is a labeling of the edges by distinct integers in such that the labeling on the vertices induced by labeling a vertex with the sum of the incident edges taken modulo assigns all values from 0 to to the vertices.[src] A graph is said to be "edge-graceful" if it admits an edge-graceful labeling.[src] Edge-graceful labelings were first introduced by Sheng-Ping Lo in 1985.[src] A necessary condition for a graph to be edge-graceful is "Lo's condition": q(q + 1) = \frac{p(p - 1)}{2} \mod p.[src] ===Harmonious labeling=== A "harmonious labeling" on a graph is an injection from the vertices of to the group of integers modulo , where is the number of edges of , that induces a bijection between the edges of and the numbers modulo by taking the edge label for an edge to be the sum of the labels of the two vertices .[src] A "harmonious graph" is one that has a harmonious labeling.[src] Odd cycles are harmonious, as are Petersen graphs.[src] It is conjectured that trees are all harmonious if one vertex label is allowed to be reused.[src] The seven-page book graph provides an example of a graph that is not harmonious.[src] ===Graph coloring=== A graph coloring is a subclass of graph labelings.[src] Vertex colorings assign different labels to adjacent vertices, while edge colorings assign different labels to adjacent edges.[src] ===Lucky labeling=== A lucky labeling of a graph is an assignment of positive integers to the vertices of such that if denotes the sum of the labels on the neighbors of , then is a vertex coloring of .[src] The "lucky number" of is the least such that has a lucky labeling with the integers ==References==[src]
49 sentences · 49 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"graph labeling." encyclopegia.org, 2026, https://encyclopegia.org/wiki/graph-labeling. Accessed 25 November 2026.
Chicago
"graph labeling." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/graph-labeling.
APA
encyclopegia.org. (2026). graph labeling. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/graph-labeling
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON