ArticleslgStudy

mathematics

Liouville function

Liouville function 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 Liouville function rather than just read about it. In short: In number theory, the Liouville function, named after French mathematician Joseph Liouville and denoted λ(n), is an important arithmetic function. Its value is 1 if n is the product of an even number of prime numbers, and −1 if it is the product of an odd number of prime numbers.

Liouville function — main illustration
Liouville function — illustration

Key takeaways

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

Reference excerpt

In number theory, the Liouville function, named after French mathematician Joseph Liouville and denoted λ(n), is an important arithmetic function. Its value is 1 if n is the product of an even number of prime numbers, and −1 if it is the product of an odd number of prime numbers.

Definition By the fundamental theorem of arithmetic, any positive integer n can be represented uniquely as a product of powers of primes:

n=p1a1⋯pkak, where p1,…,pk are primes and the exponents a1,…,ak are positive integers. The prime omega function Ω(n) counts the number of primes in the factorization of n with multiplicity:

Ω(n)=a1+a2+⋯+ak. Thus, the Liouville function is defined by

λ(n)=(−1)Ω(n) (sequence A008836 in the OEIS).

Properties Since Ω(n) is completely additive; i.e., Ω(ab)=Ω(a)+Ω(b), then λ(n) is completely multiplicative. Since 1 has no prime factors, Ω(1)=0, so λ(1)=1. λ(n) is also related to the Möbius function μ(n): if we write n as n=a2b, where b is squarefree, then

λ(n)=μ(b). The sum of the Liouville function over the divisors of n is the characteristic function of the squares:

