In mathematics and computer science, graph theory has for its subject matter the properties of graphs. Informally speaking, a graph is a set of objects called points or vertices connected by links called lines or edges. In a graph proper, which is by default undirected, a line from point A to point B is considered to be the same thing as a line from point B to point A. In a digraph, short for directed graph, the two directions are counted as being distinct arcs or directed edges.
Structures that can be represented as graphs are ubiquitous, and many problems of practical interest can be represented by graphs. The link structure of a website could be represented by a directed graph: the vertices are the web pages available at the website and there's a directed edge from page A to page B if and only if A contains a link to B. The development of algorithms to handle graphs is therefore of major interest in computer science.
A graph structure can be extended by assigning a weight to each edge of the graph. Graphs with weights can be used to represent many different concepts; for example if the graph represents a road network, the weights could represent the length of each road.The only information a weighted graph provides as such is (a) the vertices, (b) the edges and (c) the weights. Therefore the example in which the weights represent the roads' lengths doesn't imply that the weights are merely redundant annotations: there is no actual topographical information associated with the graph, so unlike reading a map, measuring the distances between the vertices is completely meaningless -- without the weights, there would be no way of telling what the distance between the vertices is in real life. A digraph with weighted edges is called a network.
Networks have many uses in the practical side of graph theory, network analysis (for example, to model and analyze traffic networks or to discover the shape of the internet -- see Applications below). Within network analysis, the definition of the term "network" varies, and may often refer to a simple graph.
In 1845 Gustav Kirchhoff published his Kirchhoff's circuit laws for calculating the voltage and current in electric circuits.
In 1852 Francis Guthrie posed the four color problem which asks if it is possible to color, using only four colors, any map of countries in such a way as to prevent two bordering countries from having the same color. This problem, which was only solved a century later in 1976 by Kenneth Appel and Wolfgang Haken, can be considered the birth of graph theory. While trying to solve it mathematicians invented many fundamental graph theoretic terms and concepts.
Definitions of graphs vary in style and substance, according to the level of abstraction that is approriate to a particular approach or application. For the sake of perspective, the following definitions present the same substance in two different styles:
First, a classic definition, that covers most of the essential ideas in a very short space:
A graph G consists of a finite nonempty set V = V(G) of p points together with a prescribed set X of q unordered pairs of distinct points of V. Each pair x = {u, v} of points in X is a line of G, and x is said to join u and v. We write x = uv and say that u and v are adjacent points (sometimes denoted u adj v); point u and line x are incident with each other, as are v and x. If two distinct lines x and y are incident with a common point, then they are adjacent lines. A graph with p points and q lines is called a (p, q) graph. The (1, 0) graph is trivial. (Harary, Graph Theory, p. 9).
Next, a style of definition that is preferred in some approaches and applications:
A graph or undirected graph G is an ordered triple G:=(V, E, f) subject to the following conditions:
V (and hence E) are usually taken to be finite sets, and many of the well-known results are not true (or are rather different) for infinite graphs because many of the arguments fail in the infinite case.
A digraph or a directed graph G is an ordered pair G:=(V, A) subject to the following conditions:
Alternatively, a digraph or a directed graph may be defined as an ordered triple G:=(V, E, f) subject to the following conditions:
There are also some mixed type of graphs with undirected and directed edges.
Graphs are represented graphically by drawing a dot for every vertex, and drawing an arc between two vertices if they are connected by an edge. If the graph is directed, the direction is indicated by drawing an arrow.
A graph drawing should not be confused with the graph itself (the abstract, non-graphical structure) as there are several ways to structure the graph drawing. All that matters is which vertices are connected to which others by how many edges and not the exact layout. In practice it is often difficult to decide if two drawings represent the same graph. Depending on the problem domain some layouts may be better suited and easier to understand than others.
There are different ways to store graphs in a computer system. The data structure used depends on both the graph structure and the algorithm used for manipulating the graph. Theoretically one can distinguish between list and matrix structures but in concrete applications the best structure is often a combination of both. List structures are often preferred for sparse graphs as they have smaller memory requirements. Matrix structures on the other hand provide faster access but can consume huge amounts of memory if the graph is very large.
A common problem, called subgraph isomorphism problem, is finding subgraphs in a given graph. Many graph properties are hereditary, which means that a graph has a property if and only if all subgraphs have it too. For example a graph is planar if it contains neither the complete bipartite graph (See Three cottage problem) nor the complete graph . Unfortunately, finding maximal subgraphs of a certain kind is often an NP-complete problem.
Another class of problems has to do with the extent to which various species and generalizations of graphs are determined by their point-deleted subgraphs, for example:
Many problems have to do with various ways of coloring graphs, for example:
There are numerous problems arising especially from applications that have to do with various notions of flows in networks, for example:
Covering problems are specific instances of subgraph-finding problems, and they tend to be closely related to the clique problem or the independent set problem.
Many applications of graph theory exist in the form of network analysis. These split broadly into two categories. Firstly, analysis to determine structural properties of a network, such as the distribution of vertex degrees and the diameter of the graph. A vast number of graph measures exist, and the production of useful ones for various domains remains an active area of research. Secondly, analysis to find a measurable quantity within the network, for example, for a transportation network, the level of vehicular flow within any portion of it.
Graph theory is also used to study molecules in chemistry and physics. In condensed matter physics, the three dimensional structure of complicated simulated atomic structures can be studied quantitatively by gathering statistics on graph-theoretic properties related to the topology of the atoms. For example, Franzblau's shortest-path (SP) rings.
Discrete mathematics | Graph theory | Algebraic graph theory | Topological graph theory
Tioría de grafos | نظرية المخططات | Теория на графите | Teorija grafikona | Teorie grafů | Grafteori | Graphentheorie | Grafeteorio | Teoría de grafos | نظریه گراف | Graafiteoria | Théorie des graphes | תורת הגרפים | Teori graf | Teoria dei grafi | グラフ理論 | 그래프 이론 | Grafų teorija | Grafentheorie | Grafteori | Grafteori | Teoria grafów | Teoria dos grafos | Теория графов | Graph theory | Teória grafov | Teorija grafov | Теорија графова | Grafteori | ทฤษฎีกราฟ | Çizge Teorisi | Теорія графів | Lý thuyết đồ thị | 图论
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Graph theory".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world