Nepedia
Back to Discover
Fluent Reader
🔢

Edge contraction

math Maturity 11-13 Next article →

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
Edge contraction

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
Edge contraction with multiple edges

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
Edge contraction

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
Edge contraction with multiple edges

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
Edge contraction

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
Edge contraction with multiple edges
419 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Edge contraction with multiple edges.svg
Edge contraction with multiple edges.svg
File:Edge contraction.svg
Edge contraction.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.