<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://indianpedia.org/index.php?action=history&amp;feed=atom&amp;title=Brahmagupta%27s_interpolation_formula</id>
	<title>Brahmagupta&#039;s interpolation formula - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://indianpedia.org/index.php?action=history&amp;feed=atom&amp;title=Brahmagupta%27s_interpolation_formula"/>
	<link rel="alternate" type="text/html" href="https://indianpedia.org/index.php?title=Brahmagupta%27s_interpolation_formula&amp;action=history"/>
	<updated>2026-07-31T11:29:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://indianpedia.org/index.php?title=Brahmagupta%27s_interpolation_formula&amp;diff=311016&amp;oldid=prev</id>
		<title>ImportMaster at 16:41, 3 May 2022</title>
		<link rel="alternate" type="text/html" href="https://indianpedia.org/index.php?title=Brahmagupta%27s_interpolation_formula&amp;diff=311016&amp;oldid=prev"/>
		<updated>2022-05-03T16:41:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Brahmagupta&amp;#039;s interpolation formula&amp;#039;&amp;#039;&amp;#039; is a second-order polynomial [[interpolation formula]] developed by the [[India]]n [[mathematician]] and [[astronomer]] [[Brahmagupta]] (598–668 [[Common era|CE]]) in the early 7th century [[Common Era|CE]]. The [[Sanskrit]] couplet describing the formula can be found in the supplementary part of &amp;#039;&amp;#039;Khandakadyaka&amp;#039;&amp;#039; a work of [[Brahmagupta]] completed in 665 CE.&amp;lt;ref name=&amp;quot;Gupta&amp;quot;&amp;gt;{{cite journal|last=Gupta|first=R. C. |title=Second-order interpolation in Indian mathematics upto the fifteenth century|journal=Indian Journal of History of Science|volume=4|issue=1 &amp;amp; 2|pages=86–98}}&amp;lt;/ref&amp;gt; The same couplet appears in Brahmagupta&amp;#039;s earlier &amp;#039;&amp;#039;Dhyana-graha-adhikara&amp;#039;&amp;#039;, which was probably written &amp;quot;near the beginning of the second quarter of the 7th century CE, if not earlier.&amp;quot;&amp;lt;ref name=&amp;quot;Gupta&amp;quot;/&amp;gt; Brahmagupta was the one of the first to describe and use an [[interpolation formula]] using second-order [[finite difference|differences]].&amp;lt;ref&amp;gt;{{cite book|last=Van Brummelen|first=Glen|authorlink=Glen Van Brummelen|title=The mathematics of the heavens and the earth: the early history of trigonometry|year=2009|publisher=Princeton University Press|isbn=9780691129730|pages=329}} (p.111)&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|last=Meijering|first=Erik|title=A Chronology of Interpolation From Ancient Astronomy to Modern Signal and Image Processing|journal=Proceedings of the IEEE|date=March 2002|volume=90|issue=3|pages=319–321|doi=10.1109/5.993400|url=http://infoscience.epfl.ch/record/63085}}&amp;lt;!--|accessdate=27 October 2010--&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Brahmagupta&amp;#039;s interpolation formula is equivalent to modern-day second-order Newton–Stirling [[interpolation formula]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;nbsp; {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;}}&amp;amp;nbsp; ||&amp;amp;nbsp; {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;}}&amp;amp;nbsp; ||&amp;amp;nbsp; ... &amp;amp;nbsp; || &amp;amp;nbsp; {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}}&amp;amp;nbsp; || &amp;amp;nbsp; {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;}}&amp;amp;nbsp; ||&amp;amp;nbsp; ... &amp;amp;nbsp; ||&amp;amp;nbsp; {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}}&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;nbsp; Differences ||&amp;amp;nbsp; {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} ||&amp;amp;nbsp; ... ||&amp;amp;nbsp; {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}} || &amp;amp;nbsp;{{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;}} || ... || &amp;amp;nbsp; {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mathematicians prior to Brahmagupta used a simple [[linear interpolation]] formula. The  linear interpolation formula to compute {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;a&amp;#039;&amp;#039;)}} is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(a)=f_r+ t D_r&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;t=\frac{a-x_r}{h}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For the computation of {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;a&amp;#039;&amp;#039;)}},  Brahmagupta replaces {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}}  with another expression which gives more accurate values and which amounts to using a second-order interpolation formula.&lt;br /&gt;
