<?xml version="1.0" encoding="UTF-8"?>

<record version="10" id="396">
 <title>rational number</title>
 <name>RationalNumber</name>
 <created>2001-10-19 13:20:28</created>
 <modified>2005-02-14 21:31:27</modified>
 <type>Definition</type>
 <creator id="24" name="djao"/>
 <author id="24" name="djao"/>
 <classification>
	<category scheme="msc" code="03E99"/>
	<category scheme="msc" code="11A99"/>
	<category scheme="msc" code="13B30"/>
 </classification>
 <defines>
	<concept>rational</concept>
 </defines>
 <synonyms>
	<synonym concept="rational number" alias="$\mathbb{Q}$"/>
 </synonyms>
 <related>
	<object name="Fraction"/>
	<object name="ProofThatTheRationalsAreCountable"/>
 </related>
 <preamble>\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{xypic}</preamble>
 <content>The rational numbers $\mathbb{Q}$ are the fraction field of the ring $\mathbb{Z}$ of integers. In more elementary terms, a rational number is a quotient $a/b$ of two integers $a$ and $b$, where $b$ is nonzero. Two fractions $a/b$ and $c/d$ are equivalent if the product of the cross terms is equal:
$$
\frac{a}{b} = \frac{c}{d} \iff ad = bc
$$
Addition and multiplication of fractions are given by the formulae
\begin{eqnarray*}
\frac{a}{b} + \frac{c}{d} &amp; = &amp; \frac{ad + bc}{bd} \\
\frac{a}{b} \cdot \frac{c}{d} &amp; = &amp; \frac{ac}{bd}
\end{eqnarray*}

The field of rational numbers is an ordered field, under the ordering relation $\leq$ defined as follows: $a/b \leq c/d$ if
\begin{enumerate}
\item the inequality $a\cdot d \leq b \cdot c$ holds in the integers, and $b$ has the same sign as $d$, or
\item the inequality $a\cdot d \geq b \cdot c$ holds in the integers, and $b$ has the opposite sign as $d$.
\end{enumerate}
Under this ordering relation, the rational numbers form a topological space under the order topology. The set of rational numbers is dense when considered as a subset of the real numbers.</content>
</record>
