Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    17 iPhone Privacy Moves That Make Government Tracking Much Harder

    Stream From Your Mac With AirPlay in Just a Few Clicks

    How to Unlock NFL Sunday Ticket on YouTube TV

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026

      To avoid accusations of AI cheating, college students are turning to AI

      January 29, 2026

      ChatGPT can embrace authoritarian ideas after just one prompt, researchers say

      January 24, 2026
    • Business

      The HDD brand that brought you the 1.8-inch, 2.5-inch, and 3.5-inch hard drives is now back with a $19 pocket-sized personal cloud for your smartphones

      February 12, 2026

      New VoidLink malware framework targets Linux cloud servers

      January 14, 2026

      Nvidia Rubin’s rack-scale encryption signals a turning point for enterprise AI security

      January 13, 2026

      How KPMG is redefining the future of SAP consulting on a global scale

      January 10, 2026

      Top 10 cloud computing stories of 2025

      December 22, 2025
    • Crypto

      Binance Denies Sanctions Breach Claims After $1 Billion Iran-Linked USDT Transactions Reported

      February 16, 2026

      Ray Dalio Says the World Order Has Broken Down: What Does It Mean for Crypto?

      February 16, 2026

      Cardano Whales are Trying to Rescue ADA Price

      February 16, 2026

      MYX Finance Lost 70% In a Week: What Triggered the Sharp Sell-Off?

      February 16, 2026

      What Really Happened Between Binance and FTX? CZ Finally Tells His Side

      February 16, 2026
    • Technology

      17 iPhone Privacy Moves That Make Government Tracking Much Harder

      February 17, 2026

      Stream From Your Mac With AirPlay in Just a Few Clicks

      February 17, 2026

      How to Unlock NFL Sunday Ticket on YouTube TV

      February 17, 2026

      Save Up to $1,200 and Lock in Low Rates With Verizon’s 5G Home Internet Plans

      February 17, 2026

      NordVPN’s Massive Savings: Up to $429 Off 2-Year VPN Plan

      February 17, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Can’t Wrap Your Head Around Pi? Here’s a Cool Visual to Help
    Technology

    Can’t Wrap Your Head Around Pi? Here’s a Cool Visual to Help

    TechAiVerseBy TechAiVerseMarch 14, 2025No Comments5 Mins Read3 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Can’t Wrap Your Head Around Pi? Here’s a Cool Visual to Help
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Can’t Wrap Your Head Around Pi? Here’s a Cool Visual to Help

    Happy Pi Day! We celebrate pi on March 14 because 3-14 gives the first three digits of this famous number. But what’s the big deal about pi anyway? Why does it get a day? Well, for starters, it defines the simplest, most perfect shape, the circle. So it’s everywhere around you. Pi is the ratio of the circumference to the diameter of a circle: π = C/d.

    No matter how big or small a circle is, that ratio is always the same. In decimal notation, it’s 3.141592653 … aaand you can run that out as far as you want, because it’s an irrational number, and it never, ever, ever ends.

    What people do—in fact what calculators do if you press the π button—is choose a certain number of decimal places, depending on the precision required, and round off to that number. It’s not really pi, but you could say … it’s a piece of pi. (Sorry, but every Pi Day story needs a pi-pun.)

    Irrational Is as Irrational Does

    Being infinitely long doesn’t in itself make a number irrational. For example, say you have a rectangle that measures 4 by 11 meters. The ratio of the sides, 4/11, equals 0.36363636 … This number is also endless, but it follows a pattern. With irrational numbers, there’s no repetition.

    The real distinction is that rational numbers can be written as a ratio of two integers. (Get it? ratio-nal.) And ratios are the same thing as fractions. So:

    It’s also the case that any finite decimal number, no matter how long, can be expressed as the ratio of two integers. (Which is pretty mind-boggling all by itself.) Irrational numbers, on the other hand, can’t be expressed in fractional form.

    Oh, you can try. For example, 22/7 is a pretty good approximation. But it’s not pi. (We could have celebrated Pi Day on July 22, since most of the world uses the day-month-year format for dates, and that would be 22-7.)

    But maybe you’re not inclined to take my word for it. So here’s what I’m going to do: I’m going to use a brute-force algorithm I made in Python to generate all possible integer fractions and see if one of them equals pi.

    No Pi in Python

    What’s a brute-force method? It’s a way of solving a problem that doesn’t require cleverness, just a ton of work. My program starts with the fraction 1/1 and methodically ratchets it up by adding 1 to the numerator or the denominator. Here’s the recipe:

    – Take the fraction (u/v) and compare to pi
    – If u/v is less than pi, add one to the numerator (u+1)
    – If u/v is greater than pi, add one to the denominator (v+1)
    – If u/v is equal to pi, you win. You just proved that pi is rational.

    So the series starts like this: 1/1, 2/1, 3/1, 4/1, 4/2, 5/2, 6/2, 7/2, 7/3, 8/3 … I mean, you could do this on paper, but you’d soon go mad. I ran my program to iterate 1,000 times. (If you want to see the code, here it is on Google Colab.) Then I plotted the decimal value for all 1,000 fractions (Since the horizontal axis goes from 1 to 1,000, I’m using a log scale to compress it.)

    After 1,000 runs, I have a fraction of 760/242. This is a fine value for pi. It’s accurate to two decimal places—the standard 3.14, which is what a lot of people use anyway. But it’s not pi. Oh, well, how about 500,000 iterations?

    This gives me a final fraction of:

    This integer ratio is close—it matches pi up to the sixth decimal place—but it’s still not pi. OK, how about 10 million iterations? This gives an integer fraction of 7,585,471 over 2,414,531, which is off by only 0.00003 percent. But it’s still NOT PI.

    So, what have we done here? Not much really. We didn’t prove that pi is irrational, but I think any rational person would be inclined to accept it at this point.

    Picturing Irrationality

    How about a visual demo? We can actually show that pi is irrational by swinging balls around in a circle. Here’s how it works: First we start with a single ball moving at a constant speed.

    Now let’s add another ball on the end of that ball. It’s moving in a circle with the same radius, but at a speed that is 3.5 times faster. Not only does this create a cool pattern, but at some point the pattern will repeat. If you keep your eye on the starting point on the right side, you can see when the ball begins to retrace its path:

    You could try any ratio of speeds that evaluates to a finite decimal number, like the 3.5 above. In other words, rational numbers! 3.5 can be expressed as an integer fraction: 7/2. Each one will give you a different pattern, but for all rational numbers the pattern will eventually repeat.

    So what happens when you use an irrational number for the speed? In the one below, I have the second ball moving at π times the speed of the first one:

    See? The pattern never repeats. It’s just like the never-ending series of digits in pi. It gets close, but it’s still off by a little bit—you can see the lines begin to thicken. In fact, I let it run for a long time and this is what I got:

    Because you can’t write pi as a fraction of integers, the two circles will never sync back up. It’s a cool way to show that pi is irrational, but it’s also just fun to watch.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleEuropean cloud hosts are offering an escape from AWS, Azure, and GCP
    Next Article Best Heated Blankets, Tested and Reviewed (2025)
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    17 iPhone Privacy Moves That Make Government Tracking Much Harder

    February 17, 2026

    Stream From Your Mac With AirPlay in Just a Few Clicks

    February 17, 2026

    How to Unlock NFL Sunday Ticket on YouTube TV

    February 17, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025680 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025261 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025155 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025112 Views
    Don't Miss
    Technology February 17, 2026

    17 iPhone Privacy Moves That Make Government Tracking Much Harder

    17 iPhone Privacy Moves That Make Government Tracking Much Harder If you are a reader…

    Stream From Your Mac With AirPlay in Just a Few Clicks

    How to Unlock NFL Sunday Ticket on YouTube TV

    Save Up to $1,200 and Lock in Low Rates With Verizon’s 5G Home Internet Plans

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    17 iPhone Privacy Moves That Make Government Tracking Much Harder

    February 17, 20262 Views

    Stream From Your Mac With AirPlay in Just a Few Clicks

    February 17, 20262 Views

    How to Unlock NFL Sunday Ticket on YouTube TV

    February 17, 20262 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    This new Roomba finally solves the big problem I have with robot vacuums

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.