Leibniz Formula for Pi
- 22Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the Leibniz-Madhava formula?
4π=1−31+51−71+⋯
Or swipe the card
22 cards
What is the Leibniz-Madhava formula?
4π=1−31+51−71+⋯
Who first discovered the formula 4π=1−31+51−71+⋯?
The Indian mathematician Madhava of Sangamagrama in the 14th century, over 200 years before Leibniz.
How does the limit r→∞ of N(r)/r2 yield the Leibniz-Madhava series?
As r→∞, r2⌊r2/d⌋→d1, so π=4(∑good odd dd1−∑bad odd dd1), which rearranges to 4π=1−31+51−71+⋯.
How can the area of a circle be used to approximate π?
By counting the number of integer lattice points inside a circle of radius r, N(r), and using the approximation π≈N(r)/r2.
What is N(r) in the context of lattice point counting?
N(r) is the number of integer lattice points (x,y) such that x2+y2≤r2.
How does the relation between N(r) and π become exact as r→∞?
As r→∞, the approximation becomes exact: π=limr→∞N(r)/r2.
How can N(r) be computed using sums of two squares?
For each integer n from 0 to r2, count the number of integer pairs (x,y) with x2+y2=n; the sum of these counts over n gives N(r).
Why are the numbers of representations of positive integers as sums of two squares multiples of 4?
Because of symmetries: if (x,y) is a representation, then (±x,±y) and (±y,±x) also represent the same n, giving 8 representations unless x=y or x=0, which still gives multiples of 4.
How does Jacobi's theorem allow us to compute N(r) for a circle of radius r?
N(r)=1+4∑n=1r2(#good odd divisors of n−#bad odd divisors of n).
Explain the 'trick' of summing by rows instead of columns when applying Jacobi's theorem to N(r).
Instead of summing over n, sum over odd divisors d: for each good odd d, count multiples of d up to r2: ⌊r2/d⌋; similarly for bad odds. Then N(r)=4(∑good d⌊r2/d⌋−∑bad d⌊r2/d⌋)+1.
For a circle of radius 7, how many lattice points are inside?
149 points.
What are 'good' and 'bad' odd numbers?
Good odd numbers are those congruent to 1 modulo 4 (e.g., 1,5,9,…); bad odd numbers are those congruent to 3 modulo 4 (e.g., 3,7,11,…).
State Jacobi's two-square theorem.
For a positive integer n, the number of ways to write n as a sum of two integer squares (counting order and signs) is 4 times (the number of good odd divisors of n minus the number of bad odd divisors of n).
How many ways can 18 be written as a sum of two integer squares according to Jacobi's theorem?
4 ways.
State Fermat's Christmas theorem.
A prime p can be expressed as the sum of two integer squares if and only if p=2 or p≡1mod4.
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.
Prove that no number congruent to 3mod4 can be written as a sum of two integer squares.
Squares modulo 4 are 0 or 1. Sum of two squares modulo 4 can be 0,1, or 2, never 3.
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
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 2), then the identity ensures the product is also a sum of two squares. This underpins Jacobi's counting theorem.
Who provided the first published proof of Fermat's Christmas theorem?
Euler.
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.
What is special about Don Zagier's proof of Fermat's Christmas theorem?
It is a one-sentence proof, but extremely difficult to understand.

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