Niaboc67 said:
Ok, now I have even more question than I started with here lol. Hopefully each one of you can clear them up. I'll start in order of who answered when:
@
SteamKing
"It's mostly used in base 10 because that is the base in which most quantities are expressed and the base which we use for mathematics"
Is this because it's what mathematics is use to using tradionally? or if we were to use other number it would never look as neat as 10. Which this brings me to another basic question about mathematics why does 10 have the property to make things neat and clean. Is it due to it's association with 1,10,100,1000 with the beginning of all numbers. I am aware that this is like probably something a first grader would ask but this was never properly explained to me and I've gone through a terrible educational system.
The number system currently used, which is called the decimal, or base 10, system is able to represent a given number with a few symbols because it is a positional system, where the order in which the numerals are written also imply multiplication by powers of the base.
For example, 3557 is a shorthand way of representing 3*1000 + 5*100 + 5*10 + 7*1. The powers of 10, namely 1, 10, 100, and 1000 are suggested by the location of each digit in 3557.
Other number systems, like Roman numerals, don't use a consistent positional representation with a common base. For example, XL in Roman numerals means you subtract 10 (X) from 50 (L) to make 40 (XL). If, on the other hand, you want to write 43 in Roman numerals, it would be XLIII, where the three Is are added to the XL by being written to the right.
Positional representation of numbers not only makes for a compact expression, but doing arithmetic is also greatly simplified.
What exactly does hexadecimal (base 16) mean? Is that like saying you are representing a set of 16 digits of 1's and 0's?
No. A numeric base is how many distinct symbols are used to represent any number, in a positional format.
For example, in the decimal, or base 10, system, there are ten distinct signs for individual numerals: 0 1 2 3 4 5 6 7 8 9
Any number in this system can be represented by a combination of one or more of these numerals written in a certain order.
For example, the number 3557 indicates 3*10
3 + 5*10
2 + 5*10
1 + 7*10
0
Note how the exponent of the base (10) increases the further left one goes from the (implied) decimal point.
In the hexadecimal, or base 16, system, there are 16 distinct numeral signs: 0 1 2 3 4 5 6 7 8 9 A B C D E F
The letters A-F are used here because there are no other numeral signs with which to represent these values as a single symbol. Arbitrary symbols could have been devised, but the first six letters of the alphabet were chosen instead.
Thus:
A base 16 = 10 base 10
B base 16 = 11 base 10
C = 12
D = 13
E = 14
F = 15
Going back to our example, 6745 in base 10 is also equal to DE5 in base 16, or
D * 16
2 + E * 16
1 + 5 * 16
0 = 13*256 + 14*16 + 5*1 = 3328 + 224 + 5 = 3557 base 10
And with hexadecimal (base 16) and octal (base 8) could we not ramp this up further with say 32,64,128 or all numbers which are divisible by two? Or might there be a sort of computational limit here?
It's not clear what you are talking about here.
"For example, if you have the binary number 1101 1110 0101, it can be expressed as 110 111 100 101 or 6745 base 8, or DE5 in base 16, or 3557 in base 10"
Sorry but I am not understanding that. What is happening to the 1101 1110 0101 to be able to express it as 110 111 100 101? And 8^6745 I am a bit lost with that sentence.
What I was trying to show is that by grouping the digits in a binary number, it is very easy to convert the binary number into a base 8 or base 16 representation very easily.
Binary format: 110111100101
By grouping the binary digits in threes, it makes it very easy to find the base 8, or octal, form:
110111100101 → 110 111 100 101 → 6 7 4 5 → 6745 octal → 3557 decimal
By grouping the binary digits in fours, it makes it very easy to find the base 16, or hexadecimal, form:
110111100101 → 1101 1110 0101 → D E 5 → DE5 hexadecimal → 3557 decimal