What causes delta functions to appear in the derivative of the Pi function?

  • Context: Graduate 
  • Thread starter Thread starter 3.14159253589
  • Start date Start date
  • Tags Tags
    Derivative Function Pi
Click For Summary

Discussion Overview

The discussion revolves around the derivative of the prime counting function, denoted as π(n), and the appearance of delta functions in its derivative. Participants explore various approximations, mathematical expressions, and the implications of differentiating sums and integrals related to π(n).

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose an approximation for π(n) as an integral involving the natural logarithm, leading to different expressions for its derivative.
  • One participant suggests that the derivative can be approximated by differentiating the integral directly, yielding 1/ln(n).
  • Another participant challenges the correctness of earlier claims, stating that the derivative involves more complex terms as provided by Wolfram Alpha.
  • There is a discussion about the validity of moving the derivative operator across summation symbols, with some arguing it is not permissible due to dependencies on n.
  • One participant mentions that the derivative of the prime counting function can be expressed as a sum of delta functions at prime numbers.
  • Another participant raises a concern about the differentiability of π(n), describing it as a step function that is only differentiable at certain points.
  • Some participants express confusion about the implications of discontinuities in the step function and how they relate to the appearance of delta functions.

Areas of Agreement / Disagreement

Participants express differing views on the correct approach to deriving the derivative of π(n), with no consensus reached on the validity of the various proposed methods or the resulting expressions.

Contextual Notes

Participants note limitations in their approaches, including the treatment of delta functions, the handling of discontinuities, and the assumptions made when differentiating sums and integrals.

3.14159253589
Messages
5
Reaction score
0
What is the derivative of the pi function
 
Physics news on Phys.org
If you are talking about the prime number thing, I am not sure about the exact one but here is an approximation:

[tex]\pi(n)\approx \int_{2}^{n}\frac{dt}{\mbox{ln}(t)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx \frac{d}{dn}\int_{2}^{n}\frac{dt}{\mbox{ln}(t)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx \frac{d}{dn}\lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}\frac{\delta t}{\mbox{ln}(t)}[/tex]

As the derivative of a sum is the sum of the derivatives,

[tex]\frac{d}{dn}\pi(n)\approx \lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}\frac{d}{dn}\frac{\delta t}{\mbox{ln}(t)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx \lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}-\frac{\delta t}{n \; {\mbox{ln}}^{2}(n)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx - \int_{2}^{n}\frac{dt}{n \; {\mbox{ln}}^{2}(n)}[/tex]

So that is the approximate rate of change of the pi function of t as t changes.
 
This is not quite right.
The proper derivative is:
[tex]\frac{d}{dn}\pi(n)\approx \frac{d}{dn}\int_{2}^{n}\frac{dt}{\ln(t)} = \frac{1}{\ln(n)}[/tex]
 
I like Serena said:
This is not quite right.
The proper derivative is:
[tex]\frac{d}{dn}\pi(n)\approx \frac{d}{dn}\int_{2}^{n}\frac{dt}{\ln(t)} = \frac{1}{\ln(n)}[/tex]

Then where did I make a mistake?
 
According to Wolfram Alpha,

[tex]\frac{d}{dn}(\int_{2}^{n}\frac{dt}{\ln(t)})=\frac{-n+n\; \mbox{ln}(n)+2}{n \;{\mbox{ln}}^{2}(n)}[/tex]

that is,

[tex]{\mbox{ln}}^{-1}(n)+(2{n}^{-1}{\mbox{ln}}^{-2}(n))-{\mbox{ln}}^{-2}(n)[/tex]

But for Li(n) alone, it gives [tex]{\mbox{ln}}^{-1}(n)[/tex] which is your solution.

And my solution gives [tex]- \int_{2}^{n}\frac{dt}{n \; {\mbox{ln}}^{2}(n)}[/tex] which is equal to [tex]\frac{n-2}{n\; {\mbox{ln}}^{2}(n)}[/tex]

I guess all three solutions are equal to each other and thus, correct?
 
Last edited:
dimension10 said:
If you are talking about the prime number thing, I am not sure about the exact one but here is an approximation:

[tex]\pi(n)\approx \int_{2}^{n}\frac{dt}{\mbox{ln}(t)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx \frac{d}{dn}\int_{2}^{n}\frac{dt}{\mbox{ln}(t)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx \frac{d}{dn}\lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}\frac{\delta t}{\mbox{ln}(t)}[/tex]

As the derivative of a sum is the sum of the derivatives,

[tex]\frac{d}{dn}\pi(n)\approx \lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}\frac{d}{dn}\frac{\delta t}{\mbox{ln}(t)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx \lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}-\frac{\delta t}{n \; {\mbox{ln}}^{2}(n)}[/tex]

[tex]\frac{d}{dn}\pi(n)\approx - \int_{2}^{n}\frac{dt}{n \; {\mbox{ln}}^{2}(n)}[/tex]

So that is the approximate rate of change of the pi function of t as t changes.

I believe the problem is here:
[tex]\frac{d}{dn}\pi(n)\approx \lim_{\delta t \rightarrow 0}\sum_{t=2}^{n}\frac{d}{dn}\frac{\delta t}{\mbox{ln}(t)}[/tex]

The derivative operator [tex]\frac{d}{dn}[/tex] should operate on the sum.
I am not even sure what it means to have delta t inside a sum where t is a dumby variable, and then taking a limit of it as it approaches zero, the notation here is quite problematic.
 
dimension10 said:
Then where did I make a mistake?

As MathematicalPhysicist already said, the first mistake is when you moved d/dn to the other side of the summation symbol.
This is not allowed, because the summation is dependent on n.

You made another mistake when you differentiated the expression dependent on t with respect to n.
Since the expression is not dependent on n, the result is zero.
dimension10 said:
According to Wolfram Alpha,

[tex]\frac{d}{dn}(\int_{2}^{n}\frac{dt}{\ln(t)})=\frac{-n+n\; \mbox{ln}(n)+2}{n \;{\mbox{ln}}^{2}(n)}[/tex]

How did you get WolframAlpha to say that?
I do not get that.
dimension10 said:
I guess all three solutions are equal to each other and thus, correct?

The three solutions are not equal to each other, so they cannot all be correct.
 
I like Serena said:
As MathematicalPhysicist already said, the first mistake is when you moved d/dn to the other side of the summation symbol.
This is not allowed, because the summation is dependent on n.

Thanks. I forgot about that.

I like Serena said:
You made another mistake when you differentiated the expression dependent on t with respect to n.
Since the expression is not dependent on n, the result is zero.

Oops.
I like Serena said:
How did you get WolframAlpha to say that?
I do not get that.
I think I know what happened. It must have again considered d as constant rather than an infinitesimal.There seems to be a simpler solution using the second fundamental theorem of calculus and that would yield

[tex]\frac{1}{\mbox{ln}(n)}[/tex]

which is the answer given by you.
 
the derivative of the prime counting function is just the sum

[tex]\delta (x-p)[/tex] taken over all primes 'p'
 
  • #10
I am confused; pi is a step function and is therefore only differentiable at the "interior" of a step at which point it is 0.
 
  • #11
yes but since the step function is discontinous delta function appear whenever the function has discontinuties, in the case of Pi function the discontinuities are located at the prime numbers
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
0
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K