Chebyshev Functions

DOWNLOAD Mathematica Notebook

The two functions theta(x) and psi(x) defined below are known as the Chebyshev functions.

ChebyshevFunctionTheta

The function theta(x) is defined by

theta(x)=sum_(k=1)^(pi(x))lnp_k
(1)
=ln[product_(k=1)^(pi(x))p_k]
(2)
=lnx#
(3)

(Hardy and Wright 1979, p. 340), where p_k is the kth prime, pi(x) is the prime counting function, and x# is the primorial. This function has the limit

 lim_(x->infty)x/(theta(x))=1
(4)

and the asymptotic behavior

 theta(n)∼n
(5)

(Bach and Shallit 1996; Hardy 1999, p. 28; Havil 2003, p. 184). The notation theta(n) is also commonly used for this function (Hardy 1999, p. 27).

ChebyshevFunctionPsi

The related function psi(x) is defined by

psi(x)=sum_(p^nu<=x)lnp
(6)
=sum_(n<=x)Lambda(n),
(7)

where Lambda(n) is the Mangoldt function (Hardy and Wright 1979, p. 340; Edwards 2001, p. 51). Here, the sum runs over all primes p and positive integers nu such that p^nu<=x, and therefore potentially includes some primes multiple times. A simple and beautiful formula for psi(x) is given by

 psi(x)=ln[LCM(1,2,3,...,|_x_|)],
(8)

i.e., the logarithm of the least common multiple of the numbers from 1 to n (correcting Havil 2003, p. 184). The values of LCM(1,2,...,n) for n=1, 2, ... are 1, 2, 6, 12, 60, 60, 420, 840, 2520, 2520, ... (OEIS A003418; Selmer 1976). For example,

 psi(10)=ln2520=3ln2+2ln3+ln5+ln7.
(9)

The function also has asymptotic behavior

 psi(x)∼x
(10)

(Hardy 1999, p. 27; Havil 2003, p. 184).

The two functions are related by

 psi(x)=sum_(k=1)^(|_log_2x_|)theta(x^(1/k))
(11)

(Havil 2003, p. 184).

Chebyshev showed that pi(x)/(x/lnx), theta(x)/x, and psi(x)/x∼1 (Ingham 1995; Havil 2003, pp. 184-185).

According to Hardy (1999, p. 27), the functions theta(n) and psi(n) are in some ways more natural than the prime counting function pi(x) since they deal with multiplication of primes instead of the counting of them.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.