You might have noticed something slightly strange happening when we made our approximation for using the Maclaurin polynomial for . We were slightly sneaky in that we performed a definite integral, but we didn’t seem to have any constant of integration.
The sneaky line was this one:
Where we have written the function as an integral and not written the constant of integration.
The point is that we should really be saying:
and so there should be a constant in the expression on the left. Then, when we perform the integration we are left with another constant (let’s call the original one above and the second one . So what we really should have written was:
Then we can write:
We can then fix our constants of integration by knowing that and thus and thus we don’t actually have any constants to worry about.
In the case that I went through in class however of it is certainly true that you do need an integration constant and thus:
I also mentioned Ramanujan’s remarkable formula for calculating which gives roughly 8 decimal places per term calculated in the series. This contrasts with the above formula which needs five billion terms for 10 digits of accuracy!
Ramanujan’s formula is:
The mathematics behind this is beautiful, and deep, and not something of which I am an expert, but even from an outsider’s point of view, it can still be seen as something remarkable. There is a nice review paper here which discusses some of the maths behind this result:
Leave a Reply