Binary subtraction

We all are familiar with subtraction of decimal numbers.Similar operation can be performed on  binary numbers. In fact binary arithmetic is much simpler than decimal, since only two digits are involved ,0 and 1.Binary arithmetic is essential part of all the digital computers .lets go for it,

Rules for binary subtraction

ABdifferenceborrow
0000
1010
1100
0111

In first three rows, there is no borrow ,while in last row (b=1)  .Similar to decimal number system ,it will be subtracted from the next higher binary position. See the example,

Example − SUBTRACTION

How to subtract two binary numbers?

EXAMPLE 1:
STEP 1:

STEP 2:

STEP 3:

STEP 4:

FINAL ANSWER:

EXAMPLE 2:

SOLUTION:

2 thoughts on “Binary subtraction”

  1. amazing tutorial.thank u thank u very much , You helped me more than my teacher,
    i learned from u lot ..

Comments are closed.