Galileo's Paradox of Infinity Calculator
Compare natural numbers with perfect squares at any finite limit and explore why both infinite sets have the same cardinality.
About Galileo's paradox of infinity
Galileo's paradox examples
| Finite range | Perfect squares | Square share |
|---|---|---|
| 1 through 10 | 3 | Squares 1, 4, and 9 make up 30%. |
| 1 through 100 | 10 | Ten squares make up 10%. |
| 1 through 10,000 | 100 | One hundred squares make up 1%. |
| 1 through 1,000,000 | 1,000 | One thousand squares make up 0.1%. |
How to explore Galileo's paradox
- Enter a positive whole number as the end of the finite range.
- Select Explore the paradox.
- Compare the total natural numbers with the count and percentage of squares.
- Increase the limit and observe that the percentage shrinks while the one-to-one mapping continues.
Galileo's paradox FAQ
What is Galileo's paradox?
It is the observation that perfect squares seem less numerous than natural numbers, yet pair one to one with them. The puzzle highlights how infinite sets differ from finite sets.
How many perfect squares are at most N?
There are floor(sqrt(N)) positive perfect squares at most N. Each comes from squaring one integer from 1 through that floor value.
Why do squares have the same cardinality as natural numbers?
The function that maps n to n squared is a bijection from positive natural numbers to positive perfect squares. Every member on each side participates in exactly one pair.
Do perfect squares have density zero?
Yes, their proportion through N is floor(sqrt(N))/N, which approaches zero as N grows. Density and cardinality measure different properties, so this does not change their countable infinity.
Does the calculator reach infinity?
No finite computation reaches infinity. It demonstrates the finite trend and displays the pairing rule that mathematicians prove continues for every natural number.