Try it yourself · Class 8 Maths · Rational Numbers

Rational numbers on the number line: change p and q

A rational number is placed on the number line by cutting every unit into equal parts and counting parts from 0. The dot goes to the right of 0 when is positive and to the left when is negative.

Each unit has parts; the dot is parts from .

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

What to change

  • Slide Numerator p from -20 to 20.
  • Slide Denominator q from 1 to 8 to cut each unit into that many equal parts.
  • Try a negative p to move the dot to the left of 0.

What to watch

  • The green arrow runs from 0 to the dot, and the small marks between whole numbers show the q equal parts of each unit.
  • Keep p = 6 and raise q from 1 to 6. The dot moves from 6 to 3, 2, 1.5, 1.2 and finally 1, because each part becomes smaller.
  • With p = -7 and q = 4 the readout shows 7 parts left, a value of -1.75, lowest form -7/4 and Between -2 and -1.
  • When p and q have a common factor, such as 6 and 4, the dot is on the same place as its lowest form 3/2.

The formula

is how many parts to count from 0 (right if positive, left if negative) and is the number of equal parts in each unit.

Try these questions

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

  1. NCERT

    The rational numbers and are on the ________ sides of zero on the number line.
    Show the answer
    opposite
  2. NCERT

    The rational number lies to the left of zero on the number line.
    Show the answer
    False
  3. NCERT

    The rational number lies to the right of zero on the number line.
    Show the answer
    False

More to try in Rational Numbers

Every simulation in the Lab