Nepedia
Back to Discover
Independent Reader
🔢

Graph (discrete mathematics)

math Maturity 7-9 Next article →

Imagine you are at a party. You want to see who knows whom. You could draw a dot for every person. Then, you draw a line between people who shake hands.

6n-graf
6n-graf

In math, these dots are called vertices. The lines are called edges. This whole picture is called a graph.

Undirected
Undirected

Some edges are undirected. This means the link goes both ways. A handshake is a good example. Other edges are directed. These look like arrows.

Undirected
Undirected

They show a one-way path. For example, one person might owe money to another.

Graphs can be very special. A complete graph has edges between every single pair of dots.

Complete graph K5
Complete graph K5

A weighted graph gives each edge a number. This number might show how long a path is. Some graphs are mixed. They use both arrows and plain lines.

Example of simple mixed graph
Example of simple mixed graph

J. J. Sylvester first used the word "graph" in 1878. He saw how math could show chemical shapes. Today, graphs help us study many things.

159 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (6)
File:6n-graf.svg
6n-graf.svg
File:Undirected.svg
Undirected.svg
File:Directed.svg
Directed.svg
File:Example of simple mixed graph.jpg
Example of simple mixed graph.jpg
File:Weighted_network.svg
Weighted_network.svg
File:Complete graph K5.svg
Complete graph K5.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

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.