Monday, 25 February 2013

Origin Of Numerals

THE ORIGIN OF NUMERALS
Today's numbers, also called Hindu-Arabic numbers, are a combination of just 10 symbols or digits: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 0. These digits were introduced in Europe within the XII century by Leonardo Pisano (aka Fibonacci), an Italian mathematician. L. Pisano was educated in North Africa, where he learned and later carried to Italy the now popular Hindu-Arabic numerals.
Hindu numeral system is a pure place-value system, that is why you need a zero. Only the Hindus, within the context of Indo-European civilisations, have consistently used a zero. The Arabs, however, played an essential part in the dissemination of this numeral system.

Numerals, a time travel from India to Europe
The discovery of zero and the place-value system were inventions unique to the Indian civilization. As the Brahmi notation of the first 9 whole numbers...
hindu-arabic numerals
However, the first Western use of the digits, without the zero, was reported in the Vth century by Beothius, a Roman writer. Beothius explains, in one of his geometry books, how to operate the abacus using marked small cones instead of pebbles. Those cones, upon each of which was drawn the symbol of one of the nine Hindu-Arabic digits, were called apices. Thus, the early representations of digits in Europe were called “apices”. Each apex received also an individual name: Iginfor 1, Andras for 2, Ormis for 3, Arbas for 4, Quimas (or Quisnas) for 5 , Caltis (or Calctis) for 6, Zenis (or Tenis) for 7, Temenisa for 8, and Celentis (or Scelentis) for 9. The etymology of these names remains unclear, though some of them were clearly Arab numbers. The Hindu-Arabic-like figures reported by Beothius were reproduced almost everywhere with the greatest fantasy! (see below)

hindu-arabic numerals

Before adopting the Hindu-Arabic numeral system, people used theRoman figures instead, which actually are a legacy of the Etruscan period. The Roman numeration is based on a biquinary (5) system.
To write numbers the Romans used an additive system: V + I + I = VII(7) or C + X + X + I (121), and also a substractive system: IX (Ibefore X = 9), XCIV (X before C = 90 and I before = 4, 90 + 4 = 94). Latin numerals were used for reckoning until late XVI century!

The graphical origin of the Roman numbers
roman number historicroman symbols
©1992-2011, Sarcone & Waeber
Other original
systems of numeration

Other original systems of numeration were being used in the past. The "Notae Elegantissimae" shown below allow to write numbers from 1 to 9999. They are useful as a mnemotechnic aid, e.g. the symbol K in the example may mean 1414 (the first 4 figures of the square root of 2).

nota elegantissima
Chinese and Japanese
contributions

The Ba-Gua trigrams (pron. pah-kwah, 八卦) and the Genji-Kopatterns (源氏香), antique Chinese  and Japanese symbols, are strangely enough related to mathematics and electronics. If all the entire lines of the trigrams (___) are replaced with the digit 1 and the broken lines (_ _) with the digit 0, each Ba Gua trigram will then represent a binary number from 0 to 7. You can also notice that each number is laid in front of its complementary: 0<>7, 1<>6, 2<>5, etc.
bagua
Write "a", "b", "c", "d" and "e" under the five small red sticks of each Genji-Ko pattern. By doing so, you will have the 52 manners to CONNECT 5 variables in boolean algebraics. The linked sticks form a "conjunction" (AND, .), and the isolated sticks or groups of sticks form a "disjunction" (OR, +). The pattern at the top left represents:
[("a" and "d") or ("b" and "e") or "c"]

genji koh 



How did the Mayas represent numbers?
The Mayas, as well as the Aztecs, used a vigesimal (20) numeration. They developed 3 sets of different graphical notations to represent numbers: a) with strokes and dots, b) anthropomorphic figures, c) symbols.
a) The Mayan base-20 numeral system
mayan numerals


b) The figures shown below indicate numbers from 0 to 10
maya numbers


Chinese Numbers

The Peculiarity of the Chinese Numeral Notation
The Chinese use three numeral systems: the Hindu-Arabic numerals, along with two indigenous numeral systems, one for everyday writing (simple numerals), and another one for use in commercial or financial contexts (complex numerals). These last ones are used on checks and other transaction forms because they are much more difficult to alter. Actually, they are the equivalent of writing 'one', 'two', 'three', etc., rather than 1, 2, 3...
In the chart below, the first column features European or Hindu-Arabic numerals; the second one, the standard Chinese equivalent (simple numerals); and the third column, the "capital" Chinese characters (complex numerals).
Chinese numerals

