HOME

TheInfoList



OR:

In
arithmetic Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms. ...
, a complex-base system is a
positional numeral system Positional notation, also known as place-value notation, positional numeral system, or simply place value, usually denotes the extension to any base of the Hindu–Arabic numeral system (or decimal system). More generally, a positional system ...
whose
radix In a positional numeral system, the radix (radices) or base is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal system (the most common system in use today) the radix is ten, becaus ...
is an imaginary (proposed by
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist and mathematician. He is a professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of comp ...
in 1955) or
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
(proposed by S. Khmelnik in 1964 and Walter F. Penney in 1965W. Penney, A "binary" system for complex numbers, JACM 12 (1965) 247-248.).


In general

Let D be an
integral domain In mathematics, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural setting for studying divisibilit ...
\subset \C, and , \cdot, the (Archimedean) absolute value on it. A number X\in D in a positional number system is represented as an expansion : X = \pm \sum_^ x_\nu \rho^\nu, where : The
cardinality The thumb is the first digit of the hand, next to the index finger. When a person is standing in the medical anatomical position (where the palm is facing to the front), the thumb is the outermost digit. The Medical Latin English noun for thum ...
R:=, Z, is called the ''level of decomposition''. A positional number system or coding system is a pair : \left\langle \rho, Z \right\rangle with radix \rho and set of digits Z, and we write the standard set of digits with R digits as : Z_R := \. Desirable are coding systems with the features: * Every number in D, e. g. the integers \Z, the
Gaussian integer In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as \mathbf ...
s \Z mathrm i/math> or the integers \Z tfrac2/math>, is ''uniquely'' representable as a ''finite'' code, possibly with a
sign A sign is an object, quality, event, or entity whose presence or occurrence indicates the probable presence or occurrence of something else. A natural sign bears a causal relation to its object—for instance, thunder is a sign of storm, or me ...
±. * Every number in the
field of fractions In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the fie ...
K:=\operatorname(D), which possibly is completed for the
metric Metric or metrical may refer to: Measuring * Metric system, an internationally adopted decimal system of measurement * An adjective indicating relation to measurement in general, or a noun describing a specific type of measurement Mathematics ...
given by , \cdot, yielding K:=\R or K:=\C, is representable as an infinite series X which converges under , \cdot, for \nu \to -\infty, 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=, \rho, for
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s and R=, \rho, ^2 for complex numbers.


In the real numbers

In this notation our standard decimal coding scheme is denoted by :\left\langle 10, Z_ \right\rangle, the standard binary system is :\left\langle 2, Z_2 \right\rangle, the negabinary system is :\left\langle -2, Z_2 \right\rangle, and the balanced ternary system is :\left\langle 3, \ \right\rangle. 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 (\mathrm i being the
imaginary unit The imaginary unit or unit imaginary number () is a mathematical constant that is a solution to the quadratic equation Although there is no real number with this property, can be used to extend the real numbers to what are called complex num ...
): * \left\langle\sqrt,Z_R\right\rangle, e.g. \left\langle\pm \mathrm i \sqrt,Z_2\right\rangle and :\left\langle\pm 2\mathrm i,Z_4\right\rangle, the quater-imaginary base, proposed by
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist and mathematician. He is a professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of comp ...
in 1955. * \left\langle\sqrte^=\pm \mathrm i\sqrt,Z_2\right\rangle and :\left\langle\sqrte^=-1\pm\mathrm i,Z_2\right\rangle (see also the section Base −1 ± i below). * \left\langle\sqrte^,Z_R\right\rangle, where \varphi=\pm \arccos, \beta<\min(R, 2\sqrt) and \beta_^ is a positive integer that can take multiple values at a given R. For \beta=1 and R=2 this is the system :\left\langle\tfrac2,Z_2\right\rangle. * \left\langle 2e^,A_4:=\left\\right\rangle. * \left\langle-R,A_R^2\right\rangle, where the set A_R^2 consists of complex numbers r_\nu=\alpha_\nu^1+\alpha_\nu^2\mathrm i, and numbers \alpha_\nu^ \in Z_R, e.g. :\left\langle -2, \\right\rangle. * \left\langle\rho=\rho_2,Z_2\right\rangle, where \rho_2=\begin (-2)^ & \text \nu \text\\ (-2)^\mathrm i & \text \nu \text \end 


