Skip to main content

Why PI is not 4, math is great, and other mysteries.

The other day, I found myself with an interesting problem of approximating a circle with the enclosing square which seems to prove pi = 4.

The paradox was forwarded by a most interesting puzzle collector, Surajit Basu, a friend and life long inspiration. See Sonata for Unaccompanied Tortoise for why!

Here is the offending paradox:

This is an example of how counterintuitive questions can be answered with a little calculus.

The key is to realize that no matter how closely we approximate the circle, the orthogonal lines of the approximation formed by inverting the square corners will never actually be tangential to the circle.

Note carefully that as you get closer to 90 degrees, the horizontal line is much longer than the vertical. Same goes with the approximation at 0 and 180 - the vertical line is much larger than the horizontal component.

If we take a quadrant of the circle - let's say the top left quadrant, moving counter clockwise from top to left -  we can imagine that each infinitesimal arc  (at an angle theta) is approximated by a horizontal line that is the approximate length of arc times the cosine of the angle, and the vertical line is the same arc times the sine of the angle.

Here's the rough visual:

Thus, each arc is being approximated by two lines, and we merely add all the approximations. This is where calculus and limits come in. For the one quadrant from 0 to 90 degrees, here is the result:

Multiply by four and you get  8*r (or 4*Diameter).


PI is not 4, because the approximate figure is never really the same as the circle, even in the limit of infinite number of approximations.

An interesting result arises from this: Most circles in digital representation (B&W) should have a brightness (or color density) of 4/pi - or about 27% brighter than a real circle of the same dimension in the real world.

Also, can anti-aliasing can be done in a more clever way to not only do edge smoothening, but also reducing the brightness so that the circle's relative brightness is same as physical reality - when the resolution of the picture is less than human eye's resolution?

Is this one of the reasons why Apple's move to Retina display - where the pixel resolution is better than  retinal resolution - makes the iPhone (and now iPad3) different?

More questions than answers.

Popular posts from this blog

Ambition vs. Fear.

Most important things in life don't come to us. Nor do we get them by seeking/wanting them. It comes from letting go of the unimportant stuff.

The hardest part is letting go of the tendency to take the world as is. This is a habit of our past successes.

But success is not a destination, it is a STOP sign. You stop, wait, and move on. Too often, we are paralyzed by success into the fear of the new. We stall on the road to a new life. We need to break our inertia and move.

Our thoughts and thought habits are hard to break. But that is where we have to spend the most energy. Thoughts are always competing strands  - of worries of the past and anxieties for the future. For some of us, they are cleanly separated into rivers that nurture every place they travel. For most, they are like the torrents and trickles -- competing, rushing somewhere, stopping completely elsewhere, always mixing, morphing, competing, winning, losing.

Our thoughts are the potential difference between the two pole…

How transformation/change could be hard - an analogy from Life

The illusion of steady change
Most changes are gradual. Or it appears to be, as you read stories and narratives about successful people. Be it successful CEOs, scientists, artists, startup founders, you name it -- almost every one who has reached a state of success, it seems, has had a steady run of successes.

We want to believe that these fine folks transformed their lives because they worked hard,  had talent, or had help, or many other things -- and it was simply effort and reward.

But we all know this is not true. Otherwise, we'd be doing more of what we do best, every day.

What is it that can explain great changes? It is a transformation. Yes, it has gradual bits and habits thrown in. But in the end, they were ready to transform themselves. They were ready to re-work their brains, bodies and life into a new combination.

Example from the chemistry of Life
There is an example in Life that may shed some light. Treat this as an analogy, but it has some lessons.

To illustrate, …