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
Numeral system
(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!
==Positional systems in detail==<!--This section is linked from [[Cantor set]]--> {{See also|Positional notation}} In a positional base ''b'' numeral system (with ''b'' a [[natural number]] greater than 1 known as the [[radix]] or ''base'' of the system), ''b'' basic symbols (or digits) corresponding to the first ''b'' natural numbers including zero are used. To generate the rest of the numerals, the position of the symbol in the figure is used. The symbol in the last position has its own value, and as it moves to the left its value is multiplied by ''b''. For example, in the [[decimal]] system (base 10), the numeral 4327 means {{math|('''4'''Γ10<sup>3</sup>) + ('''3'''Γ10<sup>2</sup>) + ('''2'''Γ10<sup>1</sup>) + ('''7'''Γ10<sup>0</sup>)}}, noting that {{math|10<sup>0</sup> {{=}} 1}}. In general, if ''b'' is the base, one writes a number in the numeral system of base ''b'' by expressing it in the form {{math|''a''<sub>''n''</sub>''b''<sup>''n''</sup> + ''a''<sub>''n'' β 1</sub>''b''<sup>''n'' β 1</sup> + ''a''<sub>''n'' β 2</sub>''b''<sup>''n'' β 2</sup> + ... + ''a''<sub>0</sub>''b''<sup>0</sup>}} and writing the enumerated digits {{math|''a''<sub>''n''</sub>''a''<sub>''n'' β 1</sub>''a''<sub>''n'' β 2</sub> ... ''a''<sub>0</sub>}} in descending order. The digits are natural numbers between 0 and {{math|''b'' β 1}}, inclusive. If a text (such as this one) discusses multiple bases, and if ambiguity exists, the base (itself represented in base 10) is added in subscript to the right of the number, like this: number<sub>base</sub>. Unless specified by context, numbers without subscript are considered to be decimal. By using a dot to divide the digits into two groups, one can also write fractions in the positional system. For example, the base 2 numeral 10.11 denotes {{math|1Γ2<sup>1</sup> + 0Γ2<sup>0</sup> + 1Γ2<sup>β1</sup> + 1Γ2<sup>β2</sup> {{=}} 2.75}}. In general, numbers in the base ''b'' system are of the form: :<math> (a_na_{n-1}\cdots a_1a_0.c_1 c_2 c_3\cdots)_b = \sum_{k=0}^n a_kb^k + \sum_{k=1}^\infty c_kb^{-k}. </math> The numbers ''b''<sup>''k''</sup> and ''b''<sup>β''k''</sup> are the [[weight function|weights]] of the corresponding digits. The position ''k'' is the [[logarithm]] of the corresponding weight ''w'', that is <math>k = \log_b w = \log_b b^k</math>. The highest used position is close to the [[order of magnitude]] of the number. The number of [[tally marks]] required in the [[unary numeral system]] for ''describing the weight'' would have been '''w'''. In the positional system, the number of digits required to describe it is only <math>k + 1 = \log_{b} w + 1</math>, for ''k'' β₯ 0. For example, to describe the weight 1000 then four digits are needed because <math>\log_{10} 1000 + 1 = 3 + 1</math>. The number of digits required to ''describe the position'' is <math>\log_b k + 1 = \log_b \log_b w + 1</math> (in positions 1, 10, 100,... only for simplicity in the decimal example). :<math>\begin{array}{l|rrrrrrr} \text{Position} & 3 & 2 & 1 & 0 & -1 & -2 & \cdots \\ \hline \text{Weight} & b^3 & b^2 & b^1 & b^0 & b^{-1} & b^{-2} & \cdots \\ \text{Digit} & a_3 & a_2 & a_1 & a_0 & c_1 & c_2 & \cdots \\ \hline \text{Decimal example weight} & 1000 & 100 & 10 & 1 & 0.1 & 0.01 & \cdots \\ \text{Decimal example digit} & 4 & 3 & 2 & 7 & 0 & 0 & \cdots \end{array} </math> A number has a terminating or repeating expansion [[if and only if]] it is [[rational number|rational]]; this does not depend on the base. A number that terminates in one base may repeat in another (thus {{math|0.3<sub>10</sub> {{=}} 0.0100110011001...<sub>2</sub>}}). An irrational number stays aperiodic (with an infinite number of non-repeating digits) in all integral bases. Thus, for example in base 2, {{math|[[pi|{{pi}}]] {{=}} 3.1415926...<sub>10</sub>}} can be written as the aperiodic 11.001001000011111...<sub>2</sub>. Putting [[overline|overscores]], {{overline|''n''}}, or dots, ''αΉ '', above the common digits is a convention used to represent repeating rational expansions. Thus: :14/11 = 1.272727272727... = 1.{{overline|27}} or 321.3217878787878... = 321.321{{Overline|78}}. If ''b'' = ''p'' is a [[prime number]], one can define base-''p'' numerals whose expansion to the left never stops; these are called the [[p-adic number|''p''-adic numbers]]. It is also possible to define a variation of base ''b'' in which digits may be positive or negative; this is called a [[signed-digit representation]].
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
Numeral system
(section)
Add topic