I am reading a book (A History of Pi) in it there is a story about how Indian mathematicians found the value of $\pi$ by inscribing the polygons in a circle with diameter of 100 and doubling the sides with a formula for side lengths and finally at 384 sides polygon he calculated the value of pi.
This one thing confuses me and I tried every trial and erroneous method but couldn't find a satisfying explanation.
Where did this square root of $98694$ came from? assuming a circle diameter of $100$ if we calculate a side length of hexagon and put in the formula it gives square root of negatives
$\pi$ approximation method confusion
388 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail AtThere are 5 best solutions below
On
COMMENT.-The exact value of the perimeter $P$ of the regular polygon with $384$ sides in a circle of diameter $100$ is given by $$P=384\cdot2\sqrt{50^2-50^2\cos^2(\frac{\pi}{384})}=38400\sin(\frac{\pi}{384})\approx314.155760791$$ Then $$P\approx100\pi\Rightarrow \pi\approx3.14155760791$$ Arayabatha has take as approximation of $P$ the value $\sqrt{98694}=314.156012198$ and neither you nor I know how he found such an approximation.
My opinion is that at his time, rationals and decimals were not handled with precision, which is why this aforementioned approximation, "easy to see", is a true achievement of Ayabatha.
On
I don't think we are interpreting the book formula correctly, so I decided to derive it from scratch.
The fairly well known formula for the perimeter ($P_n$) of a regular polygon of n sides and diameter d is:
$ P_n = n*d*\sin(\pi/n) $
so a side length ($S_n$) is
$S_n = d*\sin(\pi/n) $
Similarly the side length ($S_{2n}$) of a polygon with twice as many sides is:
$ S_{2n} = d*\sin(\pi/2n) $
$S_{2n}$ has angles between the segments that are half the size of the angles of $S_n$ so we use the half-angle trigonometric identity to obtain:
$\Rightarrow S_{2n} = d * \sqrt{(1-\cos(\pi/n))/2} = d/2 * \sqrt{2-2\cos(\pi/n)}$
Now we use another trigonometric identity to obtain:
$\Rightarrow S_{2n} = d/2 * \sqrt{2-2*\sqrt{1-\sin^2(\pi/n)}}$
(You can see where the square roots came from now)
From the definition of $S_n$ we obtain $\sin(\pi/n) = S_n/(d)$ and substitute this into the previous equation:
$\Rightarrow S_{2n} = d/2 * \sqrt{2-2*\sqrt{1-\left(\frac{S_n}{d}\right)^2}} = d/2 * \sqrt{2-\sqrt{4-4*\left(\frac{S_n}{d}\right)^2}}$
$S_{2n} = d/2 * \sqrt{2-\sqrt{4-\left(\frac{2*S_n}{d}\right)^2}}$
This should be the correct equation for $S_{2n}$ that I think got lost in translation, in the book.
If you calculate the side length of a regular polygon with 192 sides and plug this into the equation for $S_{2n}$ (to obtain the side length of a polygon with 384 sides) and multiply by 384 to get the perimeter and then square the result, you get the result you are looking for, $\approx$ 98694.
If we take this earlier intermediate result:
$ S_{2n} = d/2 * \sqrt{2-2*\sqrt{1-\sin^2(\pi/n)}}$
and divide both sides by d/2 we get:
$ 2*\sin(\pi/2n) = \sqrt{2-2*\sqrt{1-\sin^2(\pi/n)}} = \sqrt{2-\sqrt{4-4*\sin^2(\pi/n)}} $
Now if we take $s(2n)$ to mean $2*\sin(\pi/2n)$ and $s(n)$ to mean $2*\sin(\pi/n)$ and substitute these definitions into the previous equation we get:
$ s(2n) = \sqrt{2-\sqrt{4-s^2(n)}} $
which matches the equation in the book, but here $s(n)$ means the side length divided by r..
On
Cogito ....
Pythagoras theorem was known to Aryabhatta (requiescat in pace).
$\sqrt {98694} = 384x$ where $x$ = the length of a side of the 384-sided polygon.
$98694 = \left(384x\right)^2 = 147456x^2$
$x = \sqrt {a^2 + b^2} = \sqrt {\frac{98694}{147456}}$
$\frac{m^2}{384^2} + \frac{n^2}{384^2} = \frac{98694}{384^2}$
$m^2 + n^2 = 98694$
On
Some of the comments have motivated me to derive the result without using trigonometry.
The black triangle on the left is a segment of the original polygon. One of the radial sides is rotated until it bisects the side on the perimeter of the original polygon, to form a segment of a new polygon with twice as many sides, as depicted by the red triangle.
Referring to the above sketch and using pythagorus
$a = \sqrt{r^2-b^2}$
$b = \sqrt{r^2-a^2}$
$c = (r-a)$
$d = \sqrt{c^2+b^2}$
We are looking for the new side length d. Substituting values:
$d = \sqrt{(r-a)^2 + (r^2 - a^2)}$
Multiply out, simplify
$d = \sqrt{2r^2 - 2ra}$
Substitute a in again
$d = \sqrt{2r^2 - 2r\sqrt{r^2-b^2}}$
$d = r*\sqrt{2 - 2\sqrt{1-b^2/r^2}}$
Rearrange
$d = r* \sqrt{2 - \sqrt{4 - (2b/r)^2}}$
The side length $S_n$ of the original polygon is equal to 2b and the new side length $S_{2n}$ of the doubled polygon is d so:
$S_{2n} = r* \sqrt{2 - \sqrt{4 - (S_n/r)^2}}$


