The Pythagoras theorem says that in a right-angled triangle, the square on the longest side (the hypotenuse) equals the sum of the squares on the other two sides: a² + b² = c². It lets you find a missing side when you know the other two, and its converse lets you test whether a triangle has a right angle. In NCERT's Class 8 book, Ganita Prakash Part II, the theorem has a full chapter of its own, "The Baudhayana-Pythagoras Theorem".
This guide explains the theorem, one simple proof, Pythagorean triples, the converse and why √2 appears as a real length. There are four worked examples and a list of common mistakes. If geometry is where your child loses marks, our Class 8 maths tutor in Gurgaon works one to one, at home in Gurgaon or online.
Why "Baudhayana-Pythagoras"?
The result is very old and was known in more than one place. Baudhayana's Sulba Sutra, an ancient Indian text about building fire altars of exact shapes and sizes, states it for the diagonal of a rectangle: the square on the diagonal equals the two squares on the sides together. The theorem is also linked with the Greek thinker Pythagoras. NCERT's title uses both names. You can read where this chapter sits in the year in our Class 8 maths syllabus guide.
The statement
In a triangle with a right angle:
- the hypotenuse is the side opposite the right angle; it is always the longest side
- the other two sides are called the legs
If the legs are a and b and the hypotenuse is c, then
a² + b² = c²
"Square" here means a real square. Draw a square on each side of the triangle: the area of the big square equals the areas of the two smaller squares added together.
Why it works: a proof with four triangles
Take four copies of a right-angled triangle with legs a and b and hypotenuse c. Arrange them inside a big square with side a + b, one triangle in each corner, so the hypotenuses form a tilted square in the middle. That tilted square has side c.
Now find the area of the big square in two ways.
- As one square: (a + b)² = a² + 2ab + b².
- As pieces: four triangles, each ½ × a × b, plus the tilted square: 4 × ½ab + c² = 2ab + c².
The two must be equal:
a² + 2ab + b² = 2ab + c²
Take 2ab from both sides: a² + b² = c².
This proof uses the identity (a + b)² = a² + 2ab + b². If that step feels new, our guide to Class 8 algebraic identities shows the same square split into pieces.
Pythagorean triples
A Pythagorean triple is three whole numbers that fit a² + b² = c². The ones worth knowing by heart:
| Triple | Check |
|---|---|
| 3, 4, 5 | 9 + 16 = 25 |
| 5, 12, 13 | 25 + 144 = 169 |
| 8, 15, 17 | 64 + 225 = 289 |
| 7, 24, 25 | 49 + 576 = 625 |
| 20, 21, 29 | 400 + 441 = 841 |
Any multiple of a triple is also a triple: 6, 8, 10 and 30, 40, 50 both come from 3, 4, 5.
Making your own. Pick two whole numbers m and n with m bigger than n. Then m² − n², 2mn and m² + n² always form a triple. With m = 4 and n = 1: 15, 8, 17. With m = 5 and n = 2: 21, 20, 29.
Spotting triples saves time in tests, and it relies on knowing your squares; our guide to Class 8 squares and square roots helps here.
Worked example 1: finding the hypotenuse
A rectangular garden is 20 m long and 21 m wide. How long is the diagonal path across it?
The diagonal is the hypotenuse of a right-angled triangle with legs 20 m and 21 m.
c² = 20² + 21² = 400 + 441 = 841
c = √841 = 29 m
Check: 29² = 841. This is the 20, 21, 29 triple.
Worked example 2: finding a missing leg
A rope 17 m long is tied to the top of a vertical pole and pegged to flat ground 8 m from the foot of the pole. The rope is straight. How tall is the pole?
The rope is the hypotenuse (17 m). One leg is the ground distance (8 m). The other leg is the height h.
h² + 8² = 17²
h² + 64 = 289
h² = 225
h = 15 m
When the hypotenuse is known, subtract: h² = 17² − 8². Adding here is the most common slip.
Worked example 3: the converse, testing for a right angle
The converse says: if the sides of a triangle fit a² + b² = c², with c the longest side, then the triangle has a right angle opposite c.
(a) Sides 11 cm, 60 cm, 61 cm.
Longest side 61. 11² + 60² = 121 + 3,600 = 3,721, and 61² = 3,721. Equal, so the triangle is right-angled, with the right angle opposite the 61 cm side.
(b) Sides 7 cm, 9 cm, 12 cm.
Longest side 12. 7² + 9² = 49 + 81 = 130, but 12² = 144. Not equal, so the triangle is not right-angled. (Because 130 is less than 144, the angle opposite the longest side is bigger than a right angle.)
Builders use the same idea with a 3, 4, 5 rope: mark lengths of 3 units and 4 units along two walls from a corner; if the gap between the marks is exactly 5 units, the corner is square.
Worked example 4: √2 as a length
A square has sides of 1 unit. How long is its diagonal?
The diagonal splits the square into two right-angled triangles with legs 1 and 1.
d² = 1² + 1² = 2, so d = √2 units.
No whole number and no fraction has a square of exactly 2, yet the diagonal is a real line you can draw and measure. So √2 is a genuine length. To estimate it: 1.4² = 1.96 and 1.5² = 2.25, so √2 is between 1.4 and 1.5; 1.41² = 1.9881 and 1.42² = 2.0164, so √2 is about 1.41.
The Sulba Sutras give a remarkable approximation, 1 + 1/3 + 1/(3 × 4) − 1/(3 × 4 × 34), which works out to 577/408. That is about 1.414216, against √2 ≈ 1.414214.
Drawing √2 and √5 on a number line. Draw a 1 by 1 right-angled triangle on the number line from 0; swing the hypotenuse down with a compass to mark √2. A triangle with legs 2 and 1 gives a hypotenuse of √5, since 4 + 1 = 5.
Common mistakes
- Adding when you should subtract. If you know the hypotenuse and want a leg, subtract: leg² = c² − other leg².
- Using the wrong side as c. The hypotenuse is opposite the right angle and is always the longest side.
- Forgetting the square root. c² = 841 means c = 29, not 841.
- Adding the sides before squaring. 20 + 21 = 41 and 41² is not the answer. Square each side first, then add.
- Using the theorem on a triangle with no right angle. a² + b² = c² works only for right-angled triangles.
- Testing the converse with the wrong side. Always check the two shorter sides against the longest one.
How to practise this at home
Ten to fifteen minutes a day:
- Learn squares up to 30² so triples jump out at you.
- Draw three right-angled triangles on squared paper, measure the hypotenuse with a ruler and compare with your calculation.
- Do two "find the hypotenuse" and two "find the leg" questions a day, mixed, so you have to decide whether to add or subtract.
- Make two new triples using the m and n rule, and check each one.
- Use a measuring tape to check whether a table corner or a door frame is square with the 3, 4, 5 rule.
Where this leads
Pythagoras is used again and again after Class 8: in coordinate geometry (the distance between two points), in trigonometry and in mensuration. The ICSE Class 9 syllabus lists Pythagoras under triangles, and our ICSE Class 9 maths tutor page covers that course. For CBSE and other boards, see our Class 9 maths tutor page. If your child enjoys geometry and wants to go deeper, our geometry tutor page explains our approach.
How Maths Bodhi helps
Our tutors teach the theorem with drawings and the four-triangle proof first, so students understand it before they use it. We then practise choosing between adding and subtracting, spotting triples and using the converse, until every step is reliable.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Frequently asked questions
- What is the Pythagoras theorem in Class 8?
- In a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c², where c is the side opposite the right angle.
- Why is it called the Baudhayana-Pythagoras theorem?
- The result was known in ancient India: Baudhayana's Sulba Sutra states it for the diagonal of a rectangle. It is also linked with the Greek thinker Pythagoras. NCERT's Class 8 chapter uses both names.
- What is the converse of the Pythagoras theorem?
- If the squares of the two shorter sides of a triangle add up to the square of the longest side, the triangle has a right angle opposite the longest side. For example, 11, 60 and 61 make a right-angled triangle.
- What are Pythagorean triples?
- Three whole numbers that fit a² + b² = c², such as 3, 4, 5 and 5, 12, 13 and 8, 15, 17. Any multiple of a triple, such as 6, 8, 10, is also a triple.
- How do I find a missing side?
- If the missing side is the hypotenuse, add the squares of the two legs and take the square root. If a leg is missing, subtract the square of the known leg from the square of the hypotenuse, then take the square root.
- Does the Pythagoras theorem work for every triangle?
- No. It works only for right-angled triangles. For other triangles, a² + b² will be more or less than the square of the longest side.
