ArticleslgStudy

mathematics

Sparse ruler

Sparse 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 Sparse ruler rather than just read about it. In short: A sparse ruler is a ruler in which some of the distance marks may be missing. More abstractly, a sparse ruler of length L with m marks is a sequence of integers a1,a2,...,am where 0=a1<a2<...<am=L.

Key takeaways

  • Sparse 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 Sparse ruler to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sparse ruler from memory before moving on to harder problems.

Reference excerpt

A sparse ruler is a ruler in which some of the distance marks may be missing. More abstractly, a sparse ruler of length L with m marks is a sequence of integers a1,a2,...,am where 0=a1<a2<...<am=L. The marks a1 and am correspond to the ends of the ruler. In order to measure the distance K, with 0≤K≤L there must be marks ai and aj such that aj−ai=K. A complete sparse ruler allows one to measure any integer distance up to its full length. A complete sparse ruler is called minimal if there is no complete sparse ruler of length L with m−1 marks. In other words, if any of the marks is removed one can no longer measure all of the distances, even if the marks could be rearranged. A complete sparse ruler is called maximal if there is no complete sparse ruler of greater length with m marks. Complete minimal rulers of length 135 and 136 require one more mark than those of lengths 124-134, 137 and 138. A sparse ruler is called optimal if it is both minimal and maximal. Since the number of distinct pairs of marks is m(m−1)/2, this is an upper bound on the length L of any maximal sparse ruler with m marks. This upper bound can be achieved only for 2, 3 or 4 marks. For larger numbers of marks, the difference between the optimal length and the bound grows gradually, and unevenly. For example, for 6 marks the upper bound is 15, but the maximal length is 13. There are 3 different configurations of sparse rulers of length 13 with 6 marks. One is {0, 1, 2, 6, 10, 13}. To measure a length of 7, say, with this ruler one would take the distance between the marks at 6 and 13. A Golomb ruler is a sparse ruler that requires all of the differences aj−ai be distinct. In general, a Golomb ruler with m marks will be considerably longer than an optimal sparse ruler with m marks, since m(m−1)/2 is a lower bound for the length of a Golomb ruler. A long Golomb ruler will have gaps, that is, it will have distances which it cannot measure. For example, the optimal Golomb ruler {0, 1, 4, 10, 12, 17} has length 17, but cannot measure lengths of 14 or 15.

Wichmann rulers A sequence of complete sparse rulers was discovered by Wichmann. Wichmann's rulers have the form W(r,s)=1r,r+1,(2r+1)r,(4r+3)s,(2r+2)(r+1),1r, where ab represents b segments of length a. Thus, if r=1 and s=2, then W(1,2) has (in order): 1 segment of length 1, 1 segment of length 2, 1 segment of length 3, 2 segments of length 7, 2 segments of length 4, 1 segment of length 1. A minor variant is w(r,s)=1r,r+1,(2r+1)(r+1),(4r+3)s,(2r+2)r,1r,, with a length one less than W(r,s). W(1,2) gives the ruler {0, 1, 3, 6, 13, 20, 24, 28, 29}, while w(1,2) gives {0, 1, 3, 6, 9, 16, 23, 27, 28}. The length of a Wichmann ruler is 4r(r+s+2)+3(s+1) and the number of marks is 4r+s+3. Many (but not all) Wichmann rulers are optimal, and Wichmann speculated that all sufficiently large optimal rulers are of this type. None of the optimal rulers of length 1, 13, 17, 23 and 58 follow this pattern, but no further non-Wichmann optimal rulers are known and there are known to be no others up to length 213.

Asymptotics For every n let l(n) be the smallest number of marks for a ruler of length n. For example, l(6)=4. The asymptotic of the function l(n) was studied by Erdos, Gal (1948) and continued by Leech (1956) and Wichmann (1963), who proved that the limit limn→∞l(n)2/n exists and is lower and upper bounded by max0<θ<2π2(1−sin⁡(θ)θ)=2.434...≤limn→∞l(n)2n=infn∈ℕ(l(n)+2)2n+1≤3. Better upper bounds exist for n-perfect rulers. Those are subsets A of ℕ such that each positive number k≤n can be written as a difference k=a−b for some a,b∈A. For every number n let k(n) be the smallest cardinality of an n-perfect ruler. It is clear that k(n)≤l(n). The asymptotics of the sequence k(n) was studied by Redei, Renyi (1949) and then by Leech (1956) and Golay (1972). Due to their efforts the following stronger upper bound was obtained: limn→∞k(n)2n=infn∈ℕk(n)2n≤12826166=2.6571...<83.

Examples The following are examples of minimal sparse rulers. Optimal rulers are highlighted. When there are too many to list, not all are included. Mirror images are not shown.

Incomplete sparse rulers A few incomplete rulers can fully measure up to a longer distance than an optimal sparse ruler with the same number of marks. {0,2,7,14,15,18,24}, {0,2,7,13,16,17,25}, {0,5,7,13,16,17,31}, and {0,6,10,15,17,18,31} can each measure up to 18, while an optimal sparse ruler with 7 marks can measure only up to 17. The table below lists these rulers, up to rulers with 13 marks. Mirror images are not shown. Rulers that can fully measure up to a longer distance than any shorter ruler with the same number of marks are highlighted.

See also Gauge block Golomb ruler Perfect ruler

References

http://www.luschny.de/math/rulers/prulers.html http://oeis.org/wiki/User:Peter_Luschny/PerfectRulers http://www.iwriteiam.nl/Ha_sparse_rulers.html http://www.maa.org/editorial/mathgames/mathgames_11_15_04.html http://www.contestcen.com/scale.htm http://members.cox.net/wnmyers/sparse_rulers.txt

Worked examples

Example 1 — a first encounter with Sparse ruler

Start with the simplest possible case. Write down what Sparse 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 Sparse 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 Sparse 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 Sparse ruler

In research
Sparse 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 Sparse 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
Sparse ruler is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorics, Length, distance, or range measuring devices, Number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Sparse 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 “Sparse ruler” →

How to study Sparse ruler in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sparse 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 Sparse ruler out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sparse ruler in simple terms?

A sparse ruler is a ruler in which some of the distance marks may be missing. More abstractly, a sparse ruler of length L with m marks is a sequence of integers a1,a2,...,am where 0=a1<a2<...<am=L.

Why does Sparse 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 Sparse 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 Sparse ruler.

Tags

  • Combinatorics
  • Length, distance, or range measuring devices
  • Number theory

Keep exploring