Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Complex-base system

From Wikipedia, the free encyclopedia
Positional numeral system
Part ofa series on
Numeral systems
List of numeral systems

Inarithmetic, acomplex-base system is apositional numeral system whoseradix is animaginary (proposed byDonald Knuth in 1955[1][2]) orcomplex number (proposed by S. Khmelnik in 1964[3] and Walter F. Penney in 1965[4][5][6]).

In general

[edit]

LetD{\displaystyle D} be anintegral domainC{\displaystyle \subset \mathbb {C} }, and||{\displaystyle |\cdot |} the(Archimedean) absolute value on it.

A numberXD{\displaystyle X\in D} in a positional number system is represented as an expansion

X=±νxνρν,{\displaystyle X=\pm \sum _{\nu }^{}x_{\nu }\rho ^{\nu },}

where

ρD{\displaystyle \rho \in D}is theradix (orbase) with|ρ|>1{\displaystyle |\rho |>1},
νZ{\displaystyle \nu \in \mathbb {Z} }is the exponent (position or place),
xν{\displaystyle x_{\nu }}are digits from thefinite set of digitsZD{\displaystyle Z\subset D}, usually with|xν|<|ρ|.{\displaystyle |x_{\nu }|<|\rho |.}

ThecardinalityR:=|Z|{\displaystyle R:=|Z|} is called thelevel of decomposition.

A positional number system orcoding system is a pair

ρ,Z{\displaystyle \left\langle \rho ,Z\right\rangle }

with radixρ{\displaystyle \rho } and set of digitsZ{\displaystyle Z}, and we write the standard set of digits withR{\displaystyle R} digits as

ZR:={0,1,2,,R1}.{\displaystyle Z_{R}:=\{0,1,2,\dotsc ,{R-1}\}.}

Desirable are coding systems with the features:

In the real numbers

[edit]

In this notation our standard decimal coding scheme is denoted by

10,Z10,{\displaystyle \left\langle 10,Z_{10}\right\rangle ,}

the standard binary system is

2,Z2,{\displaystyle \left\langle 2,Z_{2}\right\rangle ,}

thenegabinary system is

2,Z2,{\displaystyle \left\langle -2,Z_{2}\right\rangle ,}

and the balanced ternary system[2] is

3,{1,0,1}.{\displaystyle \left\langle 3,\{-1,0,1\}\right\rangle .}

All these coding systems have the mentioned features forZ{\displaystyle \mathbb {Z} } andR{\displaystyle \mathbb {R} }, and the last two do not require a sign.

In the complex numbers

[edit]

Well-known positional number systems for the complex numbers include the following (i{\displaystyle \mathrm {i} } being theimaginary unit):

±2i,Z4{\displaystyle \left\langle \pm 2\mathrm {i} ,Z_{4}\right\rangle },[2] thequater-imaginary base, proposed byDonald Knuth in 1955.
2e±3π4i=1±i,Z2{\displaystyle \left\langle {\sqrt {2}}e^{\pm {\tfrac {3\pi }{4}}\mathrm {i} }=-1\pm \mathrm {i} ,Z_{2}\right\rangle }[3][5] (see also the sectionBase −1 ±i below).
1+i72,Z2.{\displaystyle \left\langle {\tfrac {-1+\mathrm {i} {\sqrt {7}}}{2}},Z_{2}\right\rangle .}
2,{0,1,i,1+i}.{\displaystyle \left\langle -2,\{0,1,\mathrm {i} ,1+\mathrm {i} \}\right\rangle .}[8]

Binary systems

[edit]

Binary coding systems of complex numbers, i.e. systems with the digitsZ2={0,1}{\displaystyle Z_{2}=\{0,1\}}, are of practical interest.[9]Listed below are some coding systemsρ,Z2{\displaystyle \langle \rho ,Z_{2}\rangle } (all are special cases of the systems above) and resp. codes for the (decimal) numbers−1, 2, −2,i.The standard binary (which requires a sign, first line) and the "negabinary" systems (second line) are also listed for comparison. They do not have a genuine expansion fori.

