Grade 10
Indian, Islamic and Chinese mathematics
From Brahmagupta's cyclic-quadrilateral formula and his Pell equation , through al-Khwarizmi's algebra and Omar Khayyam's conic solutions of cubics, to Liu Hui's polygon-doubling and the Chinese remainder theorem.
IntuitionThree Civilizations, One River of Ideas
Between roughly the 3rd and the 13th century, while Europe kept relatively few written mathematical records, three civilizations pushed mathematics forward with remarkably concrete, hands-on methods: Indian astronomer-mathematicians such as Brahmagupta worked out exact formulas for cyclic quadrilaterals and integer solutions of ; scholars of the Islamic world such as al-Khwarizmi and Omar Khayyam turned ad-hoc tricks into a systematic algebra, solving equations by literally cutting and rearranging squares, or by intersecting curves; and Chinese mathematicians such as Liu Hui and the authors of the Sunzi Suanjing refined by relentlessly doubling polygons and solved calendar puzzles with what we now call the Chinese remainder theorem.
SchoolBrahmagupta's Formula for Cyclic Quadrilaterals
Definition: Cyclic quadrilateral and semiperimeter
A quadrilateral with sides is cyclic if all four vertices lie on one circle; this forces opposite angles to be supplementary. Its semiperimeter is .
Brahmagupta's theorem (Brahmasphutasiddhanta, year 628) states that the area of such a quadrilateral depends only on its four side lengths, exactly as Heron's formula does for a triangle: .
Where does this come from? Draw diagonal splitting the quadrilateral into triangles (sides ) and (sides ), with angles and opposite each other. Because opposite angles of a cyclic quadrilateral are supplementary, , hence . The law of cosines in each triangle gives and ; substituting into the second and equating both expressions for lets you eliminate in favor of the areas of the two triangles ( and , with ), and after algebraic simplification (completing squares and factoring using ) the four separate side lengths collapse into the single symmetric product above.
| Sides | Side length | Estimate |
|---|---|---|
| 6 | 1.0000 | 3.0000 |
| 12 | 0.5176 | 3.1058 |
| 24 | 0.2611 | 3.1326 |
| 48 | 0.1308 | 3.1394 |
| 96 | 0.0654 | 3.1410 |
UndergraduatePell's Equation and the Chakravala Method
In the same 628 treatise, Brahmagupta studied what is now called Pell's equation, , for a fixed non-square positive integer : find integers satisfying it. He discovered the bhavana (composition) identity, letting two solutions be combined into a new one, and centuries later Bhaskara II turned this into the chakravala (cyclic) algorithm: start from a rough solution to for some small , then repeatedly compose it with a suitably chosen trivial solution to shrink step by step until , at which point a solution with is at hand or one more composition step produces it.
Nearly five centuries earlier, Omar Khayyam attacked a different problem: solving cubic equations, which cannot be done with straightedge and compass alone. In his Treatise on Demonstration of Problems of Algebra (c. 1070), he showed that every cubic can be solved by intersecting two conic sections.
Concretely, take the cubic with . Intersect the parabola with the circle (the semicircle of diameter sitting on the positive -axis, passing through the origin). Substituting from the parabola into the circle's equation gives , i.e. ; dividing by and multiplying by recovers exactly . So the -coordinate of the (non-origin) intersection point is the root — a curve crossing replaces radicals.
Take : the cubic , the parabola , and the circle . They meet (besides the origin) at : indeed and match, and checks the cubic directly. Khayyam's construction handles cubics whose roots are irrational just as well — the curves still cross, even when no clean number falls out.
UndergraduateLiu Hui's Polygon-Doubling Algorithm for
Around 263, commenting on the classic Nine Chapters on the Mathematical Art, Liu Hui inscribed a regular hexagon in a circle of radius and repeatedly doubled the number of sides. If is the side length of the inscribed regular -gon, its apothem (distance from center to a side's midpoint) is by the Pythagorean theorem, and the sagitta — the gap between that midpoint and the circle — is . Connecting one original vertex to the new vertex sitting on the arc above that gap gives a right triangle, so the doubled side length obeys the recurrence . Since the -gon's perimeter approaches the circle's circumference as grows, gives better and better estimates.
Starting from a hexagon (, since a regular hexagon's side equals the radius) and doubling four times to a 96-gon, Liu Hui reached ; later, doubling all the way to a 3072-gon, he obtained the celebrated value , accurate to four decimal digits — thirteen centuries before pocket calculators.
For and , the positive solution of is .
Why is it true?
Al-Khwarizmi (Baghdad, c. 820, in his book Al-Jabr wal-Muqabala — the origin of the word 'algebra') had no negative numbers or symbolic notation, so he solved quadratics by literally drawing squares and rectangles and physically completing a bigger square, a picture that makes the otherwise mysterious formula obvious.
Proof
Draw a square of side ; its area is , the first term of . Attach to two adjacent sides of this square two thin rectangles, each of width and length , so their combined area is , the second term. The resulting L-shaped figure (a "gnomon") has area .
This gnomon is a big square of side with one small corner square missing. To see this, notice the two rectangles plus the original square leave exactly a gap at the outer corner where they meet. Fill that gap in: the whole figure — gnomon plus corner square — is now a genuine square of side , whose area is therefore (the gnomon's area plus the corner square's area , added exactly once).
So . Taking the positive square root of both sides (side lengths are positive) gives , and isolating yields .
Algebraic check: expanding term by term reduces, after the cross terms cancel, exactly to — confirming the formula independently of the picture. Numerically, for (so ): , and indeed .
UndergraduateThe Chinese Remainder Theorem
Let be pairwise coprime positive integers and let be any integers. Then the system of congruences for every has a solution , and this solution is unique modulo .
Why is it true?
First recorded around the 3rd–5th century in the Sunzi Suanjing ('the unknown number of things') and given a complete general algorithm by Qin Jiushao in 1247 (Da-yan rule), this theorem says that pairwise-coprime moduli carry independent information: knowing a number's remainder mod 3, mod 5, mod 7 pins it down uniquely mod 105, with no information lost or contradictory, because the moduli never 'overlap'.
Proof
Existence, step 1 (build the pieces): for each define , the product of all moduli except . Because the are pairwise coprime, every prime factor of is absent from every (), so . By Bezout's identity (extended Euclidean algorithm) there exists an integer — the modular inverse of mod — with .
Existence, step 2 (assemble the solution): set . Fix any index and reduce this sum mod . For every , the factor contains as one of its factors (since ), so and the term . Only the -th term survives: (using ). Since was arbitrary, satisfies every congruence at once.
Uniqueness mod : suppose is another integer satisfying every . Then for every , i.e. every divides . Because the are pairwise coprime, their least common multiple equals their product , so as well — any common multiple of pairwise-coprime numbers must already be a multiple of their product. Hence : the solution is unique modulo , exactly as claimed.
Toy verification: take with , i.e. the system . Here ; needs , i.e. , so ; needs , so . Then , so . Check: leaves remainder mod , and leaves remainder mod — both congruences hold, confirming the construction.
UndergraduateReal-World Applications and Worked Examples
These are not museum pieces. Sunzi's problem was invented to synchronize calendars: ancient Chinese astronomers tracked several cycles at once (a 60-day sexagenary cycle, planetary periods, lunar months), and the remainder theorem let them pinpoint a date from a handful of remainders instead of counting days one by one — exactly the calendar-and-navigation use case for which it was built. The very same idea now powers modern cryptography: RSA decryption combines a huge modulus with the Chinese remainder theorem (the 'CRT-RSA' optimization) to do the modular exponentiation separately mod and mod — each roughly half the bit-length — and then recombine, which is about four times faster than working mod directly.
Example: Brahmagupta's Formula on a Concrete Quadrilateral
A quadrilateral inscribed in a circle has consecutive sides . Find its area.
Solution
Compute the semiperimeter first: .
Now form each factor : , , , .
Apply Brahmagupta's formula: .
Simplify the radical: , so , approximately square units — a single formula that needed no knowledge of the individual angles or diagonals.
Example: Sunzi's Original Remainder Problem
The Sunzi Suanjing (3rd–5th century) poses: find the smallest positive with
Solution
The moduli are pairwise coprime, so the Chinese remainder theorem applies with .
Compute each and its inverse : , and means (since ), so (). Next , and means (since ), so . Finally , and means (since ), so .
Assemble: .
Reduce mod : , so , giving .
Check all three congruences: (remainder mod ), (remainder mod ), (remainder mod ) — all match, and since it is the smallest positive solution.
A cyclic quadrilateral has sides . Using Brahmagupta's formula , what is its area?
Which equation, studied by Brahmagupta in 628 and later solved algorithmically by the chakravala method, is now called Pell's equation?
In his Treatise on Demonstration of Problems of Algebra, Omar Khayyam solved cubic equations geometrically by intersecting which two curves?
Sunzi's remainder problem was invented for calendar and astronomical calculations; the same Chinese remainder theorem speeds up modern RSA decryption mainly by...
References
- Victor J. Katz (2009). A History of Mathematics: An Introduction
- Oliver Knill (2012). A Multivariable Chinese Remainder Theorem · arXiv:1206.5114