# Chebyshev function

In mathematics, the Chebyshev function is either of two related functions. The first Chebyshev function ϑ(x) or θ(x) is given by

$\vartheta (x)=\sum _{p\leq x}\log p$ with the sum extending over all prime numbers p that are less than or equal to x.

The second Chebyshev function ψ(x) is defined similarly, with the sum extending over all prime powers not exceeding x

$\psi (x)=\sum _{k\in \mathbb {N} }\sum _{p^{k}\leq x}\log p=\sum _{n\leq x}\Lambda (n)=\sum _{p\leq x}\left\lfloor \log _{p}x\right\rfloor \log p,$ where Λ is the von Mangoldt function. The Chebyshev functions, especially the second one ψ(x), are often used in proofs related to prime numbers, because it is typically simpler to work with them than with the prime-counting function, π(x) (See the exact formula, below.) Both Chebyshev functions are asymptotic to x, a statement equivalent to the prime number theorem.

Both functions are named in honour of Pafnuty Chebyshev.

## Relationships

The second Chebyshev function can be seen to be related to the first by writing it as

$\psi (x)=\sum _{p\leq x}k\log p$ where k is the unique integer such that pkx and x < pk + 1. The values of k are given in . A more direct relationship is given by

$\psi (x)=\sum _{n=1}^{\infty }\vartheta \left(x^{\frac {1}{n}}\right).$ Note that this last sum has only a finite number of non-vanishing terms, as

$\vartheta \left(x^{\frac {1}{n}}\right)=0\quad {\text{for}}\quad n>\log _{2}x\ ={\frac {\log x}{\log 2}}.$ The second Chebyshev function is the logarithm of the least common multiple of the integers from 1 to n.

$\operatorname {lcm} (1,2,\dots ,n)=e^{\psi (n)}.$ Values of lcm(1,2,...,n) for the integer variable n is given at .

## Asymptotics and bounds

The following bounds are known for the Chebyshev functions: (in these formulas pk is the kth prime number p1 = 2, p2 = 3, etc.)

{\begin{aligned}\vartheta (p_{k})&\geq k\left(\ln k+\ln \ln k-1+{\frac {\ln \ln k-2.050735}{\ln k}}\right)&&{\text{for }}k\geq 10^{11},\\[8px]\vartheta (p_{k})&\leq k\left(\ln k+\ln \ln k-1+{\frac {\ln \ln k-2}{\ln k}}\right)&&{\text{for }}k\geq 198,\\[8px]|\vartheta (x)-x|&\leq 0.006788{\frac {x}{\ln x}}&&{\text{for }}x\geq 10\,544\,111,\\[8px]|\psi (x)-x|&\leq 0.006409{\frac {x}{\ln x}}&&{\text{for }}x\geq e^{22},\\[8px]0.9999{\sqrt {x}}&<\psi (x)-\vartheta (x)<1.00007{\sqrt {x}}+1.78{\sqrt[{3}]{x}}&&{\text{for }}x\geq 121.\end{aligned}} Furthermore, under the Riemann hypothesis,

{\begin{aligned}|\vartheta (x)-x|&=O\left(x^{{\frac {1}{2}}+\varepsilon }\right)\\|\psi (x)-x|&=O\left(x^{{\frac {1}{2}}+\varepsilon }\right)\end{aligned}} for any ε > 0.

Upper bounds exist for both ϑ(x) and ψ(x) such that, 

{\begin{aligned}\vartheta (x)&<1.000028x\\\psi (x)&<1.03883x\end{aligned}} for any x > 0.

An explanation of the constant 1.03883 is given at .

## The exact formula

In 1895, Hans Carl Friedrich von Mangoldt proved an explicit expression for ψ(x) as a sum over the nontrivial zeros of the Riemann zeta function:

$\psi _{0}(x)=x-\sum _{\rho }{\frac {x^{\rho }}{\rho }}-{\frac {\zeta '(0)}{\zeta (0)}}-{\tfrac {1}{2}}\log(1-x^{-2}).$ (The numerical value of ζ′(0)/ζ(0) is log(2π).) Here ρ runs over the nontrivial zeros of the zeta function, and ψ0 is the same as ψ, except that at its jump discontinuities (the prime powers) it takes the value halfway between the values to the left and the right:

$\psi _{0}(x)={\tfrac {1}{2}}\left(\sum _{n\leq x}\Lambda (n)+\sum _{n From the Taylor series for the logarithm, the last term in the explicit formula can be understood as a summation of xω/ω over the trivial zeros of the zeta function, ω = −2, −4, −6, ..., i.e.

$\sum _{k=1}^{\infty }{\frac {x^{-2k}}{-2k}}={\tfrac {1}{2}}\log \left(1-x^{-2}\right).$ Similarly, the first term, x = x1/1, corresponds to the simple pole of the zeta function at 1. It being a pole rather than a zero accounts for the opposite sign of the term.

## Properties

A theorem due to Erhard Schmidt states that, for some explicit positive constant K, there are infinitely many natural numbers x such that

$\psi (x)-x<-K{\sqrt {x}}$ and infinitely many natural numbers x such that

$\psi (x)-x>K{\sqrt {x}}.$ In little-o notation, one may write the above as

$\psi (x)-x\neq o\left({\sqrt {x}}\right).$ Hardy and Littlewood prove the stronger result, that

$\psi (x)-x\neq o\left({\sqrt {x}}\log \log \log x\right).$ ## Relation to primorials

The first Chebyshev function is the logarithm of the primorial of x, denoted x#:

$\vartheta (x)=\sum _{p\leq x}\log p=\log \prod _{p\leq x}p=\log \left(x\#\right).$ This proves that the primorial x# is asymptotically equal to e(1 + o(1))x, where "o" is the little-o notation (see big O notation) and together with the prime number theorem establishes the asymptotic behavior of pn#.

## Relation to the prime-counting function

The Chebyshev function can be related to the prime-counting function as follows. Define

$\Pi (x)=\sum _{n\leq x}{\frac {\Lambda (n)}{\log n}}.$ Then

$\Pi (x)=\sum _{n\leq x}\Lambda (n)\int _{n}^{x}{\frac {dt}{t\log ^{2}t}}+{\frac {1}{\log x}}\sum _{n\leq x}\Lambda (n)=\int _{2}^{x}{\frac {\psi (t)\,dt}{t\log ^{2}t}}+{\frac {\psi (x)}{\log x}}.$ The transition from Π to the prime-counting function, π, is made through the equation

$\Pi (x)=\pi (x)+{\tfrac {1}{2}}\pi \left({\sqrt {x}}\right)+{\tfrac {1}{3}}\pi \left({\sqrt[{3}]{x}}\right)+\cdots$ Certainly π(x) ≤ x, so for the sake of approximation, this last relation can be recast in the form

$\pi (x)=\Pi (x)+O\left({\sqrt {x}}\right).$ ## The Riemann hypothesis

The Riemann hypothesis states that all nontrivial zeros of the zeta function have real part 1/2. In this case, |xρ| = x, and it can be shown that

$\sum _{\rho }{\frac {x^{\rho }}{\rho }}=O\left({\sqrt {x}}\log ^{2}x\right).$ By the above, this implies

$\pi (x)=\operatorname {li} (x)+O\left({\sqrt {x}}\log x\right).$ Good evidence that the hypothesis could be true comes from the fact proposed by Alain Connes and others, that if we differentiate the von Mangoldt formula with respect to x we get x = eu. Manipulating, we have the "Trace formula" for the exponential of the Hamiltonian operator satisfying

$\left.\zeta \left({\tfrac {1}{2}}+i{\hat {H}}\right)\right|n\geq \zeta \left({\tfrac {1}{2}}+iE_{n}\right)=0,$ and

$\sum _{n}e^{iuE_{n}}=Z(u)=e^{\frac {u}{2}}-e^{-{\frac {u}{2}}}{\frac {d\psi _{0}}{du}}-{\frac {e^{\frac {u}{2}}}{e^{3u}-e^{u}}}=\operatorname {Tr} \left(e^{iu{\hat {H}}}\right),$ where the "trigonometric sum" can be considered to be the trace of the operator (statistical mechanics) eiuĤ, which is only true if ρ = 1/2 + iE(n).

Using the semiclassical approach the potential of H = T + V satisfies:

${\frac {Z(u)u^{\frac {1}{2}}}{\sqrt {\pi }}}\sim \int _{-\infty }^{\infty }e^{i\left(uV(x)+{\frac {\pi }{4}}\right)}\,dx$ with Z(u) → 0 as u → ∞.

solution to this nonlinear integral equation can be obtained (among others) by

$V^{-1}(x)\approx {\sqrt {4\pi }}\cdot {\frac {d^{\frac {1}{2}}}{dx^{\frac {1}{2}}}}N(x)$ in order to obtain the inverse of the potential:

$\pi N(E)=\operatorname {Arg} \xi \left({\tfrac {1}{2}}+iE\right).$ ## Smoothing function

The smoothing function is defined as

$\psi _{1}(x)=\int _{0}^{x}\psi (t)\,dt.$ It can be shown that

$\psi _{1}(x)\sim {\frac {x^{2}}{2}}.$ ## Variational formulation

The Chebyshev function evaluated at x = et minimizes the functional

$J[f]=\int _{0}^{\infty }{\frac {f(s)\zeta '(s+c)}{\zeta (s+c)(s+c)}}\,ds-\int _{0}^{\infty }\!\!\!\int _{0}^{\infty }e^{-st}f(s)f(t)\,ds\,dt,$ so

$f(t)=\psi \left(e^{t}\right)e^{-ct}\quad {\text{for }}c>0.$
{"ft_lang_label":"__label__en","ft_lang_prob":0.8035888,"math_prob":0.99992764,"size":5830,"snap":"2020-45-2020-50","text_gpt3_token_len":1589,"char_repetition_ratio":0.14641263,"word_repetition_ratio":0.026776519,"special_character_ratio":0.25986278,"punctuation_ratio":0.13745704,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000055,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64],"im_url_duplicate_count":[null,null,null,3,null,5,null,5,null,5,null,5,null,3,null,5,null,5,null,5,null,5,null,5,null,7,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null,5,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-01T19:21:05Z\",\"WARC-Record-ID\":\"<urn:uuid:26f4280e-6ee1-4696-9ae5-fb1b2ad0ebc8>\",\"Content-Length\":\"142967\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6b6b0ef1-ac71-44a6-ad15-428c748e72c3>\",\"WARC-Concurrent-To\":\"<urn:uuid:2ed8ad6c-cc37-41bd-9dda-50493927d22d>\",\"WARC-IP-Address\":\"208.80.153.224\",\"WARC-Target-URI\":\"https://en.wikipedia.org/wiki/Chebyshev_function\",\"WARC-Payload-Digest\":\"sha1:UJH5IYKH7QYBONG3HGBWRA5ZZDHUU7ZX\",\"WARC-Block-Digest\":\"sha1:B7ZVSELDLFTL3U477MKOTUMQBWJLN46O\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141681209.60_warc_CC-MAIN-20201201170219-20201201200219-00146.warc.gz\"}"}