Home > Number theory > Rational and Irrational Numbers

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


  1. June 4th, 2009 at 15:03 | #1

    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.

  2. June 4th, 2009 at 15:06 | #2
  3. admin
    September 2nd, 2009 at 06:46 | #3

    test comment

  4. admin
    June 5th, 2009 at 04:52 | #4

    Thanks for the link :)
    David

  1. No trackbacks yet.
Question Comment

Spam Protection by WP-SpamFree