Position in Binary Number System
Position in Binary Number System
Before writing numbers in binary, let's remind ourselves of how we usually write numbers using
decimal notation. Let's take the number 4302 as an example. The digit 4 in this number doesn't
stand for the number 4, rather it stands for 4000, or 4 x 1000. Similarly, 3 doesn't stand for 3 but for
300 = 3 x 100, 0 stands for 0 x 10, and 2 stands for 2 x 1.
So 4302 means:
4×1000+3×100+0×10+2×1
= 4×1000+3×100+0×10+2×1.
Similarly, 7396 stands for:
7×1000+3×100+9×10+6×1
We can do the same with powers of 2 rather than powers of 10.
For example, the binary number 110 stands for 1×22+1×21+0×20=4+2+0=6 (written in decimal
notation).
You can convince yourself that a binary number only consists of the digits 0 or 1. When you write a
number as a sum of consecutive powers of 2, no other coefficients are necessary.
This sorts out the natural numbers, but what about numbers that have a fractional part?
To write a number between 0 and 1 in decimal notation, you use powers of 1/10 instead of powers of
10.
Similarly, to write a number between 0 and 1 in binary, you use powers of 1/2 instead of powers of
2.
0.75=1/2+1/4=1×1/21+1×1/22