Close Menu

    Subscribe to Updates

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

    What's Hot

    Google Cuts Power Needs for AI Queries 33x in One Year

    Software commands 40% of cybersecurity budgets as gen AI attacks execute in milliseconds

    How Sakana AI’s new evolutionary algorithm builds powerful AI models without expensive retraining

    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

      Blue-collar jobs are gaining popularity as AI threatens office work

      August 17, 2025

      Man who asked ChatGPT about cutting out salt from his diet was hospitalized with hallucinations

      August 15, 2025

      What happens when chatbots shape your reality? Concerns are growing online

      August 14, 2025

      Scientists want to prevent AI from going rogue by teaching it to be bad first

      August 8, 2025

      AI models may be accidentally (and secretly) learning each other’s bad behaviors

      July 30, 2025
    • Business

      Why Certified VMware Pros Are Driving the Future of IT

      August 24, 2025

      Murky Panda hackers exploit cloud trust to hack downstream customers

      August 23, 2025

      The rise of sovereign clouds: no data portability, no party

      August 20, 2025

      Israel is reportedly storing millions of Palestinian phone calls on Microsoft servers

      August 6, 2025

      AI site Perplexity uses “stealth tactics” to flout no-crawl edicts, Cloudflare says

      August 5, 2025
    • Crypto

      Former Indian Politician Convicted in Bitcoin Extortion Case

      August 30, 2025

      Top 3 Real World Asset (RWA) Altcoins to Watch in September

      August 30, 2025

      Ethereum Dip May Be Temporary with $1 Billion Whale Buys and Slower Profit Taking

      August 30, 2025

      Everything We Know So Far About the Bitcoin Thriller “Killing Satoshi”

      August 30, 2025

      Why HBAR’s Bearish Sentiment Might Be Its Trigger for a Price Rebound

      August 30, 2025
    • Technology

      Google Cuts Power Needs for AI Queries 33x in One Year

      August 30, 2025

      Software commands 40% of cybersecurity budgets as gen AI attacks execute in milliseconds

      August 30, 2025

      How Sakana AI’s new evolutionary algorithm builds powerful AI models without expensive retraining

      August 30, 2025

      How Intuit killed the chatbot crutch – and built an agentic AI playbook you can copy

      August 30, 2025

      OpenAI–Anthropic cross-tests expose jailbreak and misuse risks — what enterprises must add to GPT-5 evaluations

      August 30, 2025
    • 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 Read2 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

    BMI Calculator – Check your Body Mass Index for free!

    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.

    BMI Calculator – Check your Body Mass Index for free!

    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

    Google Cuts Power Needs for AI Queries 33x in One Year

    August 30, 2025

    Software commands 40% of cybersecurity budgets as gen AI attacks execute in milliseconds

    August 30, 2025

    How Sakana AI’s new evolutionary algorithm builds powerful AI models without expensive retraining

    August 30, 2025
    Leave A Reply Cancel Reply

    Top Posts

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

    April 22, 2025166 Views

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

    April 14, 202548 Views

    New Akira ransomware decryptor cracks encryptions keys using GPUs

    March 16, 202530 Views

    Is Libby Compatible With Kobo E-Readers?

    March 31, 202528 Views
    Don't Miss
    Technology August 30, 2025

    Google Cuts Power Needs for AI Queries 33x in One Year

    Google Cuts Power Needs for AI Queries 33x in One Year Key Takeaways Energy Consumption…

    Software commands 40% of cybersecurity budgets as gen AI attacks execute in milliseconds

    How Sakana AI’s new evolutionary algorithm builds powerful AI models without expensive retraining

    How Intuit killed the chatbot crutch – and built an agentic AI playbook you can copy

    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

    Google Cuts Power Needs for AI Queries 33x in One Year

    August 30, 20252 Views

    Software commands 40% of cybersecurity budgets as gen AI attacks execute in milliseconds

    August 30, 20252 Views

    How Sakana AI’s new evolutionary algorithm builds powerful AI models without expensive retraining

    August 30, 20252 Views
    Most Popular

    Xiaomi 15 Ultra Officially Launched in China, Malaysia launch to follow after global event

    March 12, 20250 Views

    Apple thinks people won’t use MagSafe on iPhone 16e

    March 12, 20250 Views

    French Apex Legends voice cast refuses contracts over “unacceptable” AI clause

    March 12, 20250 Views
    © 2025 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.