Nepedia
Back to Discover
Fluent Reader
🔢

Degree matrix

math Maturity 7-9 Next article →

Imagine a collection of dots joined by lines. In math, we call these dots vertices and the lines edges. A graph is just a way to show how these parts connect. We might want to know how many lines touch each dot. This number is called the degree of a vertex.

6n-graph2
6n-graph2

To keep track of these numbers, mathematicians use a special tool. This tool is called a degree matrix. It is a grid of numbers used in algebraic graph theory. This grid helps us understand the shape of the whole graph.

A degree matrix is a type of diagonal matrix. This means all the important numbers sit in a straight line from corner to corner. The rest of the grid stays empty. Each number in that line tells us the degree of one vertex.

6n-graph2
6n-graph2

In an undirected graph, lines do not have arrows. If a line loops back to the same dot, it is a loop. A loop adds two to the degree of that vertex. This happens because the edge touches the dot twice. In a directed graph, lines have arrows to show direction. We then count the indegree or the outdegree for each dot.

Mathematicians use these grids to build even bigger tools. One important tool is the adjacency matrix. You can use the degree matrix and the adjacency matrix together. When you find the difference between them, you get a Laplacian matrix.

6n-graph2
6n-graph2

This new matrix is very useful for studying graphs. It helps researchers see how parts of a graph relate to each other. By using these grids, math becomes a way to map connections. It turns a simple drawing into a set of clear numbers.

There are some very cool rules for these matrices. If every dot has the same degree, the graph is called k-regular. In a k-regular graph, the diagonal of the matrix stays constant. This means every number in that line is the same.

6n-graph2
6n-graph2

There is also a rule called the degree sum formula. This rule says the trace of the matrix is a special value. The trace is the sum of the numbers on the diagonal. This sum is always exactly twice the number of edges in the graph. It is a neat way to check your work.

You can think of a degree matrix like a scoreboard. Each dot is like a player in a game. The lines are like passes between the players. The degree matrix simply counts how many passes each player made.

6n-graph2
6n-graph2

This helps you see who is the most connected in the group. It turns a messy web of lines into an organized list. This is how math helps us see patterns in the world. It takes something visual and makes it easy to measure.

460 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:6n-graph2.svg
6n-graph2.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.