Treewidth
Definition
Let be a finite graph. A tree decomposition of is a pair with the following properties. Here is a tree, and each is a subset of , called a bag.
- Every vertex of lies in some bag.
- For every edge of , some bag contains both and .
- For every vertex of , the nodes with form a connected subtree of .
The width of the decomposition is . The treewidth is the least width of a tree decomposition of .
Remarks
Example: the cycle with vertices in order has the tree decomposition with two adjacent nodes and bags and . Each vertex is in a bag, each edge lies in a bag, and the nodes containing or form the whole tree, so the width is . Non-example: put the bags in this order along a path. They satisfy clauses 1 and 2 but fail clause 3, because vertex lies in the first and last bags only. Every clique of lies in a single bag, so . A graph with at least one edge has treewidth exactly when it is a forest, and the grid with has treewidth .
Reading path
To understand this page from the ground up, read these 10 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Graph definition
- Walk definition
- Reachability definition
- Trail definition
- Connected graph definition
- Circuit definition
- Cycle definition
- Acyclic graph definition
- Tree definition
- Treewidth definition
Further reading
About this page
| Tag | FJ5E6FZVRJ |
|---|---|
| URI | m2://FJ5E6FZVRJ |
| Kind | definition |
| Writing | W0 stub |
| MSC | 05C83, 05C75, 05C85 |
| Defines | Treewidth |
| Uses | Graph, Tree |
| Changed | 2 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.