Skip to content
MathsCBSE Class 8 · The Baudhayana-Pythagoras Theorem

Baudhayana-Pythagoras Theorem, Triples and Applications for Class 8

Updated 17 October 2026 · Fact-checked

In a right triangle with perpendicular sides a and b and hypotenuse c, a squared + b squared = c squared. Integer triples such as (3, 4, 5), (5, 12, 13), (8, 15, 17) and (7, 24, 25) satisfy it; if (a, b, c) is a triple so is (ka, kb, kc). Exams ask for missing sides, rhombus and rectangle sides from diagonals, ladder and pole problems, and testing or generating triples.

Notice the two smaller squares, 9 and 16, together have the same area as the square on the hypotenuse, 25.

Illustration drawn for QuestionBuddy.

Understand Baudhayana-Pythagoras Theorem, Triples and Applications

Combining two different squares. In his *Sulba-sutra* (verse 1.12 as cited in the chapter) Baudhayana says that the square on the diagonal of a rectangle has the area of the squares on the two sides together. Form a right triangle whose perpendicular sides are and and place three more congruent copies around a square on the hypotenuse . The big figure is a square (its sides are all and its angles are right angles) with area made of the area of and pieces, which gives
$$
This is the Baudhayana-Pythagoras theorem: *in a right-angled triangle, the sum of the squares of the two shorter sides equals the square of the hypotenuse.* The chapter notes that Baudhayana stated it in this general and essentially modern form and that Pythagoras (c. 500 BCE) lived a couple of hundred years later. The hypotenuse is always the longest side, since is larger than and . With and we get exactly.

Finding a missing side. If is unknown, ; if a leg is unknown, . For legs 5 and 12, and .

Baudhayana triples. Integers with are Baudhayana triples (also Baudhayana-Pythagoras triples). Baudhayana's verse 1.13, as quoted in the chapter, lists , , , , and . The triples with all numbers up to 20 include , , , , , .

  • Scaling. If is a triple then is also one for every positive integer , because . So there are infinitely many triples. For example .
  • Primitive triples have no common factor greater than 1: and are primitive, is not (it is ). Finding all primitive triples finds them all by scaling.

Generating triples from odd squares. The sum of the first odd numbers is , so . If the odd number is itself a square, we get a triple. For , : . For , : . This method gives triples where one leg is 1 less than the hypotenuse, so it does not give every primitive triple (for example has ).

Applications. The theorem is used whenever perpendicular lengths occur.

  • *Bhaskara II's lotus problem (Lilavati):* a lotus stem rises 1 unit above the water; swayed by the breeze, its tip touches the water 3 units from the original position. If the depth is , the stem has length and , so and the depth is 4 units.
  • *Ladders and poles:* the wall, the ground and the ladder form a right triangle.
  • *Rhombus:* its diagonals are perpendicular bisectors, so the side is the hypotenuse of a right triangle with legs equal to half the diagonals; a rhombus with diagonals 24 and 70 has side .
  • *Rectangle and square diagonals.*

Fermat's Last Theorem was inspired by triples: it says has no solution in natural numbers for ; the chapter says that more than 300 years of attempts to prove it failed.

The doubling of squares, the isosceles right triangle and the nature of root 2 are on the previous topic page of this chapter.

Baudhayana-Pythagoras Theorem, Triples and Applications: formulas to remember

Baudhayana-Pythagoras theorem
c is the hypotenuse, a and b the perpendicular sides.
Missing leg
Subtract, never add, when the hypotenuse is given.
Scaled triple
k is a positive integer.
Odd-square method
Needs 2n - 1 to be a perfect square.
Rhombus side from diagonals
The diagonals meet at right angles at the centre.

How to solve Baudhayana-Pythagoras Theorem, Triples and Applications questions

A routine for right-triangle word problems.

  1. 1Draw the figure and mark the right angle; label the hypotenuse (opposite the right angle).
  2. 2Write a squared + b squared = c squared with the hypotenuse on the right.
  3. 3Substitute the known values and solve for the unknown square.
  4. 4Take the square root; if it is not exact, give bounds with one decimal.
  5. 5For problems with an unknown length, name it x and write all sides in terms of x (as in the lotus problem).
  6. 6To test a triple, check that the largest number squared equals the sum of the other two squares.
  7. 7Check that the hypotenuse is the longest side.

Baudhayana-Pythagoras Theorem, Triples and Applications in real life

Each concept, met in an everyday situation. Read the situation, try the problem, then check the solution. The one-line hook is what to remember.

Ladder against a wall

Suppose a 25 m long ladder leans against a wall and its top touches the wall at a height of 24 m.

How far is the foot of the ladder from the wall? If the top slides down 4 m, how far does the foot move out?

Try it first, then show the solutionSolution
  1. Base, so the base is 7 m.
  2. After the slip the top is at 20 m: base, base m.
  3. The foot moves out by m.