Some bases and some representations[10]
Radix–1 ←2 ←–2 ←iTwins and triplets
2–110–10i1 ←0.1 = 1.0
–21111010i1/30.01 = 1.10
i2{\displaystyle \mathrm {i} {\sqrt {2}}}1011010010010.101010100...[11]13+13i2{\displaystyle {\frac {1}{3}}+{\frac {1}{3}}\mathrm {i} {\sqrt {2}}}0.0011 = 11.1100
1+i72{\displaystyle {\frac {-1+\mathrm {i} {\sqrt {7}}}{2}}}111101011011.110001100...[11]3+i74{\displaystyle {\frac {3+\mathrm {i} {\sqrt {7}}}{4}}}1.011 = 11.101 = 11100.110
ρ2{\displaystyle \rho _{2}}10110100100101/3 + 1/3i0.0011 = 11.1100
–1+i11101110011100111/5 + 3/5i0.010 = 11.001 = 1110.100
2i103210210.21/5 + 2/5i0.0033 = 1.3003 = 10.0330 = 11.3300

As in all positional number systems with anArchimedean absolute value, there are some numbers withmultiple representations. Examples of such numbers are shown in the right column of the table. All of them arerepeating fractions with the repetend marked by a horizontal line above it.

If the set of digits is minimal, the set of such numbers has ameasure of 0. This is the case with all the mentioned coding systems.

The almost binary quater-imaginary system is listed in the bottom line for comparison purposes. There, real and imaginary part interleave each other.

Base−1 ± i

[edit]
The complex numbers with integer part all zeroes in the basei – 1 system

Of particular interest are thequater-imaginary base (base2i) and the base−1 ±i systems discussed below, both of which can be used to finitely represent theGaussian integers without sign.

Base−1 ±i, using digits0 and1, was proposed by S. Khmelnik in 1964[3] and Walter F. Penney in 1965.[4][6]

Connection to the twindragon

[edit]

The rounding region of an integer – i.e., a setS{\displaystyle S} of complex (non-integer) numbers that share the integer part of their representation in this system – has in the complex plane a fractal shape: thetwindragon (see figure). This setS{\displaystyle S} is, by definition, all points that can be written ask1xk(i1)k{\displaystyle \textstyle \sum _{k\geq 1}x_{k}(\mathrm {i} -1)^{-k}} withxkZ2{\displaystyle x_{k}\in Z_{2}}.S{\displaystyle S} can be decomposed into 16 pieces congruent to14S{\displaystyle {\tfrac {1}{4}}S}. Notice that ifS{\displaystyle S} is rotated counterclockwise by 135°, we obtain two adjacent sets congruent to12S{\displaystyle {\tfrac {1}{\sqrt {2}}}S}, because(i1)S=S(S+1){\displaystyle (\mathrm {i} -1)S=S\cup (S+1)}. The rectangleRS{\displaystyle R\subset S} in the center intersects the coordinate axes counterclockwise at the following points:2150.00001100¯{\displaystyle {\tfrac {2}{15}}\gets 0.{\overline {00001100}}},115i0.00000011¯{\displaystyle {\tfrac {1}{15}}\mathrm {i} \gets 0.{\overline {00000011}}}, and8150.11000000¯{\displaystyle -{\tfrac {8}{15}}\gets 0.{\overline {11000000}}}, and415i0.00110000¯{\displaystyle -{\tfrac {4}{15}}\mathrm {i} \gets 0.{\overline {00110000}}}. Thus,S{\displaystyle S} contains all complex numbers with absolute value ≤ 1/15.[12]

As a consequence, there is aninjection of the complex rectangle

[815,215]×[415,115]i{\displaystyle [-{\tfrac {8}{15}},{\tfrac {2}{15}}]\times [-{\tfrac {4}{15}},{\tfrac {1}{15}}]\mathrm {i} }

into theinterval[0,1){\displaystyle [0,1)} of real numbers by mapping

