A2 — Johnson graphs, distance and diameter
Reading: Godsil & Royle, §1.6.
We convert graph theory into set theory. We investigate with and .
1. Sets and subsets
Section titled “1. Sets and subsets”Let . A -subset contains exactly elements. The ten 2-subsets are , where 12 denotes .
For and , their intersection is , while and .
For two -subsets,
This counts how many elements must be replaced to transform one set into another.
2. The graph family J(v,k,i)
Section titled “2. The graph family J(v,k,i)”Godsil and Royle define the vertices of as all -subsets of a fixed -element set. Distinct vertices are adjacent exactly when their intersection has size :
The order is , not . In there are six vertices, twelve edges and valency four. For example but .
Johnson adjacency explorer
Adjacent
3. Ordinary Johnson graphs
Section titled “3. Ordinary Johnson graphs”The conventional Johnson graph allows exactly one replacement per edge. For , the sets and are adjacent because their intersection has size three.
By contrast, allows exactly two replacements per edge: when . It is not enough that the sets differ in at most two elements; they must differ by exactly two replacements.
4. Distance and diameter
Section titled “4. Distance and diameter”The distance is the length of a shortest path between two vertices. The diameter of a connected graph is
It is the longest shortest path, not the longest path. Examples:
| Graph | Diameter |
|---|---|
| () | 1 |
| 2 |
5. Worked example: ordinary Johnson distance
Section titled “5. Worked example: ordinary Johnson distance”In , consider disjoint vertices and . Replace one element per step:
Ordinary Johnson graph: one replacement per edge
0 of 4 target elements acquired
More generally, let . At least steps are needed because one edge can introduce at most one required element. Conversely, replacing one unwanted element with one needed element at each step yields a path of length . Thus
The two arguments are a lower bound and an upper bound. To prove an exact distance, both are needed.
6. The complication with two replacements
Section titled “6. The complication with two replacements”In , disjoint sets and have a path of length two. Each edge replaces two elements, so this is shortest.
But and are not adjacent, despite differing by just one element. Their intersection has size three instead of two. A possible intermediate vertex is :
Both intersections along the path have size two. Thus their distance is two, not one.
For an odd number of required replacements, a temporary element may be necessary. Think carefully about the final three replacements, and the special case of a single replacement.
7. Ceiling and floor functions
Section titled “7. Ceiling and floor functions”The floor rounds down to an integer; the ceiling rounds up. For example and . Seven required replacements, at most two per move, need at least moves. This does not itself construct the path.
8. A general lower bound
Section titled “8. A general lower bound”Take arbitrary vertices of and put . A path can introduce at most two new elements of per step. Thus , so
9. Why the underlying set has at least 2k+1 elements
Section titled “9. Why the underlying set has at least 2k+1 elements”By inclusion–exclusion,
Even two disjoint -subsets leave at least one spare element. When the sets are almost equal, there are even more spare elements. Such elements can be used temporarily to build legal two-replacement paths.
10. Computational investigation
Section titled “10. Computational investigation”Exact shortest paths by breadth-first search
| Intersection | Replacements | Distance |
|---|---|---|
| 0 | 4 | 2 |
| 1 | 3 | 2 |
| 2 | 2 | 1 |
| 3 | 1 | 2 |
| 4 | 0 | 0 |
Finite experiments suggest a conjecture, not a proof. Each consecutive displayed pair is adjacent. Permutations of the underlying set act transitively, so one BFS determines the diameter.
Observe distances for and for intersection size . Can you conjecture a formula? The breadth-first search verifies finite cases, not all possible values of the parameters.
11. Practice exercises
Section titled “11. Practice exercises”Find the order of J(7,3,1).
Are 1234 and 2356 adjacent in J(9,4,2)?
Yes, their intersection is .
Distance between disjoint vertices of J(10,5,4)?
Five, because exactly one element is replaced per edge.
Find a shortest path from 1–6 to 7–12 in J(13,6,4).
The lower bound is three, so the path is shortest.
In J(7,3,1), find a two-edge path from 123 to 124.
Use as the intermediate vertex; both adjacent intersections have size one.
If two k-subsets intersect in k−3 elements, what lower bound can you establish?
At least steps.
Knowledge check
0/6 answered
12. Proof challenge
Section titled “12. Proof challenge”Define for arbitrary vertices. Establish the lower bound. Construct paths for even , odd , and separately (also note ). Explain why sufficient spare elements exist. Then maximise over all pairs, examining disjoint subsets and exceptional small values of . The full general proof is left for you to construct.
Your lesson progress
0/5 available lessons marked complete · 0%