Épreuve de setion européenne
The mosteientinteger base.
Numeralsinvariousbasesmaylookdierent,butthenumberstheyrepresentarethesame. In
deimalnotation,thenumeral19isshorthandforthisexpression:
1 × 10 1 + 9 × 10 0. Likewisethe
binary(orbase-2)numeral10011isunderstoodtomean: 1 × 2 4 + 0 × 2 3 + 0 × 2 2 + 1 × 2 1 + 1× 2 0,
whihaddsupto thesamevalue. Sodoestheternary(that is: base-3)version,201. Thegeneral
formulaforanintegerinanypositionalnotationgoeslikethis:
d k r k + . . . + d 3 r 3 + d 2 r 2 + d 1 r 1 + d 0 r 0,
where
r
isthe baseor radixandthe oeientsd i are thedigits ofthe number. Usually, r
is a
positiveintegerandthedigitsareintegersin therangefrom
0
tor − 1
.To say that all bases represent the same numbers, however, is not to say that all numeri
representations are equally good for all purposes. The ultural preferene for base 10 and the
engineeringadvantagesofbase 2havenothingtodo withanyintrinsi propertiesof thedeimal
and binary numbering systems. Base 3, on the other hand, does havea genuine mathematial
distintioninitsfavor:byoneplausiblemeasure,itoersthemosteonomialwayofrepresenting
numbers.
Inordertominimizetheost ofwritingnumbersinaertainbase,weneedtooptimizesome
joint measure of a number's width (howmany digitsit has) and its depth (how many dierent
symbolsanoupyeahdigitposition). Anobviousstrategyistominimizetheprodutofthese
twoquantities.Inotherwords,if
r
istheradixandw
isthewidthindigits,wewanttominimizerw
whileholding
r w onstant. Forexample,let'sonsideragainthetaskofrepresentingallnumbers from 0throughdeimal999,999: inbase 10 thisobviouslyrequiresawidth ofsix digits,so that
rw = 60
; binary does better: 20 binary digits sue to over the same range of numbers, so thatrw = 40
. Butternaryisbetter: theternaryrepresentationhasawidth of13digits, sothatrw = 39
.If wewantto solvethe problemin general,it is easiertotreat
r
andw
asontinuous ratherthan integer variables. Then it turns out that the optimum radix is
e
, the base of the naturallogarithms,withanumerialvalueofabout
2 . 718
. Beause3istheintegerlosesttoe
,itisalmostalwaysthemosteonomialintegerradix.
AdaptedfromBrianHayes'sThird-Base,SientiAmerian 89-6,Deember2001.
Questions
1. Whatisthedierenebetweennumeralsandnumbers?
2. Verify that the ternary number 201means the samequantity asthe deimal number19.
Whatwouldbeitsexpressioninbase 4? Inwhihbase woulditbeexpressedas23?
3. Explaintheexpressionsulturalprefereneforbase10;engineeringadvantagesofbase2.
4. Explain theresultsfor
rw
inthethree examplesgivenattheendofparagraph3.5. General proof: let's onsider
r w = a
, wherea
is a onstant positive real number. Usingthe natural logarithm
ln
, expressw
as a funtion ofr
. Study the variations of funtionf : r 7→ rw
and deduethate
isthe valueofr
that minimizesrw
asit is assertedin thetext.