Complex-base system
   HOME

TheInfoList



OR:

In
arithmetic Arithmetic () is an elementary part of mathematics that consists of the study of the properties of the traditional operations on numbers— addition, subtraction, multiplication, division, exponentiation, and extraction of roots. In the 19th ...
, a complex-base system is a
positional numeral system Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or decimal system). More generally, a positional system is a numeral system in which th ...
whose
radix In a positional numeral system, the radix or base is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is ...
is an imaginary (proposed by
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer sc ...
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 fo ...
(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, specifically abstract algebra, 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 s ...
\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 In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
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 /ma ...
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 ...
±. * 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 field ...
K:=\operatorname(D), which possibly is completed for the
metric Metric or metrical may refer to: * 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 In mathe ...
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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
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 A negative base (or negative radix) may be used to construct a non-standard positional numeral system. Like other place-value systems, each position holds multiples of the appropriate power of the system's base; but that base is negative—that is ...
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 solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition an ...
): * \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 The quater-imaginary numeral system is a numeral system, first proposed by Donald Knuth in 1960. Unlike standard numeral systems, which use an integer (such as 10 in decimal, or 2 in binary) as their bases, it uses the imaginary number 2''i'' (e ...
, proposed by
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer sc ...
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 The quater-imaginary numeral system is a numeral system, first proposed by Donald Knuth in 1960. Unlike standard numeral systems, which use an integer (such as 10 in decimal, or 2 in binary) as their bases, it uses the imaginary number 2''i'' (e ...
(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 /ma ...
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 A dragon curve is any member of a family of self-similar fractal curves, which can be approximated by recursive methods such as Lindenmayer systems. The dragon curve is probably most commonly thought of as the shape that is generated from rep ...


References

{{reflist


External links


Number Systems Using a Complex Base
by Jarek Duda, the
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an organized, open-source collection of small (or medium-size) interactive programs called Demonstrations, which are meant to visually and interactively represent ideas from a range of fields. It is hos ...

The Boundary of Periodic Iterated Function Systems
by Jarek Duda, the
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an organized, open-source collection of small (or medium-size) interactive programs called Demonstrations, which are meant to visually and interactively represent ideas from a range of fields. It is hos ...

Number Systems in 3D
by Jarek Duda, the
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an organized, open-source collection of small (or medium-size) interactive programs called Demonstrations, which are meant to visually and interactively represent ideas from a range of fields. It is hos ...
Non-standard positional numeral systems Fractals * Ring theory