What is the closest rational approximation to pi? @SerranoAcademy
What is the closest rational approximation to pi?  @SerranoAcademy
Uploaded October 2026 | Updated November 2026, 3 hours ago
Every irrational number can be approximated by rationals as closely as we want, since rational numbers are everywhere.
But what makes an approximation better than another one? Two things:
- How close is it to the target
- How big is the denominator.
For example, 314159/100000 is closer to pi than 22/7, but 22/7 has a smaller denominator.
The best approximations are called 'convergents', and they can be easily found using a continuous fraction expression of the target number.
How 'good' an approximation is can be formalized using a theorem of Legendre.
This is very useful in quantum computing, in particular in Shor's algorithm for factoring large numbers!
What is the closest rational approximation to pi?Linear Regression: A friendly introductionUniversal Approximation Theorem - The Fundamental Building Block of Deep LearningLive with Jay Alammar, Josh Starmer, and Luis SerranoAgents, RAG, and Reasoning ModelsQuantum superposition and the glove that changes colorWhy Do We Divide by n−1 to estimate the variance? Bessel’s Correction, Visually Explained #mathROC (Receiver Operating Characteristic) Curve in 10 minutes!
Luis Serrano Academy |

What is the closest rational approximation to pi?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER