Dots can be joined by lines. 
Dots can be joined by lines. 
Imagine dots connected by lines.
Some edges have arrows. We call these directed graphs. These arrows show a specific direction. Other graphs are undirected. This means the lines link things both ways. Some edges even have numbers. We call these weights.
Graph theory has a long history. Leonhard Euler wrote the first paper on this. He studied the Seven Bridges of Königsberg. 
Another famous puzzle is the four color problem. It asks if any map can be colored with only four colors. This rule means no two areas sharing a border have the same color. This problem took over a century to solve. In 1976, two men used computers to find the answer. They checked many different shapes to prove it works. Today, graphs help many people. They help chemists and engineers talk about how parts fit together.
Imagine a collection of dots connected by lines. In mathematics, this structure is called a graph. The dots are known as vertices, or sometimes nodes. The lines connecting them are called edges, or links.
There are many different ways to build these structures. A simple graph has edges that connect two different vertices. A multigraph is different because it can have many edges between the same two dots. It can also have a loop, which is an edge that connects a vertex to itself. Some graphs are mixed, meaning they have both directed and undirected edges. You can also study how many edges a graph has to find its crossing number.
Graph theory began with a famous puzzle about bridges. In 1736, Leonhard Euler published a paper about the Seven Bridges of Königsberg. 
One of the most famous puzzles is the four color problem. It was first asked by Francis Guthrie in 1852. The problem asks if any map can be colored using only four colors. The rule is that no two areas sharing a border can have the same color. This was a hard job that took over a century to solve. In 1976, Kenneth Appel and Wolfgang Haken used computers to find a proof. They checked 1,936 different shapes to prove it worked.
Today, graph theory connects many different areas of science. It helps chemists understand how molecules are put together. It also helps electrical engineers study how current flows through circuits. Scientists use math to study the symmetry of graphs, which is called algebraic graph theory. Some graphs, like the Petersen graph, are very symmetrical.
Graph theory is a major branch of discrete mathematics. It focuses on the study of graphs. In this context, a graph is a mathematical structure. It is used to model pairwise relations between objects.
There are several different types of graphs. An undirected graph features edges that link two vertices symmetrically. In contrast, a directed graph has edges with a specific orientation. These edges are marked with arrows to show direction. A mixed graph contains both directed and undirected edges. Some graphs are considered simple graphs. A multigraph is more complex. It allows many edges to share the same pair of endpoints. It also allows for a loop, which is an edge connecting a vertex to itself.
The history of graph theory began with a famous puzzle. In 1736, Leonhard Euler published a paper about the Seven Bridges of Königsberg. 
A famous challenge in this field is the four color problem. Francis Guthrie first posed this problem in 1852. It asks if any map can be colored with only four colors. The rule is that no two regions with a common border can share a color. Many people tried to prove this for many years. In 1969, Heinrich Heesch suggested using computers to solve it. In 1976, Kenneth Appel and Wolfgang Haken produced a computer-aided proof. They checked 1,936 specific configurations to reach their conclusion.
Topological graph theory is a specialized subarea. It treats graphs as topological spaces. This field studies how graphs can be embedded in surfaces. An embedding represents a graph where vertices are points and edges are arcs. In a proper embedding, edges do not intersect except at their endpoints. This field also looks at the crossing number. The crossing number is the minimum number of edge crossings in a graph. This concept was inspired by Pál Turán. He studied how to minimize crossings between tracks in a factory plan.
Algebraic graph theory uses algebra to study graphs. It often uses branches like linear algebra and group theory. Spectral graph theory is a specific type of this study. It focuses on the adjacency matrix of a graph. This matrix represents the graph using numbers. Scientists also look at the Laplacian matrix. This involves the degree matrix and the adjacency matrix. Another area is the study of symmetry. Some graphs are highly symmetrical, such as the Petersen graph.
Graph theory connects to many other scientific fields. In chemistry, it helps describe molecular composition. In physics, it relates to electrical circuits. Gustav Kirchhoff used graph-like techniques in 1845 to study voltage and current. Geometric graph theory also plays a role. It studies the properties of graphs drawn in Euclidean space. This includes the study of planar straight-line graphs. These are graphs where edges are non-crossing line segments. Today, graph theory remains a vital tool for understanding complex systems.
🖼️ Images & Media (8)
More to explore
✨ What else?
Related topics you might enjoy
🔬 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.