ArticleslgStudy

science

Degree (graph theory)

Degree (graph theory) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Degree (graph theory) rather than just read about it. In short: In graph theory, the degree (or valency) of a vertex of a graph is the number of edges that are incident to the vertex; in a multigraph, a loop contributes 2 to a vertex's degree, for the two ends of the edge. The degree of a vertex v is denoted deg⁡(v) or deg⁡v.

Degree (graph theory) — main illustration
Degree (graph theory) — illustration

Key takeaways

  • Degree (graph theory) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Degree (graph theory) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Degree (graph theory) from memory before moving on to harder problems.

Reference excerpt

In graph theory, the degree (or valency) of a vertex of a graph is the number of edges that are incident to the vertex; in a multigraph, a loop contributes 2 to a vertex's degree, for the two ends of the edge. The degree of a vertex v is denoted deg⁡(v) or deg⁡v. The maximum degree of a graph G is denoted by Δ(G), and is the maximum of G's vertices' degrees. The minimum degree of a graph is denoted by δ(G), and is the minimum of G's vertices' degrees. In the multigraph shown on the right, the maximum degree is 5 and the minimum degree is 0. In a regular graph, every vertex has the same degree, and so we can speak of the degree of the graph. A complete graph (denoted Kn, where n is the number of vertices in the graph) is a special kind of regular graph where all vertices have the maximum possible degree, n−1. In a signed graph, the number of positive edges connected to a vertex is called its positive degree and the number of connected negative edges is called negative degree.

Handshaking lemma

The degree sum formula states that, given a graph G=(V,E),

∑v∈Vdeg⁡(v)=2|E|. The formula implies that in any undirected graph, the number of vertices with odd degree is even. This statement (as well as the degree sum formula) is known as the handshaking lemma. The latter name comes from a popular mathematical problem, which is to prove that in any group of people, the number of people who have shaken hands with an odd number of other people from the group is even.

Degree sequence

The degree sequence of an undirected graph is the non-increasing sequence of its vertex degrees; for the above graph it is (5, 3, 3, 2, 2, 1, 0). The degree sequence is a graph invariant, so isomorphic graphs have the same degree sequence. However, the degree sequence does not, in general, uniquely identify a graph; in some cases, non-isomorphic graphs have the same degree sequence. A graph that is identified up to isomorphism by its degree sequence is called unigraph and the corresponding degree sequence is called unigraphic. The degree sequence problem is the problem of finding some or all graphs with the degree sequence being a given non-increasing sequence of positive integers. (Trailing zeroes may be ignored since they are trivially realized by adding an appropriate number of isolated vertices to the graph.) A sequence which is the degree sequence of some simple graph, i.e. for which the degree sequence problem has a solution, is called a graphic or graphical sequence. As a consequence of the degree sum formula, any sequence with an odd sum, such as (3, 3, 1), cannot be realized as the degree sequence of a graph. The inverse is also true: if a sequence has an even sum, it is the degree sequence of a multigraph. The construction of such a graph is straightforward: connect vertices with odd degrees in pairs (forming a matching), and fill out the remaining even degree counts by self-loops. The question of whether a given degree sequence can be realized by a simple graph is more challenging. This problem is also called graph realization problem and can be solved by either the Erdős–Gallai theorem or the Havel–Hakimi algorithm. The problem of finding or estimating the number of graphs with a given degree sequence is a problem from the field of graph enumeration. More generally, the degree sequence of a hypergraph is the non-increasing sequence of its vertex degrees. A sequence is k-graphic if it is the degree sequence of some simple k-uniform hypergraph. In particular, a 2-graphic sequence is graphic. Deciding if a given sequence is k-graphic is doable in polynomial time for k=2 via the Erdős–Gallai theorem but is NP-complete for all k≥3.

Special values

A vertex with degree 0 is called an isolated vertex. A vertex with degree 1 is called a leaf vertex or end vertex or a pendant vertex, and the edge incident with that vertex is called a pendant edge. In the graph on the right, {3,5} is a pendant edge. This terminology is common in the study of trees in graph theory and especially trees as data structures. A vertex with degree n − 1 in a graph on n vertices is called a dominating vertex.

Global properties If each vertex of the graph has the same degree k, the graph is called a k-regular graph and the graph itself is said to have degree k. Similarly, a bipartite graph in which every two vertices on the same side of the bipartition as each other have the same degree is called a biregular graph. An undirected, connected graph has an Eulerian path if and only if it has either 0 or 2 vertices of odd degree. If it has 0 vertices of odd degree, the Eulerian path is an Eulerian circuit. A directed graph is a directed pseudoforest if and only if every vertex has outdegree at most 1. A functional graph is a special case of a pseudoforest in which every vertex has outdegree exactly 1. By Brooks' theorem, any graph G other than a clique or an odd cycle has chromatic number at most Δ(G), and by Vizing's theorem any graph has chromatic index at most Δ(G) + 1. A k-degenerate graph is a graph in which each subgraph has a vertex of degree at most k.

See also Indegree, outdegree for digraphs Degree distribution Degree sequence for bipartite graphs

Notes

References Erdős, P.; Gallai, T. (1960). "Gráfok előírt fokszámú pontokkal" (PDF). Matematikai Lapok (in Hungarian). 11: 264–274.. Havel, Václav (1955). "A remark on the existence of finite graphs". Časopis Pro Pěstování Matematiky (in Czech). 80 (4): 477–480. doi:10.21136/CPM.1955.108220. Hakimi, S. L. (1962). "On realizability of a set of integers as degrees of the vertices of a linear graph. I". Journal of the Society for Industrial and Applied Mathematics. 10 (3): 496–506. doi:10.1137/0110037. MR 0148049.. Sierksma, Gerard; Hoogeveen, Han (1991). "Seven criteria for integer sequences being graphic". Journal of Graph Theory. 15 (2): 223–231. doi:10.1002/jgt.3190150209. MR 1106533..

Illustrations

Degree (graph theory): A graph with a loop having vertices labeled by degree
A graph with a loop having vertices labeled by degree
Degree (graph theory): Two non-isomorphic graphs with the same degree sequence (3, 2, 2, 2, 2, 1, 1, 1).
Two non-isomorphic graphs with the same degree sequence (3, 2, 2, 2, 2, 1, 1, 1).
Degree (graph theory): An undirected graph with leaf nodes 4, 5, 6, 7, 10, 11, and 12
An undirected graph with leaf nodes 4, 5, 6, 7, 10, 11, and 12

Worked examples

Example 1 — a first encounter with Degree (graph theory)

Start with the simplest possible case. Write down what Degree (graph theory) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Degree (graph theory) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Degree (graph theory) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Degree (graph theory)

In research
Degree (graph theory) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Degree (graph theory) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Degree (graph theory) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph theory, so understanding it makes those chapters shorter.
In everyday life
Look for Degree (graph theory) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Degree (graph theory)” →

How to study Degree (graph theory) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Degree (graph theory) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Degree (graph theory) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Degree (graph theory) in simple terms?

In graph theory, the degree (or valency) of a vertex of a graph is the number of edges that are incident to the vertex; in a multigraph, a loop contributes 2 to a vertex's degree, for the two ends of the edge. The degree of a vertex v is denoted deg⁡(v) or deg⁡v.

Why does Degree (graph theory) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Degree (graph theory)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Degree (graph theory).

Tags

  • Graph theory

Keep exploring