Trisha Shetty (Editor)

Complex base system

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Complex-base system

In arithmetic, a complex-base system is a positional numeral system whose radix is an imaginary (proposed by Donald Knuth in 1955) or complex number (proposed by S. Khmelnik in 1964 and Walter F. Penney in 1965).

Contents

In general

Let D be an integral domain C , and | | the (Archimedean) absolute value on it.

A number X D in a positional number system is represented as an expansion

X = ± ν x ν ρ ν ,

where

The cardinality R := | Z | is called the level of decomposition.

A positional number system or coding system is a pair

ρ , Z

with radix ρ and set of digits Z , and we write the standard set of digits with R digits as

Z R := { 0 , 1 , 2 , , R 1 } .

Desirable are coding systems with the features:

  • Every number in D , e. g. the integers Z , the Gaussian integers Z [ i ] or the integers Z [ 1 + i 7 2 ] , is uniquely representable as a finite code, possibly with a sign ±.
  • Every number in the field of fractions K := Q u o t ( D ) , which possibly is completed for the metric given by | | yielding K := R or K := C , is representable as an infinite series X which converges under | | for ν , and the measure of the set of numbers with more than one representation is 0. The latter requires that the set Z be minimal, i. e. R = | ρ | for real resp. R = | ρ | 2 for complex numbers.
  • In the real numbers

    In this notation our standard decimal coding scheme is denoted by

    10 , Z 10 ,

    the standard binary system is

    2 , Z 2 ,

    the negabinary system is

    2 , Z 2 ,

    and the balanced ternary system is

    3 , { 1 , 0 , 1 } .

    All these coding systems have the mentioned features for Z and R , and the last two do not require a sign.

    In the complex numbers

    Well-known positional number systems for the complex numbers include the following ( i being the imaginary unit):

  • R , Z R , e. g. ± i 2 , Z 2 and
  • ± 2 i , Z 4 , the quater-imaginary base, proposed by Donald Knuth in 1955.
  • 2 e ± π 2 i = ± i 2 , Z 2 and
  • 2 e ± 3 π 4 i = 1 ± i , Z 2 (see also the section Base −1±i below).
  • R e i φ , Z R , where φ = ± arccos ( β / ( 2 R ) ) , β < min ( R , 2 R ) and β is a positive integer that can take multiple values at a given R . For β = 1 and R = 2 this is the system
  • 1 + i 7 2 , Z 2 .
  • 2 e π 3 i , A 4 := { 0 , 1 , e 2 π 3 i , e 2 π 3 i } .
  • R , A R 2 , where the set A R 2 consists of complex numbers r ν = α ν 1 + α ν 2 i , and numbers α ν Z R , e. g.
  • 2 , { 0 , 1 , i , 1 + i } .
  • ρ = ρ 2 , Z 2 , where ρ 2 = { ( 2 ) ν 2 if  ν  even, ( 2 ) ν 1 2 i if  ν  odd.  
  • Binary systems

    Binary coding systems of complex numbers, i. e. systems with the digits Z 2 = { 0 , 1 } , are of practical interest. Listed below are some coding systems ρ , Z 2 (all are special cases of the systems above) and codes for the numbers −1, 2, −2, i. The standard binary (which requires a sign) and the "negabinary" systems are also listed for comparison. They do not have a genuine expansion for i.

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

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

    The almost binary quater-imaginary system is shown in the bottom line for comparison purposes.

    Base −1 ± i

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

    Base −1 ± i, using digits 0 and 1, was proposed by S. Khmelnik in 1964 and Walter F. Penney in 1965. The rounding region of an integer – i.e., a set S of complex (non-integer) numbers that share the integer part of their representation in this system – has a fractal shape: the twindragon (see figure). This set S is, by definition, all points that can be written as k 1 x k ( i 1 ) k with x k { 0 , 1 } . The rectangle in the center intersects the coordinate axes counterclockwise at the following points: 2 15 0. 00001100 ¯ , 1 15 i 0. 00000011 ¯ , and 8 15 0. 11000000 ¯ , and 4 15 i 0. 00110000 ¯ . S can be decomposed into 16 pieces congruent to 1 4 S . Notice that if S is rotated counterclockwise by 135°, we obtain two adjacent sets congruent to 1 2 S , because ( i 1 ) S = S ( S + 1 ) . Most importantly, S contains all complex numbers that are of sufficiently small magnitude. Thus, there is an injection of the complex rectangle [ 8 15 , 2 15 ] × [ 4 15 , 1 15 ] i into the interval [ 0 , 1 ) of real numbers by mapping k > 0 x k ( i 1 ) k k > 0 x k 3 k (hereby base 2 cannot be taken because of 2 5 1 5 i 0. 1 ¯ 1 ).

    References

    Complex-base system Wikipedia