Bicimal Numbers. Concept and Operations
Bicimal Numbers. Concept and Operations
Bicimal Numbers. Concept and Operations
The bicimals can be referred to as the rational binary numbers. A bicimals is the base-two analogue of
a decimal; it has a bicimal point and bicimal places and can be terminating or repeating.
Like decimals, bicimals are created from fractions through long division. Also like decimals, bicimals
can be converted back to fractions. You convert a bicimal to a fraction the same way you convert a
decimal to a fraction, you just work in binary instead of decimal and use powers of two instead of
powers of ten.
The process of converting a binary fraction into its decimal equivalent is done in two steps with the
numbers the left-hand and right-hand sides of the radix point separately.
When looking at converting the binary on the left-hand side of the radix point we convert it just as we
would when converting any binary integer number into its decimal equivalent.
Example 2.13:
1012 = (1 × 22 ) + (0 × 21 ) + (1 × 20 )
= (1 × 4) + (0 × 2) + (1 × 1) = 5
Next, we work out the chunk at the right-hand side of the radix point. We do exactly the same thing
here as we did on the left, just with the fractional columns:
1 1 1
= (1 × ) + (0 × ) + (1 × )
2 4 8
∴ 0.1012 = 0.62510
So we now combine the integer part (5) and fractional parts (0.625) together on either side of the radix
point. This gives us the number 5.62510.
A terminating bicimal is always easy to convert to a fraction: the numerator of the resulting fraction is
the bicimal itself, treated as an integer; the denominator is 2n, where n is the number of bicimal places.
1
Example 2.12: Convert 0.1101 to a fraction and then to base ten
Solution
1101 1101
0.1101 = 4
=
2 10000
13
This is in decimal equal to = 0.8125
16
(
(1011.0011)2 = (1 23 + 0 22 + 1 21 + 1 20 ) + (0 2−1 + 0 2−2 + 1 2−3 + 1 2−4 ) 10 )
= 11.1875
Converting from a Decimal Fraction to a Binary Fraction (Bicimal)
This is also done in two steps with the two sides of the decimal number separately.
Solution
We shall have to deal with the left-hand side of the radix point first. 9 will be converted as seen above
910 = (1 × 23 ) + (0 × 22 ) + (1 × 21 ) + (1 × 20 ) = 10012
Next we need to deal with the fractional part of our decimal number (which as a reminder is 0.125).
Again, there is a simple step-by-step method for performing the conversion.
To begin with we take the decimal fraction and multiply it by two (i.e. 210 × 0.12510 = 0.25010 ). We
then take the whole number part of the result as the first binary digit after the radix point. In this case
it is 0 so we have got as far as 0.12510 = 0.0?2
Next we disregard the whole number part of the previous result (i.e. ignore the 0 before the radix point)
and multiply the result by two again. The whole number part of this new result is the second digit after
the radix point (i.e. 210 × 0.25010 = 0.5010). In this case, the whole number part is again a 0 so we
have now got as far as 0.12510 = 0.00?2
Again, disregarding the whole number part of the result and again multiply by 2 (i.e. 210 × 0.5010 =
1.010). Again we take the whole number part, this time as the value of the third digit after the radix
point. In this case the whole number part is a 1 so we have now got to 0.12510 = 0.001?2
Again we drop the whole number part but as the fractional part we have left is 0. As we have nothing
left we are done. This leaves us with our final representation; 0.12510 is exactly equivalent to 0.0012.
2
Now that we have extracted both the integer part of our original number and the fractional part we can
finally combine them on either side of the radix point:
9.12510 = 1001.0012
11/2 5 1 = a0
5/2 2 1 = a1
2/2 1 0 = a2
1/2 0 1 = a3
Hence
3
Infinite Fractions
Whilst binary and decimal fractions both work on the same principles, each has their own problems
when it comes to representing numbers accurately with a given number of digits.
In both cases there are certain numbers that will always result in something called a rounding error,
where the number cannot be represented exactly and the nearest number has to be used instead.
As you can see the process will never end. In this case, the number can only be approximated in binary
format, that is,
Q: But what is the mathematics behinds this process of converting a decimal number to binary format?
A: Let z be the decimal number written as
z = x. y
where
x is the integer part and y is the fractional part.
We want to find the binary equivalent of x . So we can write
( x)10 = (a n a n −1 . . .a0 ) 2
4
2.1 ADDING AND SUBTRACTING BINARY NUMBERS
It is possible to add and subtract binary numbers in a similar way to base 10 numbers.
When you add and subtract binary numbers you will need to be careful when 'carrying' or 'borrowing'
as these will take place more often.
1+0=1
1 + 1 = 10
1 + 1 + 1 = 11
1–0=1
10 – 1 = 1
11 – 1 = 10
Example 2.17: Calculate, using binary numbers:
SELF-ASSESSMENT ACTIVITY
5
3. Calculate the binary numbers:
(a) 11 – 10
(b) 110 – 10
(c) 1111 – 110
(d) 100 – 10
(e) 100 – 11
(h) 11011 – 110
(i) 1111 – 111
(j) 110101 – 1010
(k) 11011 – 111
4. Solve the following equations, where all numbers, including x, are binary:
(a) x + 11 = 1101
(b) x – 10 = 101
(c) x – 1101 = 11011
(d) x + 1110 = 10001
(e) x + 111 = 11110
(f) x – 1001 = 11101