In this answer I am trying to better address where $\sqrt{98694}$ came from, as requested by the OP.
Starting with $S_{2n} = r* \sqrt{2 - \sqrt{4 - (S_n/r)^2}}$ derived in the previous answer, square both sides:
$S_{2n}^2 = r^2* (2 - \sqrt{4 - (S_n/r)^2)}$
$\Rightarrow S_{2n}^2 = (2 r^2 - r \sqrt{4 r^2 - (S_n)^2)}$
This eliminates one of the square roots in the iteration because I am sure they would have avoided unnecessarily calculating square roots around 1,400 years ago when calculators were not around.
Re-label $S_{2n}^2$ as $X_2$ and $(S_n)^2$ as $X_1$ and substitute:
$X_2 = (2 r^2 - r*\sqrt{4r^2 - X_1)}$
For the first iteration a 6 sided polygon with diameter 100 was used, so the initial side length was 50 so $X_1 = 50^2 = 2500$. Plug this value in together with $r=50$ to get:
$X_2 = (2 *50^2 - 50 *\sqrt{4*50^2 - 2500 )} \approx 669.872$
Plug this value $X_2$ into $X_1$ again:
$X_2 = (2 *50^2 - 50 *\sqrt{4*50^2 - 669.872 )} \approx 170.370$
Iterate 4 more more times until you get $X_2 \approx 0.6693103$
Since this is the square of the side length of the 384 sided polygon, multiply by 384^2 to obtain the length of the perimeter squared. (Remember we are avoiding actually calculating square roots as much as possible).
The result is $\approx 98693.84203828873 \approx 98694..$
The actual perimeter is $ \approx \sqrt{98694} $ and this value of the perimeter is divided by the diameter to obtain an approximate value of $\pi$.
Clearly 98694 is an approximation, rather than an exact integer.
Better approximations of $\pi$ can be obtained by repeating more iterations.
Historically it is not known if they had some knowledge of a form of logarithms or a technique something like forming a Laurent expansion series back, so that final square root can be removed.
Hopefully one of these answers deserves a ticked box ;-)
P.S. Remember that the author of your books states that the early Hindu mathematicians rarely gave any hint of how they obtained their solutions, so the equation given by the author might be his own personal conclusion of how the result is obtained, rather than historical fact.
For completeness here a list of the output from a function $S^2(n)$ that calculates the perimeter squared of a polygon of n sides and diameter 100.
$S^2(6) = 90,000$
$S^2(12) \approx 96,461.70...$
$S^2(24) \approx 98,133.62...$
$S^2(48) \approx 96,555.19...$
$S^2(96) \approx 98,660.81...$
$S^2(192) \approx 98,687.23...$
$S^2(384) \approx 98,693.84...$
$S^2(384*2) \approx 98,695.49...$
$S^2(384*4) \approx 98,695.90...$
$S^2(384*8) \approx 98,696.03...$
$S^2(384^2) \approx 98,696.043...$
$S^2(384^4) \approx 98,696.044...$
$S^2\left((384^8)^{16}\right) \approx 98,696.044...$
So $98694$ is just an approximate number on the way. $\sqrt{98696}/100$ is a better approximation of $\pi$.