Fourier complex series for Pi(x)

Click For Summary

Discussion Overview

The discussion revolves around the application of Fourier series to the prime number counting function, denoted as π(x). Participants explore whether a Fourier series representation could be useful for approximating π(x) and locating prime numbers, while addressing the challenges and limitations of such an approach.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes a method to express π(x) as a Fourier series, questioning its utility given that π(x) is an integer and suggesting an error tolerance of 0.1 or 0.01.
  • Another participant expresses confusion regarding the notation and meaning of certain sums related to primes.
  • Concerns are raised about the applicability of Fourier series to non-periodic functions, with one participant suggesting that despite potential flaws, exploration should continue.
  • Participants reference existing asymptotic formulas for π(x) and question the validity of the proposed series without prior knowledge of π(x) on the interval.
  • There is a discussion about the nature of convergence in oscillating sums, with one participant arguing that the series may converge slowly, complicating the approximation of π(x).
  • Some participants debate the relationship between π(x) and the logarithmic integral Li(x), with claims that the equality π(L) = Li(L) is not guaranteed, regardless of the size of L.
  • Further discussion highlights the oscillatory behavior of π(x) - Li(x), with references to Littlewood's results on sign changes and the implications for approximation.
  • One participant attempts to clarify the behavior of the difference between π(x) and Li(x), suggesting it is locally decreasing, while another challenges this characterization.
  • There are attempts to derive expressions for π(L) from the series, but participants remain skeptical about the feasibility of obtaining coefficients without prior knowledge of π(x).

Areas of Agreement / Disagreement

