encyclopegia.org

Transitive closure

In mathematics, the transitive closure of a homogeneous binary relation on a set is the smallest relation on that contains and is transitive.[src] For finite sets, "smallest" can be taken in its usual sense, of having the fewest related pairs; for infinite sets is the unique minimal transitive superset of .[src] For example, if is a set of airports and means "there is a direct flight from airport to airport " (for and in ), then the transitive closure of on is the relation such that means "it is possible to fly from to in one or more flights".[src] More formally, the transitive closure of a binary relation on a set is the smallest (w.r.t.[src] ⊆) transitive relation on such that ⊆ ; see .[src] We have = if, and only if, itself is transitive.[src] Conversely, transitive reduction reduces a minimal relation from a given relation such that they have the same closure, that is, ; however, many different with this property may exist.[src] Both transitive closure and transitive reduction are also used in the closely related area of graph theory.[src]

In mathematics, the transitive closure of a homogeneous binary relation on a set is the smallest relation on that contains and is transitive.[src] For finite sets, "smallest" can be taken in its usual sense, of having the fewest related pairs; for infinite sets is the unique minimal transitive superset of .[src] For example, if is a set of airports and means "there is a direct flight from airport to airport " (for and in ), then the transitive closure of on is the relation such that means "it is possible to fly from to in one or more flights".[src] More formally, the transitive closure of a binary relation on a set is the smallest (w.r.t.[src] ⊆) transitive relation on such that ⊆ ; see .[src] We have = if, and only if, itself is transitive.[src] Conversely, transitive reduction reduces a minimal relation from a given relation such that they have the same closure, that is, ; however, many different with this property may exist.[src] Both transitive closure and transitive reduction are also used in the closely related area of graph theory.[src] R^{+}=\bigcup_{i = 1}^{\infty} R^i.[src] where R^i is the i-th power of R, defined inductively by R^1 = R and, for i>0 , R^{i+1} = R \circ R^i where \circ denotes composition of relations.[src] To show that the above definition of R + is the least transitive relation containing R, we show that it contains R, that it is transitive, and that it is the smallest set with both of those characteristics.[src] R \subseteq R^{+} : R^+ contains all of the R^i , so in particular R^+ contains R .[src] R^{+} is transitive: If (s_1, s_2), (s_2, s_3)\in R^+ , then (s_1, s_2)\in R^j and (s_2, s_3)\in R^k for some j,k by definition of R^+ .[src] Since composition is associative, R^{j+k} = R^j \circ R^k ; hence (s_1, s_3)\in R^{j+k} \subseteq R^+ by definition of \circ and R^+ .[src] R^{+} is minimal, that is, if T is any transitive relation containing R , then R^{+} \subseteq T : Given any such T , induction on i can be used to show R^i\subseteq T for all i as follows: Base: R^1 = R \subseteq T by assumption.[src] Step: If R^i\subseteq T holds, and (s_1, s_3)\in R^{i+1} = R \circ R^i , then (s_1, s_2) \in R and (s_2, s_3)\in R^i for some s_2 , by definition of \circ .[src] Hence, (s_1, s_2), (s_2, s_3)\in T by assumption and by induction hypothesis.[src] Hence (s_1, s_3)\in T by transitivity of T ; this completes the induction.[src] Finally, R^i\subseteq T for all i implies R^{+} \subseteq T by definition of R^{+} .[src] In computer science, the concept of transitive closure can be thought of as constructing a data structure that makes it possible to answer reachability questions.[src] That is, can one get from node a to node d in one or more hops?[src] A binary relation tells you only that node a is connected to node b, and that node b is connected to node c, etc.[src] After the transitive closure is constructed, as depicted in the following figure, in an O(1)-time operation one may determine that node d is reachable from node a.[src] The data structure is typically stored as a Boolean matrix, so if matrix[1][4] = true, then it is the case that node 1 can reach node 4 through one or more hops.[src] The transitive closure of the adjacency relation of a directed acyclic graph (DAG) is the reachability relation of the DAG and a strict partial order.[src] , the transitive closure of an undirected graph The transitive closure of an undirected graph produces a cluster graph, a disjoint union of cliques.[src] Constructing the transitive closure is an equivalent formulation of the problem of finding the components of the graph.[src] Keller, U., 2004, Some Remarks on the Definability of Transitive Closure in First-order Logic and Datalog (unpublished manuscript) Appendix C (online only)[src]

36 sentences · 36 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Transitive closure." encyclopegia.org, 2026, https://encyclopegia.org/wiki/transitive-closure. Accessed 01 December 2026.

Chicago

"Transitive closure." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/transitive-closure.

APA

encyclopegia.org. (2026). Transitive closure. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/transitive-closure

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1365947310 · 0.5 · snapshot enwiki-001365947310

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.