<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Real_Numbers%3ARational</id>
	<title>Real Numbers:Rational - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Real_Numbers%3ARational"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;action=history"/>
	<updated>2026-09-14T02:19:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2827&amp;oldid=prev</id>
		<title>Khanh at 21:52, 21 October 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2827&amp;oldid=prev"/>
		<updated>2021-10-21T21:52:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:52, 21 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l162&quot; &gt;Line 162:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 162:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Giese, Martin; Schönegge, Arno (December 1995). Any two countable densely ordered sets without endpoints are isomorphic - a formal proof with KIV (PDF) (Technical report). Retrieved 17 August 2021.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Giese, Martin; Schönegge, Arno (December 1995). Any two countable densely ordered sets without endpoints are isomorphic - a formal proof with KIV (PDF) (Technical report). Retrieved 17 August 2021.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Weisstein, Eric W. &amp;quot;p-adic Number&amp;quot;. mathworld.wolfram.com. Retrieved 2021-08-17.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Weisstein, Eric W. &amp;quot;p-adic Number&amp;quot;. mathworld.wolfram.com. Retrieved 2021-08-17.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Licensing == &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://en.wikipedia.org/wiki/Rational_number Rational number, Wikipedia] under a CC BY-SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2632&amp;oldid=prev</id>
		<title>Khanh at 05:07, 20 October 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2632&amp;oldid=prev"/>
		<updated>2021-10-20T05:07:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;amp;diff=2632&amp;amp;oldid=2618&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2618&amp;oldid=prev</id>
		<title>Khanh at 22:03, 19 October 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2618&amp;oldid=prev"/>
		<updated>2021-10-19T22:03:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;amp;diff=2618&amp;amp;oldid=2607&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2607&amp;oldid=prev</id>
		<title>Lila at 21:15, 19 October 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2607&amp;oldid=prev"/>
		<updated>2021-10-19T21:15:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:15, 19 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l111&quot; &gt;Line 111:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;(n_1n_2 &amp;gt; 0 \quad \text{and} \quad m_1n_2 \le n_1m_2)\qquad \text{or}\qquad (n_1n_2 &amp;lt; 0 \quad \text{and} \quad m_1n_2 \ge n_1m_2).&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;(n_1n_2 &amp;gt; 0 \quad \text{and} \quad m_1n_2 \le n_1m_2)\qquad \text{or}\qquad (n_1n_2 &amp;lt; 0 \quad \text{and} \quad m_1n_2 \ge n_1m_2).&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Properties==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Diagonal argument.svg|thumb|right|200px|Illustration of the countability of the positive rationals]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The set {{math|'''Q'''}} of all rational numbers, together with the addition and multiplication operations shown above, forms a [[field (mathematics)|field]].&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{math|'''Q'''}} has no [[field automorphism]] other than the identity.{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;With the order defined above, {{math|'''Q'''}} is an [[ordered field]]&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt; that has no subfield other than itself, and is the smallest ordered field, in the sense that every ordered field contains a unique subfield [[isomorphism|isomorphic]] to {{math|'''Q'''}}.{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{math|'''Q'''}} is a [[prime field]], which is a field that has no subfield other than itself.&amp;lt;ref&amp;gt;{{cite book |url=https://books.google.com/books?id=WHjO9K6xEm4C&amp;amp;pg=PA578 |title=Encyclopedic Dictionary of Mathematics, Volume 1 |page=578 |location=London, England |publisher=MIT Press |isbn=0-2625-9020-4 |first=Nihon |last=Sūgakkai |year=1993}}&amp;lt;/ref&amp;gt; The rationals are the smallest field with [[characteristic (algebra)|characteristic]] zero. Every field of characteristic zero contains a unique subfield isomorphic to {{math|'''Q'''}}.{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{math|'''Q'''}} is the [[field of fractions]] of the [[integer]]s {{math|'''Z'''}}.&amp;lt;ref&amp;gt;{{cite book |last1=Bourbaki |first1=N. |title=Algebra II: Chapters 4 - 7 |date=2003 |publisher=Springer Science &amp;amp; Business Media |page=A.VII.5}}&amp;lt;/ref&amp;gt; The [[algebraic closure]] of {{math|'''Q'''}}, i.e. the field of roots of rational polynomials, is the field of [[algebraic number]]s.{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The set of all rational numbers is [[countable]] (see the figure), while the set of all real numbers (as well as the set of irrational numbers) is uncountable. Being countable, the set of rational numbers is a [[null set]], that is, [[almost all]] real numbers are irrational, in the sense of [[Lebesgue measure]].{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The rationals are a [[densely ordered]] set: between any two rationals, there sits another one, and, therefore, infinitely many other ones.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt; For example, for any two fractions such that &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&amp;lt;math&amp;gt;\frac{a}{b} &amp;lt; \frac{c}{d}&amp;lt;/math&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(where &amp;lt;math&amp;gt;b,d&amp;lt;/math&amp;gt; are positive), we have&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&amp;lt;math&amp;gt;\frac{a}{b} &amp;lt; \frac{a + c}{b + d} &amp;lt; \frac{c}{d}.&amp;lt;/math&amp;gt;{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Any [[totally ordered]] set which is countable, dense (in the above sense), and has no least or greatest element is [[order isomorphism|order isomorphic]] to the rational numbers.&amp;lt;ref&amp;gt;{{Cite techreport|first1=Martin|last1=Giese|first2=Arno|last2=Schönegge|title=Any two countable densely ordered sets without endpoints are isomorphic - a formal proof with KIV|date=December 1995|url=https://www.uio.no/studier/emner/matnat/ifi/nedlagte-emner/INF5170/v14/undervisningsmateriale/countable-densely-ordered-sets.pdf|access-date=17 August 2021}}&amp;lt;/ref&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Real numbers and topological properties==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The rationals are a [[dense set|dense subset]] of the real numbers: every real number has rational numbers arbitrarily close to it.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt; A related property is that rational numbers are the only numbers with [[finite set|finite]] expansions as [[continued fraction|regular continued fractions]].{{Citation needed|date=August 2021}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;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 {{math|''d''(''x'', ''y'') {{=}} {{abs|''x'' − ''y''}}}}, and this yields a third topology on {{math|'''Q'''}}. 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]] [[Topological property|metrizable space]] without [[isolated point]]s. The space is also [[totally disconnected space|totally disconnected]]. The rational numbers do not form a [[completeness (topology)|complete metric space]]{{Citation needed|date=August 2021}}; the [[real numbers]] are the completion of {{math|'''Q'''}} under the metric {{math|''d''(''x'', ''y'') {{=}} {{abs|''x'' − ''y''}}}} above.&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Resources==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://en.wikipedia.org/wiki/Rational_number Rational number], Wikipedia&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2606&amp;oldid=prev</id>
		<title>Lila: Created page with &quot;The rational numbers (&lt;math&gt;\mathbb{Q}&lt;/math&gt;) are included in the [[real numbers (&lt;math&gt;\mathbb{R}&lt;/math&gt;), while themselves including the [...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Real_Numbers:Rational&amp;diff=2606&amp;oldid=prev"/>
		<updated>2021-10-19T21:13:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php?title=File:Number-systems.svg&quot; title=&quot;File:Number-systems.svg&quot;&gt;thumb|The rational numbers (&amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;) are included in the [[real numbers&lt;/a&gt; (&amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;), while themselves including the [...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Number-systems.svg|thumb|The rational numbers (&amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;) are included in the [[real numbers]] (&amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;), while themselves including the [[integers]] (&amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;), which in turn include the [[natural numbers]] (&amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt;)]]&lt;br /&gt;
&lt;br /&gt;
In [[mathematics]], a '''rational number''' is a [[number]] that can be expressed as the [[quotient]] or [[fraction (mathematics)|fraction]] {{math|{{sfrac|''p''|''q''}}}} of two [[integer]]s, a [[numerator]] {{math|''p''}} and a non-zero [[denominator]] {{math|''q''}}.&amp;lt;ref name=&amp;quot;Rosen&amp;quot;&amp;gt;{{cite book |last = Rosen |first=Kenneth |title=Discrete Mathematics and its Applications |edition=6th |publisher=McGraw-Hill |location=New York, NY|isbn=978-0-07-288008-3 |pages=105, 158–160}}&amp;lt;/ref&amp;gt; For example, {{math|{{sfrac|−3|7}}}} is a rational number, as is every integer (e.g. {{math|5 {{=}} {{sfrac|5|1}}}}). The [[set (mathematics)|set]] of all rational numbers, also referred to as &amp;quot;'''the rationals'''&amp;quot;,&amp;lt;ref&amp;gt;{{cite book |title=Elements of Pure and Applied Mathematics |edition=illustrated |first1=Harry |last1=Lass |publisher=Courier Corporation |year=2009 |isbn=978-0-486-47186-0 |page=382 |url=https://books.google.com/books?id=WAY_AwAAQBAJ}} [https://books.google.com/books?id=WAY_AwAAQBAJ&amp;amp;pg=PA382 Extract of page 382]&amp;lt;/ref&amp;gt; the '''field of rationals'''&amp;lt;ref&amp;gt;{{cite book |title=The Collected Works of Julia Robinson |first1=Julia |last1=Robinson |publisher=American Mathematical Soc |year=1996 |isbn=978-0-8218-0575-6 |page=104 |url=https://books.google.com/books?id=_33D84OENIAC}} [https://books.google.com/books?id=_33D84OENIAC&amp;amp;pg=PA104 Extract of page 104]&amp;lt;/ref&amp;gt; or the '''field of rational numbers''' is usually denoted by a boldface {{math|'''Q'''}} (or [[blackboard bold]] &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, Unicode {{unichar|1D410|MATHEMATICAL BOLD CAPITAL Q}} or {{unichar|211A|DOUBLE-STRUCK CAPITAL Q}});&amp;lt;ref&amp;gt;{{cite web|last1=Rouse|first1=Margaret|title=Mathematical Symbols|url=http://searchdatacenter.techtarget.com/definition/Mathematical-Symbols|access-date=1 April 2015}}&amp;lt;/ref&amp;gt; it was thus denoted in 1895 by [[Giuseppe Peano]] after ''[[wikt:quoziente|quoziente]]'', Italian for &amp;quot;[[quotient]]&amp;quot;,{{Citation needed|date=August 2021}} and first appeared in Bourbaki's ''Algèbre''.&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[decimal expansion]] of a rational number either terminates after a finite number of [[numerical digit|digits]] (example: {{math|{{sfrac|3|4}} {{=}} 0.75}}), or eventually begins to [[repeating decimal|repeat]] the same finite [[sequence]] of digits over and over (example: {{math|{{sfrac|9|44}} {{=}} 0.20454545...}}).&amp;lt;ref&amp;gt;{{Cite web|title=Rational number|url=https://www.britannica.com/science/rational-number|access-date=2020-08-11|website=Encyclopedia Britannica|language=en}}&amp;lt;/ref&amp;gt; Conversely, any repeating or terminating decimal represents a rational number. These statements are true in [[decimal|base 10]], and in every other integer [[radix|base]] (for example, [[binary numeral system|binary]] or [[hexadecimal]]).{{Citation needed|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
A [[real number]] that is not rational is called [[irrational number|irrational]].&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;{{Cite web|last=Weisstein|first=Eric W.|title=Rational Number|url=https://mathworld.wolfram.com/RationalNumber.html|access-date=2020-08-11|website=mathworld.wolfram.com|language=en}}&amp;lt;/ref&amp;gt; Irrational numbers include {{math|[[square root of 2|{{sqrt|2}}]]}}, [[Pi|{{pi}}]], {{math|[[E (mathematical constant)|''e'']]}}, and {{math|[[Golden ratio|''φ'']]}}. The [[decimal expansion]] of an irrational number continues without repeating. Since the set of rational numbers is [[countable set|countable]], and the set of real numbers is [[uncountable set|uncountable]], [[almost all]] real numbers are irrational.&amp;lt;ref name=&amp;quot;Rosen&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rational numbers can be [[Formalism (mathematics)|formally]] defined as [[equivalence class]]es of pairs of integers {{math|(''p'', ''q'')}} with {{math|''q'' ≠ 0}}, using the [[equivalence relation]] defined as follows:&lt;br /&gt;
: &amp;lt;math&amp;gt;\left( p_1, q_1 \right) \sim \left( p_2, q_2 \right) \iff p_1 q_2 = p_2 q_1.&amp;lt;/math&amp;gt;&lt;br /&gt;
The fraction {{math|{{sfrac|''p''|''q''}}}} then denotes the equivalence class of {{math|(''p'', ''q'')}}.&amp;lt;ref name=&amp;quot;:1&amp;quot;&amp;gt;{{Cite book|last=Biggs|first=Norman L.|title=Discrete Mathematics|publisher=Oxford University Press|year=2002|isbn=978-0-19-871369-2|location=India|pages=75-78}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rational numbers together with [[addition]] and [[multiplication]] form a [[field (mathematics)|field]] which contains the [[integer]]s, and is contained in any field containing the integers. In other words, the field of rational numbers is a [[prime field]], and a field has [[characteristic zero]] if and only if it contains the rational numbers as a subfield. Finite [[field extension|extensions]] of {{math|'''Q'''}} are called [[algebraic number field]]s, and the [[algebraic closure]] of {{math|'''Q'''}} is the field of [[algebraic number]]s.&amp;lt;ref name=&amp;quot;Gilbert&amp;quot;&amp;gt;{{cite book |last1=Gilbert |first1=Jimmie |last2=Linda |first2=Gilbert|author2-link=Linda Gilbert Saucier |year=2005 |title=Elements of Modern Algebra |edition=6th |publisher=Thomson Brooks/Cole |location=Belmont, CA |isbn=0-534-40264-X |pages=243–244}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In [[mathematical analysis]], the rational numbers form a [[dense set|dense subset]] of the real numbers. The real numbers can be constructed from the rational numbers by [[completion (metric space)|completion]], using [[Cauchy sequence]]s, [[Dedekind cut]]s, or infinite [[decimal]]s (for more, see [[Construction of the real numbers]]).{{Citation needed|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
==Arithmetic==&lt;br /&gt;
{{See also|Fraction (mathematics)#Arithmetic with fractions}}&lt;br /&gt;
&lt;br /&gt;
===Irreducible fraction===&lt;br /&gt;
Every rational number may be expressed in a unique way as an [[irreducible fraction]] {{math|{{sfrac|''a''|''b''}}}}, where {{mvar|a}} and {{mvar|b}} are [[coprime integers]] and {{math|''b'' &amp;gt; 0}}. This is often called the [[canonical form]] of the rational number.&lt;br /&gt;
&lt;br /&gt;
Starting from a rational number {{math|{{sfrac|''a''|''b''}}}}, its canonical form may be obtained by dividing {{mvar|a}} and {{mvar|b}} by their [[greatest common divisor]], and, if {{math|''b'' &amp;lt; 0}}, changing the sign of the resulting numerator and denominator.{{Citation needed|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
===Embedding of integers===&lt;br /&gt;
Any integer {{math|''n''}} can be expressed as the rational number {{math|{{sfrac|''n''|1}}}}, which is its canonical form as a rational number.{{Citation needed|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
===Equality===&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{a}{b} = \frac{c}{d}&amp;lt;/math&amp;gt; if and only if &amp;lt;math&amp;gt;ad = bc&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If both fractions are in canonical form, then: &lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{a}{b} = \frac{c}{d}&amp;lt;/math&amp;gt; if and only if &amp;lt;math&amp;gt;a = c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b = d&amp;lt;/math&amp;gt;&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;!--Examples: &lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1}{3} = \frac{2}{6}&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{-1}{2} = \frac{1}{-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{0}{1} = \frac{0}{2}&amp;lt;/math&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ordering===&lt;br /&gt;
If both denominators are positive (particularly if both fractions are in canonical form):&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{a}{b} &amp;lt; \frac{c}{d}&amp;lt;/math&amp;gt; if and only if &amp;lt;math&amp;gt;ad &amp;lt; bc.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Addition===&lt;br /&gt;
Two fractions are added as follows:&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{a}{b} + \frac{c}{d} = \frac{ad+bc}{bd}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If both fractions are in canonical form, the result is in canonical form if and only if {{mvar|b}} and {{mvar|d}} are [[coprime integers]].&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot;&amp;gt;{{Cite web|title=Fraction - Encyclopedia of Mathematics|url=https://encyclopediaofmath.org/wiki/Fraction|access-date=2021-08-17|website=encyclopediaofmath.org}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Subtraction===&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{a}{b} - \frac{c}{d} = \frac{ad-bc}{bd}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If both fractions are in canonical form, the result is in canonical form if and only if {{mvar|b}} and {{mvar|d}} are [[coprime integers]].&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;{{Verify source|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
===Multiplication===&lt;br /&gt;
The rule for multiplication is:&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{a}{b} \cdot\frac{c}{d} = \frac{ac}{bd}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the result may be a [[reducible fraction]]—even if both original fractions are in canonical form.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Inverse===&lt;br /&gt;
Every rational number {{math|{{sfrac|''a''|''b''}}}} has an [[additive inverse]], often called its ''opposite'',&lt;br /&gt;
:&amp;lt;math&amp;gt; - \left( \frac{a}{b} \right) = \frac{-a}{b}.&amp;lt;/math&amp;gt;&lt;br /&gt;
If {{math|{{sfrac|''a''|''b''}}}} is in canonical form, the same is true for its opposite.&lt;br /&gt;
&lt;br /&gt;
A nonzero rational number {{math|{{sfrac|''a''|''b''}}}} has a [[multiplicative inverse]], also called its ''reciprocal'',&lt;br /&gt;
:&amp;lt;math&amp;gt; \left(\frac{a}{b}\right)^{-1} = \frac{b}{a}. &amp;lt;/math&amp;gt;&lt;br /&gt;
If {{math|{{sfrac|''a''|''b''}}}} is in canonical form, then the canonical form of its reciprocal is either {{math|{{sfrac|''b''|''a''}}}} or {{math|{{sfrac|−''b''|−''a''}}}}, depending on the sign of {{mvar|a}}.{{Citation needed|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
===Division===&lt;br /&gt;
If {{math|''b''}}, {{math|''c''}}, and {{math|''d''}} are nonzero, the division rule is &lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{\frac{a}{b}} {\frac{c}{d}} = \frac{ad}{bc}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, dividing {{math|{{sfrac|''a''|''b''}}}} by {{math|{{sfrac|''c''|''d''}}}} is equivalent to multiplying {{math|{{sfrac|''a''|''b''}}}} by the [[multiplicative inverse|reciprocal]] of {{math|{{sfrac|''c''|''d''}}}}:&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{ad}{bc} = \frac{a}{b} \cdot \frac{d}{c}.&amp;lt;/math&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;{{Verify source|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
===Exponentiation to integer power===&lt;br /&gt;
If {{math|''n''}} is a non-negative integer, then&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(\frac{a}{b}\right)^n = \frac{a^n}{b^n}.&amp;lt;/math&amp;gt;&lt;br /&gt;
The result is in canonical form if the same is true for {{math|{{sfrac|''a''|''b''}}}}. In particular, &lt;br /&gt;
:&amp;lt;math&amp;gt;\left(\frac{a}{b}\right)^0 = 1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If {{math|''a'' ≠ 0}}, then&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(\frac{a}{b}\right)^{-n} = \frac{b^n}{a^n}.&amp;lt;/math&amp;gt;&lt;br /&gt;
If {{math|{{sfrac|''a''|''b''}}}} is in canonical form, the canonical form of the result is {{math|{{sfrac|''b&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;''|''a&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;''}}}} if {{math|''a'' &amp;gt; 0}} or {{mvar|n}} is even. Otherwise, the canonical form of the result is {{math|{{sfrac|−''b&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;''|−''a&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt;''}}}}.{{Citation needed|date=August 2021}}&lt;br /&gt;
&lt;br /&gt;
==Formal construction==&lt;br /&gt;
[[File:Rational Representation.svg|thumb|right|300px|A diagram showing a representation of the equivalent classes of pairs of integers]]&lt;br /&gt;
The rational numbers may be built as [[equivalence class]]es of [[ordered pair]]s of [[integer]]s.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More precisely, let {{math|('''Z''' × ('''Z''' \ {0}))}} be the set of the pairs {{math|(''m'', ''n'')}} of integers such {{math|''n'' ≠ 0}}. An [[equivalence relation]] is defined on this set by &lt;br /&gt;
: &amp;lt;math&amp;gt;\left(m_1, n_1 \right) \sim \left(m_2, n_2 \right) \iff m_1 n_2 = m_2 n_1.&amp;lt;/math&amp;gt;&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Addition and multiplication can be defined by the following rules:&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(m_1, n_1\right) + \left(m_2, n_2\right) \equiv \left(m_1n_2 + n_1m_2, n_1n_2\right),&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(m_1, n_1\right) \times \left(m_2, n_2\right) \equiv \left(m_1m_2, n_1n_2\right).&amp;lt;/math&amp;gt;&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 {{math|'''Q'''}} is the defined as the [[quotient set]] by this equivalence relation, {{math|1=('''Z''' × ('''Z''' \ {0})) / ~}}, 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]].)&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equivalence class of a pair {{math|(''m'', ''n'')}} is denoted {{math|{{sfrac|''m''|''n''}}}}.  &lt;br /&gt;
Two pairs {{math|(''m''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, ''n''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;)}} and {{math|(''m''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ''n''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;)}} belong to the same equivalence class (that is are equivalent) if and only if {{math|''m''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''n''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; {{=}} ''m''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;''n''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}}. This means that {{math|{{sfrac|''m''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;|''n''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} {{=}} {{sfrac|''m''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;|''n''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;}}}} if and only {{math|''m''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''n''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; {{=}} ''m''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;''n''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}}.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Every equivalence class {{math|{{sfrac|''m''|''n''}}}} may be represented by infinitely many pairs, since&lt;br /&gt;
:&amp;lt;math&amp;gt;\cdots  = \frac{-2m}{-2n} = \frac{-m}{-n} = \frac{m}{n} = \frac{2m}{2n} = \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
Each equivalence class contains a unique ''[[representative (mathematics)|canonical representative element]]''. The canonical representative is the unique pair {{math|(''m'', ''n'')}} in the equivalence class such that {{mvar|m}} and {{mvar|n}} are [[coprime]], and {{math|''n'' &amp;gt; 0}}. It is called the [[irreducible fraction|representation in lowest terms]] of the rational number.&lt;br /&gt;
&lt;br /&gt;
The integers may be considered to be rational numbers identifying the integer {{mvar|n}} with the rational number {{math|{{sfrac|''n''|1}}}}.&lt;br /&gt;
&lt;br /&gt;
A [[total order]] may be defined on the rational numbers, that extends the natural order of the integers. One has&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{m_1}{n_1} \le \frac{m_2}{n_2}&amp;lt;/math&amp;gt;&lt;br /&gt;
if&lt;br /&gt;
:&amp;lt;math&amp;gt;(n_1n_2 &amp;gt; 0 \quad \text{and} \quad m_1n_2 \le n_1m_2)\qquad \text{or}\qquad (n_1n_2 &amp;lt; 0 \quad \text{and} \quad m_1n_2 \ge n_1m_2).&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
</feed>