Participants express multiple competing views regarding the validity and utility of using Fourier series for π(x). There is no consensus on whether the proposed method is sound or useful, and significant disagreement exists over the implications of existing mathematical results related to π(x) and Li(x>.

Contextual Notes

Participants note limitations regarding the assumptions necessary for the proposed Fourier series approach, including the need for convergence criteria and the nature of the sums involved. The discussion also highlights the distinction between asymptotic approximations and exact equalities.

eljose
Messages
484
Reaction score
0
i,m working on a method to obtain the Fourier series of the prime number counting function in the form :

[tex]\pi(x)=\sum_{n=-\infty}^{\infty}c_{n}e^{in\pi{x}/L}[/tex]

the question is..would be this series useful?...we know that the prime number counting function is always an integer, so we only would need to know the function pi through the series with an error of 0.1 or 0.01 (so we shouln,t not take infinite terms), also with the aid of the series we could locate primes (as at x=p prime) the series exhibit Gib,s Phenomenon, also we could give asymptotic expressions for the sums:

[tex]\sum_{p}^f(x)[/tex] sum over all the primes p<L with L big.
 
Physics news on Phys.org
eljose said:
[tex]\sum_{p}^f(x)[/tex] sum over all the primes p<L with L big.
um... not sure what this means. does it even make sense?
 
That doesn't make sense but then on a more basic level Fourier series are defined for periodic functions, or those defined on bounded intervals. well, just because it has such a fatal flaw doesn't mean that we shouldn't look, does it?

i wonder if at the end of this thread eljose will have some Earth shattering discovery that we snobbish mathematicians can reject?
 
Cipola (1902) gives an asymptotic formula for p_n which is good -- the error is on the order of [tex]\left(\frac{\lg\lg k}{\lg k}\right)^3[/tex]. Dusart gives excellent bounds for pi(n).

I have no idea what your sum would even do; which variables are bound and to what?
 
I refer to the fact that you could obtain an easy way to compute PI(x) by calculating the coefficients in the equation:

[tex]\pi(x)=\sum_{n}c_{n}e^{in\pi{x}/L}[/tex] let,s put L big so:

[tex]\pi(L)=Li(L)[/tex] where "Li" is the logarithmic integral, then the Fourier series will give a representation of PI(x) on the interval (0,L) so we could calculate the values of Pi(x) for x going from 0 upto L.

sorry for my notation in my first post i wanted to say: [tex]\sum_{p}f(x)[/tex] where the sum is extended over all the primes p<L another good consequence of the Fourier series and Parseval indentity is:

[tex]\int_{0}^{L}dx[ \pi(x)]^2=\sum_{n}|c_{n}|^2[/tex] where the sum in n in all cases is over all the integers
 
Last edited:
matt grime said:
i wonder if at the end of this thread eljose will have some Earth shattering discovery that we snobbish mathematicians can reject?
If he does, then it will be closed or deleted. No point egging him on! :-p



eljose: As matt said, [itex]\pi(x)[/itex] cannot be represented that way because it is not a periodic function. But I'm going to ignore that for a moment...

eljose said:
so we only would need to know the function pi through the series with an error of 0.1 or 0.01 (so we shouln,t not take infinite terms)

But we can only know that if we know that the sum of all of the terms we are not using add up to less than 0.1 or 0.01!

In other words, approximating [itex]\pi(x)[/itex] via:

[tex] \pi(x) \approx \sum_{n = -N}^N c_n e^{i n \pi x / L}[/tex]

only works if

[tex] 0 \approx \sum_{n = -\infty}^{-N-1} c_n e^{i n \pi x / L}<br /> + \sum_{n = N+1}^{+\infty} c_n e^{i n \pi x / L}[/tex]

. Do you agree?


So the real question is how do you know that this latter approximation is good, for a given N?


In other words, to use this series to approximate [itex]\pi(x)[/itex], we absolutely, positively, must know a good way to know if the latter approximation is good. (That is, the sum of the tails is sufficiently small)


Do you agree?


If this was a power series, we have useful theorems about how they converge. However, I don't know any similarly useful criterion for a Fourier series. So, one might appeal to a common, generic technique that would prove

[tex] 0 \approx \sum_{n = -\infty}^{-N-1} c_n e^{i n \pi x / L}<br /> + \sum_{n = N+1}^{+\infty} c_n e^{i n \pi x / L}[/tex]

by proving

[tex] 0 \approx \sum_{n = -\infty}^{-N-1} |c_n e^{i n \pi x / L}|<br /> + \sum_{n = N+1}^{+\infty} |c_n e^{i n \pi x / L}|[/tex]

, as you might recall from your calculus classes. In our case, this reduces to

[tex] 0 \approx \sum_{n = -\infty}^{-N-1} |c_n|<br /> + \sum_{n = N+1}^{+\infty} |c_n|[/tex]

but we know that this cannot be true, because these are divergent sums! You could either see this directly from the original sum because the exponential term is bounded, and [itex]\pi(x)[/itex] is unbounded, or from your observation that:

[tex]\int_{0}^{L}dx[ \pi(x)]^2=\sum_{n}|c_{n}|^2[/tex]

(assuming it was right).


Do you agree?


Basically, there is no obvious method to working out how many terms you need to add together in order to get an approximation of [itex]\pi(x)[/itex].


There's a general principle here, as I understand it: oscillating sums, such as this one, tend to converge very slowly. Thus, I would not expect this to be a good approach.


Incidentally, a keyword that you might remember is absolutely convergent. "Nice" sums are absolutely convergent. Your sum is not.
 
eljose said:
I refer to the fact that you could obtain an easy way to compute PI(x) by calculating the coefficients in the equation:

I'm almost afraid to ask, what is your "easy way" to get the coefficients? You can represent pi(x) by a Fourier series on a finite interval, but how do you propose to find the Fourier coefficients on this interval without a prior knowledge of pi(x) on this interval? You can find them knowing pi(x) on the interval, but this Fourier series will of course be worthless outside this finite interval so it's not going to have any predictive power.

eljose said:
let,s put L big so:
[tex]\pi(L)=Li(L)[/tex] where "Li" is the logarithmic integral,

No matter how big L is, this equality is not guaranteed to hold. The prime number theorem gives an asymptotic approximation to pi(x), not an equality.
 
I'd prefer to state that as: no matter what Lis this equality will never hold. Size has nothing to do with it. But then eljose has never seemed to notice the difference between something and an *asymptotic* approximation...
 
matt grime said:
I'd prefer to state that as: no matter what Lis this equality will never hold. Size has nothing to do with it.

I was trying to be careful with my wording because equality actually holds infinitely often. littlewood showed that pi(x)-Li(x) takes on positive and negative values for arbitrarily large values of x, so it has to equal 0 when it changes from positive to negative (always the slim possibility that a sign change the other way happens at a point of discontinuity)

If we repeat "it's an asymptotic enough times" we might not have to say it again.
 
  • #10
Ah, but, I was using the "never holds" in the sense of measure theory (cough, no, honest...)
 
  • #11
It's definitely true in an almost everywhere sense, given that pi(x)-li(x) is discontinuous at primes and steadily decreasing everywhere else. :smile:

To kick this "equality" thing in the pants one more time, pi(x)-li(x) attains values as large as we please. More precisely there exists a positive constant c where pi(x)-li(x)>c*sqrt(x)*log(log(log(x)))/log(x) for arbitrarily large values of x, and a corresponding result for arbitrarily large values of li(x)-pi(x). (this is also due to Littlewood).
 
  • #12
shmoe said:
It's definitely true in an almost everywhere sense, given that pi(x)-li(x) is discontinuous at primes and steadily decreasing everywhere else. :smile:

Huh? Pi(x)-Li(x) changes sign infinitely often, in that there's an increasing sequence n_1, n_2, ... with Pi(x)-Li(x) positive at even terms and negative at odd terms. How is it steadily decreasing? Am I confused here?
 
  • #13
locally decreasing.
 
  • #14
from the series for Pi(x) we could calculate Pi(L) by setting x=L in the series:

[tex]\pi(x)=\sum_{n}C_{n}e^{in\pi/L}[/tex] with x=L we get:

[tex]\pi(L)=\sum_{n}C_{n}(-1)^n[/tex] of course L appears inside the

coefficients, so we get the equation:

[tex]\pi(L)=\sum_{n}C_{n,\pi(L)}(-1)^n[/tex] from this we could obtain Pi(L)
 
  • #15
CRGreathouse said:
Huh? Pi(x)-Li(x) changes sign infinitely often, in that there's an increasing sequence n_1, n_2, ... with Pi(x)-Li(x) positive at even terms and negative at odd terms. How is it steadily decreasing? Am I confused here?

li(x) is monotonic, pi(x) is a step function with jumps at the primes. pi(x)-li(x) will be monotic decreasing on intervals between consecutive primes.

eljose said:
from the series for Pi(x) we could calculate Pi(L) by setting x=L in the series:

[tex]\pi(x)=\sum_{n}C_{n}e^{in\pi/L}[/tex] with x=L we get:

[tex]\pi(L)=\sum_{n}C_{n}(-1)^n[/tex] of course L appears inside the
coefficients, so we get the equation:

[tex]\pi(L)=\sum_{n}C_{n,\pi(L)}(-1)^n[/tex] from this we could obtain Pi(L)

Not suprisingly you've given no indication on how you hope to find the coefficients for the Fourier series on a given interval [0,L] (ignoring for now the fact that you seem to think the coefficients depend only on the value pi(L)). Tell you what, how about you find the Fourier series for pi(x) on the interval [0,100] as a demonstration of how you think this is going to work.I won't hold my breath.
 
  • #16
Of course to calculate the coefficients you need to know the sum:(over primes)

[tex]\sum_{p}e^{iax}=\sum_{n}(\pi(n)-Pi(n-1))e^{ina}[/tex]

where [tex]\pi(x)=\sum_{n}c_{n}e^{in\pi{x}/L}[/tex] from this you wold get a system of linear equations in the form:

[tex]c_{m}=\sum_{n}B(n,m)c_{n}[/tex]

of course you need to solve a linear system to calculate the C,s in order to obtain the Fourier expression of Pi(x)
 
  • #17
eljose said:
Of course to calculate the coefficients you need to know the sum:(over primes)

[tex]\sum_{p}e^{iax}=\sum_{n}(\pi(n)-Pi(n-1))e^{ina}[/tex]

I don't understand these sums. What variable are you summing over? what range are you summing it over? How do you hope to evaluate them? How does this lead to a linear system like you claim?

eljose said:
...this you wold get a system of linear equations in the form:

[tex]c_{m}=\sum_{n}B(n,m)c_{n}[/tex]

of course you need to solve a linear system to calculate the C,s in order to obtain the Fourier expression of Pi(x)

You necessarily have infinitely many of the c's non-zero (fourier series converging almost everywhere to a function that's not continuous). How do you hope to solve this system? Just go ahead and do an example. Go on, try it, it will be good for you.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K