Nepedia
Back to Discover
Fluent Reader
🔢

Multigraph

math Maturity 11-13 Next article →

Imagine you are looking at a map of several cities. Each city is a dot, which mathematicians call a vertex. To show how you can travel, you draw lines between these dots. These lines are called edges. In a simple graph, you only draw one line between two cities. But sometimes, there is more than one way to travel between the same two places. A multigraph is a special kind of graph that allows this. It lets you draw many edges between the same two vertices.

Multi-pseudograph
Multi-pseudograph

There are two main ways to think about these extra edges. In the first way, the edges do not have their own names. We only care about which two dots they connect. In the second way, every edge is its own separate thing. This means each edge has its own identity, just like the dots do. Some people also allow loops in a multigraph. A loop is an edge that connects a dot to itself. Some math books call a multigraph with loops a pseudograph.

Multi-pseudograph
Multi-pseudograph

Math rules can change depending on which author you read. For example, Balakrishnan wrote about this in 1997. Chartrand and Zhang also wrote about these ideas in 2012. These experts have different ways of defining what a multigraph is. Some say a multigraph cannot have loops at all. They use the word pseudograph to describe a graph that does have loops. Other writers, like Bollobás in 2002 or Diestel in 2010, allow loops. Wilson also wrote about these different definitions in 2002.

Multi-pseudograph
Multi-pseudograph

Sometimes, edges have a specific direction, like an arrow. This is called a directed multigraph, or sometimes a quiver. You can use these to show how things move in one way. An airline might use this to model flight connections between cities. One arrow shows a flight going from City A to City B. Another arrow shows a flight going from City B back to City A. This helps show all the possible paths a plane can take.

Multi-pseudograph
Multi-pseudograph

You can also add labels to your multigraph. A labeled multidigraph has names for its vertices and its arcs. This means you can give every dot and every arrow a specific label. This is helpful when you need to keep track of many different paths. It is like giving every person and every road a unique name on a map. This makes it much easier to study how everything is connected.

Multi-pseudograph
Multi-pseudograph
402 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Multi-pseudograph.svg
Multi-pseudograph.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.