The Chineses also had several other ways to represent numbers. The strange geometric figures shown below indicate the numbers 1 through 10. This numeration style - named shang fang da zhuan - is still used in official seals.

old chinese numbers


Early Egyptian Fractions

'Horus eye' or udjat was used to transcribe unit measures of capacity for grains, as you can see below each part of the eye represents a value in binary unit fraction (fig. 1). The Egyptians were also the inventors of the fraction bar. The numerator 1 and the bar were represented by a graphical symbol suggesting an open mouth; they used to note the denominators of the fraction under this symbol (fig. 2). arrow 
Did you know that the Romans too could transcribe unit fractions? E.g. to record 1/2 they used the letter S (semis). Knowing that, what represents SIX? Obviously not 6, but 8.5 (=10-1-0.5)!
egyptian binary fractions

The Origin of the Numbers' Names

Numbers 1 through 10 in Various Writing Systemsvarious writing systems


Indo-European Heritage
The number names in most European languages take their origin from the Indo-European language. Although various numeration systems have been used (duodecimal, vigesimal and sexagesimal numerations), the decimal system survived all of them. However, we can find traces of the vigesimal system in some French, Danish and Basque number names.
Numbers in some early European languages
Languages using a decimal systemusing a vigesimal system
Indo-EuropeanSanskritEtruscanLatinGaulish (old celt)
1oin- (-os, -a, -om), sem-eka (-ah, -a, -am)thuunus, -a, -umun
2dwo(u) m., dwoi f., n.dva (dvau, dve, dve)zal, (e)salduo, -ae, oduo
3treyes m., tisores f., tri n.tri (trayah, trini, tisras)citres, tria n.tri
4kwetwores, kwetesres f.(e)catur (eka+tri?)quattuor (quattuora n.)petuor
5penkwepanca (orig. "fist"?)machquinquepinp, pemp
6seks, swekssashuthsexsuex
7septemsaptasemph (?)septemsextan
8oktoastacezp (?)octooxtu
9newnnava (orig. "1 left..."?)nurph- (?)novemnaun
10dekemdasa (orig. "2 hands"?)sar, zardecemdecan
17septemdekemsaptadasaci-em zathrum (20-3)septemdecimseptandecan
18oktodekemastadasaesl-em zathrumduodeviginti (20 - 2)oxtudecan
19newndekemunavimsati (20-1)thun-em zathrumundeviginti (20 - 1)naudecan
20wikemti (fromdwidekomt)vimsatizathrumviginti (>vinti, vulg.)ugant
30trikomte (3x10)trimsatcialch, cealchtrigintadecan ugant(ic) (10+20)
40kwetworkomte (4x10)catvarimsatsealchquadragintaduogant(ic) (?) (2x20)
50penkwekomte (5x10)pancasatmuvalchquinquagintadecan duogant (10+2x20)
60seks-komte (6x10)sastihuthalchsexagintatriugant(ic) (?) (3x20)
70septemkomte (7x10)saptatisemphalchseptuagintadecan triugant (?) (10+3x20)
80oktokomte (8x10)asiticezpalch (?)octogintapetorugant(ic) (?) (4x20)
90newnkomte (9x10)navatinurphalch (?)nonagintadecan petorugant (10+4x20)
100kemtonsatamcentumcant(on)
1000(smi)gheslomdasa satani, sahasrammille, milia (meille, arch.)mille
0sunazephyrum (lat. med.)


Numbers in some modern European languages


