Every so often, I get a misguided message from someone claiming that the value we use for π is wrong. (I try not to dunk on such messages, tempting as it is. But really, if you think everyone who’s looked at it, from Archimedes to Newton, Euler, Ramanujan and Gosper, has got the same wrong answer by different methods while you alone have it right, it might be worth adjusting your humility settings a bit.)

In any event, here’s one way of finding the value of π using largely A-level methods.

Comparing shapes

Let’s start with this picture.

It doesn’t really matter what the value of θ is, we’re trying to compare the areas of some shapes. There are three we care about:

  • The smallest is the red triangle OAB, which has area 12(1)(sin(θ));
  • The middle area is the circular segment OAB, which has area 12(12)θ;
  • The largest is the blue triangle OAD, which has area 12(1)(tan(θ)) (treating OA as the base and noting that AOD is a right angle).

That gives us an inequality: 12sin(θ)<12θ<12tan(θ), at least when 0<θ<π2.

Double all of that to get it in its neatest form: sin(θ)<θ<tan(θ).

This is true for any θ in the first quadrant – so we can pick any angle where we know sin(θ) and tan(θ) to start from.

For example: if you pick θ=π4, you get 12<π4<1, or 22<π<4. An earthshattering result, I think you’ll agree: we’ve managed to pin down π to “probably between 3 and 4”.

Of course, we’re just getting started.

Splitting the angle in half

The thing is, if we could work out the value of tan(12θ) and sin(12θ), we could work out the area of triangles much closer to the circle and get better bounds on π.

And, as it turns out, we can! Of course we can.

Let T=tan(θ) and t=tan(12θ). Then, using the double-angle formula, T=2t1t2 – and we know what T is. (It’s currently 1, but we’re going to solve it in general.)

Rearranging gives Tt2+2tT=0. You could, of course, throw the formula at this; I prefer:

  • Multiply by T: T2t2+2tTT2=0
  • Complete the square: (Tt+1)2=1+T2
  • Finish it off: t=1+T21T

So we can readily get t in terms of T. What about s?

(I should say: s is sin(12θ). S is sin(θ). And c=cos(12θ), which will come in useful; we don’t need to work c out.)

There’s a way to do it with just the value of S, but it’s considerably easier if you involve the t you’ve just worked out: since S=2sc, and t=sc, S=2s2t.

A quick rearrange gives s=St2.

So, taking our original values, we can work out that splitting the angle in half gives tan(π8)=21 and sin(π8)=2122.

Using our inequality from before and multiplying by 8 gives (with a bit of work) 4(22)<π<828 – so now we have it between 3.06 and 3.32 or so, which is considerably better.

A pair of sequences!

We could repeat this as often as we wanted to (or could be bothered).

More formally, if we define the sequences:

  • tk=1+tk11tk1 for k3 and with t2=1; and
  • sk=sk1tk2 for k3 and with s2=12

… then the inequality 2ksk<π<2ktk holds for all k2.

… and they get closer together

As k gets larger, tk gets smaller - with the result that tk12tk1.

Consider Rk=sktk, which (by definition of sk) is sk12tk. But since 2tktk1, we find Rsk1tk1. This means that Rk is closer to 1 than Rk1 is, and approaches 1 in the limit as k gets large.

So: this sequence will give progressively closer values for lower and upper bounds of π, and can be used to get as close a value as you have the patience for!


What’s your favourite way to calculate the value of π? Bonus points if you can explain geometrically what’s going on!