Rational number

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Script error: No such module "redirect hatnote".

File:Number-systems (NZQRC).svg
The rational numbers Template:Tmath are included in the real numbers Template:Tmath, which are included in the complex numbers Template:Tmath, while rationals include the integers Template:Tmath, which in turn include the natural numbers Template:Tmath.

In mathematics, a rational number is a number that can be expressed as the quotient or fraction Template:Tmath of two integers, a numerator Template:Mvar and a non-zero denominator Template:Mvar.[1] For example, Template:Tmath is a rational number, as is every integer (for example, 5=51). The set of all rational numbers is often referred to as "the rationals",[2] and is closed under addition, subtraction, multiplication, and division by a nonzero rational number. It is a field under these operations and therefore also called the field of rationals[3] or the field of rational numbers. It is usually denoted by boldface QScript error: No such module "Check for unknown parameters"., or blackboard bold Template:Tmath

A rational number is a real number. The real numbers that are rational are those whose decimal expansion either terminates after a finite number of digits (example: 3/4 = 0.75Script error: No such module "Check for unknown parameters".), or eventually begins to repeat the same finite sequence of digits over and over (example: 9/44 = 0.20454545...Script error: No such module "Check for unknown parameters".).[4] This statement is true not only in base 10, but also in every other integer base, such as the binary and hexadecimal ones (see Template:Slink).

A real number that is not rational is called irrational.[5] Irrational numbers include the square root of 2 (Template:Tmath), [[Pi|Template:Pi]], Template:Mvar, and the golden ratio (Template:Mvar). Since the set of rational numbers is countable, and the set of real numbers is uncountable, almost all real numbers are irrational.[1]

The field of rational numbers is the unique field that contains the integers, and is contained in any field containing the integers. In other words, the field of rational numbers is a prime field. A field has characteristic zero if and only if it contains the rational numbers as a subfield. Finite extensions of Template:Tmath are called algebraic number fields, and the algebraic closure of Template:Tmath is the field of algebraic numbers.[6]

In mathematical analysis, the rational numbers form a dense subset of the real numbers. The real numbers can be constructed from the rational numbers by completion, using Cauchy sequences, Dedekind cuts, or infinite decimals (see Construction of the real numbers).

Terminology

In mathematics, "rational" is often used as a noun abbreviating "rational number". The adjective rational sometimes means that the coefficients are rational numbers. For example, a rational point is a point with rational coordinates (i.e., a point whose coordinates are rational numbers); a rational matrix is a matrix of rational numbers; a rational polynomial may be a polynomial with rational coefficients, although the term "polynomial over the rationals" is generally preferred, to avoid confusion between "rational expression" and "rational function" (a polynomial is a rational expression and defines a rational function, even if its coefficients are not rational numbers). However, a rational curve is not a curve defined over the rationals, but a curve which can be parameterized by rational functions.

Etymology

Although nowadays rational numbers are defined in terms of ratios, the term rational is not a derivation of ratio. On the contrary, it is ratio that is derived from rational: the first use of ratio with its modern meaning was attested in English about 1660,[7] while the use of rational for qualifying numbers appeared almost a century earlier, in 1570.[8] This meaning of rational came from the mathematical meaning of irrational, which was first used in 1551, and it was used in "translations of Euclid (following his peculiar use of Script error: No such module "Lang".)".[9][10]

This unusual history originated in the fact that ancient Greeks "avoided heresy by forbidding themselves from thinking of those [irrational] lengths as numbers".[11] So such lengths were irrational, in the sense of illogical, that is "not to be spoken about" (Script error: No such module "Lang". in Greek).[12]

Arithmetic

Script error: No such module "Labelled list hatnote".

Irreducible fraction

Every rational number may be expressed in a unique way as an irreducible fraction Template:Tmath where Template:Mvar and Template:Mvar are coprime integers and b > 0Script error: No such module "Check for unknown parameters".. This is often called the canonical form of the rational number.

Starting from a rational number Template:Tmath its canonical form may be obtained by dividing Template:Mvar and Template:Mvar by their greatest common divisor, and, if b < 0Script error: No such module "Check for unknown parameters"., changing the sign of the resulting numerator and denominator.

Embedding of integers

Any integer Template:Mvar can be expressed as the rational number Template:Tmath which is its canonical form as a rational number.

Equality

ab=cd if and only if ad=bc

If both fractions are in canonical form, then:

ab=cd if and only if a=c and b=d[13]

Ordering

If both denominators are positive (particularly if both fractions are in canonical form):

ab<cd if and only if ad<bc.

On the other hand, if either denominator is negative, then each fraction with a negative denominator must first be converted into an equivalent form with a positive denominator—by changing the signs of both its numerator and denominator.[13]