Answer: 7 m at first; the foot moves out 8 m.

Memory hook: Ladder, wall and ground form a right triangle with the ladder as the hypotenuse.

Broken pole

Imagine a 12 m pole that snaps at some height; the top part bends over and touches the ground 6 m from the foot of the pole.

At what height above the ground did the pole break?

Try it first, then show the solutionSolution
  1. Let the break be at height . The bent part has length and is the hypotenuse.
  2. , so , giving and m.
  3. Check: , and .

Answer: 4.5 m

Memory hook: Name the unknown, express every side, and let the theorem make the equation.

Tricks to remember Baudhayana-Pythagoras Theorem, Triples and Applications

Short memory aids. Say each one aloud once, then use it on a question the same day.

  • Hypotenuse sits alone

    In a squared + b squared = c squared, the hypotenuse is on its own on the right, the two legs on the left.

    Use it when: Avoiding adding when subtracting is needed.

  • Learn the five families

    (3, 4, 5), (5, 12, 13), (8, 15, 17), (7, 24, 25), (20, 21, 29), and their multiples cover most questions.

    Use it when: Spotting exact answers quickly.

  • Scale by k

    Multiply every side of a triple by the same integer to get another triple.

    Use it when: Generating and testing triples.

  • Name the unknown

    In worded problems let x be the unknown length and write every other side using x.

    Use it when: Lotus and pole problems.

Baudhayana-Pythagoras Theorem, Triples and Applications: solved examples

Ordered from board level to HOTS. Try each one before you open the solution.

Example 1: Hypotenuse from legs · 1 mark · MCQBoard level

The legs of a right triangle are 9 cm and 40 cm. The hypotenuse is: (a) 31 cm (b) 41 cm (c) 49 cm (d) 360 cm

Try it first, then show the solutionSolution
  1. .

Answer: (b) 41 cm

Example 2: Missing leg · 2 marks · Short answerBoard level

One side of a rectangle is 7 cm and its diagonal is 25 cm. Find the other side and the area of the rectangle.

Try it first, then show the solutionSolution
  1. The diagonal is the hypotenuse of a right triangle with the two sides as legs: , so cm. (1 mark)
  2. Area square cm. (1 mark)

Answer: Other side 24 cm; area 168 square cm

Example 3: Rhombus from its diagonals · 3 marks · Short answerHarder board level

The diagonals of a rhombus are 48 cm and 20 cm. Find its side and perimeter.

Try it first, then show the solutionSolution
  1. The diagonals of a rhombus bisect each other at right angles, giving right triangles with legs 24 cm and 10 cm. (1 mark)
  2. Side, so the side is 26 cm. (1 mark)
  3. Perimeter cm. (1 mark)

Answer: Side 26 cm; perimeter 104 cm

Example 4: Testing triples · 3 marks · Short answerHarder board level

Check whether (20, 21, 29) and (24, 45, 51) are Baudhayana triples. Which is primitive? If the second is a scaled version, of which triple?

Try it first, then show the solutionSolution
  1. : a triple. : also a triple. (1 mark)
  2. (20, 21, 29) has no common factor above 1, so it is primitive; (24, 45, 51) has the common factor 3. (1 mark)
  3. Dividing by 3 gives (8, 15, 17), so (24, 45, 51) is . (1 mark)

Answer: Both are triples; (20, 21, 29) is primitive; (24, 45, 51) is 3 times (8, 15, 17).

Example 5: A broken pole · 4 marks · Long answerHarder board level

A 12 m pole breaks at a point and its top touches the ground 6 m from the foot, with the break still attached. Find the height of the break.

Try it first, then show the solutionSolution
  1. Let the break be at height m; the bent part is m. (1 mark)
  2. The pole, ground and bent part form a right triangle with hypotenuse : . (1 mark)
  3. Expand: , so . (1 mark)
  4. m. Check: . (1 mark)

Answer: The pole broke at 4.5 m above the ground.

Where students lose marks in Baudhayana-Pythagoras Theorem, Triples and Applications

The slips examiners see most often, and what to write instead.

  • Mistake: Adding the squares when the hypotenuse is known

    When the hypotenuse is given, subtract the other leg's square from it.

    Wrong working

    "c = 25, a = 7: b^2 = 625 + 49."

    Right working

    , .

    Do this: Write the theorem first and substitute into it.

    Usually costs: The answer.

  • Mistake: Treating the longest side as a leg

    The hypotenuse is opposite the right angle and is the longest side.

    Wrong working

    "Sides 5, 12, 13: 5^2 + 13^2 = 12^2."

    Right working

    with 13 as the hypotenuse.

    Do this: Put the largest number on the right.

    Usually costs: 2 marks.

  • Mistake: Leaving the answer as a square

    The theorem gives c squared; take the square root.

    Wrong working

    "The hypotenuse is 169."

    Right working

    , so .

    Do this: Underline "length" in the question and write the root as the last step.

    Usually costs: 1 mark.

  • Mistake: Using full diagonals in the rhombus triangle

    The right triangle at the centre has legs equal to half the diagonals.

    Wrong working

    "Side."

    Right working

    Side, side .

    Do this: Mark the centre and halve each diagonal.

    Usually costs: The answer.

