2.1 Integer Length and Integer Distance
We consider the lattice . A line is integer if it contains at least two integer points. In other words, this means that the integer segments contained in this line form a full-rank lattice. An integer segment is a segment with endpoints in .
Definition 2.1.1.
The integer length of a segment is the number of lattice points that the closure of this segment contains, minus one.
Definition 2.1.2.
The integer distance between two points is the integer length of the line segment between these points.
Example 2.1.3.
Consider the segment with endpoints and .
In Figure 1, we see that the segment contains lattice points , , and . Hence, the integer length is given by
Theorem 2.1.4.
The integer length of segment with endpoints and is given by
Proof.
First, we will show that .
Let be a positive integer such that and . Then for integers we have that the segment contains the point of the form:
Thus To establish the best lower bound on , we choose . This gives the inequality
Next, we will show that
From the definition, we have equally spaced lattice points in the closed segment . The complement of lattice points over this segment thus separates into connected components.
Hence and . Hence . Since only if we get that .
Combining both halves of the proof, we find that:
hence
Remark 2.1.5.
The above proof generalises to higher-dimensional cases. Let be a line sector with end points and . Then .
Example 2.1.6.
Consider the segment between points and .
Similarly to Example 2.1.3, we see from Figure 2 that the segment passes through lattice points , , , and . From Definition 2.1.1, this gives that
On the other hand, using Theorem 2.1.4, we have that
Definition 2.1.7.
Let be real, linearly-independent -dimensional vectors. A lattice with basis is the set of points such that there exist integers that satisfy:
Definition 2.1.8.
Let be a lattice generated by basis and be a sublattice generated by basis , and let be a sublattice of . Then the index of is given
Remark 2.1.9.
For sublattices of , notice that
Hence, the index of a sublattice of is given by the determinant of its basis.
Definition 2.1.10.
Let be an integer line and be an integer point. Then the integer distance between and is, for all points that lie on , the index of the sublattice generated by vectors .
Remark 2.1.11.
Let be an integer line, and and integer point, with vectors , such that the point is on the line and is an integer unit vector along the line L. Then the integer distance is given
Proposition 2.1.12.
Consider point and line . Then is one more than the number of integer lines parallel to between (but not including) and the parallel line containing .