Addition

Two fractions are added as follows:

ab+cd=ad+bcbd.

If both fractions are in canonical form, the result is in canonical form if and only if Template:Mvar are coprime integers.[13][14]

Subtraction

abcd=adbcbd.

If both fractions are in canonical form, the result is in canonical form if and only if Template:Mvar are coprime integers.[14]

Multiplication

The rule for multiplication is:

abcd=acbd.

where the result may be a reducible fraction—even if both original fractions are in canonical form.[13][14]

Inverse

Every rational number Template:Tmath has an additive inverse, often called its opposite,

(ab)=ab.

If Template:Tmath is in canonical form, the same is true for its opposite.

A nonzero rational number Template:Tmath has a multiplicative inverse, also called its reciprocal,

(ab)1=ba.

If Template:Tmath is in canonical form, then the canonical form of its reciprocal is either Template:Tmath or Template:Tmath depending on the sign of Template:Mvar.

Division

If Template:Mvar are nonzero, the division rule is

abcd=adbc.

Thus, dividing Template:Tmath by Template:Tmath is equivalent to multiplying Template:Tmath by the reciprocal of Template:Tmath[14]

adbc=abdc.

Exponentiation to integer power

If Template:Mvar is a non-negative integer, then

(ab)n=anbn.

The result is in canonical form if the same is true for Template:Tmath In particular,

(ab)0=1.

If a ≠ 0Script error: No such module "Check for unknown parameters"., then

(ab)n=bnan.

If Template:Tmath is in canonical form, the canonical form of the result is Template:Tmath if a > 0Script error: No such module "Check for unknown parameters". or Template:Mvar is even. Otherwise, the canonical form of the result is Template:Tmath

Continued fraction representation

Script error: No such module "Labelled list hatnote". A finite continued fraction is an expression such as

a0+1a1+1a2+1+1an,

where Template:Mvar are integers. Every rational number Template:Tmath can be represented as a finite continued fraction, whose coefficients Template:Mvar can be determined by applying the Euclidean algorithm to (a, b)Script error: No such module "Check for unknown parameters"..

Other representations

are different ways to represent the same rational value.

Formal construction

File:Rational Representation.svg
A diagram showing a representation of the equivalent classes of pairs of integers

The rational numbers may be built as equivalence classes of ordered pairs of integers.[13][14]

More precisely, let Template:Tmath be the set of the pairs (m, n)Script error: No such module "Check for unknown parameters". of integers such n ≠ 0Script error: No such module "Check for unknown parameters".. An equivalence relation is defined on this set by

(m1,n1)(m2,n2)m1n2=m2n1.[13][14]

Addition and multiplication can be defined by the following rules:

(m1,n1)+(m2,n2)(m1n2+n1m2,n1n2),
(m1,n1)×(m2,n2)(m1m2,n1n2).[13]

This equivalence relation is a congruence relation, which means that it is compatible with the addition and multiplication defined above; the set of rational numbers Template:Tmath is the defined as the quotient set by this equivalence relation, Template:Tmath equipped with the addition and the multiplication induced by the above operations. (This construction can be carried out with any integral domain and produces its field of fractions.)[13]

The equivalence class of a pair (m, n)Script error: No such module "Check for unknown parameters". is denoted Template:Tmath Two pairs (m1, n1)Script error: No such module "Check for unknown parameters". and (m2, n2)Script error: No such module "Check for unknown parameters". belong to the same equivalence class (that is are equivalent) if and only if

m1n2=m2n1.

This means that

m1n1=m2n2

if and only if[13][14]

m1n2=m2n1.

Every equivalence class Template:Tmath may be represented by infinitely many pairs, since

=2m2n=mn=mn=2m2n=.

Each equivalence class contains a unique canonical representative element. The canonical representative is the unique pair (m, n)Script error: No such module "Check for unknown parameters". in the equivalence class such that Template:Mvar and Template:Mvar are coprime, and n > 0Script error: No such module "Check for unknown parameters".. It is called the representation in lowest terms of the rational number.

The integers may be considered to be rational numbers identifying the integer Template:Mvar with the rational number Template:Tmath

A total order may be defined on the rational numbers, that extends the natural order of the integers. One has

m1n1m2n2

If

(n1n2>0andm1n2n1m2)or(n1n2<0andm1n2n1m2).

Properties

The set Template:Tmath of all rational numbers, together with the addition and multiplication operations shown above, forms a field.[13]

Template:Tmath has no field automorphism other than the identity. (A field automorphism must fix 0 and 1; as it must fix the sum and the difference of two fixed elements, it must fix every integer; as it must fix the quotient of two fixed elements, it must fix every rational number, and is thus the identity.)

