ArticleslgStudy

mathematics

Dedekind sum

Dedekind sum 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 Dedekind sum rather than just read about it. In short: In mathematics, Dedekind sums are certain finite sums of products of a sawtooth function. Dedekind introduced them in the 1880's to express the functional equation of the Dedekind eta function, in a commentary to Bernhard Riemann's collected papers..

Key takeaways

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

Reference excerpt

In mathematics, Dedekind sums are certain finite sums of products of a sawtooth function. Dedekind introduced them in the 1880's to express the functional equation of the Dedekind eta function, in a commentary to Bernhard Riemann's collected papers.. They have subsequently been much studied in number theory but also occur in some results in topology, geometric combinatorics, algebraic geometry, and computational complexity. Dedekind sums have been generalized in various directions, satisfying a large number of functional equations; this article lists only a small fraction of these.

Definition Define the sawtooth function (()):ℝ→ℝ as

((x))={x−⌊x⌋−1/2,if x∈ℝ∖ℤ;0,if x∈ℤ. We then define the Dedekind sum

D:ℤ2×ℤ>0→ℚ by

D(a,b;c)=∑n=1c−1((anc))((bnc)). For the case a = 1, one often writes

s(b, c) = D(1, b; c).

Simple formulae Note that D is symmetric in a and b, i.e.,

D(a,b;c)=D(b,a;c), and that, by the oddness of (( )),

D(−a, b; c) = −D(a, b; c). By the periodicity of D in its first two arguments, the third argument being the length of the period for both,

D(a, b; c) = D(a+kc, b+lc; c), for all integers k,l. If d is a positive integer, then

D(ad, bd; cd) = dD(a, b; c), D(ad, bd; c) = D(a, b; c), if (d, c) = 1, D(ad, b; cd) = D(a, b; c), if (d, b) = 1. There is a proof for the last equality making use of

∑n=1c−1((n+xc))=((x)),∀x∈ℝ. Furthermore, az = 1 (mod c) implies D(a, b; c) = D(1, bz; c).

Alternative forms If b and c are coprime, we may write s(b, c) as

s(b,c)=−1c∑ω1(1−ωb)(1−ω)+14−14c, where the sum extends over the c-th roots of unity other than 1, i.e., over all ω such that ωc=1 and ω≠1. Equivalently, if b and c are coprime, then

s(b,c)=14c∑n=1c−1cot⁡(πnc)cot⁡(πnbc). This reformulation mirrors the fact that the above cotangent function is the discrete Fourier transform of the sawtooth function.

The reciprocity law Dedekind proved that, if b and c are coprime positive integers then

s(b,c)+s(c,b)=112(bc+1bc+cb)−14. There exist several proofs from first principles, and Dedekind's reciprocity law is equivalent to quadratic reciprocity. Rewriting the reciprocity law as

12bc(s(b,c)+s(c,b))=b2+c2−3bc+1, it follows that the number 6c s(b,c) is an integer. If k = (3, c) then

12bcs(c,b)=0modkc and

12bcs(b,c)=b2+1modkc. A relation that is prominent in the theory of the Dedekind eta function is the following. Let q = 3, 5, 7 or 13 and let n = 24/(q − 1). Then given integers a, b, c, d with ad − bc = 1 (thus belonging to the modular group), with c chosen so that c = kq for some integer k > 0, define

δ=s(a,c)−a+d12c−s(a,k)+a+d12k. Then nδ is an even integer.

Rademacher's generalization of the reciprocity law Hans Rademacher found the following generalization of the reciprocity law for Dedekind sums: If a, b, and c are pairwise coprime positive integers, then

D(a,b;c)+D(b,c;a)+D(c,a;b)=112a2+b2+c2abc−14. Hence, the above triple sum vanishes if and only if (a, b, c) is a Markov triple, i.e., a solution of the Markov equation

a2+b2+c2=3abc.

References

Further reading Tom M. Apostol, Modular functions and Dirichlet Series in Number Theory (1990), Springer-Verlag, New York. ISBN 0-387-97127-0 (See chapter 3.)

Worked examples

Example 1 — a first encounter with Dedekind sum

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

In research
Dedekind sum 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 Dedekind sum 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
Dedekind sum is common in secondary-school and first-year university syllabi. It links to neighbouring topics Modular forms, Number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Dedekind sum 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 “Dedekind sum” →

How to study Dedekind sum in 20 minutes

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

Frequently asked questions

What is Dedekind sum in simple terms?

In mathematics, Dedekind sums are certain finite sums of products of a sawtooth function. Dedekind introduced them in the 1880's to express the functional equation of the Dedekind eta function, in a commentary to Bernhard Riemann's collected papers..

Why does Dedekind sum 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 Dedekind sum?

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 Dedekind sum.

Tags

  • Modular forms
  • Number theory

Keep exploring