Languages using a decimal systemusing both decimal + vigesimalusing a vigesimal system
ItalianEnglishFrenchDanishBasque
1unooneuneenbat
2due (doi)twodeuxtoni
3trethreetroistrehiru
4quattrofour (from fidwor)quatrefirelau
5cinquefive (from fimf)cinqfembortz
6seisixsixsekssei
7settesevenseptsyvzapzi
8ottoeighthuit (orig. vit)ottezortzi
9novenineneufnibederatzi
10diecitendixtihamar
11undicieleven (from ainlif: 1 left over)onzeellevehameka
12dodicitwelve (twalif: 2 left over)douzetolvhamabi
17diciassetteseventeendix-septsyttenhama-zapzi
18diciottoeighteendix-huitattenhama-zortzi
19diciannovenineteendix-neufnittenhama-bederatzi
20ventitwenty (a score)vingttyvehogoi
30trentathirtytrentetredivehogoi ta hamar (20+10)
40quarantafortyquarantefyrreberrogoi (2x20)
50cinquantafiftycinquantehalvtreds (2.5 x "20")berrogoi ta hamar (2x20+10)
60sessantasixtysoixantetres (3 x "20")hirur hogoi (3x20)
70settantaseventysoixante-dix (60+10)halvfyerds (3.5 x "20")hirur hogoi ta hamar (...+10)
71settantunoseventy onesoixante-onze (60+11)enoghalvfyerdshirur hogoi ta hameka (+11)
80ottantaeightyquatre-vingts (4x20)firs (4 x "20")laurogoi (4x20)
90novantaninetyquatre-vingt-dix (4x20+10)halvfems (4.5 x "20")laurogoi ta hamar (4x20+10)
91novantunoninety onequatre-vingt-onze (4x20+11)enoghalvfemsaurogoi ta hameka (...+11)
100centohundred (fromhunda-rada: 'the number 100')centhundredeehun
1000millethousand (fromthus-hundi: 'swollen hundred')milletusindmila

Indo-European languagesNon Indo-European languages


Numbers in some synthetic languages...


EsperantoVolapükInterlingua
12
3
4
5
6
7
8
9
10
11
12
13
20
21
22
30
40
50
90
100
1000
unudu
tri
kvar
kvin
ses
sep
ok
nau
dek
dekunu
dekdu
dektri
dudek
dudekunu
dudekdu
tridek
kvardek
kvindek
naudek
cento
mil
baltel
kil
pol
lul
mäl
vel
jöl
zül
bals
balsebal
balsetel
balsekil
tels
telsebal
telsetel
kils
pols
luls
züls
tum
balstum
unduo
tres
quattro
cinque
sex
septe
octo
novem
dece
undece
duodece
tredece
vinti
vinti-un
vinti-duo
trenta
quaranta
cinquanta
novanta
cento
mille




Sunday, 24 February 2013

Gaussian Integers

GAUSSIAN INTEGERS

gaussian integers
Gaussian integers can be visualized in the complex plane, with their real components on the horizontal axis, and their imaginary components orthogonal along the vertical axis.
[This post is targeted at a level 3 student who has some familiarity with complex numbers.]
Gaussian integers are complex numbers of the form a+bi,  where a  and b  are integers. For example, 2-3i, 4+5i, \ 17,\ 0  are all Gaussian integers, while \frac{4}{3} \sqrt{2} , and -\frac{1}{2}+\frac{\sqrt{3}}{2}i  are not. One can add, subtract and multiply Gaussian integers just like all other complex numbers. For example:
Addition: (2-3i)+(4+5i)=6+2i,
Subtraction: (2-3i)-(4+5i)=-2-8i,
Multiplication: (2-3i)\cdot(4+5i) = 8+ 10i-12i-15i^2=23-2i.
As you can see, the result will again be a Gaussian integer. However, if you try to divide two Gaussian integers, the result will not always be a Gaussian integer:
Division: \frac{2-3i}{4+5i}=\frac{(2-3i)(4-5i)}{(4+5i)(4-5i)}=\frac{-7-22i}{16+25}=-\frac{7}{41}-\frac{22}{41}i.
Like all complex numbers, Gaussian integers have the following properties:
1. The conjugate of a+bi  is \overline{a+bi}=a-bi , which is again a Gaussian integer.
2. The norm of a+bi  is N(a+bi)=(a+bi)(a-bi)=a^2+b^2 , which is a non-negative integer.
3. The absolute value of a Gaussian integer is the (positive) square root of its norm: |a+bi|=\sqrt{a^2+b^2} .
4. There are no positive or negative Gaussian integers, and one cannot say that one is less than another. One can, however, compare their norms.
We say that a Gaussian integer x  is a unit, if \frac{1}{x}  is also a Gaussian integer. The only units are 1,\ -1,\ i,\ -i .
A Gaussian integer (a+bi)  is a multiple of a Gaussian integer (c+di)  if (a+bi)=(c+di)\cdot (e+fi)  for some Gaussian integer e+fi . In this case we say that c+di  divides a+bi , and use the notation (c+di) \mid (a+bi) .
A Gaussian integer is called prime, if it is not equal to a product of two non-unit Gaussian integers. It is called composite otherwise. Clearly, multiplying by a unit does not change the primality. Note that the same definition for the usual integers implies that -5  is a prime integer. This may seem a bit strange, but no other definition makes sense for the Gaussian integers. (Keep in mind that there is no such thing as a positive Gaussian integer!) Note that a number may be prime as a usual integer, but composite as a Gaussian integer, for example 5=(2+i)(2-i) .
There are three kinds of Gaussian primes:
1) 1+i, \ 1-i, \ -1+i,\ -1-i . They are all the same up to multiplication by a unit, so we can say e\cdot (1+i),  where e  is a unit.
2) e\cdot p , where p  is a usual prime (p\in {\mathbb N} ), and p=4k+3 .
3) e\cdot(u+vi)  or e\cdot(u-vi) , where u  and v  are natural numbers such that u^2+v^2=p, for a prime p\in{\mathbb N} p=4k+1 . Such u  and v  exist, and are unique, up to switching u  and v , for every prime p=4k+1 . This classical result is called the Fermat Two Squares Theorem. It was noticed and announced by Pierre Fermat in 1640 and first proven by Leonhard Euler in 1747.
For those who had learned some abstract algebra, the algebraic properties of Gaussian integers (usually denoted by {\mathbb Z}[i] ) make it a commutative ring, moreover, a domain. Furthermore, just like the usual integers, all Gaussian integers can be decomposed into a product of Gaussian primes, uniquely up to units. The formal way of saying this is that {\mathbb Z}[i]  is a unique factorization domain (UFD for brevity).
The classification of Gaussian primes is far from obvious, and so is the unique factorization property. (Speaking of which, do you know how to prove it for the usual integers? You know it to be true from experience, but it is actually not easy to prove!) These theorems will be proven in the upcoming post.

