Binary Subtraction: St. Paul University Surigao
Binary Subtraction: St. Paul University Surigao
Binary Subtraction
Binary subtraction is another basic binary operation. The basic operations in mathematics
are addition, subtraction, multiplication, and division. To recall, binary operation
represents the operations of mathematics that are performed on two operands and the
result is obtained. Here, the topic of a binary subtraction operation is explained in detail.
The concepts that are included in this lesson are:
Can you subtract binary numbers? The answer is yes. Subtraction of binary numbers is an
arithmetic operation similar to the subtraction of 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 with borrowed from the
previous position.
Rules and tricks: Binary subtraction is much easier than the decimal subtraction when you
remember the following rules:
0–0=0
0 – 1 = 1 ( with a borrow of 1)
1–0=1
1–1=0
1010
(-) 101
Step 1: First consider the 1’s Step 3: So, subtract the value in the 10’s
column, and subtract the one’s place, ( 0 – 0 ) = 0.
column,( 0 – 1 ) and it gives the
result 1 as per the condition of binary 1 Borrow
subtraction with a borrow of 1 from 1010
the 10’s place. (-) 1 0 1
——————
01
When you cross-check the binary subtraction resultant value with the decimal value, the resultant
value should be the same.
The binary value 1010 is equal to the decimal value 10 and 101 is equivalent to 5
So, 10 – 5 = 5
Solution: Solution:
1 1 Borrow 1 1 Borrow
0011010 0 1 0 0 0 1 0 = 3410
(-) 0 0 1 1 0 0 (-) 0 0 0 1 0 1 0 = 1010
—————— ——————
0001110 0 0 1 1 0 0 0 = 2410
Decimal Equivalent :
0 0 1 1 0 1 0 = 26
0 0 1 1 0 0 = 12
Therefore, 26 – 12 = 14
Question 1:
(110101)2 – (100101)2
Solution:
(1 1 0 1 0 1)2 = 5310
Now take the 1’s complement of the subtrahend and add with minuend.
1 carry
110101
(+) 0 1 1 0 1 0
001111
1 carry
——————
010000
(010000)2 = 1610
Question 2:
(101011)2 – (111001)2
Solution:
111
101011
St. Paul University Surigao
St. Paul University System
8400 Surigao City, Philippines
Binary Division
The binary division operation is similar to the base 10 decimal system, except the base 2 system.
The division is probably one of the most difficult operations of the basic arithmetic operations.
There are different ways to solve division problems using binary operations. Long division is one
of them and the easiest and the most efficient way. This section has been designed to answer
questions about binary division, including:
The binary division is much easier than the decimal division when you remember the following
division rules. The 3 main rules of the binary division include:
1÷1 = 1
1÷0 = 0
0÷1 = Meaningless
0÷0 = Meaningless
Similar to the decimal number system, the binary division is similar which follows the four-step
process:
Divide
Multiply
Subtract
Bring down
Important Note: Binary division follows the long division method to find the resultant in an
easy way.
You will get the resultant value as 62 when you divide 124 by 2.
(111110)2 = 6210
Both the binary and the decimal system produce the same result.
Solution:
Given
01111100 ÷ 0010
Remove the zero’s in the Most Significant Bit in both the dividend and divisor, that doesn’t
change the value of the number.
Solution:
So, when you bring down the fourth bit of the dividend, it does not match with the divisor. In
order to bring down the 5th and 6th bit of the dividend, add two zeros in the quotient value.