Binary subtraction tutorial is simple.
Binary subtraction rules are similar to the decimal subtraction rules.
First of all, you have to know the binary subtraction table.
The subtraction table of binary numbers:
But there is an issue:
In this case the binary subtraction rule is
Look at the following binary subtraction example.
Subtract 102 from 1002:
Here, we first subtract the zero of the subtrahend from the right zero of the 100
Now we have to subtract the binary 1 from the binary 0. How to perform that?
To perform that we borrow the binary 1 from the left column of the 100 (the minuend)
The number in the parentheses is the zero with the borrowed 1.
We know from the subtraction table of binary numbers that
So the answer is
It is just as in the decimal system, but there are only 0 and 1 and the subtraction table at our disposal.