Part I · The puzzle · Lesson 2
Rotations that never overlap too much
Translates of a difference set meet in exactly λ points, which is the clue that leads to geometry.
You’ll learn: what happens when you turn a difference set around the clock, and why two turned copies always overlap in the same number of points.
Turning the clock
Take the set on the seven-hour clock and add 1 to every member. You get : the same shape, turned one step clockwise. Add 2 instead and you get . Add 5 and you get , and since (see the notation box in Lesson 1), that is .
The translate is the set you get by adding to every member of , working mod . It is turned steps clockwise.
A turned copy has the same differences as the original, because . So every translate of a difference set is again a difference set with the same , , and .
How much do two copies overlap?
Below, is drawn in red and in green; a point in both is red with a green ring. Drag the sliders, or press j + 1 to keep turning the green copy.
However you turn them, two different translates of share exactly one point. The table on the right shows this for every pair at once: the entry in row , column is the number of points that and have in common. On the diagonal, where , a copy is compared with itself and shares all points. Everywhere else the entry is 1.
Now switch the menu to Not one: {0, 1, 2} mod 7. The table fills with 0s, 1s, and 2s. Set the sliders to and : the copies and share two points. Set and they share none.
Why the overlap is always λ
The points that two sets have in common form their intersection, written with the symbol . So means “the points in both and ”. Let’s count them.
A point is in exactly when is in (turn it back steps and you land in ). So is in both sets exactly when
That makes and a pair of members of whose difference is . It works the other way too: any pair in with gives the shared point . So shared points and pairs with difference match up one for one:
The number of points shared by and equals the number of times occurs as a difference of .
In a difference set every nonzero occurs exactly times, so and share exactly points. The same holds for any two different translates and : turn both back steps and you are comparing with .
You can watch this in the widget. With and the copies share two points, and the difference 1 occurs twice in ( and ).
The same fact, seen from the points
Turn the question around. Pick two different points and on the clock. How many translates contain both of them?
The translate contains and exactly when and are both in . Those two members of have difference . Each pair in with difference gives one such , and different pairs give different . So:
Any two different points lie together in exactly translates of .
The clue: when λ = 1, translates behave like lines
Put the two facts side by side for a planar difference set, where :
- any two different points lie together in exactly one translate;
- any two different translates share exactly one point.
That is how lines behave in geometry. Through two points there is exactly one line, and two lines cross in at most one point. Here the “lines” are the translates , and they are better behaved than ordinary lines: no two are parallel, since every two of them meet.
There are of these lines, all different: two different translates share only one point, but a translate shares all of its points with itself. For that is 7 points and 7 lines, each line with 3 points. The next lesson draws this little geometry, and finds that it is a famous one.
Try it
Let on the 13-hour clock. Write down . Which point does it share with , and which pair of members of has difference 5?
Show the answer
, and , so . It shares exactly one point with : the point 1. The matching pair is and : indeed . You can check this in the widget above by choosing mod 13 and setting , .
The difference set workbench shows the translates of any set you build.