Binary systems

''Binary'' coding systems of complex numbers, i.e. systems with the digits Z_2=\, are of practical interest. Listed below are some coding systems \langle \rho, Z_2 \rangle (all are special cases of the systems above) and resp. codes for the (decimal) numbers . 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 for . 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 listed in the bottom line for comparison purposes. There, real and imaginary part interleave each other.


Base

Of particular interest are the quater-imaginary base (base ) and the base systems discussed below, both of which can be used to finitely represent the
Gaussian integer In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as \mathbf ...
s without sign. Base , using digits and , was proposed by S. Khmelnik in 1964 and Walter F. Penney in 1965.


Connection to the twindragon

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 in the complex plane a fractal shape: the twindragon (see figure). This set S is, by definition, all points that can be written as \textstyle \sum_x_k (\mathrm i-1)^ with x_k\in Z_2. S can be decomposed into 16 pieces congruent to \tfrac14 S. Notice that if S is rotated counterclockwise by 135°, we obtain two adjacent sets congruent to \tfracS, because (\mathrm i-1)S=S\cup(S+1). The rectangle R\subset S in the center intersects the coordinate axes counterclockwise at the following points: \tfrac2\gets 0.\overline, \tfrac1 \mathrm i\gets 0.\overline, and -\tfrac8\gets 0.\overline, and -\tfrac4 \mathrm i\gets 0.\overline. Thus, S contains all complex numbers with absolute value ≤ . As a consequence, there is an injection of the complex rectangle : \tfrac8,\tfrac2times \tfrac4,\tfrac1mathrm i into the interval [0,1) of real numbers by mapping : \textstyle \sum_x_k (\mathrm i-1)^ \mapsto \sum_x_k b^ with b > 2.Base b = 2 cannot be taken because both, \textstyle 2^ = 0.1_ = 0.5_ and \textstyle \sum_ 2^ = 0.0\overline_ = 0.1_ = 0.5_. However, \textstyle (\mathrm i-1)^ = -0.1_ -0.1_ \mathrm i = -0.5_ -0.5_ \mathrm i   is unequal to   \textstyle \sum_ (\mathrm i-1)^ = 0.1_ +0.3_ \mathrm i . Furthermore, there are the two mappings :\begin Z_2^\N & \to & S \\ \left(x_k\right)_ & \mapsto & \sum_x_k (\mathrm i-1)^ \end and :\begin Z_2^\N & \to & [0,1) \\ \left(x_k\right)_ & \mapsto & \sum_x_k 2^ \end both surjective, which give rise to a surjective (thus space-filling) mapping :[0,1) \qquad \to \qquad S which, however, is not Continuous function, continuous and thus ''not'' a space-filling curve, space-filling ''curve''. But a very close relative, the Dragon curve#Twindragon, Davis-Knuth dragon, is continuous and a space-filling curve.


See also

* Dragon curve


References

{{reflist


External links


Number Systems Using a Complex Base
by Jarek Duda, the
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an Open source, open-source collection of Interactive computing, interactive programmes called Demonstrations. It is hosted by Wolfram Research. At its launch, it contained 1300 demonstrations but has grown t ...

The Boundary of Periodic Iterated Function Systems
by Jarek Duda, the
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an Open source, open-source collection of Interactive computing, interactive programmes called Demonstrations. It is hosted by Wolfram Research. At its launch, it contained 1300 demonstrations but has grown t ...

Number Systems in 3D
by Jarek Duda, the
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an Open source, open-source collection of Interactive computing, interactive programmes called Demonstrations. It is hosted by Wolfram Research. At its launch, it contained 1300 demonstrations but has grown t ...

Large introduction to complex base numeral systems
with Mathematica sources by Jarek Duda Non-standard positional numeral systems Fractals * Ring theory