∑d|nλ(d)={1if n is a perfect square,0otherwise. Möbius inversion of this formula yields

λ(n)=∑d2|nμ(nd2). The Dirichlet inverse of the Liouville function is the absolute value of the Möbius function, λ−1(n)=|μ(n)|=μ2(n), the characteristic function of the squarefree integers.

Series The Dirichlet series for the Liouville function is related to the Riemann zeta function by

ζ(2s)ζ(s)=∑n=1∞λ(n)ns. Also:

∑n=1∞λ(n)ln⁡nn=−ζ(2)=−π26. The Lambert series for the Liouville function is

∑n=1∞λ(n)qn1−qn=∑n=1∞qn2=12(ϑ3(q)−1), where ϑ3(q) is the Jacobi theta function.

Conjectures on weighted summatory functions

The Pólya problem is a question raised made by George Pólya in 1919. Defining

L(n)=∑k=1nλ(k) (sequence A002819 in the OEIS), the problem asks whether L(n) ≤ 0 for all n > 1. The answer turns out to be no. The smallest counter-example is n = 906150257, found by Minoru Tanaka in 1980. It has since been shown that L(n) > 0.0618672√n for infinitely many positive integers n, while it can also be shown via the same methods that L(n) < −1.3892783√n for infinitely many positive integers n. For any ε>0, assuming the Riemann hypothesis, we have that the summatory function L(x)≡L0(x) is bounded by

L(x)=O(xexp⁡(C⋅log1/2(x)(log⁡log⁡x)5/2+ε)), where the C>0 is some absolute limiting constant. Define the related sum

T(n)=∑k=1nλ(k)k. It was open for some time whether T(n) ≥ 0 for sufficiently big n ≥ n0 (this conjecture is occasionally—though incorrectly—attributed to Pál Turán). This was then disproved by Haselgrove (1958), who showed that T(n) takes negative values infinitely often. A confirmation of this positivity conjecture would have led to a proof of the Riemann hypothesis, as was shown by Pál Turán.

Generalizations More generally, we can consider the weighted summatory functions over the Liouville function defined for any α∈ℝ as follows for positive integers x where (as above) we have the special cases L(x):=L0(x) and T(x)=L1(x)

Lα(x):=∑n≤xλ(n)nα. These α−1-weighted summatory functions are related to the Mertens function, or weighted summatory functions of the Möbius function. In fact, we have that the so-termed non-weighted, or ordinary, function L(x) precisely corresponds to the sum

L(x)=∑d2≤xM(xd2)=∑d2≤x∑n≤xd2μ(n). Moreover, these functions satisfy similar bounding asymptotic relations. For example, whenever 0≤α≤12, we see that there exists an absolute constant Cα>0 such that

Lα(x)=O(x1−αexp⁡(−Cα(log⁡x)3/5(log⁡log⁡x)1/5)). By an application of Perron's formula, or equivalently by a key (inverse) Mellin transform, we have that

ζ(2α+2s)ζ(α+s)=s⋅∫1∞Lα(x)xs+1dx, which then can be inverted via the inverse transform to show that for x>1, T≥1 and 0≤α<12

Lα(x)=12πı∫σ0−ıTσ0+ıTζ(2α+2s)ζ(α+s)⋅xssds+Eα(x)+Rα(x,T), where we can take σ0:=1−α+1/log⁡(x), and with the remainder terms defined such that Eα(x)=O(x−α) and Rα(x,T)→0 as T→∞. In particular, if we assume that the Riemann hypothesis (RH) is true and that all of the non-trivial zeros, denoted by ρ=12+ıγ, of the Riemann zeta function are simple, then for any 0≤α<12 and x≥1 there exists an infinite sequence of {Tv}v≥1 which satisfies that v≤Tv≤v+1 for all v such that

Lα(x)=x1/2−α(1−2α)ζ(1/2)+∑|γ|<Tvζ(2ρ)ζ′(ρ)⋅xρ−α(ρ−α)+Eα(x)+Rα(x,Tv)+Iα(x), where for any increasingly small 0<ε<12−α we define

Iα(x):=12πı⋅xα∫ε+α−ı∞ε+α+ı∞ζ(2s)ζ(s)⋅xs(s−α)ds, and where the remainder term

Rα(x,T)≪x−α+x1−αlog⁡(x)T+x1−αT1−εlog⁡(x), which of course tends to 0 as T→∞. These exact analytic formula expansions again share similar properties to those corresponding to the weighted Mertens function cases. Additionally, since ζ(1/2)<0 we have another similarity in the form of Lα(x) to M(x) insomuch as the dominant leading term in the previous formulas predicts a negative bias in the values of these functions over the positive natural numbers x.

References

Pólya, G. (1919). "Verschiedene Bemerkungen zur Zahlentheorie". Jahresbericht der Deutschen Mathematiker-Vereinigung. 28: 31–40. Haselgrove, C. Brian (1958). "A disproof of a conjecture of Pólya". Mathematika. 5 (2): 141–145. doi:10.1112/S0025579300001480. ISSN 0025-5793. MR 0104638. Zbl 0085.27102. Lehman, R. (1960). "On Liouville's function". Mathematics of Computation. 14 (72): 311–320. doi:10.1090/S0025-5718-1960-0120198-5. MR 0120198. Tanaka, Minoru (1980). "A Numerical Investigation on Cumulative Sum of the Liouville Function". Tokyo Journal of Mathematics. 3 (1): 187–189. doi:10.3836/tjm/1270216093. MR 0584557. Weisstein, Eric W. "Liouville Function". MathWorld. A.F. Lavrik (2001) [1994], "Liouville function", Encyclopedia of Mathematics, EMS Press

Illustrations

Liouville function: Summatory Liouville function L(n) up to n = 107. Note the apparent scale invariance of the oscillations.
Summatory Liouville function L(n) up to n = 107. Note the apparent scale invariance of the oscillations.
Liouville function: Logarithmic graph of the negative of the summatory Liouville function L(n) up to n = 2 × 109. The green spike shows the function itself (not its negative) in the narrow region where the Pólya conjecture  fails; the blue curve shows the oscillatory contribution of the first Riemann zero.
Logarithmic graph of the negative of the summatory Liouville function L(n) up to n = 2 × 109. The green spike shows the function itself (not its negative) in the narrow region where the Pólya conjecture fails; the blue curve shows the oscillatory contribution of the first Riemann zero.
Liouville function: Harmonic Summatory Liouville function T(n) up to n = 103
Harmonic Summatory Liouville function T(n) up to n = 103

Worked examples

Example 1 — a first encounter with Liouville function

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

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

How to study Liouville function in 20 minutes

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

Frequently asked questions

What is Liouville function in simple terms?

In number theory, the Liouville function, named after French mathematician Joseph Liouville and denoted λ(n), is an important arithmetic function. Its value is 1 if n is the product of an even number of prime numbers, and −1 if it is the product of an odd number of prime numbers.

Why does Liouville function 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 Liouville function?

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 Liouville function.

Tags

  • Multiplicative functions

Keep exploring