Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Arithmetic
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Rational number arithmetic === Rational number arithmetic is the branch of arithmetic that deals with the manipulation of numbers that can be expressed as a [[ratio]] of two integers.<ref>{{multiref | {{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|p=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA30 30]}} | {{harvnb|Romanowski|2008|p=304}} | {{harvnb|Hindry|2011|p=x}} | {{harvnb|Hafstrom|2013|p=[https://books.google.com/books?id=mj_DAgAAQBAJ&pg=PA123 123]}} | {{harvnb|Cohen|2003|p=[https://books.google.com/books?id=URK2DwAAQBAJ&pg=PA37 37]}}}}</ref> Most arithmetic operations on rational numbers can be calculated by performing a series of integer arithmetic operations on the numerators and the denominators of the involved numbers. If two rational numbers have the same denominator then they can be added by adding their numerators and keeping the common denominator. For example, <math>\tfrac{2}{7} + \tfrac{3}{7} = \tfrac{5}{7}</math>. A similar procedure is used for subtraction. If the two numbers do not have the same denominator then they must be transformed to find a common denominator. This can be achieved by scaling the first number with the denominator of the second number while scaling the second number with the denominator of the first number. For instance, <math>\tfrac{1}{3} + \tfrac{1}{2} = \tfrac{1 \cdot 2}{3 \cdot 2} + \tfrac{1 \cdot 3}{2 \cdot 3} = \tfrac{2}{6} + \tfrac{3}{6} = \tfrac{5}{6}</math>.<ref>{{multiref | {{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|pp=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA31 31–32]}} | {{harvnb|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA347 347]}} }}</ref> Two rational numbers are multiplied by multiplying their numerators and their denominators respectively, as in <math>\tfrac{2}{3} \cdot \tfrac{2}{5} = \tfrac{2 \cdot 2}{3 \cdot 5} = \tfrac{4}{15}</math>. Dividing one rational number by another can be achieved by multiplying the first number with the [[Multiplicative inverse|reciprocal]] of the second number. This means that the numerator and the denominator of the second number change position. For example, <math>\tfrac{3}{5} : \tfrac{2}{7} = \tfrac{3}{5} \cdot \tfrac{7}{2} = \tfrac{21}{10}</math>.<ref>{{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|pp=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA32 32–33]}}</ref> Unlike integer arithmetic, rational number arithmetic is closed under division as long as the divisor is not 0.<ref>{{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|p=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA33 33]}}</ref> Both integer arithmetic and rational number arithmetic are not closed under exponentiation and logarithm.<ref>{{harvnb|Klose|2014|p=[https://books.google.com/books?id=rG7iBQAAQBAJ&pg=PA107 107]}}</ref> One way to calculate exponentiation with a fractional exponent is to perform two separate calculations: one exponentiation using the numerator of the exponent followed by drawing the [[nth root]] of the result based on the denominator of the exponent. For example, <math>5^\frac{2}{3} = \sqrt[3]{5^2}</math>. The first operation can be completed using methods like repeated multiplication or exponentiation by squaring. One way to get an approximate result for the second operation is to employ [[Newton's method]], which uses a series of steps to gradually refine an initial guess until it reaches the desired level of accuracy.<ref>{{multiref | {{harvnb|Hoffman|Frankel|2018|pp=[https://books.google.com/books?id=F5K3DwAAQBAJ&pg=PA161 161–162]}} | {{harvnb|Lange|2010|pp=[https://books.google.com/books?id=AtiDhx2bsiMC&pg=PA248 248–249]}} | {{harvnb|Klose|2014|pp=[https://books.google.com/books?id=rG7iBQAAQBAJ&pg=PA105 105–107]}} }}</ref> The Taylor series or the continued fraction method can be utilized to calculate logarithms.<ref>{{multiref | {{harvnb|Cuyt|Petersen|Verdonk|Waadeland|2008|p=[https://books.google.com/books?id=DQtpJaEs4NIC&pg=PA182 182]}} | {{harvnb|Mahajan|2010|pp=[https://books.google.com/books?id=VrkZN0T0GaUC&pg=PA66 66–69]}} }}</ref> The [[decimal fraction]] notation is a special way of representing rational numbers whose denominator is a power of 10. For instance, the rational numbers <math>\tfrac{1}{10}</math>, <math>\tfrac{371}{100}</math>, and <math>\tfrac{44}{10000}</math> are written as 0.1, 3.71, and 0.0044 in the decimal fraction notation.<ref>{{multiref | {{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|p=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA33 33]}} | {{harvnb|Igarashi|Altman|Funada|Kamiyama|2014|p=[https://books.google.com/books?id=58ySAwAAQBAJ&pg=PA18 18]}} }}</ref> Modified versions of integer calculation methods like addition with carry and long multiplication can be applied to calculations with decimal fractions.<ref>{{multiref | {{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|p=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA35 35]}} | {{harvnb|Booker|Bond|Sparrow|Swan|2015|pp=[https://books.google.com/books?id=lTLiBAAAQBAJ&pg=PA308 308–309]}} }}</ref> Not all rational numbers have a finite representation in the decimal notation. For example, the rational number <math>\tfrac{1}{3}</math> corresponds to 0.333... with an infinite number of 3s. The shortened notation for this type of [[repeating decimal]] is 0.{{overline|3}}.<ref>{{multiref | {{harvnb|Gellert|Hellwich|Kästner|Küstner|2012|p=[https://books.google.com/books?id=1jH7CAAAQBAJ&pg=PA34 34]}} | {{harvnb|Igarashi|Altman|Funada|Kamiyama|2014|p=[https://books.google.com/books?id=58ySAwAAQBAJ&pg=PA18 18]}} }}</ref> Every repeating decimal expresses a rational number.<ref>{{harvnb|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA358 358]}}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Arithmetic
(section)
Add topic