Binary numbers (also called base-2) are representations of numbers using bits—0s and 1s—instead of decimal digits. Typically numbers are represented in base-10, meaning they go and then In binary numbers look something like this: . In base-10 that would be the number .
Binary numbers are used extensively in mathematics and especially computer science, as bits are easy to create physically using logic gates (the gates are either open or closed, meaning 0 or 1).
A binary number is a number expressed in the binary numeral system, which represents numbers using two digits: 0 and 1.
In contrast to the standard base-10 system, which represents numbers using powers of 10, the place values in binary correspond to powers of 2. Thus the first place (the place just before the decimal) represents the second place indicates the third and so forth. The digits on the right side of the decimal all have a denominator which is a power of 2. So, the first digit after the decimal represents the second digit and so on.
What is the representation of using the base-10 system? (Note: The sub 2 notation here indicates that this is a binary number.)
Starting from the right, the places each represent and . So
What is the representation of 16 in binary?
Since , we need a single 1 in the place that represents .Thus .
What is the representation of using the base-10 system?
is equal to
and is equal to
Thus, the answer is
Alternatively, it is possible to add the numbers without converting to binary first, using the same arithmetic as for decimal numbers. Remembering that , the sum is
That's right! Many procedures in arithmetic are possible in binary as well and follow the same form. Addition, subtraction, multiplication. division, squares, and square roots are all possible via traditional arithmetic procedures.
If 30 is represented in binary, what would the sum of the digits be?
30 is equal to
Thus, the sum of the digits is
What is converted to binary?
But , and multiplying by shifts the binary expansion of a number by two units to the left. So and so on. This shows that
which corresponds to the geometric series