TOPICS
Search

Graph Triangle


A triangle in a graph is a triangle graph subgraph, i.e., a K_3 (or equivalently, a C_3)-subgraph.

There is a simple formula counting the number of triangles in an undirected graph, namely

 c_3=(Tr(A^3))/6,

where Tr(A) denotes the matrix trace and A is the graph's adjacency matrix (Harary and Manvel 1972).

A graph with no triangles is said to be a triangle-free graph.


See also

Graph Cycle, Graph Tetrahedron, Subgraph, Triangle, Triangle Graph, Triangle-Free Graph

Explore with Wolfram|Alpha

References

Harary, F. and Manvel, B. "On the Number of Cycles in a Graph." Mat. Časopis Sloven. Akad. Vied 21, 55-63, 1971.

Cite this as:

Weisstein, Eric W. "Graph Triangle." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GraphTriangle.html

Subject classifications