Skip to main content

Self-loops

Self-loops are edges that start and end at the same vertex. In Combinatorics, they show up in graph representations and can change degree counts, adjacency matrices, and graph isomorphism checks.

Last updated July 2026•Fiveable Content Team

What are self-loops?

A self-loop is an edge in a graph that connects a vertex to itself. In Combinatorics, that means the graph includes a relationship where one object points back to the same object instead of connecting two different vertices.

You usually see self-loops in graph theory problems when the graph is allowed to be more flexible than a simple graph. A simple graph has no loops and no repeated edges, but many combinatorics problems let you work with multigraphs or directed graphs where loops can appear. That matters because once a loop is allowed, some of the usual counting rules change.

The biggest effect shows up in degree calculations. A self-loop contributes to the degree of a vertex, and in an undirected graph it is counted as 2 toward that vertex’s degree because the edge touches the vertex twice. That is a common place to make a mistake, especially if you are just counting visible lines in a drawing.

In a directed graph, a self-loop can mean a vertex has an arrow to itself. That can represent something like a state that transitions back to itself in a network model, or a relationship that stays within the same node. The direction still matters, even though the start and end vertex are the same.

Self-loops also matter when you represent graphs with adjacency matrices or check whether two graphs are isomorphic. If one graph has a loop at a vertex and the other does not, they cannot be isomorphic. So a loop is not just a small decoration in the picture, it changes the structure of the graph.

Why self-loops matter in COMBINATORICS

Self-loops matter because graph problems in Combinatorics are really structure problems, and a loop changes structure in ways you have to track carefully. If you ignore it, your degree counts can be wrong, your adjacency matrix can be incomplete, and your graph comparison can fail.

This comes up any time a problem asks you to describe or compare graphs. For example, if you are told to decide whether two graphs are isomorphic, you do not just match up the number of vertices and edges. You also have to match features like loops, repeated edges, and vertex degrees. A loop can instantly rule out an isomorphism.

Loops also help model situations where a system can stay in the same state. In a directed graph, a self-loop can mean a process returns to the same node, which shows up in transition diagrams and network models. That makes them useful for drawing the exact behavior of a system instead of forcing everything to connect to a different vertex.

In problem solving, self-loops are a detail with real consequences. They change what you count, how you draw the graph, and how you justify whether two graphs match.

Keep studying COMBINATORICS Unit 10

Official unit cheatsheet

open one-pager

How self-loops connect across the course

Vertex

A self-loop always attaches to a vertex, so you need to know exactly which vertex it belongs to when you count degree or describe a graph. In a drawing, the loop is part of that vertex’s local structure, not a separate object. This matters when you compare vertices by degree or by the edges incident to them.

Edge

A self-loop is still an edge, just one with the same start and end vertex. That means it belongs in edge counts, adjacency representations, and graph descriptions. The common mistake is to treat it like a special symbol that does not count as a real edge, but in combinatorics it absolutely does.

Isomorphism

Graph isomorphism compares structure, not just appearance. If one graph has a self-loop and the other does not, they are not isomorphic because the loop is part of the structure that must be preserved. Even when two graphs look different, the loop pattern can be the feature that settles the comparison.

Depth-first search

Depth-first search can encounter self-loops while exploring a graph, but the loop does not lead to a new vertex. That means it may be ignored for traversal progress, even though it still exists in the graph. In algorithm questions, you have to separate visiting a new vertex from simply seeing an edge back to the same one.

Are self-loops on the COMBINATORICS exam?

A graph problem will usually ask you to count degrees, build an adjacency matrix, or decide whether two graphs are isomorphic, and that is where self-loops show up fast. If you see a loop, you need to count it correctly in the degree of its vertex and include it in any graph representation.

On a quiz or problem set, you might be shown a drawing and asked to identify whether it is a simple graph, a multigraph, or a directed graph with loops. You may also need to explain why two graphs cannot be isomorphic because one has a loop and the other does not. The safest move is to inspect the local structure of each vertex before making a claim.

If the graph is directed, read the arrows carefully. A self-loop still counts as an arrow, but it starts and ends at the same vertex, so it affects the interpretation of the network without changing the vertex set.

Self-loops vs parallel edges

Self-loops connect a vertex to itself, while parallel edges connect two different vertices more than once. Both can appear in multigraphs, but they are not the same feature and they affect graphs differently. A loop changes the degree of one vertex in a special way, while parallel edges change the number of connections between two distinct vertices.

Key things to remember about self-loops

  • A self-loop is an edge that starts and ends at the same vertex.

  • In an undirected graph, a self-loop contributes 2 to the degree of that vertex.

  • Self-loops can appear in directed graphs, where they show a vertex pointing to itself.

  • When checking graph isomorphism, a self-loop is a structural feature that must match.

  • If you miss a loop, your degree counts and graph comparisons can be wrong.

Frequently asked questions about self-loops

What is self-loops in Combinatorics?

Self-loops are edges in a graph that connect a vertex to itself. In Combinatorics, they show up in graph theory problems, especially when you work with multigraphs, directed graphs, or graph isomorphism. They change how you count degrees and how you compare graphs.

How does a self-loop affect degree?

In an undirected graph, a self-loop counts as 2 toward the degree of that vertex because the edge touches the vertex twice. That is a common counting trap on graph problems. In a directed graph, you still track the loop as an incoming and outgoing edge at the same vertex.

Can two graphs be isomorphic if only one has a self-loop?

No, not if the loop is part of the graph structure you are comparing. Isomorphism has to preserve adjacency patterns, including loops. If one graph has a self-loop and the other does not, they are not isomorphic.

Are self-loops allowed in a simple graph?

No. Simple graphs do not allow self-loops or multiple edges between the same pair of vertices. If a problem includes a loop, you are working with a graph type that is more general than a simple graph.