1. Home
  2. Explore
  3. Mathematics
  4. Leibniz Formula for Pi

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Leibniz Formula for Pi

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Leibniz-Madhava Formula
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is the Leibniz-Madhava formula?

Tap to flipClick to flipspace

π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots4π​=1−31​+51​−71​+⋯

Or swipe the card

22 cards

  1. What is the Leibniz-Madhava formula?

    π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots4π​=1−31​+51​−71​+⋯

  2. Who first discovered the formula π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots4π​=1−31​+51​−71​+⋯?

    The Indian mathematician Madhava of Sangamagrama in the 14th century, over 200 years before Leibniz.

  3. How does the limit r→∞r \to \inftyr→∞ of N(r)/r2N(r)/r^2N(r)/r2 yield the Leibniz-Madhava series?

    As r→∞r \to \inftyr→∞, ⌊r2/d⌋r2→1d\frac{\lfloor r^2/d \rfloor}{r^2} \to \frac{1}{d}r2⌊r2/d⌋​→d1​, so π=4(∑good odd d1d−∑bad odd d1d)\pi = 4\left(\sum_{\text{good odd } d} \frac{1}{d} - \sum_{\text{bad odd } d} \frac{1}{d}\right)π=4(∑good odd d​d1​−∑bad odd d​d1​), which rearranges to π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots4π​=1−31​+51​−71​+⋯.

  4. How can the area of a circle be used to approximate π\piπ?

    By counting the number of integer lattice points inside a circle of radius rrr, N(r)N(r)N(r), and using the approximation π≈N(r)/r2\pi \approx N(r)/r^2π≈N(r)/r2.

  5. What is N(r)N(r)N(r) in the context of lattice point counting?

    N(r)N(r)N(r) is the number of integer lattice points (x,y)(x,y)(x,y) such that x2+y2≤r2x^2 + y^2 \le r^2x2+y2≤r2.

  6. How does the relation between N(r)N(r)N(r) and π\piπ become exact as r→∞r \to \inftyr→∞?

    As r→∞r \to \inftyr→∞, the approximation becomes exact: π=lim⁡r→∞N(r)/r2\pi = \lim_{r\to\infty} N(r)/r^2π=limr→∞​N(r)/r2.

  7. How can N(r)N(r)N(r) be computed using sums of two squares?

    For each integer nnn from 000 to r2r^2r2, count the number of integer pairs (x,y)(x,y)(x,y) with x2+y2=nx^2+y^2 = nx2+y2=n; the sum of these counts over nnn gives N(r)N(r)N(r).

  8. Why are the numbers of representations of positive integers as sums of two squares multiples of 4?

    Because of symmetries: if (x,y)(x,y)(x,y) is a representation, then (±x,±y)(\pm x,\pm y)(±x,±y) and (±y,±x)(\pm y,\pm x)(±y,±x) also represent the same nnn, giving 8 representations unless x=yx=yx=y or x=0x=0x=0, which still gives multiples of 4.

  9. How does Jacobi's theorem allow us to compute N(r)N(r)N(r) for a circle of radius rrr?

    N(r)=1+4∑n=1r2(#good odd divisors of n−#bad odd divisors of n)N(r) = 1 + 4\sum_{n=1}^{r^2} \left(\#\text{good odd divisors of } n - \#\text{bad odd divisors of } n\right)N(r)=1+4∑n=1r2​(#good odd divisors of n−#bad odd divisors of n).

  10. Explain the 'trick' of summing by rows instead of columns when applying Jacobi's theorem to N(r)N(r)N(r).

    Instead of summing over nnn, sum over odd divisors ddd: for each good odd ddd, count multiples of ddd up to r2r^2r2: ⌊r2/d⌋\lfloor r^2/d \rfloor⌊r2/d⌋; similarly for bad odds. Then N(r)=4(∑good d⌊r2/d⌋−∑bad d⌊r2/d⌋)+1N(r) = 4\left(\sum_{\text{good }d} \lfloor r^2/d \rfloor - \sum_{\text{bad }d} \lfloor r^2/d \rfloor\right) + 1N(r)=4(∑good d​⌊r2/d⌋−∑bad d​⌊r2/d⌋)+1.

  11. For a circle of radius 7, how many lattice points are inside?

    149 points.

  12. What are 'good' and 'bad' odd numbers?

    Good odd numbers are those congruent to 111 modulo 444 (e.g., 1,5,9,…1,5,9,\ldots1,5,9,…); bad odd numbers are those congruent to 333 modulo 444 (e.g., 3,7,11,…3,7,11,\ldots3,7,11,…).

  13. State Jacobi's two-square theorem.

    For a positive integer nnn, the number of ways to write nnn as a sum of two integer squares (counting order and signs) is 444 times (the number of good odd divisors of nnn minus the number of bad odd divisors of nnn).

  14. How many ways can 181818 be written as a sum of two integer squares according to Jacobi's theorem?

    4 ways.

  15. State Fermat's Christmas theorem.

    A prime ppp can be expressed as the sum of two integer squares if and only if p=2p = 2p=2 or p≡1 mod 4p \equiv 1 \bmod 4p≡1mod4.

  16. Why is Fermat's Christmas theorem named that way?

    Because Fermat wrote about it in a letter to Marin Mersenne on Christmas Day in 1640. However, the theorem was first stated by Albert Girard 15 years earlier.

  17. Prove that no number congruent to 3 mod 43 \bmod 43mod4 can be written as a sum of two integer squares.

    Squares modulo 444 are 000 or 111. Sum of two squares modulo 444 can be 0,1,0,1,0,1, or 222, never 333.

  18. What is the identity that shows the product of two sums of two squares is also a sum of two squares?

    (a2+b2)(c2+d2)=(ac±bd)2+(ad∓bc)2(a^2+b^2)(c^2+d^2) = (ac \pm bd)^2 + (ad \mp bc)^2(a2+b2)(c2+d2)=(ac±bd)2+(ad∓bc)2

  19. How does the product identity help extend Fermat's Christmas theorem to all integers?

    Since every integer is a product of primes, if each prime factor is a sum of two squares (or 222), then the identity ensures the product is also a sum of two squares. This underpins Jacobi's counting theorem.

  20. Who provided the first published proof of Fermat's Christmas theorem?

    Euler.

  21. What is the law of quadratic reciprocity related to in the context of these theorems?

    It is used in deeper proofs of Fermat's Christmas theorem and Jacobi's two-square theorem.

  22. What is special about Don Zagier's proof of Fermat's Christmas theorem?

    It is a one-sentence proof, but extremely difficult to understand.

Card 1 of 22
Card 1 of 22

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent