Theory
From counting to shapes and unknowns
The Lilavati is not only arithmetic. Bhaskaracharya's treatise also covers algebra (working with unknown quantities) and geometry (areas, and relationships between the sides of figures).
Among its documented geometric results is one every student recognises: the relationship between the sides of a right triangle. This lesson covers the Lilavati's algebra and geometry, and handles that famous relationship with care and accuracy, teaching the real mathematics while framing its history honestly, citing verses as pointers and inventing nothing.
Watch out
Careful, factual framing
This topic touches a relationship found in SEVERAL ancient mathematical traditions. We state it accurately: the right-triangle relationship (a squared plus b squared equals c squared) appears in the Lilavati and, in the West, is known as the Pythagorean theorem. We do NOT make competitive or triumphalist claims about who 'discovered it first'; mathematical history is shared and complex. We present the documented mathematics modestly, name the text, and cite verses as pointers only, never inventing verse text or translations.
Theory
The right-triangle relationship
For a right triangle (one with a 90-degree angle), the relationship between its sides is:
a squared + b squared = c squared
where a and b are the two shorter sides and c is the hypotenuse (the longest side, opposite the right angle).
A clean worked example, the 3-4-5 triangle:
- a = 3, b = 4, c = 5
- 3 squared + 4 squared = 9 + 16 = 25
- 5 squared = 25
- they match, so 3, 4, 5 form a right triangle
The Lilavati states this relationship, which is known in the West as the Pythagorean theorem. It appears in several ancient traditions, including the Indian Shulba Sutras, reflecting mathematics as a shared human achievement.
Quiz
For a right triangle with the two shorter sides 3 and 4, what is the hypotenuse, using a squared + b squared = c squared?
- 7
- 5, because 3 squared + 4 squared = 9 + 16 = 25, and the square root of 25 is 5
- 12
- 25
Show the answer
5, because 3 squared + 4 squared = 9 + 16 = 25, and the square root of 25 is 5
Apply the relationship: c squared = a squared + b squared = 9 + 16 = 25, so c = the square root of 25 = 5. The 3-4-5 triangle is the classic example. Option A (7) wrongly adds the sides (3 + 4). Option C (12) has no basis. Option D (25) stops at c SQUARED without taking the square root: 25 is c squared, and c itself is 5. This relationship, stated in the Lilavati and known in the West as the Pythagorean theorem, is genuine, documented mathematics found across several ancient traditions. Compute carefully: square, add, then take the square root.
Think first
Why say 'known in the West as Pythagorean'?
This lesson calls it 'the relationship known in the West as the Pythagorean theorem' rather than simply 'the Pythagorean theorem'. Why the careful wording? Then tap.
Show the answer
Because the right-triangle relationship appears INDEPENDENTLY in MULTIPLE ancient traditions, including the Indian Shulba Sutras (centuries before the common era) and this later Lilavati, as well as Babylonian and other sources, not only in the Greek tradition associated with Pythagoras. Calling it simply 'the Pythagorean theorem' credits one tradition for a result known in several. The careful phrasing names the mathematics accurately AND acknowledges its multiple origins, without the opposite error of triumphalist 'who copied whom' claims. Mathematical knowledge is a shared human achievement, developed in many places; honest scholarship presents it that way. For the exact verse, consult the prescribed text; the mathematics itself is universal.
Theory
Studying this well
Know the documented mathematics, the right-triangle relationship a squared + b squared = c squared and the Lilavati's algebra and geometry, and frame the history accurately and modestly (a shared result known in the West as the Pythagorean theorem). Cite the prescribed text for exact verses. The next topic is code-based: IMPLEMENTING these sutras (the arithmetic and the right-triangle check) in a programming language, and since this is a Kotlin subject, you can do it in Kotlin, applying the mathematics you have learned.
Summary
Key takeaways
- The Lilavati covers algebra (working with unknowns) and geometry (areas, relationships between sides) beyond arithmetic.
- It states the right-triangle relationship: a squared + b squared = c squared (a, b shorter sides; c the hypotenuse).
- Worked 3-4-5 example: 3 squared + 4 squared = 9 + 16 = 25 = 5 squared, so the hypotenuse is 5.
- This relationship is known in the West as the Pythagorean theorem and appears in several ancient traditions (including the Shulba Sutras).
- Frame the history accurately and modestly: shared human mathematics, no triumphalist or 'who copied whom' claims.
- Cite verse numbers as pointers; consult the prescribed text for verbatim shlokas.
- Memory hook: square the two shorter sides, add, take the square root for the hypotenuse.