Friday, September 30, 2011

.Decimals

We learn early in math that moving a decimal changes a numbers value.
In later math we learn to use Scientific notation,
5(10^6) = 5000000, for example, is equal to 5 plus 6 zeroes.
I've even heard that this is because of the use of 10 as our numerical base. eg "Base 10"
After all, the metric system professes to be and is professed to be the preferred method of numerical accounting due to its unified use of 10 as a basis for everything.  And let's be honest, its true, it does in fact work much and measurably easier for performing calculations than having 12 as the base, or 36, or 5280, or 1760.

But why?  Because we switch from single digits to double digits at the introduction of the 10th character?

What if our number system was base 4?  Would it still work the same? Could we still just move the decimal over to the left or right to change powers of ten? What would ten be in base 4?  10 in base 4 would be 4.  The character 4 would not exist in base 4 and the 4 digits used to construct the entire system would be, "0 1 2 3".  now the question remains, could we still move the decimal left or right to manipulate an original number by a power of 10 in this new system? YES.  WE CAN.  It still works. Being able to change the decimal place and have it be powers of 10 has nothing to do with using a base "10" set.  It has to do with the sets.

Check out base 4.  The following is the first 17 digits comprising a base 4 numerical system. 0 1 2 3 10 11 12 13 20 21 22 23 30 31 32 33 100
You with me?  there are 4 symbols we use.  0 1 2 3
when we get to 4, we have 1 set of 4.  We call that, "10" like in base 10, we would have 1 set of all of our symbols making 1 whole set or, "10".  The zero in 10 represents that we have zero numbers going towards another set of ten.  So 10 reads, "We have 1 set of our numbers and zero numbers contributing towards a new set."  For example, in the number system you are used to the number 51 can be translated accurately to be read, "We have 5 sets of our numbers in this system and 1 single number contributing to the next set."

Let's use a bigger number and see if it still works. let's see if we can still look at the numbers places, 1000's, 100's, 10's, as sets of numbers.

In any number system that uses these numbers the number 2345 would read "2 sets of 1000 of our numbers and 3 sets of a hundred of our numbers and 4 sets of ten of our numbers and 5 single numbers contributing towards the next set of ten.

So now lets take another look at base 4 and monkey around a bit and see if normal math rules apply when we have radically changed the number of digits that we are making sets from.  Then we will convert the base 4 numbers to regular numbers and see if we can determine whether this is sound or not.

First, lets perform an arbitrary operation; 33 times 10 to the first in base 4.   This will be 330 because we simply move the decimal to the right.  That's all we are after here, "Can we still just move the decimal and maintain accuracy by multiplying by powers of whole sets of the base?"  In this case, base 4.
So what is 33 in base 4? 3 sets of 4, + 3.  So 3(4) + 3 = 15 in decimal.  15 * 10 is 150 but don't be confused.  We can't multiply a number by a different number in a different system and expect the same results.
A power of ten in base 4 is equal to 4 in decimal.  15 * 4 = 60.

So lets check it.  33 * 10 = 330 in base 4.  Does 330 in base 4 end up = 60 in decimal?  Each set of 10 is 4 numbers, 1 2 3 10.  So the 10's column represents sets of 4, and the 100's column represents 4 sets of 4. the 1000's column would represent 4 sets of 16 or 1 set of 64 since 16 * 4 = 64.   So 330 in base 4 is easy.  0 + 3 sets of 4 + 3 sets of 16.  3 sets of 16 = 48; 3 sets of 4 = 12;  48 + 12 = 60.  It works.

330 in base 4 = 16(3) +4(3) = 60 in decimal.

Awesome huh?  Plug in whatever numbers you want to check it, but remember, it's base 4.  Every 10 is only 4, every hundred is only 16, and it gets big fast.  We just use "10" in our system to complete our set of digits that we use as numerical representation.  The fact is, 10 is no magic number that enables math as we know it.  This is actually a result of the use of  a set symbol that allows us to show complete sets of a system, regardless of the number of digits in that system.  I hope I said that right.

It's funny, after I wrote this I went and checked out "Octal" which is a base 8 language.  After writing this, i finally understood that this is exactly what is said about base 8.  each "10" is a set of 8. it's funny though because base "10" shouldn't exist.  8 doesn't exist in base 8.  It goes, 1 2 3 4 5 6 7 10 in base 8.  1 in the tens spot denotes one set of 8.  7 in the tens spot would denote 7 sets of 8.  1 in the hundreds spot would denote 1 set of 8 complete sets of 8.  Even standard base 2 binary works exactly this same way, just be careful with binary; there are multiple valid binary systems in wide use as it is a two state system that the entire architecture of modern computing is based on.

In conclusion; all of the modern number systems use "10" to represent a whole set almost unilaterally.  Octal is 8 characters 0-7 and we only know "8" from a different system.  So wouldn't that technically make decimal "base A" from Hex?  Alternatively, aren't all systems "base 10"?  I refer to what many refer to as "base 10" strictly as "decimal" now.  Every system I know of uses 10; that makes it kind of silly to describe any of them with it.

No comments:

Post a Comment