gives the lambda components of the graph g.
LambdaComponents[g,{v1,v2,…}]
gives the lambda components that include at least one of the vertices {v1,v2,…}.
LambdaComponents[{vw,…},…]
uses rules vw to specify the graph g.
LambdaComponents
gives the lambda components of the graph g.
LambdaComponents[g,{v1,v2,…}]
gives the lambda components that include at least one of the vertices {v1,v2,…}.
LambdaComponents[{vw,…},…]
uses rules vw to specify the graph g.
Details
- LambdaComponents is also known as a lambda set.
- A lambda component is a set of vertices that have more edge-independent paths connecting them to each other than to outside vertices.
- LambdaComponents returns a list of components {c1,c2,…}, where each component ci is given as a list of vertices.
- LambdaComponents[g] is equivalent to LambdaComponents[g,VertexList[g]].
- LambdaComponents works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Examples
open all close allBasic Examples (1)
Scope (6)
LambdaComponents works with undirected graphs:
LambdaComponents[[image]]LambdaComponents[[image]]LambdaComponents[[image]]LambdaComponents[[image]]Give the components that include at least one of the vertices:
LambdaComponents[[image], {1, 3}]Use rules to specify the graph:
LambdaComponents[{1 -> 2, 1 -> 3, 2 -> 4, 3 -> 4, 3 -> 5, 4 -> 6, 5 -> 6}]Applications (2)
Highlight all lambda components in a graph:
g = [image];Table[HighlightGraph[g, Subgraph[g, i], VertexSize -> 0.2], {i, LambdaComponents[g]}]A family network consisting of the closest relatives, including parents, siblings, and children. Find a smallest family group with more than one member, where relatives have more edge-independent paths connecting them to each other than to relatives outside the group:
g = ExampleData[{"NetworkGraph", "FamilyGathering"}]The first nontrivial λ component occurs after the singletons:
λ = LambdaComponents[g];Length /@ λHighlightGraph[g, Subgraph[g, λ[[VertexCount[g] + 1]]]]Properties & Relations (2)
All Luccio–Sami components are lambda components:
g = [image];LuccioSamiComponents[g]LambdaComponents[g]MemberQ[LuccioSamiComponents[g], Alternatives @@ LambdaComponents[g]]The converse is not always true:
MemberQ[LambdaComponents[g], {5, 6, 7, 8}]MemberQ[LuccioSamiComponents[g], {5, 6, 7, 8}]Lambda components are partially ordered by inclusion:
g = [image];λ = LambdaComponents[g]The corresponding directed acyclic graph:
AdjacencyGraph[λ, Table[Boole@(SubsetQ[λ[[j]], λ[[i]]] && λ[[i]] != λ[[j]]), {i, Length[λ]}, {j, Length[λ]}], VertexLabels -> "Name", ImagePadding -> 10]AcyclicGraphQ[%]Related Guides
Text
Wolfram Research (2012), LambdaComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/LambdaComponents.html (updated 2015).
CMS
Wolfram Language. 2012. "LambdaComponents." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/LambdaComponents.html.
APA
Wolfram Language. (2012). LambdaComponents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LambdaComponents.html
BibTeX
@misc{reference.wolfram_2026_lambdacomponents, author="Wolfram Research", title="{LambdaComponents}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/LambdaComponents.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_lambdacomponents, organization={Wolfram Research}, title={LambdaComponents}, year={2015}, url={https://reference.wolfram.com/language/ref/LambdaComponents.html}, note=[Accessed: 12-June-2026]}