k1xk(i1)kk1xkbk{\displaystyle \textstyle \sum _{k\geq 1}x_{k}(\mathrm {i} -1)^{-k}\mapsto \sum _{k\geq 1}x_{k}b^{-k}}

withb>2{\displaystyle b>2}.[13]

Furthermore, there are the two mappings

Z2NS(xk)kNk1xk(i1)k{\displaystyle {\begin{array}{lll}Z_{2}^{\mathbb {N} }&\to &S\\\left(x_{k}\right)_{k\in \mathbb {N} }&\mapsto &\sum _{k\geq 1}x_{k}(\mathrm {i} -1)^{-k}\end{array}}}

and

Z2N[0,1)(xk)kNk1xk2k{\displaystyle {\begin{array}{lll}Z_{2}^{\mathbb {N} }&\to &[0,1)\\\left(x_{k}\right)_{k\in \mathbb {N} }&\mapsto &\sum _{k\geq 1}x_{k}2^{-k}\end{array}}}

bothsurjective, which give rise to a surjective (thus space-filling) mapping

[0,1)S{\displaystyle [0,1)\qquad \to \qquad S}

which, however, is notcontinuous and thusnot aspace-fillingcurve. But a very close relative, theDavis-Knuth dragon, is continuous and a space-filling curve.

See also

[edit]

References

[edit]
  1. ^abKnuth, D.E. (1960)."An Imaginary Number System".Communications of the ACM.3 (4):245–247.doi:10.1145/367177.367233.S2CID 16513137.
  2. ^abcKnuth, Donald (1998). "Positional Number Systems".The art of computer programming. Vol. 2 (3rd ed.). Boston: Addison-Wesley. p. 205.ISBN 0-201-89684-2.OCLC 48246681.
  3. ^abcKhmelnik, S.I. (1964). "Specialized digital computer for operations with complex numbers".Questions of Radio Electronics (In Russian).XII (2).
  4. ^abW. Penney, A "binary" system for complex numbers, JACM 12 (1965) 247-248.
  5. ^abJamil, T. (2002). "The complex binary number system".IEEE Potentials.20 (5):39–41.Bibcode:2002IPot...20e..39J.doi:10.1109/45.983342.
  6. ^abDuda, Jarek (2008-02-24). "Complex base numeral systems".arXiv:0712.1309 [math.DS].
  7. ^Khmelnik, S.I. (1966). "Positional coding of complex numbers".Questions of Radio Electronics (In Russian).XII (9).
  8. ^abKhmelnik, S.I. (2004).Coding of Complex Numbers and Vectors (in Russian)(PDF). Israel: Mathematics in Computer.ISBN 978-0-557-74692-7.
  9. ^abKhmelnik, S.I. (2001).Method and system for processing complex numbers. Patent USA, US2003154226 (A1).
  10. ^William J. Gilbert, "Arithmetic in Complex Bases" Mathematics Magazine Vol. 57, No. 2, March 1984
  11. ^abinfinite non-repeating sequence
  12. ^Knuth 1998 p.206
  13. ^Baseb=2{\displaystyle b=2} cannot be taken because both,21=0.1bin=0.5dec{\displaystyle \textstyle 2^{-1}=0.1_{\text{bin}}=0.5_{\text{dec}}} andk22k=0.01¯bin=0.1bin=0.5dec{\displaystyle \textstyle \sum _{k\geq 2}2^{-k}=0.0{\overline {1}}_{\text{bin}}=0.1_{\text{bin}}=0.5_{\text{dec}}}. However,(i1)1=0.1bin0.1bini=0.5dec0.5deci{\displaystyle \textstyle (\mathrm {i} -1)^{-1}=-0.1_{\text{bin}}-0.1_{\text{bin}}\mathrm {i} =-0.5_{\text{dec}}-0.5_{\text{dec}}\mathrm {i} }   is unequal to  k2(i1)k=0.1dec+0.3deci{\displaystyle \textstyle \sum _{k\geq 2}(\mathrm {i} -1)^{-k}=0.1_{\text{dec}}+0.3_{\text{dec}}\mathrm {i} }.

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Complex-base_system&oldid=1309457526"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp