sprinkles
Well-known member
- MBTI
- xxxx
I was looking over old threads again and decided to write this up.
How does one understand other numeral bases besides 10? It is pretty simple actually. All bases work the same way that base 10 works.
With base 10 you only have the numerals 0 through 9 right? This means that a 10 is actually composed of separate digits, a 1 and a 0. Since there's no numeral in base 10 which is larger than 9, we use two numerals to indicate a number that is one more than 9. This denotes a 'place' or carry.
So I'm sure everyone who knows base 10 knows that in the numeral 10, the left digit represents the 'tens' place and the right represents the 'ones' place. e.g. when you have 20, the left digit represents 'two tens' and the right represents 'zero ones' How does this translate into other bases? Well other bases are exactly the same, but the bases are obviously a different multiple.
So for example with ternary numerals, you only have three numerals, 0, 1, and 2. What this means is that when you write 10 in ternary, it is not 'one ten and zero ones'. The left digit in 10 is the threes place not the tens place! It is actually 'one three and zero ones'. 20 in ternary is 'two threes and zero ones', or 'six'.
What about when there's more digits? Well, when you have more than two digits, the multiple goes up by powers. For example in base 10, in the numeral 100 you have a ones place, a tens place, and a hundreds place. What's a hundred? It is 10 to the second power. 10^2 or 10 squared.
Similarly, in ternary, with the numeral 100 the left digit is the base squared. It is 3^2 or 3 to the second power, 3 squared, or 3x3 which is 'nine'. So in ternary you don't have a ones, tens, and hundreds place. Instead you have a ones, threes, and nines place. So 20 would be 'six' and 200 would be 'eighteen'. 2x3 and 2x3 squared respectively.
Further digits in ternary, or any base, simply increase the power that the base is multiplied by 1. Therefore after 3^4 you have 3^5, 3^6, 3^7, etc.
This still works with bases larger than ten, such as hexadecimal, where the base is 16 and you have 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, and f
So in hexadecimal when you write a 10, you have a digit in the sixteens place, and a digit in the ones place. So it goes up by powers of 16 instead of 10. Therefore 20 in hexadecimal is 32 in base 10. It is two sixteens.
And that's how bases work. Pretty much all of them.
How does one understand other numeral bases besides 10? It is pretty simple actually. All bases work the same way that base 10 works.
With base 10 you only have the numerals 0 through 9 right? This means that a 10 is actually composed of separate digits, a 1 and a 0. Since there's no numeral in base 10 which is larger than 9, we use two numerals to indicate a number that is one more than 9. This denotes a 'place' or carry.
So I'm sure everyone who knows base 10 knows that in the numeral 10, the left digit represents the 'tens' place and the right represents the 'ones' place. e.g. when you have 20, the left digit represents 'two tens' and the right represents 'zero ones' How does this translate into other bases? Well other bases are exactly the same, but the bases are obviously a different multiple.
So for example with ternary numerals, you only have three numerals, 0, 1, and 2. What this means is that when you write 10 in ternary, it is not 'one ten and zero ones'. The left digit in 10 is the threes place not the tens place! It is actually 'one three and zero ones'. 20 in ternary is 'two threes and zero ones', or 'six'.
What about when there's more digits? Well, when you have more than two digits, the multiple goes up by powers. For example in base 10, in the numeral 100 you have a ones place, a tens place, and a hundreds place. What's a hundred? It is 10 to the second power. 10^2 or 10 squared.
Similarly, in ternary, with the numeral 100 the left digit is the base squared. It is 3^2 or 3 to the second power, 3 squared, or 3x3 which is 'nine'. So in ternary you don't have a ones, tens, and hundreds place. Instead you have a ones, threes, and nines place. So 20 would be 'six' and 200 would be 'eighteen'. 2x3 and 2x3 squared respectively.
Further digits in ternary, or any base, simply increase the power that the base is multiplied by 1. Therefore after 3^4 you have 3^5, 3^6, 3^7, etc.
This still works with bases larger than ten, such as hexadecimal, where the base is 16 and you have 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, and f
So in hexadecimal when you write a 10, you have a digit in the sixteens place, and a digit in the ones place. So it goes up by powers of 16 instead of 10. Therefore 20 in hexadecimal is 32 in base 10. It is two sixteens.
And that's how bases work. Pretty much all of them.