Log in Sign up
Back to Discover
🔢

Edge contraction

math Maturity 11-13

Imagine dots and lines.

Edge contraction.svg
Edge contraction.svg
We can pull two dots together. The line between them goes away. Now they are one big dot. This helps us make shapes simple. It is like a magic trick. Can you draw a new dot?
Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg

47 words

Imagine dots and lines.

Edge contraction.svg
Edge contraction.svg
These dots are called vertices. The lines are called edges. You can pull two dots together. This removes the line between them. Now those two dots are one. This is called edge contraction.
Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg
You can also pull any two dots together. This is called vertex identification. It does not need a line between them. People use this to make shapes simple. It helps in 3D modeling too. It can make a shape have fewer dots.

86 words

In math, we study graphs. A graph is a set of dots and lines. We call the dots vertices. We call the lines edges.

Edge contraction.svg
Edge contraction.svg
One way to change a graph is edge contraction. In this way, you pick one edge. You remove that edge. Then, you merge the two dots it joined. Now those two dots are just one new dot.
Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg
This can make new lines or loops. A loop is a line that starts and ends at the same dot.

You can also do vertex identification. This is a broader way to change a graph. You can pull any two dots together. They do not need a line between them to join. This is helpful when you want to simplify a graph. Some people use this to make 3D models. It helps make models with fewer dots. This is called a low-polygon model. You can even do the opposite. You can split one dot into two. This is called vertex cleaving. These tools help math experts solve big puzzles.

177 words

In math, we study graphs. A graph is a collection of dots and lines. We call the dots vertices. We call the lines edges.

Edge contraction.svg
Edge contraction.svg
One special way to change a graph is called edge contraction. This is a very important tool in graph theory. It helps us look at something called graph minors. You can think of it as a way to simplify a shape. It lets us see the basic structure of a graph. This is useful for solving many hard math puzzles.
Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg

Edge contraction works in a very specific way. First, you choose one edge in your graph. Next, you remove that edge from the picture. Then, you merge the two vertices that the edge once joined. These two dots become one single new vertex. Any lines that were attached to the old dots now attach to the new one. This process can sometimes create multiple edges between the same two dots. It can also create a loop. A loop is a line that starts and ends at the same dot.

Edge contraction.svg
Edge contraction.svg

There are other ways to join dots together. One way is called vertex identification. This is a less strict version of edge contraction. In this version, you do not need an edge to join the dots. You can pick any two vertices to merge into one. You can even pick a whole group of vertices to join. When you do this with a group, it is called a quotient graph. You can also do the opposite thing. This is called vertex cleaving. It means you split one vertex into two new ones.

Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg

Math experts use these tricks to solve big problems. They often use a method called proof by induction. This means they show a rule works for small graphs first. Then they use contraction to show it works for larger graphs. Edge contraction is also used in special math formulas. It helps find the number of spanning trees in a graph. It also helps with a thing called a chromatic polynomial. These formulas help us understand how graphs behave.

Edge contraction.svg
Edge contraction.svg

These ideas are used in the real world too. Computer programs for 3D modeling use edge contraction. It helps artists make low-polygon models. These models have fewer vertices so they are easier to use. Another use is in computer science for something called register allocation. This helps manage different variables in a system. It can also help turn a complex graph into a simpler one. This makes it easier for computers to process information quickly.

Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg

439 words

In the field of graph theory, mathematicians use specific operations to transform graphs. One of the most fundamental tools is edge contraction. A graph is made of vertices, which are points, and edges, which are lines connecting them. Edge contraction is a process that simplifies a graph by reducing its size. It does this by removing an edge and merging the two vertices that the edge connected. This operation is essential to the study of graph minors.

Edge contraction.svg
Edge contraction.svg

To perform an edge contraction, you must select a specific edge. Let us say this edge connects two vertices called $u$ and $v$. First, the edge itself is removed from the graph. Next, the two vertices, $u$ and $v$, are merged into a single new vertex. We can call this new vertex $w$. Every edge that was once connected to $u$ or $v$ is now connected to $w$. This process effectively collapses the distance between the two points to zero.

Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg

This operation can change the nature of the graph. Even if you start with a simple graph, contraction can create multiple edges. Multiple edges occur when two vertices are connected by more than one line. The process can also create loops. A loop is an edge that starts and ends at the same vertex. Some mathematicians choose to disallow these extra edges. They prefer that edge contractions on simple graphs always result in simple graphs.

Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg

There are several related ways to manipulate vertices and edges. Vertex identification is a broader version of edge contraction. In vertex identification, you do not need an edge to connect the vertices you want to merge. You can pick any two vertices, or even a whole group, to join together. When you identify vertices based on a specific partition, the result is called a quotient graph. Conversely, vertex cleaving is the reverse process. It involves splitting one vertex into two new ones.

Edge contraction.svg
Edge contraction.svg

Other specialized movements exist within graph theory. Path contraction occurs when a set of edges forming a path is contracted into one single edge. This edge connects the two original endpoints of the path. In this case, edges attached to the middle vertices are either removed or connected to an endpoint. There is also a concept called twisting. This involves two disjoint graphs that are joined at specific vertices. In a twisting, the way these vertices are identified is changed to create a different structure.

Edge contraction is highly useful for mathematical proofs. Many mathematicians use a technique called proof by induction. They prove a property for small graphs first. Then, they use contraction to show the property holds for larger graphs. This method is also used in recursive formulas. For example, it helps calculate the number of spanning trees in a connected graph. It is also used to find the recurrence formula for the chromatic polynomial of a simple graph.

Edge contraction.svg
Edge contraction.svg

Beyond pure math, these operations have practical uses in technology. In 3D modeling, software uses edge contraction to reduce vertex counts. This helps creators build low-polygon models, which are easier for computers to render. In computer science, it is used in register allocation. This process helps eliminate move operations between variables during coalescing. Finally, it can simplify complex directed graphs. By contracting vertices in strongly connected components, a general graph becomes an acyclic directed graph.

Edge contraction.svg
Edge contraction.svg

568 words
🖼️ Images & Media (2)
File:Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg
File:Edge contraction.svg
Edge contraction.svg
Up Next
🔢
Graph minor
Math
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.