&lt;br /&gt;
==Brahmagupta&amp;#039;s description of the scheme==&lt;br /&gt;
In Brahmagupta&amp;#039;s terminology the difference {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}} is the &amp;#039;&amp;#039;gatakhanda&amp;#039;&amp;#039;, meaning &amp;#039;&amp;#039;past difference&amp;#039;&amp;#039; or the difference that was crossed over, the difference {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;}} is the &amp;#039;&amp;#039;bhogyakhanda&amp;#039;&amp;#039; which is the &amp;#039;&amp;#039;difference yet to come&amp;#039;&amp;#039;. &amp;#039;&amp;#039;Vikala&amp;#039;&amp;#039; is the amount in minutes by which the interval has been covered at the point where we want to interpolate. In the present notations it is {{math|&amp;#039;&amp;#039;a&amp;#039;&amp;#039; − &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}}. The new expression which replaces {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt; − &amp;#039;&amp;#039;f&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}} is called &amp;#039;&amp;#039;sphuta-bhogyakhanda&amp;#039;&amp;#039;. The description of &amp;#039;&amp;#039;sphuta-bhogyakhanda&amp;#039;&amp;#039; is contained in the following Sanskrit couplet (&amp;#039;&amp;#039;Dhyana-Graha-Upadesa-Adhyaya, 17; Khandaka Khadyaka, IX, 8&amp;#039;&amp;#039;):&amp;lt;ref name=&amp;quot;Gupta&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Brahmagupas Interpolation Formula In Devanagari.jpg]]{{clarify|date=January 2016|reason=This is an image of text and should be replaced by the text itself.|post-text=(text needed)}}&lt;br /&gt;
&lt;br /&gt;
This has been translated using Bhattolpala&amp;#039;s (10th century CE) commentary as follows:&amp;lt;ref name=&amp;quot;Gupta&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Raju&amp;quot;&amp;gt;{{cite book|last=Raju |first=C K|title=Cultural foundations of mathematics: the nature of mathematical proof and the transmission of the calculus from India to Europe in the 16th c. CE|year=2007|publisher=Pearson Education India|isbn=9788131708712|pages=138–140}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Multiply the &amp;#039;&amp;#039;vikala&amp;#039;&amp;#039; by the half the difference of the &amp;#039;&amp;#039;gatakhanda&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;bhogyakhanda&amp;#039;&amp;#039; and divide the product by 900. Add the result to half the sum of the &amp;#039;&amp;#039;gatakhanda&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;bhogyakhanda&amp;#039;&amp;#039; if their half-sum is less than the &amp;#039;&amp;#039;bhogyakhanda&amp;#039;&amp;#039;, subtract if greater. (The result in each case is &amp;#039;&amp;#039;sphuta-bhogyakhanda&amp;#039;&amp;#039; the correct tabular difference.)&lt;br /&gt;
&lt;br /&gt;
This formula was originally stated for the computation of the values of the sine function for which the common interval in the underlying base table was 900 minutes or 15 degrees. So the reference to 900 is in fact a reference to the common interval {{math|&amp;#039;&amp;#039;h&amp;#039;&amp;#039;}}.&lt;br /&gt;
&lt;br /&gt;
==In modern notation==&lt;br /&gt;
Brahmagupta&amp;#039;s method computation of &amp;#039;&amp;#039;shutabhogyakhanda&amp;#039;&amp;#039; can be formulated in modern notation as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;sphuta-bhogyakhanda&amp;#039;&amp;#039; &amp;lt;math&amp;gt;\displaystyle = \frac{D_r + D_{r-1}}{2} \pm t\frac{|D_r - D_{r-1}|}{2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[plus or minus|±]] sign is to be taken according to whether {{math|{{sfrac|1|2}}(&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; + &amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;)}} is less than or greater than {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;}}, or equivalently, according to whether {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; &amp;lt; &amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;}} or {{math|&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; &amp;gt; &amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt;}}. Brahmagupta&amp;#039;s expression can be put in the following form:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;sphuta-bhogyakhanda&amp;#039;&amp;#039; &amp;lt;math&amp;gt; \displaystyle = \frac{D_r + D_{r-1}}{2} + t\frac{D_r-D_{r-1}}{2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This correction factor yields the following approximate value for {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;a&amp;#039;&amp;#039;)}}:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
f(a) &amp;amp; = f_r + t\times\text{sphuta-bhogyakhanda}\\&lt;br /&gt;
&amp;amp;  = f_r + t \frac{D_r + D_{r-1}}{2} + t^2\frac{D_r - D_{r-1}}{2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is Stirling&amp;#039;s [[interpolation formula]] truncated at the second-order differences.&amp;lt;ref&amp;gt;{{cite book|last=Milne-Thomson|first=Louis Melville|title=The Calculus of Finite Differences|year=2000|publisher=AMS Chelsea Publishing|isbn=9780821821077|pages=67–68}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|last=Hildebrand|first=Francis Begnaud|title=Introduction to numerical analysis|year=1987|publisher=Courier Dover Publications|isbn=9780486653631|pages=[https://archive.org/details/introductiontonu00hild_0/page/138 138–139]|url-access=registration|url=https://archive.org/details/introductiontonu00hild_0/page/138}}&amp;lt;/ref&amp;gt; It is not known how Brahmagupta arrived at his interpolation formula.&amp;lt;ref name=&amp;quot;Gupta&amp;quot;/&amp;gt; Brahmagupta has given a separate formula for the case where the values of the independent variable are not equally spaced.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Brahmagupta&amp;#039;s identity]]&lt;br /&gt;
* [[Brahmagupta matrix]]&lt;br /&gt;
* [[Brahmagupta–Fibonacci identity]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Interpolation]]&lt;br /&gt;
[[Category:Indian mathematics]]&lt;br /&gt;
[[Category:History of mathematics]]&lt;/div&gt;</summary>
		<author><name>ImportMaster</name></author>
	</entry>
</feed>