Exam tips

  • Always sketch and label the right angle; name the hypotenuse before writing the equation.
  • Memorise a handful of triples and their multiples to recognise exact answers, then verify by squaring.
  • In worded problems introduce a variable, write every side, form the equation and check by substitution.
  • For non-exact answers give bounds between two decimals and show the squares.
  • Quote the theorem by name when you use it.

Practice questions on Baudhayana-Pythagoras Theorem, Triples and Applications

Write each answer on paper first. Open the hint only if you are stuck, and the answer only when you have finished.

  1. Q1 · 1 mark · Assertion-reasonBoard level

    Assertion (A): (6, 8, 10) is a Baudhayana triple.
    Reason (R): (6, 8, 10) is 2 times the triple (3, 4, 5).
    (a) Both A and R are true and R is the correct explanation of A.
    (b) Both A and R are true but R is not the correct explanation of A.
    (c) A is true but R is false.
    (d) A is false but R is true.

    Hint

    Check 36 + 64 and use scaling.

    Answer

    (a). , and scaling a triple by 2 gives another triple.

  2. Q2 · 2 marks · Very short answerBoard level

    Use the odd-square method to find a Baudhayana triple in which the odd square is 49.

    Hint

    2n - 1 = 49 gives n.

    Answer

    gives . Then , i.e. : the triple ().

  3. Q3 · 3 marks · Short answerHarder board level

    An equilateral triangle has side 10 units. Find the height of the triangle, giving two decimals (one digit after the point) between which it lies, and bounds for the area.

    Hint

    The altitude bisects the base. Area = (1/2) x base x height.

    Answer

    The altitude bisects the base, giving a right triangle with legs and 5 and hypotenuse 10: . Since , . Area , between and square units.

  4. Q4 · 4 marks · Long answerHOTS / competency

    Prove that if (a, b, c) is a Baudhayana triple then so is (ka, kb, kc). List all scaled versions of (3, 4, 5) with every number at most 30, and find the smallest scaled version of (3, 4, 5) whose shortest side exceeds 100.

    Hint

    Use (ka)^2 + (kb)^2 = k^2(a^2 + b^2).

    Answer

    . With every number at most 30 (so , ): , , , , , . The shortest side needs , giving ; check .

  5. Q5 · 4 marks · Case-basedHOTS / competency

    Case study: a 25 m ladder leans against a vertical wall and its top touches the wall at a height of 24 m.
    (i) How far is the foot of the ladder from the wall? (1 mark)
    (ii) The top slides down 4 m. How far from the wall is the foot now? (1 mark)
    (iii) How far has the foot moved? (1 mark)
    (iv) Name the Baudhayana triples involved. (1 mark)

    Hint

    The ladder is the hypotenuse in both positions.

    Answer

    (i) , so 7 m. (ii) The top is at 20 m: , so 15 m. (iii) m. (iv) and , the latter being .

Test your recall

Answer in your head or on paper first, then open the card. Pulling an answer out of memory makes it stick far better than re-reading.

  1. 1.State the Baudhayana-Pythagoras theorem.Show answer

    In a right triangle, a squared + b squared = c squared, where c is the hypotenuse.

  2. 2.What is a primitive Baudhayana triple?Show answer

    A triple with no common factor greater than 1.

  3. 3.If (a, b, c) is a triple, what about (ka, kb, kc)?Show answer

    It is also a triple for every positive integer k.

  4. 4.Name two triples from Baudhayana's list.Show answer

    (3, 4, 5) and (5, 12, 13) (also (8, 15, 17), (7, 24, 25), (12, 35, 37), (15, 36, 39)).

  5. 5.What is the depth of the lotus lake in Bhaskara II's problem?Show answer

    4 units.

  6. 6.Which side of a right triangle is longest?Show answer

    The hypotenuse.

Baudhayana-Pythagoras Theorem, Triples and Applications: frequently asked questions

Why is it called the Baudhayana-Pythagoras theorem?

The chapter credits Baudhayana (c. 800 BCE) with stating it in its general form, long before Pythagoras (c. 500 BCE), who also studied it.

Do all triples come from the odd-square method?

No. That method gives triples where one leg is one less than the hypotenuse, so primitive triples such as (8, 15, 17) are not produced.

Can the three sides of a right triangle all be consecutive integers?

Only (3, 4, 5). It is the only right triangle with three consecutive whole-number sides.

How do I recognise a right triangle from its sides?

Check whether the square of the largest side equals the sum of the squares of the other two.