Worked Examples

1. Suppose n\neq 0  is a usual integer. Show that a Gaussian integer a+bi  is a multiple of n  if and only if both a  and b  are multiples of n .
Solution: By definition, one Gaussian integer is a multiple of the other if and only if their ratio is also a Gaussian integer. Observe that \frac{a+bi}{n}=\frac{a}{n}+\frac{b}{n}i , so \frac {a}{n} and \frac {b}{n} are integers, which means that both a and b are multiples of n.
2. Suppose a+bi  is a multiple of c+di . Show that N(a+bi)  is a multiple of N(c+di) .
Solution: If (a+bi)=(c+di)(e+fi) , then (a-bi)=(c-di)(e-fi) . Therefore,
N(a+bi)=(a+bi)(a-bi)=(c+di)(e+fi)\cdot (c-di)(e-fi)=
=(c+di)(c-di)\cdot (e+fi)(e-fi) = N(c+di)N(e+fi).
Because e  and f  are integers, N(e+fi)=e^2+f^2  is an integer.
This is the multiplicative property of the norm, which was mentioned in Complex Numbers Test Yourself 2.
3. Decompose 4+3i  into a product of primes.
Solution: Because N(4+3i)=25,  the norm of any prime that divides 4+3i  must divide 25 . Looking at the classification of primes, because 5  is 1  modulo 4  and 5=2^2+1^2 , there are two such primes, up to units: 2+i  and 2-i . Dividing 4+3i  by 2+i , we get \frac{11}{5}+\frac{2}{5}i,  which is not a Gaussian integer. Dividing 4+3i  by 2-i , we get 1+2i=i(2-i) . So 4+3i=i(2-i)^2.
4. Suppose a Gaussian integer x  divides a Gaussian integer y . Show that \bar{x}  divides \bar{y}.
Solution: From Complex Numbers – Worked Example 3, we know that conjugate distributes across multiplication, hence if y= xz , then \bar{y}=\bar{x}\bar{z} .

Give a Try & Test Yourself

1. Show that 1,\ -1,\ i,  and -i  are Gaussian units and there are no other Gaussian units.
2. Find two Gaussian integers that have the same norm and are NOT multiplies of each other, hence the converse of the Example 2 is not true.
3. Show that 1+i  is a prime. Hint: Norm.
4. Show that every prime integer of the form 4k+3  is also a Gaussian prime.