Template:Tmath is a prime field, which is a field that has no subfield other than itself.[15] The rationals are the smallest field with characteristic zero. Every field of characteristic zero contains a unique subfield isomorphic to Template:Tmath

With the order defined above, Template:Tmath is an ordered field[14] that has no subfield other than itself, and is the smallest ordered field, in the sense that every ordered field contains a unique subfield isomorphic to Template:Tmath

Template:Tmath is the field of fractions of the integers Template:Tmath[16] The algebraic closure of Template:Tmath i.e. the field of roots of rational polynomials, is the field of algebraic numbers.

The rationals are a densely ordered set: between any two rationals, there sits another one, and, therefore, infinitely many other ones.[13] For example, for any two fractions such that

ab<cd

(where b,d are positive), we have

ab<a+cb+d<cd.

Any totally ordered set which is countable, dense (in the above sense), and has no least or greatest element is order isomorphic to the rational numbers.[17]

Countability

File:Diagonal argument.svg
Illustration of the countability of the positive rationals

The set of positive rational numbers is countable, as is illustrated in the figure.

More precisely, one can sort the fractions by increasing values of the sum of the numerator and the denominator, and, for equal sums, by increasing numerator or denominator. This produces a sequence of fractions, from which one can remove the reducible fractions (in red on the figure), for getting a sequence that contains each rational number exactly once. This establishes a bijection between the rational numbers and the natural numbers, which maps each rational number to its rank in the sequence.

A similar method can be used for numbering all rational numbers (positive and negative).

As the set of all rational numbers is countable, and the set of all real numbers (as well as the set of irrational numbers) is uncountable, the set of rational numbers is a null set, that is, almost all real numbers are irrational, in the sense of Lebesgue measure.[18]

Real numbers and topological properties

The rationals are a dense subset of the real numbers; every real number has rational numbers arbitrarily close to it.[13] A related property is that rational numbers are the only numbers with finite expansions as regular continued fractions.[19]

In the usual topology of the real numbers, the rationals are neither an open set nor a closed set.[20]

By virtue of their order, the rationals carry an order topology. The rational numbers, as a subspace of the real numbers, also carry a subspace topology. The rational numbers form a metric space by using the absolute difference metric d(x,y)=|xy|, and this yields a third topology on Template:Tmath All three topologies coincide and turn the rationals into a topological field. The rational numbers are an important example of a space which is not locally compact. The rationals are characterized topologically as the unique countable metrizable space without isolated points. The space is also totally disconnected. The rational numbers do not form a complete metric space, and the real numbers are the completion of Template:Tmath under the metric d(x,y)=|xy| above.[14]

p-adic numbers

Template:Main article In addition to the absolute value metric mentioned above, there are other metrics which turn Template:Tmath into a topological field:

Let Template:Mvar be a prime number and for any non-zero integer Template:Mvar, let |a|p=pn, where Template:Mvar is the highest power of Template:Mvar dividing Template:Mvar.

In addition set |0|p=0. For any rational number Template:Tmath we set

|ab|p=|a|p|b|p.

Then

dp(x,y)=|xy|p

defines a metric on Template:Tmath[21]

The metric space Template:Tmath is not complete, and its completion is the [[p-adic number|Template:Mvar-adic number field]] Template:Tmath Ostrowski's theorem states that any non-trivial absolute value on the rational numbers Template:Tmath is equivalent to either the usual real absolute value or a [[p-adic number|Template:Mvar-adic]] absolute value.

See also

Template:Classification of numbers

References

<templatestyles src="Reflist/styles.css" />

  1. a b Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1". Extract of page 382
  3. Script error: No such module "citation/CS1". Extract of page 104
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1". Entry ratio, n., sense 2.a.
  8. Script error: No such module "citation/CS1". Entry rational, a. (adv.) and n.1, sense 5.a.
  9. Script error: No such module "citation/CS1". Entry irrational, a. and n., sense 3.
  10. Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".
  12. Script error: No such module "citation/CS1".
  13. a b c d e f g h i j k l Script error: No such module "citation/CS1".
  14. a b c d e f g h i Script error: No such module "citation/CS1".
  15. Script error: No such module "citation/CS1".
  16. Script error: No such module "citation/CS1".
  17. Script error: No such module "citation/CS1".
  18. Script error: No such module "citation/CS1".
  19. Script error: No such module "citation/CS1". Extract of page 1
  20. Script error: No such module "citation/CS1". Extract of page 26
  21. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

Notes

Template:Notelist

External links

Template:Sister project Template:Sister project

Template:Algebraic numbers Script error: No such module "Navbox". Template:Rational numbers Template:Authority control