Explainer
The third diagonal
Brahmagupta’s cyclic quadrilateral and Nārāyaṇa’s parivartana
कर्णाश्रितभुजघातैक्यमुभयथाऽन्योन्यभाजितं गुणयेत् ।
योगेन भुजप्रतिभुजवधयोः कर्णौ पदे विषमे ॥
karṇāśritabhujaghātaikyam ubhayathā’nyonyabhājitaṃ guṇayet |
yogena bhujapratibhujavadhayoḥ karṇau pade viṣame ||
The sums of the products of the sides about each of the two diagonals, divided by one another, are multiplied by the sum of the products of the opposite sides: the square roots of the results are the diagonals of a quadrilateral.
Brāhmasphuṭasiddhānta 12.28 · 628 CE, after Colebrooke’s translation
What the verse says
A quadrilateral drawn in a circle has two diagonals, and Brahmagupta’s rule finds both from the four sides alone. Each diagonal has two sides meeting at either end; multiply the two sides at one end, multiply the two at the other, and add. Do this for both diagonals, divide the two sums by one another, and multiply each quotient by a third number, the sum of the products of opposite sides. The square roots are the diagonals. In modern letters, with sides a, b, c, d in order, one diagonal is the square root of (ac + bd)(ad + bc) ⁄ (ab + cd) and the other has the last two factors exchanged.
The commentator Pṛthūdaka, in the ninth century, works an example that later texts repeat: base 60, top 25, flanks 52 and 39. The two sums about the diagonals are 4,095 and 3,640, the products of opposite sides add to 3,528, and the diagonals come out as 63 and 56. The rule, he adds, is founded on four rectangles; and every length in the figure is a whole number.
Nārāyaṇa’s third diagonal
Seven centuries later Nārāyaṇa Paṇḍita restates the rule in the Gaṇitakaumudī and then adds something new. Exchange the top side with one of the flanks and the four chords still fit the same circle in a different order; the area, which Brahmagupta’s formula gives from the sides alone, is unchanged, but one diagonal is replaced by another. Every quadrilateral in a circle therefore has three diagonals: equal for a square and for a figure with three equal sides, two of them equal when two sides are equal or the sides form two equal pairs, and all different otherwise. Nārāyaṇa uses the third diagonal to tie the figure together: the product of the three diagonals divided by twice the diameter of the circle is the area, so the sides alone give the circle. For Pṛthūdaka’s figure the third diagonal is 65, and 56 × 63 × 65 divided by twice the area, 3,528, is 65 again, the diameter of the circle. Nārāyaṇa’s own example in the chapter gives a quadrilateral with base 630, top 250, flanks 330 and 506 and diagonals 624 and 520, and asks for its circle; the radius comes to 325.
The instrument
Enter four sides in order. The figure draws the quadrilateral in its circle with the two diagonals in sindūra and nīla, and the table gives the three sums, the three diagonals, the area and the diameter. Choose “b and c exchanged” to see Nārāyaṇa’s parivartana: the circle and the area stay, and the third diagonal takes the place of the first. Sides that cannot close, where one is longer than the other three together, are refused.
Where it went
The chapter on plane figures in the Gaṇitakaumudī gives about a third of its length, over eighty verses, to quadrilaterals in a circle, and the relations Nārāyaṇa draws from the third diagonal, for the area, the circle, the altitudes and the segments of the diagonals, are not found in the Līlāvatī or any earlier text. They were worked out afresh in the project’s new edition of the Gaṇitakaumudī, and published by Prasad Jawalgekar, D.G. Sooryanarayan and K. Ramasubramanian in Bhāvanā in January 2023 and in volume 58 (2023) of the Indian Journal of History of Science.
Sources
- Brāhmasphuṭasiddhānta 12.28, in Sudhākara Dvivedin’s edition (Benares, 1902), p. 191, and in H.T. Colebrooke, Algebra, with Arithmetic and Mensuration, from the Sanscrit of Brahmegupta and Bháscara (London, 1817), § 28, pp. 300–301, with Pṛthūdaka’s example.
- Gaṇitakaumudī of Nārāyaṇa Paṇḍita, chapter 4, verses 47–52, as quoted in Prasad Jawalgekar, D.G. Sooryanarayan and K. Ramasubramanian, “Gaṇitakaumudī of Nārāyaṇa Paṇḍita”, Bhāvanā 7, no. 1 (January 2023), and “Construction and application of third diagonal in cyclic quadrilaterals by Nārāyaṇa Paṇḍita”, Indian Journal of History of Science 58 (2023), pp. 250–270.