Try it yourself · Class 9 Maths · Number Systems

Right triangle: change base a and height b

By Pythagoras, the hypotenuse of a right triangle with legs and is . This simulation swings that length onto a number line. Sometimes it lands on a whole number, but mostly it lands between whole numbers and is irrational.

Right triangle with legs ; hypotenuse swung onto the line.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide the base a from 1 to 8.
  • Slide the height b from 1 to 8.
  • Watch the green or orange dot on the number line from 0 to 12.

What to watch

  • At the start and , so . The hypotenuse is , the dot lies between 3 and 4 and the readout says irrational.
  • With and we get and a hypotenuse of exactly 5. The dot is green and the readout says rational.
  • With and the hypotenuse is , which is irrational.
  • With both legs from 1 to 8, only the pairs 3 and 4, and 6 and 8 give whole-number hypotenuses, 5 and 10.

The formula

and are the two legs of the right triangle. The hypotenuse is rational only when is a perfect square.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. Our question

    Which of the following numbers is irrational?
    Show the answer
    (A)
  2. NCERT

    Which of the following is irrational?
    Show the answer
    (C)
  3. Our question

    In the square root spiral, the first right triangle has both legs . Each later triangle has one leg and its other leg equal to the previous hypotenuse. What is the hypotenuse of the triangle?
    Show the answer
    (C)

More to try in Number Systems

Every simulation in the Lab