 ##  [Treewidth](/index.php/treewidth) 

  ##  [Treewidth](https://mathlogic.quantumdictionary.io/treewidth-0) 

  

 [![Mathematics & Logic Dictionary](/sites/default/files/styles/large/public/2026-01/Mathematics%20%26%20Logic.png.webp?itok=UhtTRPnp)](/index.php/topic-specific-dictionaries/natural-formal-sciences/mathematics-logic)

- Natural &amp; Formal Sciences -

**Mathematics &amp; Logic Dictionary**

 







 

 

 

 



 

 

 

 

Definition

A numerical measure of how close an undirected graph is to a tree, defined as the minimum over all tree decompositions of the maximum bag size minus one; small treewidth means the graph can be organized by small overlapping vertex sets arranged in a tree.