# Fermat's Christmas theorem: Visualising the hidden circle in pi/4 = 1-1/3+1/5-1/7+... | Summary and Q&A

191.1K views
December 24, 2019
by
Mathologer
Fermat's Christmas theorem: Visualising the hidden circle in pi/4 = 1-1/3+1/5-1/7+...

## TL;DR

The Leibniz formula for pi can be derived from the area formula of a circle and the number of lattice points within it.

## Install to Summarize YouTube Videos and Get Transcripts

### Q: Who first discovered the Leibniz formula for pi?

The formula was first discovered by the Indian mathematician Madhava of Sangamagrama in the 14th century.

### Q: How can the number of lattice points within a circle be used to approximate its area?

Each lattice point can be considered the center of a unit square, and the total number of lattice points approximates the area of the circle.

### Q: What is Fermat's Christmas theorem?

Fermat's Christmas theorem states that "good" primes can be written as sums of two integer squares, while "bad" primes cannot.

### Q: How can the 4(good - bad) theorem be used to calculate the number of lattice points in a circle?

By tallying the "good" and "bad" odd numbers and using the 4(good - bad) formula, the number of lattice points can be calculated.

## Summary & Key Takeaways

• The Leibniz formula, which approximates pi, was first discovered by the Indian mathematician Madhava of Sangamagrama in the 14th century, over 200 years before Leibniz.

• The number of lattice points within a circle can be used to approximate its area.

• By applying a theorem known as Fermat's Christmas theorem, the number of lattice points in a circle can be calculated using the idea of "good" and "bad" odd numbers.