Rational and Irrational Numbers
All real numbers are either rational or irrational.
A number x is rational if it can be written in the form a/b where a and b are integers and b≠0 and a number which cant be written in this form is irrational.
Most of the time we deal with rational numbers, for example all the integers are rational as they can be written in the form of themselves over 1, all fractions are obviously rational and also are terminating or repeating decimals. When an irrational number is written out it will appear as an infinite non repeating decimal. Examples of irrational numbers are π (pi) and √2, in fact many square roots are irrational numbers.
Numbers can usually be proved to be irrational by contradiction, by assuming that they are rational and writing them in the form p/q where p and q are co-prime. Then a contradiction is usually produced by showing that they both have common factor other than 1. For example when proving √2 is irrational you can show that p and q must both have a common factor of 2.
There infinitely many rational and irrational numbers, however whilst it is possible to use a method to count all the rational numbers, if you had an infinite amount of time, this cannot be done for the irrational numbers.
Showing a repeating decimal is rational
A repeating decimal can be shown to be rational using the following method:
Consider the repeating decimal x,
Multiply x by 10 n where n is the number of repeating digits
Now subtract x from x10 n to get (10n-1)x
This number will be a finite decimal as all the repeating terms after the decimal point should cancel.
divide through by (10n-1)x to get an expression for x in the form of a fraction.
eg let x = 1/7 = 0.142857142857142857………
then 1000000x = 142857.142857142857………
so 999999x = 142857.0
x=142857/999999
so 1/7 = 142857/999999 therefore 1/7 is rational
if you have any questions, comment or corrections please leave them as a comment below
By David Woodford
Yes, Rohedi agrees with your explanation about rational and irrational numbers. But, special for pi number the reason from me why it has irrational properties, please read on the leave comment of http://rohedi.com/content/view/25/26/.Thanks @Dave.
Sorry, at here http://rohedi.com/content/view/25/26/
test comment
Thanks for the link
David