Binary Subtraction
Binary Subtraction
0 –0=0
1 – 0 = 1
1 – 1 = 0
0 – 1 = 1 (Borrow 1)
Note: For fractional binary numbers, the same
rule applies for subtraction, and the decimal
should be appropriately placed.
WHAT IS BINARY SUBTRACTION?
Subtraction of binary numbers is an arithmetic operation
similar to the subtraction of decimal numbers or base 10
numbers. For example, 1 + 1 + 1 = 3 in base 10 and 1 + 1
+ 1 = 11 in binary number system.
When you add and subtract binary numbers, you will
need to be careful when borrowing as these will take
place more often.
When you subtract several columns of binary digits, you
must take into account the borrowing. When 1 is to be
subtracted from 0, the result is 1 where 1 is borrowed
from the next highest order bit or digit.
BINARY SUBTRACTION TABLE
Binary Number Subtraction Value
0–0 0
1–0 1
1 (Borrow 1 from next high order
0–1
digit)
1–1 0
The addition of two binary number 1 and 1 is 10, where we consider 0 and
carry forward 1 to next high order. But in the case of subtraction of 1 and 1,
the answer is equal to 0, and nothing is carried forward.
In case of decimal subtraction, when 1 is subtracted from 0, then we borrow 1
from next preceding number and make it 10, and after subtraction, it results in
9, i.e. 10 – 1 = 9. But for binary subtraction, it results in 1 only.
HOW TO SUBTRACT BINARY NUMBERS?
1010
(-) 101
Step 1: First consider the 1’s column, and subtract the
one’s column,( 0 – 1 ) and it gives the result 1 as per the
condition of binary subtraction with a borrow of 1 from
the 10’s place.
Step 2: After borrowed 1 from the 10’s column, the
value 1 in the 10’s column is changed into the value 0, 1
Borrow
1010
(-) 1 0 1
——————
1
Step 3: So, subtract the value in the 10’s place,
( 0 – 0 ) = 0.
1 Borrow
1010
(-) 1 0 1
——————
01
Step 4: Now subtract the values in 100’s place. Borrow 1
from the 1000’s place ( 0 – 1 ) = 1.0
1 1 Borrow
1010
(-) 1 0 1
——————
0101
0011010 – 001100= ?
ACTIVITIES
0011010 – 001100= ?
0011010
(-) 0 0 1 1 0 0
——————
0001110
DECIMAL EQUIVALENT :
0 0 1 1 0 1 0 = 26
0 0 1 1 0 0 = 12
Therefore, 26 – 12 = 14
1 1 Borrow
0 1 0 0 0 1 0 = 3410
(-) 0 0 0 1 0 1 0 = 1010
——————
0 0 1 1 0 0 0 = 2410
BINARY MULTIPLICATION
Binary multiplication is one of the four binary
arithmetic. The other three fundamental
operations are addition, subtraction and division.
In the case of a binary operation, we deal with
only two digits, i.e. 0 and 1. The operation
performed while finding the binary product is
similar to the conventional multiplication
method.
0×0=0
0×1=0
1×0=0
1 × 1 = 1