In the
mathematical
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
area of
graph theory
In mathematics, graph theory is the study of ''graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conne ...
, a triangle-free graph is an undirected graph in which no three vertices form a
triangle
A triangle is a polygon with three Edge (geometry), edges and three Vertex (geometry), vertices. It is one of the basic shapes in geometry. A triangle with vertices ''A'', ''B'', and ''C'' is denoted \triangle ABC.
In Euclidean geometry, an ...
of edges. Triangle-free graphs may be equivalently defined as graphs with
clique number
In the mathematical area of graph theory, a clique ( or ) is a subset of vertices of an undirected graph such that every two distinct vertices in the clique are adjacent. That is, a clique of a graph G is an induced subgraph of G that is compl ...
≤ 2, graphs with
girth ≥ 4, graphs with no
induced 3-cycle, or
locally independent graphs.
By
Turán's theorem
In graph theory, Turán's theorem bounds the number of edges that can be included in an undirected graph that does not have a complete subgraph of a given size. It is one of the central results of extremal graph theory, an area studying the large ...
, the ''n''-vertex triangle-free graph with the maximum number of edges is a
complete bipartite graph
In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17.
Graph theory i ...
in which the numbers of vertices on each side of the bipartition are as equal as possible.
Triangle finding problem
The triangle finding problem is the problem of determining whether a graph is triangle-free or not. When the graph does contain a triangle, algorithms are often required to output three vertices which form a triangle in the graph.
It is possible to test whether a graph with edges is triangle-free in time . Another approach is to find the
trace
Trace may refer to:
Arts and entertainment Music
* ''Trace'' (Son Volt album), 1995
* ''Trace'' (Died Pretty album), 1993
* Trace (band), a Dutch progressive rock band
* ''The Trace'' (album)
Other uses in arts and entertainment
* ''Trace'' ...
of , where is the
adjacency matrix
In graph theory and computer science, an adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the graph.
In the special case of a finite simp ...
of the graph. The trace is zero if and only if the graph is triangle-free. For
dense graph
In mathematics, a dense graph is a graph in which the number of edges is close to the maximal number of edges (where every pair of vertices is connected by one edge). The opposite, a graph with only a few edges, is a sparse graph. The distinctio ...
s, it is more efficient to use this simple algorithm which relies on
matrix multiplication
In mathematics, particularly in linear algebra, matrix multiplication is a binary operation that produces a matrix from two matrices. For matrix multiplication, the number of columns in the first matrix must be equal to the number of rows in the s ...
, since it gets the time complexity down to , where is the number of vertices.
As showed, triangle-free graph recognition is equivalent in complexity to
median graph
In graph theory, a division of mathematics, a median graph is an undirected graph in which every three vertices ''a'', ''b'', and ''c'' have a unique ''median'': a vertex ''m''(''a'',''b'',''c'') that belongs to shortest paths between each pair o ...
recognition; however, the current best algorithms for median graph recognition use triangle detection as a subroutine rather than vice versa.
The
decision tree complexity
In computational complexity the decision tree model is the model of computation in which an algorithm is considered to be basically a decision tree, i.e., a sequence of ''queries'' or ''tests'' that are done adaptively, so the outcome of the previ ...
or
query complexity
In computational complexity the decision tree model is the model of computation in which an algorithm is considered to be basically a decision tree, i.e., a sequence of ''queries'' or ''tests'' that are done adaptively, so the outcome of the pre ...
of the problem, where the queries are to an oracle which stores the adjacency matrix of a graph, is . However, for
quantum algorithm
In quantum computing, a quantum algorithm is an algorithm which runs on a realistic model of quantum computation, the most commonly used model being the quantum circuit model of computation. A classical (or non-quantum) algorithm is a finite sequ ...
s, the best known lower bound is , but the best known algorithm is .
Independence number and Ramsey theory
An
independent set of √''n'' vertices in an ''n''-vertex triangle-free graph is easy to find: either there is a vertex with more than √''n'' neighbors (in which case those neighbors are an independent set) or all vertices have less than √''n'' neighbors (in which case any
maximal independent set
In graph theory, a maximal independent set (MIS) or maximal stable set is an independent set that is not a subset of any other independent set. In other words, there is no vertex outside the independent set that may join it because it is max ...
must have at least √''n'' vertices). This bound can be tightened slightly: in every triangle-free graph there exists an independent set of
vertices, and in some triangle-free graphs every independent set has
vertices. One way to generate triangle-free graphs in which all independent sets are small is the ''triangle-free process'' in which one generates a maximal triangle-free graph by repeatedly adding randomly chosen edges that do not complete a triangle. With high probability, this process produces a graph with independence number
. It is also possible to find
regular graph
In graph theory, a regular graph is a graph where each vertex has the same number of neighbors; i.e. every vertex has the same degree or valency. A regular directed graph must also satisfy the stronger condition that the indegree and outdegree o ...
s with the same properties.
These results may also be interpreted as giving asymptotic bounds on the
Ramsey numbers R(3,''t'') of the form
: if the edges of a complete graph on
vertices are colored red and blue, then either the red graph contains a triangle or, if it is triangle-free, then it must have an independent set of size ''t'' corresponding to a clique of the same size in the blue graph.
Coloring triangle-free graphs
Much research about triangle-free graphs has focused on
graph coloring
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices o ...
. Every
bipartite graph
In the mathematical field of graph theory, a bipartite graph (or bigraph) is a graph whose vertices can be divided into two disjoint and independent sets U and V, that is every edge connects a vertex in U to one in V. Vertex sets U and V are ...
(that is, every 2-colorable graph) is triangle-free, and
Grötzsch's theorem
GR may refer to:
Arts, entertainment, and media Film and television
* ''Golmaal Returns'', a 2008 Bollywood film
* ''Generator Rex'', an animated TV series
* Guilty Remnant, a cult-like organization portrayed in '' The Leftovers'', an HBO televis ...
states that every triangle-free
planar graph
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cross ...
may be 3-colored. However, nonplanar triangle-free graphs may require many more than three colors.
The first construction of triangle free graphs with arbitrarily high chromatic number is due to
Tutte
William Thomas Tutte OC FRS FRSC (; 14 May 1917 – 2 May 2002) was an English and Canadian codebreaker and mathematician. During the Second World War, he made a brilliant and fundamental advance in cryptanalysis of the Lorenz cipher, a majo ...
(writing as
Blanche Descartes). This construction started from the graph with a single vertex say
and inductively constructed
from
as follows: let
have
vertices, then take a set
of
vertices and for each subset
of
of size
add a disjoint copy of
and join it to
with a matching. From the
pigeonhole principle
In mathematics, the pigeonhole principle states that if items are put into containers, with , then at least one container must contain more than one item. For example, if one has three gloves (and none is ambidextrous/reversible), then there mu ...
it follows inductively that
is not
colourable, since at least one of the sets
must be coloured monochromatically if we are only allowed to use k colours. defined a construction, now called the
Mycielskian
In the mathematical area of graph theory, the Mycielskian or Mycielski graph of an undirected graph is a larger graph formed from it by a construction of . The construction preserves the property of being triangle-free but increases the chromatic ...
, for forming a new triangle-free graph from another triangle-free graph. If a graph has
chromatic number
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices o ...
''k'', its Mycielskian has chromatic number ''k'' + 1, so this construction may be used to show that arbitrarily large numbers of colors may be needed to color nonplanar triangle-free graphs. In particular the
Grötzsch graph
In the mathematical field of graph theory, the Grötzsch graph is a triangle-free graph with 11 vertices, 20 edges, chromatic number 4, and crossing number 5. It is named after German mathematician Herbert Grötzsch, who used it as an example ...
, an 11-vertex graph formed by repeated application of Mycielski's construction, is a triangle-free graph that cannot be colored with fewer than four colors, and is the smallest graph with this property. and showed that the number of colors needed to color any ''m''-edge triangle-free graph is
:
and that there exist triangle-free graphs that have chromatic numbers proportional to this bound.
There have also been several results relating coloring to minimum degree in triangle-free graphs. proved that any ''n''-vertex triangle-free graph in which each vertex has more than 2''n''/5 neighbors must be bipartite. This is the best possible result of this type, as the 5-cycle requires three colors but has exactly 2''n''/5 neighbors per vertex. Motivated by this result, conjectured that any ''n''-vertex triangle-free graph in which each vertex has at least ''n''/3 neighbors can be colored with only three colors; however, disproved this conjecture by finding a counterexample in which each vertex of the Grötzsch graph is replaced by an independent set of a carefully chosen size. showed that any ''n''-vertex triangle-free graph in which each vertex has more than 10''n''/29 neighbors must be 3-colorable; this is the best possible result of this type, because Häggkvist's graph requires four colors and has exactly 10''n''/29 neighbors per vertex. Finally, proved that any ''n''-vertex triangle-free graph in which each vertex has more than ''n''/3 neighbors must be 4-colorable. Additional results of this type are not possible, as Hajnal
[see .] found examples of triangle-free graphs with arbitrarily large chromatic number and minimum degree (1/3 − ε)''n'' for any ε > 0.
See also
*
Andrásfai graph, a family of triangle-free circulant graphs with diameter two
*
Henson graph, an infinite triangle-free graph that contains all finite triangle-free graphs as induced subgraphs
*
Shift graph, a family of triangle-free graphs with arbitrarily high chromatic number
*The
Kneser graph
In graph theory, the Kneser graph (alternatively ) is the graph whose vertices correspond to the -element subsets of a set of elements, and where two vertices are adjacent if and only if the two corresponding sets are disjoint. Kneser graphs a ...
is triangle free and has chromatic number
*
Monochromatic triangle problem, the problem of partitioning the edges of a given graph into two triangle-free graphs
*
Ruzsa–Szemerédi problem
In combinatorial mathematics and extremal graph theory, the Ruzsa–Szemerédi problem or (6,3)-problem asks for the maximum number of edges in a
graph in which every edge belongs to a unique triangle.
Equivalently it asks for the maximum number ...
, on graphs in which every edge belongs to exactly one triangle
References
;Notes
;Sources
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
External links
* {{Citation , url=http://www.graphclasses.org/classes/gc_371.html , title=Graphclass: triangle-free , work =Information System on Graph Classes and their Inclusions
Graph families