Skip to content
← All questions

What formula does the video use to approximate prime density up to x?

The video approximates prime density up to x using the reciprocal of the natural logarithm of x, expressed as 1/ln⁡(x)1/\ln (x). This is presented as the asymptotic law of distribution of prime numbers.

Conditions

  • x is a positive integer.
  • The relation is an asymptotic approximation, not an exact equality for finite x.

Reasoning, step by step

  1. Identify the natural logarithm of x, denoted ln⁡(x)\ln (x).
  2. Take the reciprocal of ln⁡(x)\ln (x) to get 1/ln⁡(x)1/\ln (x).
  3. Compare this theoretical curve with the empirical prime density curve.

Example

The video displays the formula #PRIMES / x ~ 1/ln⁡(x)1/\ln (x) and shows the green curve y=1/ln⁡(x)y = 1/\ln (x) matching the red empirical density curve as x grows.

Common misconceptions

  • Confusing the asymptotic approximation 1/ln⁡(x)1/\ln (x) with an exact formula for finite x.
  • Assuming the tilde symbol (~) means exact equality rather than approximate or asymptotic agreement.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.