Today's calculator-ridden generation, given
and asked to calculate , run off and calculate
The calculation in that form requires two powers, three multiplications, and three additions. It is usually more efficient to calculate the equivalent wiggle expression
which requires only three multiplications and three additions. Although succinctly written in wiggle notation, this is actually an old trick known as nested multiplication. One of the vagaries of the usual curriculum is that this trick is rarely taught to newbies; even many oldbies are unfamiliar with it, and they will have met it under the name synthetic division, where it is used only for the much less common purpose of evaluating the remainder when dividing a polynomial by a monomial.
The convenience is not limited to calculations with positive whole numbers. We need to be careful to represent missing powers by zeroes in the wiggle expression.
It is also time to introduce a more surgical way to negate : let an overbar negate whatever is under it.
For example, let's find , where
Then
With a little practice, one can get to the point when one can stare at an expression like
think
and calculate for a succession of values of , and so prepare a table of values for making a plot.
Monday, January 25, 2010
To the unknown base
Let's evaluate the following wigglish expression :
Telescoping from the left, we get
So in brief, we get
The pattern that suggests itself here is true in general---a polynomial in the variable can be thought of as a number in base .
Polynomials can be added, subtracted, and multiplied as if they were numbers in base . For instance
becomes
The last calculation resembles the ordinary addition
The product
can be rendered
and this resembles the ordinary numerical product
Base calculations do not always agree with corresponding decimal calculations. The base calculation is most often actually simpler, because there is no carrying, as there with ordinary numbers, e.g. :
but, (no carrying steps this time),
Telescoping from the left, we get
So in brief, we get
The pattern that suggests itself here is true in general---a polynomial in the variable can be thought of as a number in base .
Polynomials can be added, subtracted, and multiplied as if they were numbers in base . For instance
becomes
The last calculation resembles the ordinary addition
The product
can be rendered
and this resembles the ordinary numerical product
Base calculations do not always agree with corresponding decimal calculations. The base calculation is most often actually simpler, because there is no carrying, as there with ordinary numbers, e.g. :
but, (no carrying steps this time),
Wigglish sums, products, and quotients
To make a sum using wiggle, write the addends as a string of superdigits, and interpose s as interbases, e.g.
Summation is essentially wiggle in base one.
To make a product using wiggle, write the factors as a string of interbases. Then write as the first superdigit and s for all remaining superdigits, e.g.
To make a quotient using wiggle, treat the numerator and denominator as you would for a fraction, e.g.
There is no particularly easy way to represent negation or subtraction in wiggle.
Summation is essentially wiggle in base one.
To make a product using wiggle, write the factors as a string of interbases. Then write as the first superdigit and s for all remaining superdigits, e.g.
To make a quotient using wiggle, treat the numerator and denominator as you would for a fraction, e.g.
There is no particularly easy way to represent negation or subtraction in wiggle.
Weirder bases, and what should you call the decimal point in other bases?
Now let's look at a fractional base. Let's try base one-tenth. What is
?
The wiggle equivalent is
Telescoping from the left, we have
Telescoping now from the right, we have
So
and numbers in base one-tenth are just the reverse of numbers in base ten, with the same digit (here a two) marked by the point. If it doesn't look to be exactly the reverse (check!), that is because you are thinking of the point as positioned between and or and , rather than written just to the right of the .
This suggests an answer to the vexed question of what to call the decimal point when the base is not ten. Some people call it the binary point in binary, the ternary point in base three, as so forth. A few have tried for a more generic solution by calling it the basal point. Still others call it the fraction marker, because, for whole number bases greater than one, the part before the point represents a whole number, but the part afterthe point represents a fraction less than one.
But what it really does is tells us which digit appears at face value. It should probably be called the 'face value point' or 'unit point'. Because what it does is mark which digit appears at face value. In some respects, it would be better if it were a mark under the face value digit, rather than just to the right. If, for instance, we used an underbar to mark the face value digit, than we would have
and we would see even more clearly the relation between base ten and base a tenth.
The common usage of the decimal point is, nevertheless, here to stay. For that reason, it is probably best to learn to use it, and just think of it as marking the digit to it's left as appearing at face value. The use of the semicolon to mark the face value superdigit can be justified similarly.
?
The wiggle equivalent is
Telescoping from the left, we have
Telescoping now from the right, we have
So
and numbers in base one-tenth are just the reverse of numbers in base ten, with the same digit (here a two) marked by the point. If it doesn't look to be exactly the reverse (check!), that is because you are thinking of the point as positioned between and or and , rather than written just to the right of the .
This suggests an answer to the vexed question of what to call the decimal point when the base is not ten. Some people call it the binary point in binary, the ternary point in base three, as so forth. A few have tried for a more generic solution by calling it the basal point. Still others call it the fraction marker, because, for whole number bases greater than one, the part before the point represents a whole number, but the part afterthe point represents a fraction less than one.
But what it really does is tells us which digit appears at face value. It should probably be called the 'face value point' or 'unit point'. Because what it does is mark which digit appears at face value. In some respects, it would be better if it were a mark under the face value digit, rather than just to the right. If, for instance, we used an underbar to mark the face value digit, than we would have
and we would see even more clearly the relation between base ten and base a tenth.
The common usage of the decimal point is, nevertheless, here to stay. For that reason, it is probably best to learn to use it, and just think of it as marking the digit to it's left as appearing at face value. The use of the semicolon to mark the face value superdigit can be justified similarly.
Base-n arithmetic and wiggle
We saw above that
Being explicit about the base, we can write
Translating numbers in other bases into wiggle is an immediate generalization. As a first example, suppose we are trying to evaluate
We rewrite this, with the same digits---or bits---in the same order as the superdigits, and making each interbase be 2, so that
Telescoping from left, we get
so that in the end
Let's try one with a fractional part. What is
Rewriting in wiggle, we have
Telescoping from the left and the right, we get
Odder bases are also easy to calculate with.
Being explicit about the base, we can write
Translating numbers in other bases into wiggle is an immediate generalization. As a first example, suppose we are trying to evaluate
We rewrite this, with the same digits---or bits---in the same order as the superdigits, and making each interbase be 2, so that
Telescoping from left, we get
so that in the end
Let's try one with a fractional part. What is
Rewriting in wiggle, we have
Telescoping from the left and the right, we get
Odder bases are also easy to calculate with.
Fractions and decimals---why two notations?
Although form represents the same kind of number, rational form ("fractions") and decimal form ("decimals") are used rather diferrently.
Fractions are used mostly in theoretical work including pure mathematics, and also by users of mixed units.
Decimals, on the other hand, are de rigeur in technical work, including engineering, experimental physics, and applied mathematics.
So, oddly enough, users of number convention largely work with fractions, while users of the quantities convention largely work with decimals.
The reason for the difference in use is not simply an accident of history. In technical work, one is usually working with measured values, and these are usually approximate; in theoretical work (except for computational experiments) one's numbers are usually exact.
The arithmetic of decimals is somewhat simpler than the arithmetic of fractions, and the decimals are much more readily compared for size than are fractions. These are huge advantages when working with approximate numbers.
The arithmetic of rational fractions, on the other hand, can be exact with nonterminating expressions. To say in decimal is to say In theoretical work, we usually prefer exactness. The inexactness of finitely terminated decimal values (e.g. ) becomes a problem.
In technical calculations, on the other hand, exactness is rare, and we manage inaccuracy with limits. We stop writing more digits when we reach the limit of accuracy of the value itself if it is measured, or the limit of accuracy of some other values in a calculation, or the limit of accuracy needed for the purpose of the calculation.
Fractions are used mostly in theoretical work including pure mathematics, and also by users of mixed units.
Decimals, on the other hand, are de rigeur in technical work, including engineering, experimental physics, and applied mathematics.
So, oddly enough, users of number convention largely work with fractions, while users of the quantities convention largely work with decimals.
The reason for the difference in use is not simply an accident of history. In technical work, one is usually working with measured values, and these are usually approximate; in theoretical work (except for computational experiments) one's numbers are usually exact.
The arithmetic of decimals is somewhat simpler than the arithmetic of fractions, and the decimals are much more readily compared for size than are fractions. These are huge advantages when working with approximate numbers.
The arithmetic of rational fractions, on the other hand, can be exact with nonterminating expressions. To say in decimal is to say In theoretical work, we usually prefer exactness. The inexactness of finitely terminated decimal values (e.g. ) becomes a problem.
In technical calculations, on the other hand, exactness is rare, and we manage inaccuracy with limits. We stop writing more digits when we reach the limit of accuracy of the value itself if it is measured, or the limit of accuracy of some other values in a calculation, or the limit of accuracy needed for the purpose of the calculation.
Fractions rational and decimal, and wiggle
Consider the number two and three-quarters. We can write it in mixed rational form, or in pure rational form, or in decimal form, . Each of these forms can be modelled in wiggle notation :
.
Rational forms ("fractions") and decimal forms ("decimals") are two alternative ways of representing the numbers that live between the whole numbers.
Fractions and decimals are alternative notations for rational numbers. Although they are used to represent the same things, the notations themselves are usually taught as unrelated. Wiggle notation serves as a kind of bridge. As we shall eventually see, wiggle glues a lot of things together.
.
Rational forms ("fractions") and decimal forms ("decimals") are two alternative ways of representing the numbers that live between the whole numbers.
Fractions and decimals are alternative notations for rational numbers. Although they are used to represent the same things, the notations themselves are usually taught as unrelated. Wiggle notation serves as a kind of bridge. As we shall eventually see, wiggle glues a lot of things together.
Subscribe to:
Posts (Atom)