Nepedia
Back to Discover
Independent Reader
🔢

Degree matrix

math Maturity 7-9 Next article →

Imagine a group of dots joined by lines.

6n-graph2
6n-graph2

Each dot is called a vertex. The lines are called edges. We can count how many lines touch a dot. This count is the degree of that dot.

Mathematicians use a tool called a degree matrix to track these counts. A matrix is a grid of numbers. This specific grid is a diagonal matrix. This means the numbers sit in a straight line from corner to corner.

In some graphs, a line might loop back to the same dot. This is called a loop. In these cases, the loop adds two to the degree.

Other graphs have directions. These are called directed graphs. In these, we look at indegree or outdegree. Indegree is the number of lines coming in. Outdegree is the number of lines going out.

We can use this grid with another tool. This other tool is the adjacency matrix. When we use them together, we make a Laplacian matrix.

If every dot has the same degree, the graph is k-regular. In that case, the grid has the same number all the way down. The sum of all degrees is twice the number of edges.

196 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.