Try it yourself · Class 8 Maths · Rational Numbers
Long division: when does p/q end or repeat?
This simulation divides by one digit at a time and shows the remainder after each digit. If the remainder becomes 0 the decimal ends. If a remainder comes back, the digits from that point repeat for ever.
Divide by . Each digit shows the remainder left. A remainder that comes back starts the repeating block.
The simulation needs JavaScript; everything it shows is explained below.
What to change
- Slide Numerator p from 1 to 30.
- Slide Denominator q from 2 to 30.
- Look at the readout rows Denominator, Result and Digits after each change.
What to watch
- Each box holds one digit of the decimal, and the grey number under it is the remainder left after that digit.
- With p = 3 and q = 8 the digits are 3, 7, 5 and the remainder reaches 0, so the readout says terminates with 3 digits. The denominator is .
- With p = 1 and q = 7 a remainder comes back after six digits, so the red block 142857 repeats and the readout says repeats with a block of 6.
- The readout reduces p/q first. With p = 3 and q = 12 it shows 1/4 and the denominator 2^2, so it ends at 0.25.
The idea
A fraction in lowest form gives a decimal that ends only when its denominator has no prime factor except 2 and 5. Any other denominator makes a remainder repeat, so a block of digits repeats for ever.
Try these questions
Work each one out with the simulation, tap to see the answer, then try the chapter quiz.
-
NCERT
Will we ever get a number with a terminating decimal representation whose square is 2?Show the answer
No. -
NCERT
Similarly, to find 10% of a quantity, what decimal value should be multiplied?Show the answer
0.1
