A rational number is a number which can be written as a fraction where both the numerator and denominator are integers. An irrational number is a number which cannot be written as a fraction of two integers.
We can write any terminating or recurring decimal as a fraction, therefore these are rational numbers. However, decimals which are neither terminating nor recurring are irrational numbers.
You might be familiar with one irrational number already: \pi. Like all other irrational numbers, \pi really does go on forever without repeating itself. We say therefore that it doesn't terminate, or repeat.
Another number that is famously irrational is \sqrt{2}. In fact, the square root of most numbers are irrational. If a root is irrational it is called a surd. The square roots of perfect squares are rational, \sqrt{1},\, \sqrt{4},\,\sqrt{9},\,...
Is \sqrt{35} rational or irrational?
A rational number is a number which can be written as a fraction where both the numerator and denominator are integers.
An irrational number is a number which cannot be written as a fraction of two integers.
A surd is a square root which is irrational.
What if we were given the recurring decimal 0.0\overline{12}=0.012\,121\,212\,... and asked to convert it into a fraction? We could type 0.012\,121\,212 into our calculator and press the button to convert it into a fraction, but most calculators won't do it, and even if they do, it will give you the fraction for the terminating decimal 0.012\,121\,212, not for the recurring decimal 0.0\overline{12}.
Fortunately, we can use some simple algebra to convert any recurring decimal to a fraction. To do this, we use a nice trick to get rid of the endless recurring part of the decimal.
Let x=0.58\overline{3}.
By considering the value of 100x, write x as a fully simplified fraction.
A recurring decimal, also known as a repeating decimal, is a number containing an infinitely repeating number or series of numbers occurring after the decimal point.
Consider one third. This can be written as a fraction \dfrac{1}{3}, and as a decimal we know it repeats forever as 0.333\,333... So if we want to do an exact calculation that includes \dfrac{1}{3}, we should keep it as a fraction throughout the calculation.
If we type 1\div3 into a calculator, and it would show us around 8 or 9 digits on the screen. This is now an approximation. 0.333\,333\,333\,3 is a good approximation of \dfrac{1}{3}, but even this has been rounded to fit on your calculator screen, so it is no longer the exact value.
If we were given \dfrac{7}{9} and asked to express it as a decimal, we could enter it into our calculator and get 0.777\,777\,777. Our calculator eventually runs out of space, but we know that we have a recurring decimal 0.\overline{7} and that the sevens in 0.777\,777\,777\,... go on forever.
To convert from a fraction to a decimal, we can rewrite the fraction as division expression. For example, \dfrac{3}{7} is 3 divided by 7. Then we can use short division, adding extra zeros as required to the numerator.
Write the fraction \dfrac{7}{9} as a recurring decimal.
A number has an exact value. In the case of fractions and roots, the exact value must be a fraction or root.
Numbers also have approximations. These are numbers which are close but not equal to the exact value. We usually find approximations by rounding the exact value.
For example, if \dfrac{2}{3} is the exact value, then 0.667 is an approximation.