TOPICS
Search

Graph Intersection


GraphIntersection

The graph intersection G_1 intersection G_2 of graphs G_1=(V_1,E_1) and G_2=(V_2,E_2) is commonly defined as the graph with vertex set V_1 intersection V_2 and edge set E_1 intersection E_2 (Skiena 1990, pp. 129-131).

The Wolfram Language function GraphIntersection[g1, g2] instead retains the union of the vertex sets, returning the graph with vertex set V_1 union V_2 and edge set E_1 intersection E_2. Thus vertices not incident to an edge common to both graphs remain as isolated vertices.


See also

Graph Difference, Graph Union, Intersection Graph

Explore with Wolfram|Alpha

References

Skiena, S. "Unions and Intersections." §4.1.1 in Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. Reading, MA: Addison-Wesley, pp. 129-131, 1990.

Referenced on Wolfram|Alpha

Graph Intersection

Cite this as:

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

Subject classifications