Difference between revisions of "Rational number"

(rewrote first sentence and wikified)
Line 1: Line 1:
==Definition==
+
A '''rational number''' is a [[real number]] that can be represented as a ratio of two [[integer]]s.  
A number is called rational if it can be represented as a ratio of two [[integer]]s.  
+
 
 +
 
 
==Examples==
 
==Examples==
 
* All integers are rational because every integer <math>a</math> can be represented as <math>a=\frac a1</math> (or <math>\frac{2a}2</math>, or...)
 
* All integers are rational because every integer <math>a</math> can be represented as <math>a=\frac a1</math> (or <math>\frac{2a}2</math>, or...)
Line 6: Line 7:
 
* All numbers whose decimal expansion is [[periodic]] (repeating, i.e. 0.314314314...) in some base are rationals.  
 
* All numbers whose decimal expansion is [[periodic]] (repeating, i.e. 0.314314314...) in some base are rationals.  
 
Actually, the last property characterizes rationals among all [[real number]]s.
 
Actually, the last property characterizes rationals among all [[real number]]s.
 +
  
 
==Properties==
 
==Properties==
 
# Rational numbers form a [[field]]. In plain English it means that you can add, subtract, multiply, and divide them (with the obvious exception of division by <math>0</math>) and the result of each such operation is again a rational number.
 
# Rational numbers form a [[field]]. In plain English it means that you can add, subtract, multiply, and divide them (with the obvious exception of division by <math>0</math>) and the result of each such operation is again a rational number.
 
# Rational numbers are [[dense]] in the set of reals. This means that every non-empty open interval on the real line contains at least one (actually, infinitely many) rationals. Alternatively, it means that every real number can be represented as a [[limit]] of a [[sequence]] of rational numbers.
 
# Rational numbers are [[dense]] in the set of reals. This means that every non-empty open interval on the real line contains at least one (actually, infinitely many) rationals. Alternatively, it means that every real number can be represented as a [[limit]] of a [[sequence]] of rational numbers.
 +
  
 
==See also==
 
==See also==
 
[[rational approximation]]
 
[[rational approximation]]

Revision as of 20:46, 23 July 2006

A rational number is a real number that can be represented as a ratio of two integers.


Examples

  • All integers are rational because every integer $a$ can be represented as $a=\frac a1$ (or $\frac{2a}2$, or...)
  • All numbers whose decimal expansion or expansion in some other number base is finite are rational (say, $12.345=\frac{12345}{1000}$)
  • All numbers whose decimal expansion is periodic (repeating, i.e. 0.314314314...) in some base are rationals.

Actually, the last property characterizes rationals among all real numbers.


Properties

  1. Rational numbers form a field. In plain English it means that you can add, subtract, multiply, and divide them (with the obvious exception of division by $0$) and the result of each such operation is again a rational number.
  2. Rational numbers are dense in the set of reals. This means that every non-empty open interval on the real line contains at least one (actually, infinitely many) rationals. Alternatively, it means that every real number can be represented as a limit of a sequence of rational numbers.


See also

rational approximation