ArticleslgStudy

mathematics

Golomb ruler

Golomb ruler is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Golomb ruler rather than just read about it. In short: In mathematics, a Golomb ruler is a set of marks at integer positions along a ruler such that no two pairs of marks are the same distance apart. The number of marks on the ruler is its order, and the largest distance between two of its marks is its length.

Golomb ruler — main illustration
Golomb ruler — illustration

Key takeaways

  • Golomb ruler belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Golomb ruler to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Golomb ruler from memory before moving on to harder problems.

Reference excerpt

In mathematics, a Golomb ruler is a set of marks at integer positions along a ruler such that no two pairs of marks are the same distance apart. The number of marks on the ruler is its order, and the largest distance between two of its marks is its length. Translation and reflection of a Golomb ruler are considered trivial, so the smallest mark is customarily put at 0 and the next mark at the smaller of its two possible values. Golomb rulers can be viewed as a one-dimensional special case of Costas arrays. The Golomb ruler was named for Solomon W. Golomb and discovered independently by Sidon (1932) and Babcock (1953). Sophie Piccard also published early research on these sets, in 1939, stating as a theorem the claim that two Golomb rulers with the same distance set must be congruent. This turned out to be false for six-point rulers, but true otherwise. There is no requirement that a Golomb ruler be able to measure all distances up to its length, but if it does, it is called a perfect Golomb ruler. It has been proved that no perfect Golomb ruler exists for five or more marks. A Golomb ruler is optimal if no shorter Golomb ruler of the same order exists. Creating Golomb rulers is easy, but proving the optimal Golomb ruler (or rulers) for a specified order is computationally very challenging. Distributed.net has completed distributed massively parallel searches for optimal order-24 through order-28 Golomb rulers, each time confirming the suspected candidate ruler. Currently, the complexity of finding optimal Golomb rulers (OGRs) of arbitrary order n (where n is given in unary) is unknown. In the past there was some speculation that it is an NP-hard problem. Problems related to the construction of Golomb rulers are provably shown to be NP-hard, where it is also noted that no known NP-complete problem has a similar flavor to finding Golomb rulers. Golomb rulers have practical applications in information theory and error correction, radio frequency selection and antenna placement, as well as current transformers.

Definitions

Golomb rulers as sets A set of integers A={a1,a2,...,am} where a1<a2<...<am is a Golomb ruler if and only if

for all i,j,k,l∈{1,2,...,m}such that i≠j and k≠l, ai−aj=ak−al⟺i=k and j=l. The order of such a Golomb ruler is m and its length is am−a1. The canonical form has a1=0 and, if m>2, a2−a1<am−am−1. Such a form can be achieved through translation and reflection.

Golomb rulers as functions An injective function f:{1,2,...,m}→{0,1,...,n} with f(1)=0 and f(m)=n is a Golomb ruler if and only if

for all i,j,k,l∈{1,2,...,m}such that i≠j and k≠l,f(i)−f(j)=f(k)−f(l)⟺i=k and j=l. The order of such a Golomb ruler is m and its length is n. The canonical form has

f(2)<f(m)−f(m−1) if m>2.

Optimality A Golomb ruler of order m with length n may be optimal in either of two respects:

It may be optimally dense, exhibiting maximal m for the specific value of n, It may be optimally short, exhibiting minimal n for the specific value of m. The general term optimal Golomb ruler is used to refer to the second type of optimality.

Mathematical formulation An optimization-based approach to find an optimal Golomb ruler of order n can be formulated as the following mixed-integer nonlinear programming (MINLP) problem. Let xi ∈ {0,1} be binary variables indicating the presence of a mark at position i, for i = 1, ..., Lu, where Lu is an upper bound on the length of the ruler. Let t be a continuous variable representing the total length of the ruler. The problem is formulated as:

