liveBook · Manning

K3,3

As explained in Advanced Algorithms and Data Structures

K3,3 is the complete bipartite graph whose two vertex partitions each contain three vertices.

K3,3 is the complete bipartite graph with two vertex partitions of three vertices each. It has six vertices and nine simple edges, with every edge joining the two partitions. Kuratowski’s theorem identifies it as one of the two simplest non-planar graphs. section 15.2.1 section 15.2.3

Recognize K3,3 during planarity testing by checking:

Recognition in a planarity test

An isK3_3 check first counts vertices and simple edges, then verifies bipartiteness and the partition sizes. It returns true only for six vertices, nine edges, and partitions of three and three. section 15.2.3

Listing 15.5 Planarity testing utility methods: K3,3 testing
function isK3_3(graph)                                               #1
  (n,m) ← (|graph.vertices|, |graph.simpleEdges|)                    #2
  if n == 6 and m == 9  then                                         #3
    if isBipartite(graph) and partitionsSize(graph) == (3,3) then    #4
      return true    
  return false

Use the compact utility listing to inspect the exact recognition procedure and its bipartite-partition test. section 15.2.3

How Advanced Algorithms and Data Structures covers it

How deep it goes
Defines K3,3 and implements recognition through vertex, edge, bipartite, and partition-size checks, without developing a full embedding proof.
Examples
Uses a six-vertex, nine-edge recognition routine with bipartite coloring and equal three-vertex partitions.
What you can do after
Diagnose a graph matching K3,3 and reject it as planar within a Kuratowski-based testing algorithm.
How it connects
Links K3,3 to bipartite graphs, planarity, Kuratowski’s theorem, Euler’s inequalities, and recursive graph reduction.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Advanced Algorithms and Data Structures. The section links point to the parts of the book it draws on.