Steps of Binary Subtraction
Steps of Binary Subtraction
For binary subtraction, there are four facts instead of one hundred:
00=0
10=1
11=0
10 1 = 1
The first three are the same as in decimal. The fourth fact is the only new one; it is the borrow case. It
applies when the top digit in a column is 0 and the bottom digit is 1. (Remember: in binary, 10 is
pronounced one-zero or two.)
Now lets subtract 1011.11 from 10101.101, following the same algorithm I used for decimal numbers:
Step 1: 1 0 = 1.
Step 5: 1 1 = 0.
Step 6: 0 0 = 0.
Discussion
Notice that I didnt discuss the number base when describing the algorithm; it is base-independent.
Nonetheless, I could have talked about powers of ten and powers of two, and how the process can be
visualized by regrouping. My goal was to explain just the mechanized algorithm (presumably you do decimal
subtraction mechanically, no longer thinking about why it works).