mint≥0, xi∈{0,1}ts.t.i⋅xi≤t,for i=1,…,Lu,∑i=1Luxi=n−1,xj+∑i=1Lu−jxixi+j≤1,for j=1,…,Lu−1. In this model, the variables xi define the ruler marks, and the constraint involving the bilinear terms xixi+j ensures that all pairwise distances are distinct. The objective is to minimize the largest marked position, which corresponds to the ruler's length.

Practical applications

Information theory and error correction Golomb rulers are used within information theory related to error correcting codes.

Radio frequency selection Golomb rulers are used in the selection of radio frequencies to reduce the effects of intermodulation interference with both terrestrial and extraterrestrial applications.

Radio antenna placement Golomb rulers are used in the design of phased arrays of radio antennas. In radio astronomy one-dimensional synthesis arrays can have the antennas in a Golomb ruler configuration in order to obtain minimum redundancy of the Fourier component sampling.

Current transformers Multi-ratio current transformers use Golomb rulers to place transformer tap points.

Methods of construction A number of construction methods produce asymptotically optimal Golomb rulers.

Erdős–Turán construction

The following construction, due to Paul Erdős and Pál Turán, produces a Golomb ruler for every odd prime p.

2pk+(k2modp),k∈[0,p−1]

Known optimal Golomb rulers The following table contains all known optimal Golomb rulers, excluding those with marks in the reverse order. The first four are perfect.

^ * The optimal ruler would have been known before this date; this date represents that date when it was discovered to be optimal (because all other rulers were proved to not be smaller). For example, the ruler that turned out to be optimal for order 26 was recorded on 10 October 2007, but it was not known to be optimal until all other possibilities were exhausted on 24 February 2009.

See also Costas array Volunteer computing BOINC distributed.net Perfect ruler Sidon sequence Sparse ruler

References

Gardner, Martin (March 1972). "Mathematical games". Scientific American. 226 (3): 108–112. Bibcode:1972SciAm.226c.108G. doi:10.1038/scientificamerican0372-108.

External links James B. Shearer's Golomb ruler pages distributed.net: Project OGR In Search Of The Optimal 20, 21 & 22 Mark Golomb Rulers Golomb rulers up to length of over 200

Illustrations

Golomb ruler: Golomb ruler of order 4 and length 6. This ruler is both optimal and perfect.
Golomb ruler of order 4 and length 6. This ruler is both optimal and perfect.
Golomb ruler: The perfect circular Golomb rulers (also called difference sets) with the specified order. (This preview should show multiple concentric circles. If not, click to view a larger version.)
The perfect circular Golomb rulers (also called difference sets) with the specified order. (This preview should show multiple concentric circles. If not, click to view a larger version.)
Golomb ruler: Example of a conference room with proportions of a [0, 2, 7, 8, 11] Golomb ruler, making it configurable to 10 different sizes.[13]
Example of a conference room with proportions of a [0, 2, 7, 8, 11] Golomb ruler, making it configurable to 10 different sizes.[13]

Worked examples

Example 1 — a first encounter with Golomb ruler

Start with the simplest possible case. Write down what Golomb ruler claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Golomb ruler before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Golomb ruler ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Golomb ruler

In research
Golomb ruler appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Golomb ruler in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Golomb ruler is common in secondary-school and first-year university syllabi. It links to neighbouring topics Antennas (radio), Distributed computing projects, Length, distance, or range measuring devices, so understanding it makes those chapters shorter.
In everyday life
Look for Golomb ruler outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Golomb ruler” →

How to study Golomb ruler in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Golomb ruler means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Golomb ruler out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Golomb ruler in simple terms?

In mathematics, a Golomb ruler is a set of marks at integer positions along a ruler such that no two pairs of marks are the same distance apart. The number of marks on the ruler is its order, and the largest distance between two of its marks is its length.

Why does Golomb ruler matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Golomb ruler?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Golomb ruler.

Tags

  • Antennas (radio)
  • Distributed computing projects
  • Length, distance, or range measuring devices
  • Number theory

Keep exploring